Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.kernel > #56068 > unrolled thread
| Started by | Ferdinand Pöll <fphome@live.de> |
|---|---|
| First post | 2016-12-09 16:10 +0100 |
| Last post | 2017-08-26 15:50 +0200 |
| Articles | 5 — 4 participants |
Back to article view | Back to linux.debian.kernel
Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs Ferdinand Pöll <fphome@live.de> - 2016-12-09 16:10 +0100
Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs Ben Hutchings <ben@decadent.org.uk> - 2017-01-05 04:30 +0100
Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs Andreas Boll <andreas.boll.dev@gmail.com> - 2017-11-02 18:00 +0100
Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs Ben Hutchings <ben@decadent.org.uk> - 2017-11-16 20:30 +0100
Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs xsellier@gmail.com - 2017-08-26 15:50 +0200
| From | Ferdinand Pöll <fphome@live.de> |
|---|---|
| Date | 2016-12-09 16:10 +0100 |
| Subject | Bug#847570: linux-image-4.9.0-rc8-amd64-unsigned: AMDGPU not build with support for GCN1.0 and GCN1.1 VGAs |
| Message-ID | <sMuY9-4Pn-23@gated-at.bofh.it> |
Package: linux-image-4.9.0-rc8-amd64-unsigned Version: 4.9~rc8-1~exp1 Severity: wishlist Tags: patch Dear Maintainer, I have an AMD Radeon R9 270X and I'd like to use the new amdgpu driver with it. Since 4.9, linux includes experimental support for GCN 1.0 VGAs, but it's not enabled in the debian builds as well as the support for GCN 1.1 cards (which isn't new in the kernel anymore). In the kernel build config, you just need to set CONFIG_DRM_AMDGPU_SI=Y (for GCN1.0-based cards) and CONFIG_DRM_AMDGPU_CIK=Y (for GCN1.1-based cards). To use amdgpu if it is built into the kernel with the old gpus users just need to blacklist radeon and upon the next reboot linux will load amdgpu and users can install amdgpu-pro if they want to or just stick with the newest free graphics driver. The kernel in my system info below is built from source with the options mentioned above enabled. -- System Information: Debian Release: stretch/sid APT prefers unstable-debug APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-rc8 (SMP w/12 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
[toc] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2017-01-05 04:30 +0100 |
| Message-ID | <sW6Ux-5xP-1@gated-at.bofh.it> |
| In reply to | #56068 |
[Multipart message — attachments visible in raw view] — view raw
On Fri, 2016-12-09 at 16:06 +0100, Ferdinand Pöll wrote: > Package: linux-image-4.9.0-rc8-amd64-unsigned > Version: 4.9~rc8-1~exp1 > Severity: wishlist > Tags: patch > > Dear Maintainer, > > I have an AMD Radeon R9 270X and I'd like to use the new amdgpu driver with it. > Since 4.9, linux includes experimental support for GCN 1.0 VGAs, but it's not > enabled in the debian builds as well as the support for GCN 1.1 cards (which > isn't new in the kernel anymore). In the kernel build config, you just need to > set CONFIG_DRM_AMDGPU_SI=Y (for GCN1.0-based cards) and CONFIG_DRM_AMDGPU_CIK=Y > (for GCN1.1-based cards). To use amdgpu if it is built into the kernel with the > old gpus users just need to blacklist radeon and upon the next reboot linux > will load amdgpu and users can install amdgpu-pro if they want to or just stick > with the newest free graphics driver. I don't think this will work the way you expect. kmod will load both modules unless one of them is blacklisted, and it's not documented which one will be tried first. So we could end up loading amdgpu on systems that should still be using radeon by default. We could perhaps patch amdgpu so that it isn't auto-loaded for the GCN 1.0 GPUs. But I'm not yet convinced this is worth doing. Ben. > The kernel in my system info below is built from source with the options > mentioned above enabled. -- Ben Hutchings In a hierarchy, every employee tends to rise to his level of incompetence.
[toc] | [prev] | [next] | [standalone]
| From | Andreas Boll <andreas.boll.dev@gmail.com> |
|---|---|
| Date | 2017-11-02 18:00 +0100 |
| Message-ID | <uHr0t-V6-1@gated-at.bofh.it> |
| In reply to | #56446 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, Jan 05, 2017 at 03:19:23AM +0000, Ben Hutchings wrote: > On Fri, 2016-12-09 at 16:06 +0100, Ferdinand Pöll wrote: > > Package: linux-image-4.9.0-rc8-amd64-unsigned > > Version: 4.9~rc8-1~exp1 > > Severity: wishlist > > Tags: patch > > > > Dear Maintainer, > > > > I have an AMD Radeon R9 270X and I'd like to use the new amdgpu driver with it. > > Since 4.9, linux includes experimental support for GCN 1.0 VGAs, but it's not > > enabled in the debian builds as well as the support for GCN 1.1 cards (which > > isn't new in the kernel anymore). In the kernel build config, you just need to > > set CONFIG_DRM_AMDGPU_SI=Y (for GCN1.0-based cards) and CONFIG_DRM_AMDGPU_CIK=Y > > (for GCN1.1-based cards). To use amdgpu if it is built into the kernel with the > > old gpus users just need to blacklist radeon and upon the next reboot linux > > will load amdgpu and users can install amdgpu-pro if they want to or just stick > > with the newest free graphics driver. > > I don't think this will work the way you expect. kmod will load both > modules unless one of them is blacklisted, and it's not documented > which one will be tried first. So we could end up loading amdgpu on > systems that should still be using radeon by default. > > We could perhaps patch amdgpu so that it isn't auto-loaded for the GCN > 1.0 GPUs. But I'm not yet convinced this is worth doing. > > Ben. > Hi Ben, upstream has landed a solution for this issue in 4.13 which doesn't require blacklisting radeon anymore [1]. Please consider setting CONFIG_DRM_AMDGPU_SI=Y and CONFIG_DRM_AMDGPU_CIK=Y to allow the optional usage of amdgpu on GCN1.0 and GCN1.1 based cards [2]. The default driver will be still radeon but users who want to use amdgpu can choose amdgpu by providing the following kernel parameters for GCN1.0 cards: radeon.si_support=0 amdgpu.si_support=1 and for GCN1.1 cards: radeon.cik_support=0 amdgpu.cik_support=1 Thanks, Andreas [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/?id=2b059658d6796a096ef06be9da994d6c44401d5b [2] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/amd/amdgpu/Kconfig?h=v4.13
[toc] | [prev] | [next] | [standalone]
| From | Ben Hutchings <ben@decadent.org.uk> |
|---|---|
| Date | 2017-11-16 20:30 +0100 |
| Message-ID | <uMy1k-3st-9@gated-at.bofh.it> |
| In reply to | #59332 |
[Multipart message — attachments visible in raw view] — view raw
On Thu, 2017-11-02 at 17:54 +0100, Andreas Boll wrote: [...] > Hi Ben, > > upstream has landed a solution for this issue in 4.13 which doesn't > require blacklisting radeon anymore [1]. > > Please consider setting CONFIG_DRM_AMDGPU_SI=Y and > CONFIG_DRM_AMDGPU_CIK=Y to allow the optional usage of amdgpu on > GCN1.0 and GCN1.1 based cards [2]. The default driver will be still > radeon but users who want to use amdgpu can choose amdgpu by providing > the following kernel parameters for GCN1.0 cards: > > radeon.si_support=0 amdgpu.si_support=1 > > and for GCN1.1 cards: > > radeon.cik_support=0 amdgpu.cik_support=1 [...] Great, this is what I was hoping for. Will enable these in the next upload to sid. Ben. -- Ben Hutchings In a hierarchy, every employee tends to rise to his level of incompetence.
[toc] | [prev] | [next] | [standalone]
| From | xsellier@gmail.com |
|---|---|
| Date | 2017-08-26 15:50 +0200 |
| Message-ID | <uiJDj-1Qe-3@gated-at.bofh.it> |
| In reply to | #56068 |
[Multipart message — attachments visible in raw view] — view raw
Package: linux-image-4.13.0-rc5-amd64 Version: 4.13~rc5-1~exp1 Severity: wishlist Tags: patch Dear maintainers, I have an AMD Radeon R9 290, and I'd like to use the amdgpu driver (= vulkan support) without having to recompile the kernel. As Ferdinand Pöll told before: > Since 4.9, linux includes experimental support for GCN 1.0 VGAs, but it's not > enabled in the debian builds as well as the support for GCN 1.1 cards (which > isn't new in the kernel anymore). In the kernel build config, you just need to > set CONFIG_DRM_AMDGPU_SI=Y (for GCN1.0-based cards) and CONFIG_DRM_AMDGPU_CIK=Y > (for GCN1.1-based cards). To use amdgpu if it is built into the kernel with the > old gpus users just need to blacklist radeon and upon the next reboot linux > will load amdgpu and users can install amdgpu-pro if they want to or just stick > with the newest free graphics driver. This option has been enabled by default for GCN 1.0 in other linux release like: - Ubuntu (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1661887) - SteamOS (https://github.com/ValveSoftware/SteamOS/issues/593) - Arch (https://wiki.archlinux.org/index.php/AMDGPU#Loading) Keep up the good work Regards Xavier Sellier.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.kernel
csiph-web