Support in fixing amdgpu not being used for compositing

Hey all!

I was away for 3 months and coming back, upgrading was a little tricky given dependencies of existing packages which would break; thus having to uninstall some things (e.g. electron2*) and stage some upgrades ahead of the rest. I got everything up-to-date, but after reboot my Plasma Wayland session no longer works (black screen with caret that kicks back to SDDM), and Plasma X11 uses llvmpipe rendering. Weston also reports in the log that amdgpu_query_uq_fw_area_info() failed.

Here’s my fastfetch output:

I was on the 6.12 kernel now 6.13; in trying LTS for 6.12, it still didn’t work.
Xorg.0.log reports no errors other than failing to load incorrect drivers (e.g. vesa) before it gets to amdgpu. It also shows that DRI2 & 3 are initialized without issue.

[    22.805] (II) AMDGPU(0): [DRI2] Setup complete
[    22.805] (II) AMDGPU(0): [DRI2]   DRI driver: radeonsi
[    22.805] (II) AMDGPU(0): [DRI2]   VDPAU driver: radeonsi
[    22.809] (II) AMDGPU(0): Front buffer pitch: 25600 bytes
[    22.809] (II) AMDGPU(0): SYNC extension fences enabled
[    22.809] (II) AMDGPU(0): Present extension enabled
[    22.809] (==) AMDGPU(0): DRI3 enabled
[    22.809] (==) AMDGPU(0): Backing store enabled
[    22.809] (II) AMDGPU(0): Direct rendering enabled
[    22.814] (II) AMDGPU(0): Use GLAMOR acceleration.
[    22.814] (II) AMDGPU(0): Acceleration enabled
[    22.814] (==) AMDGPU(0): DPMS enabled
[    22.814] (==) AMDGPU(0): Silken mouse enabled
[    22.814] (II) AMDGPU(0): Set up textured video (glamor)
[    22.908] (WW) AMDGPU(0): Option "HotplugDriver" is not used
[    22.908] (II) AMDGPU(G0): [DRI2] Setup complete
[    22.908] (II) AMDGPU(G0): [DRI2]   DRI driver: radeonsi
[    22.908] (II) AMDGPU(G0): [DRI2]   VDPAU driver: radeonsi
[    22.908] (II) AMDGPU(G0): Front buffer pitch: 4096 bytes
[    22.908] (II) AMDGPU(G0): SYNC extension fences enabled
[    22.908] (II) AMDGPU(G0): Present extension enabled
[    22.908] (==) AMDGPU(G0): DRI3 enabled
[    22.908] (==) AMDGPU(G0): Backing store enabled
[    22.908] (II) AMDGPU(G0): Direct rendering enabled
[    22.909] (II) AMDGPU(G0): Use GLAMOR acceleration.
[    22.909] (II) AMDGPU(G0): Acceleration enabled
[    22.909] (==) AMDGPU(G0): DPMS enabled
[    22.909] (==) AMDGPU(G0): Silken mouse enabled
[    22.909] (WW) AMDGPU(G0): Option "HotplugDriver" is not used

glxinfo reports:

amdgpu: amdgpu_query_uq_fw_area_info() failed.
glx: failed to create dri3 screen
failed to load driver: radeonsi
direct rendering: Yes

I reinstalled {,lib32-}mesa, {,lib32-}vulkan-radeon, llvm, and xf86-video-amdgpu, and {,lib32-}libdrm; none of which helped.
I’m in the video and rendering groups, and the permissions in /dev/dri/ look correct:

crw-rw----+ 1 root video  226,   0 Mar 11 10:18 card0
crw-rw----+ 1 root video  226,   1 Mar 11 10:18 card1
crw-rw-rw-  1 root render 226, 128 Mar 11 10:18 renderD128
crw-rw-rw-  1 root render 226, 129 Mar 11 10:18 renderD129

dmesg reports no firmware issues with amdgpu, nevertheless I’ve tried reinstalling linux-firmware and linux-firmware-git from cachyos, to no avail. Same with {,lib32-}mesa-git from cachyos.

My mkinitcpio hooks are (base udev autodetect microcode modconf kms keyboard keymap consolefont block mdadm_udev filesystems fsck) and modules are (xfs vfat f2fs amdgpu).

Does wayland work? Please send the output of pacman -Qm and your kernel commandlines /proc/cmdline.

Plasma Wayland doesn’t work (black screen with caret then back to SDDM), and Weston works with software rendering.
/proc/cmdline:
initrd=\initramfs-linux-cachyos.img root=PARTLABEL=ROOT2 video=2160 transparent_hugepage_shmem=within_size
pacman -Qm:

akonadi-notes 24.08.3-2
amd-vulkan-prefixes 2-1
amdcovc 0.4.1.1-1
amdctl-git 0.11.r0.ga10ccd0-1
amdfand 1.0.14-1
amf-headers-git 1.4.36.0.r0.g16f7d73-1
android-sdk-platform-tools 35.0.2-1
aocl-aocc 5.0.0-6
bash-git 5.2_r219.g6794b547-1
blas-aocl-aocc 1:1-1
blas64-aocl-aocc 1:1-1
browser-vacuum 4-21
chisel 6.3.0-2
citra 1:r10114.864414f-1
diskmonitor 0.3.4-2
ffmpeg-git 7.2.r118728.g04d7a6d3db-1
gallery-dl 1.29.1-1
git-git 2.49.0.rc2.r0.g87a0bdbf0f-1
google-chrome-beta 135.0.7049.3-1
htop-git 1:3.4.0.r0.g325e6a47-1
intentrace 0.4.2-1
kdelibs4support 5.116.0-2
kdesignerplugin 5.116.0-2
kemoticons 5.116.0-2
kfilemetadata5 5.116.0-2
khotkeys 5.27.10-1
kpeople5 5.116.0-1.1
kquickcharts5 5.115.0-1
ksysguard6-git r3611.f98ae6e-1
latencytop 1:0.5.0-1
libretro-citra 9304-1
linux-cachyos-aura 6.13.6-1
linux-cachyos-aura-headers 6.13.6-1
linux-steam-integration 0.7.3-9
luajit-openresty 2.1.20250117-1
makepkg-tidy-optipng-git r9.916da22-1
makepkg-tidy-upx-git r386.7878316-1
mcomix 3.1.0-1
modemmanager-qt5 5.116.0-1.1
mupen64plus-qt 1.17-1
opencollada 1:1.6.68-3
packettracer 8.2.2-1
phoronix-test-suite 10.8.4-2
pikaur 1.32-2
pixman-git 0.44.2.r34.gaafb4ca-1
plasma6-runners-appmenu-git r17.195d08a-1
plasma6-runners-emojirunner 3.0.5-1
pod2man 5.40.1-1
prelockd 0.9-3
protondb-tags 1.2.2-1
python-future 1.0.0-4
python-ioctl-opt 1.3-2
python-torchvision-rocm 0.20.1-1
qcomix 1.0.0b6-1
qqc2-desktop-style5 5.116.1-1.1
radeon-profile-daemon-git 20190603.r0.g7923bd6-2
radeon-profile-git 20200824.r26.g0d632ba-1
sc-controller-git 0.5.0.r2.10d0e99-1
smem 1.5-6
stabilitymatrix 2.12.2-1
streamlink-twitch-gui-bin 2.5.3-1
tor-browser-bin 14.0.3-1
torchvision-rocm 0.20.1-1
torzu-git r27195.bb142c965-1
ttf-quintessential 1.001-6
unbuffered 2.2.0-1
vasm 2.0a-0
vk-hdr-layer-kwin6-git r41.7c0553d-1
vkd3d-proton-bin 2.14.1-1
xboxdrv 0.8.14-1
zenstates-git r6.0bc27f4-2
zoom 6.3.11-1

Log of weston --log weston.log, showing usage of llvmpipe:

[10:55:15.022] weston 14.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 14.0.0
[10:55:15.022] Command line: weston --log weston.log
[10:55:15.022] OS: Linux, 6.13.6-2-cachyos, #1 SMP PREEMPT_DYNAMIC Sat, 08 Mar 2025 09:48:21 +0000, x86_64
[10:55:15.022] Flight recorder: enabled
[10:55:15.022] Starting with no config file.
[10:55:15.022] Output repaint window is 7 ms maximum.
[10:55:15.022] Loading module '/usr/lib/libweston-14/drm-backend.so'
[10:55:15.022] initializing drm backend
[10:55:15.022] Trying libseat launcher...
[10:55:15.022] [libseat/backend/seatd.c:64] Could not connect to socket /run/seatd.sock: No such file or directory
[10:55:15.022] [libseat/libseat.c:76] Backend 'seatd' failed to open seat, skipping
[10:55:15.023] [libseat/libseat.c:73] Seat opened with backend 'logind'
[10:55:15.023] libseat: session control granted
[10:55:15.025] using /dev/dri/card0
[10:55:15.025] DRM: supports atomic modesetting
[10:55:15.025] DRM: supports GBM modifiers
[10:55:15.025] DRM: supports Atomic async page flip
[10:55:15.025] DRM: supports picture aspect ratio
[10:55:15.036] Loading module '/usr/lib/libweston-14/gl-renderer.so'
[10:55:15.036] warning: failed to query rendering device from EGL
[10:55:15.036] EGL version: 1.5
[10:55:15.036] EGL vendor: Mesa Project
[10:55:15.036] EGL client APIs: OpenGL OpenGL_ES
[10:55:15.036] EGL features:
EGL Wayland extension: no
context priority: no
buffer age: yes
partial update: no
swap buffers with damage: no
configless context: yes
surfaceless context: yes
dmabuf support: modifiers
[10:55:15.043] GL version: OpenGL ES 3.2 Mesa 25.1.0-devel (git-2662b9b71d)
[10:55:15.043] GLSL version: OpenGL ES GLSL ES 3.20
[10:55:15.043] GL vendor: Mesa
[10:55:15.043] GL renderer: llvmpipe (LLVM 19.1.7, 256 bits)
[10:55:15.046] GL ES 3.2 - renderer features:
read-back format: ARGB8888
glReadPixels supports y-flip: yes
glReadPixels supports PBO: yes
wl_shm 10 bpc formats: yes
wl_shm 16 bpc formats: yes
wl_shm half-float formats: yes
internal R and RG formats: yes
OES_EGL_image_external: yes
[10:55:15.046] Using GL renderer
[10:55:15.054] event1  - Power Button: is tagged by udev as: Keyboard
[10:55:15.054] event1  - Power Button: device is a keyboard
[10:55:15.055] event2  - Video Bus: is tagged by udev as: Keyboard
[10:55:15.055] event2  - Video Bus: device is a keyboard
[10:55:15.055] event0  - Power Button: is tagged by udev as: Keyboard
[10:55:15.055] event0  - Power Button: device is a keyboard
[10:55:15.056] event8  - HDA ATI HDMI HDMI/DP,pcm=3: is tagged by udev as: Switch
[10:55:15.056] event8  - not using input device '/dev/input/event8'
[10:55:15.056] event14 - HDA ATI HDMI HDMI/DP,pcm=7: is tagged by udev as: Switch
[10:55:15.057] event14 - not using input device '/dev/input/event14'
[10:55:15.057] event15 - HDA ATI HDMI HDMI/DP,pcm=8: is tagged by udev as: Switch
[10:55:15.057] event15 - not using input device '/dev/input/event15'
[10:55:15.058] event18 - HDA ATI HDMI HDMI/DP,pcm=9: is tagged by udev as: Switch
[10:55:15.058] event18 - not using input device '/dev/input/event18'
[10:55:15.059] event19 - Logitech Wireless Keyboard PID:4023: is tagged by udev as: Keyboard
[10:55:15.067] event19 - Logitech Wireless Keyboard PID:4023: device is a keyboard
[10:55:15.068] event6  - Logitech Wireless Mouse: is tagged by udev as: Keyboard Mouse
[10:55:15.068] event6  - Logitech Wireless Mouse: device is a pointer
[10:55:15.068] event6  - Logitech Wireless Mouse: device is a keyboard
[10:55:15.069] event3  - Kensington ProFit Ergo Vertical Wireless Trackball: is tagged by udev as: Mouse Trackball
[10:55:15.069] event3  - Kensington ProFit Ergo Vertical Wireless Trackball: device is a pointer
[10:55:15.070] event4  - Kensington ProFit Ergo Vertical Wireless Trackball: is tagged by udev as: Keyboard
[10:55:15.070] event4  - Kensington ProFit Ergo Vertical Wireless Trackball: device is a keyboard
[10:55:15.071] event9  - Cypress USB Keyboard: is tagged by udev as: Keyboard
[10:55:15.071] event9  - Cypress USB Keyboard: device is a keyboard
[10:55:15.072] event10 - Cypress USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[10:55:15.072] event10 - Cypress USB Keyboard Consumer Control: device is a keyboard
[10:55:15.073] event11 - Cypress USB Keyboard: is tagged by udev as: Keyboard
[10:55:15.073] event11 - Cypress USB Keyboard: device is a keyboard
[10:55:15.073] event12 - HD-Audio Generic HDMI/DP,pcm=3: is tagged by udev as: Switch
[10:55:15.073] event12 - not using input device '/dev/input/event12'
[10:55:15.074] event13 - HD-Audio Generic HDMI/DP,pcm=7: is tagged by udev as: Switch
[10:55:15.074] event13 - not using input device '/dev/input/event13'
[10:55:15.074] event16 - HD-Audio Generic HDMI/DP,pcm=8: is tagged by udev as: Switch
[10:55:15.074] event16 - not using input device '/dev/input/event16'
[10:55:15.075] event17 - HD-Audio Generic HDMI/DP,pcm=9: is tagged by udev as: Switch
[10:55:15.075] event17 - not using input device '/dev/input/event17'
[10:55:15.075] event20 - HD-Audio Generic Rear Mic: is tagged by udev as: Switch
[10:55:15.076] event20 - not using input device '/dev/input/event20'
[10:55:15.076] event21 - HD-Audio Generic Front Mic: is tagged by udev as: Switch
[10:55:15.076] event21 - not using input device '/dev/input/event21'
[10:55:15.077] event22 - HD-Audio Generic Line Out: is tagged by udev as: Switch
[10:55:15.077] event22 - not using input device '/dev/input/event22'
[10:55:15.077] event23 - HD-Audio Generic Front Headphone: is tagged by udev as: Switch
[10:55:15.077] event23 - not using input device '/dev/input/event23'
[10:55:15.078] event5  - PC Speaker: not tagged as supported input device
[10:55:15.078] event5  - not using input device '/dev/input/event5'
[10:55:15.079] libinput: configuring device "Power Button".
[10:55:15.079] libinput: configuring device "Video Bus".
[10:55:15.079] libinput: configuring device "Power Button".
[10:55:15.079] libinput: configuring device "Logitech Wireless Keyboard PID:4023".
[10:55:15.079] libinput: configuring device "Logitech Wireless Mouse".
[10:55:15.079] libinput: configuring device "Kensington ProFit Ergo Vertical Wireless Trackball".
[10:55:15.079] libinput: configuring device "Kensington ProFit Ergo Vertical Wireless Trackball".
[10:55:15.079] libinput: configuring device "Cypress USB Keyboard".
[10:55:15.079] libinput: configuring device "Cypress USB Keyboard Consumer Control".
[10:55:15.079] libinput: configuring device "Cypress USB Keyboard".
[10:55:15.079] DRM: head 'DP-1' found, connector 107 is disconnected.
[10:55:15.080] DRM: EDID for the following head fails conformity:
Block 0, Base EDID:
Display Range Limits: GTF is supported, but the display does not support continuous frequencies.

