pfr
~ λ alacritty
libGL error: MESA-LOADER: failed to open radeonsi: /usr/pkg/lib/dri/radeonsi_dri.so: Undefined PLT symbol "amdgpu_query_video_caps_info" (symnum = 201) (search paths /usr/pkg/lib/dri, suffix _dri)
libGL error: failed to load driver: radeonsi
libGL error: MESA-LOADER: failed to open swrast: /usr/pkg/lib/dri/swrast_dri.so: Undefined PLT symbol "amdgpu_query_video_caps_info" (symnum = 201) (search paths /usr/pkg/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
Error: Error { raw_code: Some(167), raw_os_message: Some("GLXBadFBConfig"), kind: BadConfig }
~ λ
This indicates a mismatch between libdrm
(where amdgpu_query_video_caps_info
is implemented) and Mesa/dri. I don't know how you ended up in this mess--prolly due to the WIP package? Both Mesa/dri and libdrm
are provided by the base Xorg package (unless you've skipped that entirely and gone with the modular Xorg package).
Uncommenting the debug options in the kernel config can push some class of bugs underground--like cockroaches...ie. doesn't mean they're "fixed". However,
Crash Annotation GraphicsCriticalError: |[0][GFX1-]: glxtest: DRM device has no render node (t=0.462674) [GFX1-]: glxtest: DRM device has no render node
Have you got the standard device files (with the correct perms.) in /dev/dri
:
$ ls -l /dev/dri/
total 0
crw-rw---- 1 root wheel 180, 0 Feb 15 2024 card0
crw-rw---- 1 root wheel 180, 1 Feb 15 2024 card1
crw-rw---- 1 root wheel 180, 2 Feb 15 2024 card2
crw-rw---- 1 root wheel 180, 3 Feb 15 2024 card3
crw-rw---- 1 root wheel 180, 128 Jan 31 2024 renderD128
crw-rw---- 1 root wheel 180, 129 Jan 31 2024 renderD129
crw-rw---- 1 root wheel 180, 130 Jan 31 2024 renderD130
crw-rw---- 1 root wheel 180, 131 Jan 31 2024 renderD131
$
Create them using:
$ su -l
# cd /dev
# sh ./MAKEDEV drm0 drm1 drm2 drm3
Then file a PR with the dmesg
and Xorg.0.log
outputs if it still fails to work (after you get rid of the extra libdrm
stuff).