Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 667128 - media-libs/mesa-18.2.1: AIGLX error: dlopen of /usr/lib64/dri/radeon_dri.so failed (/usr/lib64/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
Summary: media-libs/mesa-18.2.1: AIGLX error: dlopen of /usr/lib64/dri/radeon_dri.so f...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-26 17:49 UTC by ernsteiswuerfel
Modified: 2018-10-01 23:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_667128.txt,6.18 KB, text/plain)
2018-09-26 17:49 UTC, ernsteiswuerfel
Details
Xorg.log (Xorg.0.log,54.18 KB, text/plain)
2018-09-26 17:49 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2018-09-26 17:49:02 UTC
Created attachment 547982 [details]
emerge --info

Starting X, I get the following error:

[...]
[    41.715] (EE) AIGLX error: dlopen of /usr/lib64/dri/radeon_dri.so failed (/usr/lib64/dri/radeon_dri.so: cannot open shared object file: No such file or directory)
[    41.715] (EE) AIGLX: reverting to software rendering
[    41.733] (II) IGLX: enabled GLX_MESA_copy_sub_buffer
[    41.736] (II) IGLX: Loaded and initialized swrast
[    41.736] (II) GLX: Initialized DRISWRAST GL provider for screen 0

Looks like radeon_dri.so does not exist:
# ls /usr/lib64/dri/
kms_swrast_dri.so  r300_dri.so  r600_dri.so  radeonsi_dri.so  swrast_dri.so

If I symlink radeon_dri.so to r600_dri.so (in my case) starting X works as expected. Hmm, I rembember having this problem some time and mesa (or xorg?) got fixed in the meantime... Now it seems broken again, missing radeon_dri.so or an appropriate symlink. Same situation with mesa-18.1.9.


Machine is a Talos II with a Radeon HD 6450. Built mesa with following flags:

[ebuild   R   ] media-libs/mesa-18.2.1  USE="debug dri3 egl gallium gbm gles2 llvm vaapi valgrind vdpau -classic -d3d9 -gles1 (-lm_sensors) (-opencl) -osmesa -pax_kernel -pic (-selinux) -test -unwind (-vulkan) -wayland -xa (-xvmc)" VIDEO_CARDS="r300 r600 radeon radeonsi (-freedreno) (-i915) (-i965) (-imx) (-intel) -nouveau -r100 -r200 (-vc4) -virgl (-vivante) (-vmware)"

VIDEO_CARDS="radeon r300 r600 radeonsi amdgpu"
LLVM_TARGETS="AMDGPU"
Comment 1 ernsteiswuerfel archtester 2018-09-26 17:49:41 UTC
Created attachment 547984 [details]
Xorg.log
Comment 2 Alexander Tsoy 2018-09-29 18:32:15 UTC
Looks like a problem in xorg-server in dri2_probe_driver_name(). Could you try [1] or try to update to xorg-server-1.20.1?

[1] https://gitlab.freedesktop.org/xorg/xserver/commit/7617a0a180a2cd3427a8ffa9534152df6a8fecbf
Comment 3 ernsteiswuerfel archtester 2018-10-01 22:16:45 UTC
(In reply to Alexander Tsoy from comment #2)
> Looks like a problem in xorg-server in dri2_probe_driver_name(). Could you
> try [1] or try to update to xorg-server-1.20.1?

Thanks for the hint! Upgrading to xorg-server-1.20.1 worked.
Comment 4 Matt Turner gentoo-dev 2018-10-01 22:53:16 UTC
I've dropped 1.20.0.
Comment 5 Alexander Tsoy 2018-10-01 22:56:54 UTC
(In reply to Matt Turner from comment #4)
> I've dropped 1.20.0.
According to attachment 547984 [details] the bug was reported against 1.19.5 =P
Comment 6 Matt Turner gentoo-dev 2018-10-01 23:12:37 UTC
Oh, dang. Thanks for noticing.

I suppose it might be time to try to stabilize 1.20.1.