Announcement
Collapse
No announcement yet.
amd-mainline-hybrid builds for Fedora (amdgpu)
Collapse
X
-
Attempting to run kernel 4.12.8-20170825 led to a boot stuck with message "unable to access UEFI db".
-
Originally posted by finalzone View PostAdditional note related to post #6.
When booting this amd-mainline-hybrid kernel, please use amdgpu.si_support=1 radeon.si_support=0 as parameter to enable amdgpu module for SI graphic cards.
modprobe.blacklist=radeon parameter is now obsolete by upstream.
I confirm the test running with both dual Radeon cards from my laptop
Code:00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6 Graphics] (prog-if 00 [VGA controller]) Kernel driver in use: amdgpu Kernel modules: amdgpu 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] (rev ff) (prog-if ff) Kernel driver in use: amdgpu Kernel modules: radeon, amdgpu
Updating that info on the main COPR page will be nice.Last edited by Mystro256; 20 July 2017, 09:57 PM.
Leave a comment:
-
Additional note related to post #6.
When booting this amd-mainline-hybrid kernel, please use amdgpu.si_support=1 radeon.si_support=0 as parameter to enable amdgpu module for SI graphic cards.
modprobe.blacklist=radeon parameter is now obsolete by upstream.
I confirm the test running with both dual Radeon cards from my laptop
Code:00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6 Graphics] (prog-if 00 [VGA controller]) Kernel driver in use: amdgpu Kernel modules: amdgpu 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] (rev ff) (prog-if ff) Kernel driver in use: amdgpu Kernel modules: radeon, amdgpu
Updating that info on the main COPR page will be nice.
Leave a comment:
-
Originally posted by Mystro256 View Post
Interesting. I only have Polaris cards on hand, so I can't say how this runs on the older cards, but good to know it works for you.
So CIK has amgpu enabled by default and SI still uses radeon.
- Likes 1
Leave a comment:
-
Originally posted by finalzone View PostI just started to use this repository without blacklisting radeon module on the R7 M265DX + R5 M230 hybrid powered laptop. The initial boot temporarily locked up on the session before stabilizing.
According to lspci -vv command:
Code:00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6 Graphics] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 222d Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 38 Region 0: Memory at b0000000 (64-bit, prefetchable) [size=256M] Region 2: Memory at d0000000 (64-bit, prefetchable) [size=8M] Region 4: I/O ports at f000 [size=256] Region 5: Memory at feb00000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: amdgpu Kernel modules: amdgpu 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: radeon Kernel modules: radeon, amdgpu
I removed xorg-x11-drv-ati after installing amdgpu driver. The temporary lockup at login session is gone.
Leave a comment:
-
Originally posted by Grim85 View PostI have attempted to run the amd prop vulkan on this by compiling amd's lib drm - the vulkan lib crashes. I think it doesn't yet support xorg 1.19
But for me this kernel isn't freezing like the staging one was. Will try the staging kernel again in a few iterations and see if it is any better
Note that the mainline kernel is much more tested and stable, while staging is more bleeding edge, so it's prone to break. Features eventually make it from the staging to the mainline, but this is a much slower process. Feel free to use the staging kernel though if you want the more bleeding edge experience.
Leave a comment:
-
I have attempted to run the amd prop vulkan on this by compiling amd's lib drm - the vulkan lib crashes. I think it doesn't yet support xorg 1.19
But for me this kernel isn't freezing like the staging one was. Will try the staging kernel again in a few iterations and see if it is any better
Leave a comment:
-
I just started to use this repository without blacklisting radeon module on the R7 M265DX + R5 M230 hybrid powered laptop. The initial boot temporarily locked up on the session before stabilizing.
According to lspci -vv command:
Code:00:01.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Kaveri [Radeon R6 Graphics] (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device 222d Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 64 bytes Interrupt: pin A routed to IRQ 38 Region 0: Memory at b0000000 (64-bit, prefetchable) [size=256M] Region 2: Memory at d0000000 (64-bit, prefetchable) [size=8M] Region 4: I/O ports at f000 [size=256] Region 5: Memory at feb00000 (32-bit, non-prefetchable) [size=256K] Expansion ROM at 000c0000 [disabled] [size=128K] Capabilities: <access denied> Kernel driver in use: amdgpu Kernel modules: amdgpu 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Jet PRO [Radeon R5 M230] (rev ff) (prog-if ff) !!! Unknown header type 7f Kernel driver in use: radeon Kernel modules: radeon, amdgpu
I removed xorg-x11-drv-ati after installing amdgpu driver. The temporary lockup at login session is gone.
Leave a comment:
-
amd-mainline-hybrid builds for Fedora (amdgpu)
Along with the builds I'm doing for the amd staging kernel, I'm now building the amd mainline kernel for Fedora. This should have all the goodies not in the upstream kernel, such as DC/DAL, Vega support, freesync, etc.
This should give a more stable experience to those who don't care for the occasional regressions of the staging kernel builds. The amd mainline kernel should be more tested than staging, so it will be less likely to break from time to time. Similar to what I do with the staging kernel, I will be constantly patching this with upstream and Fedora fixes.
Here's the source git:
https://cgit.freedesktop.org/~agd5f/...ne-hybrid-4.11
Please note that AFAIK, this is the same source that the AMDGPU-PRO dkms package is built from, so it does have the hybrid components in it too. Although, please note that I'm not building the amd libdrm fork, nor do I have interest in getting the whole AMDGPU-PRO stack working on Fedora.
AFAIK this should work fine with radeonsi, but full disclaimer to use at your own risk.
Although with that said, I'm using this on my own personal computer with a Polaris10/RX480/Ellesmere, and it seems nice and stable.
Here's the COPR page:
https://copr.fedorainfracloud.org/co...inline-kernel/
I also suggest installing the xorg driver if you plan to use amdgpu, as it's recommended by the developers:
Code:sudo dnf install xorg-x11-drv-amdgpu
Last edited by Mystro256; 21 June 2017, 03:17 PM.
Leave a comment: