X fails to start with amdgpu and Mesa 20.1 on Fedora
- Use fedora 31, use amdgpu kernel driver
- update to Mesa 20.1.0-0.2.20200205.11.27996762 packages using https://copr.fedorainfracloud.org/coprs/xxmitsu/mesa-and-llvm-git/
- Try to start X.
- X does not start.
Tried replacing the the xorg-x11-drv-amdgpu-19.1.0-1.fc31.x86_64 package with the git version, did not change anything.
Xorg.0.log reports the following:
[ 1002.096] (EE) Backtrace: [ 1002.096] (EE) 0: /usr/libexec/Xorg (OsLookupColor+0x13c) [0x5568f3d84f8c] [ 1002.097] (EE) 1: /lib64/libpthread.so.0 (funlockfile+0x60) [0x7fee671f4b7f] [ 1002.098] (EE) 2: /lib64/libc.so.6 (gsignal+0x145) [0x7fee67053625] [ 1002.099] (EE) 3: /lib64/libc.so.6 (abort+0x12b) [0x7fee6703c8d9] [ 1002.100] (EE) 4: /lib64/libc.so.6 (__assert_fail_base.cold+0xf) [0x7fee6703c7a9] [ 1002.101] (EE) 5: /lib64/libc.so.6 (__assert_fail+0x46) [0x7fee6704ba66] [ 1002.101] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 1002.101] (EE) 6: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fee6687f300] [ 1002.102] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 1002.102] (EE) 7: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fee6687f500] [ 1002.102] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 1002.102] (EE) 8: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fee6688d780] [ 1002.103] (EE) unw_get_proc_name failed: no unwind info found [-10] [ 1002.103] (EE) 9: /usr/lib64/xorg/modules/drivers/amdgpu_drv.so (?+0x0) [0x7fee66890660] [ 1002.103] (EE) 10: /usr/libexec/Xorg (MapWindow+0x20c) [0x5568f3c51ebc] [ 1002.103] (EE) 11: /usr/libexec/Xorg (InitFonts+0x355) [0x5568f3c29e25] [ 1002.104] (EE) 12: /lib64/libc.so.6 (__libc_start_main+0xf3) [0x7fee6703e1a3] [ 1002.104] (EE) 13: /usr/libexec/Xorg (_start+0x2e) [0x5568f3c1388e]
Changing X11 driver from amdgpu to radeon (changing kernel parameters and X driver) or modesetting (with amdgpu kernel module) makes X start and work fine.
Reverting to
20.0.0-0.2.20200201.05.982d61e.fc31makes X start with amdgpu.
I realize that this is not a supported or recommended configuration but not being able to start X after upgrading packages is kind of a bummer (though it does come with the territory when using git snapshots).
I tested this on two different machines, one with an old AMD APU and another with a RX470. The result is identical. This is 100% reproducible so I can provide additional information if any is required or desired.