[10:55:15.080] DRM: head 'DP-2' found, connector 115 is connected, EDID make 'Lenovo Group Limited', model 'P27h-20', serial 'V9078BNH'
Supported EOTF modes: SDR
Supported colorimetry modes: default
[10:55:15.081] DRM: EDID for the following head fails conformity:
Block 1, CTA-861 Extension Block:
Colorimetry Data Block: Reserved bits MD0-MD3 must be 0.

Block 2, DisplayID Extension Block:
Padding: Contains non-zero bytes.

[10:55:15.081] DRM: head 'DP-3' found, connector 121 is connected, EDID make 'GIGA-BYTE TECHNOLOGY CO., LTD.', model 'AORUS FO48U', serial '22020B008810'
Supported EOTF modes: SDR, ST2084, HLG
Supported colorimetry modes: default, BT.2020 (YCC), BT.2020 (RGB)
[10:55:15.081] DRM: head 'HDMI-A-1' found, connector 127 is disconnected.
[10:55:15.081] Registered plugin API 'weston_drm_output_api_v1' of size 40
[10:55:15.081] Registered plugin API 'weston_drm_virtual_output_api_v2' of size 48
[10:55:15.081] Color manager: no-op
protocol support: no
[10:55:15.081] Output 'DP-2' attempts EOTF mode SDR and colorimetry mode default.
[10:55:15.081] Output 'DP-2' using color profile: stock sRGB color profile
[10:55:15.081] Chosen EGL config details: id:  31 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[10:55:15.081] Output DP-2 (crtc 93) video modes:
2560x1440@60.0, preferred, current, 241.5 MHz
1920x1200@60.0, 241.5 MHz
1920x1080@60.0, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@50.0 16:9, 148.5 MHz
1600x1200@60.0, 241.5 MHz
1680x1050@59.9, 119.0 MHz
1600x900@60.0, 108.0 MHz
1280x1024@60.0, 108.0 MHz
1440x900@59.9, 88.8 MHz
1366x768@59.8, 85.5 MHz
1280x800@59.8, 83.5 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@60.0, 65.0 MHz
1440x480@60.0 4:3, 54.1 MHz
1440x480@60.0 16:9, 54.1 MHz
1440x480@59.9 4:3, 54.0 MHz
1440x480@59.9 16:9, 54.0 MHz
800x600@60.3, 40.0 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[10:55:15.082] associating input device event1 with output DP-2 (none by udev)
[10:55:15.082] associating input device event2 with output DP-2 (none by udev)
[10:55:15.082] associating input device event0 with output DP-2 (none by udev)
[10:55:15.082] associating input device event19 with output DP-2 (none by udev)
[10:55:15.082] associating input device event6 with output DP-2 (none by udev)
[10:55:15.082] associating input device event3 with output DP-2 (none by udev)
[10:55:15.082] associating input device event4 with output DP-2 (none by udev)
[10:55:15.082] associating input device event9 with output DP-2 (none by udev)
[10:55:15.082] associating input device event10 with output DP-2 (none by udev)
[10:55:15.082] associating input device event11 with output DP-2 (none by udev)
[10:55:15.082] Output 'DP-2' enabled with head(s) DP-2
[10:55:15.082] Output 'DP-3' attempts EOTF mode SDR and colorimetry mode default.
[10:55:15.082] Output 'DP-3' using color profile: stock sRGB color profile
[10:55:15.082] Chosen EGL config details: id:  31 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[10:55:15.082] Output DP-3 (crtc 97) video modes:
3840x2160@60.0, preferred, current, 533.2 MHz
3840x2160@120.0, 1184.6 MHz
3840x2160@120.1, 1184.6 MHz
3840x2160@96.0, 1184.6 MHz
3840x2160@72.0, 1184.6 MHz
3840x2160@60.0, 1184.6 MHz
3840x2160@60.0 16:9, 594.0 MHz
3840x2160@59.9 16:9, 593.4 MHz
3840x2160@50.0, 1184.6 MHz
3840x2160@48.0, 1184.6 MHz
3840x2160@24.0 16:9, 297.0 MHz
3440x1440@120.0, 648.9 MHz
3440x1440@60.0, 324.4 MHz
3840x1080@120.0, 548.2 MHz
3840x1080@60.0, 274.1 MHz
2560x1440@119.9, 497.3 MHz
2560x1440@59.9, 235.4 MHz
1920x1200@60.0, 533.2 MHz
1920x1080@120.0 16:9, 297.0 MHz
1920x1080@119.9 16:9, 296.7 MHz
1920x1080@60.0, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@24.0 16:9, 74.2 MHz
1600x1200@60.0, 533.2 MHz
1680x1050@60.0, 146.2 MHz
1280x1024@60.0, 108.0 MHz
1440x900@59.9, 106.5 MHz
1280x800@60.0, 533.2 MHz
1280x720@120.0 16:9, 148.5 MHz
1280x720@119.9 16:9, 148.4 MHz
1280x720@100.0 16:9, 148.5 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@60.0, 65.0 MHz
800x600@75.0, 49.5 MHz
800x600@60.3, 40.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
640x480@75.0, 31.5 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
[10:55:15.082] Output 'DP-3' enabled with head(s) DP-3
[10:55:15.082] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
cursor planes: yes
arbitrary resolutions: no
view mask clipping: yes
explicit sync: yes
color operations: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[10:55:15.082] Loading module '/usr/lib/weston/desktop-shell.so'
[10:55:15.082] launching '/usr/lib/weston/weston-keyboard'
[10:55:15.083] launching '/usr/lib/weston/weston-desktop-shell'
[10:55:18.596] event9  - Cypress USB Keyboard: device removed
[10:55:18.678] event1  - Power Button: device removed
[10:55:18.679] event4  - Kensington ProFit Ergo Vertical Wireless Trackball: device removed
[10:55:18.679] event10 - Cypress USB Keyboard Consumer Control: device removed
[10:55:18.679] event2  - Video Bus: device removed
[10:55:18.692] event0  - Power Button: device removed
[10:55:18.692] event3  - Kensington ProFit Ergo Vertical Wireless Trackball: device removed
[10:55:18.702] event11 - Cypress USB Keyboard: device removed
[10:55:18.702] event6  - Logitech Wireless Mouse: device removed
[10:55:18.702] event19 - Logitech Wireless Keyboard PID:4023: device removed
[10:55:18.702] [libseat/backend/logind.c:351] Disabling seat
[10:55:18.702] deactivating session
[10:55:20.528] caught signal 15