When xorg-x11 and other OpenGL implementations (tested with ati) are installed, switching from one to another will cause libdri.so to be removed and replaced by a symlink. This is caused by an error in the ebuild. Since ati-drivers provides its own libdri.so, moving libglx.so to /usr/lib/opengl/xorg-x11/extensions is not enough. Please have a look at the patched ebuild attached (tested with 1.5.3-r6), everything seems to work fine. Let me know if you need further information, glad to help out ;) Reproducible: Always Steps to Reproduce: 1. install xorg-server, ati-drivers 2. eselect opengl set xorg-x11 3. eselect opengl set ati 4. eselect opengl set xorg-x11 5. ls -la /usr/lib/xorg/modules/extensions/* will show a broken symlink.
Created attachment 195364 [details, diff] xorg-server-1.5.3-r6.ebuild patch
Actually, this breaks nvidia opengl support when 'Load "dri"' is in xorg.conf. I'm producing a fix for this issue too.
This bug is dupe of other bug with nvidia/ati drivers. Make us happy we will probably solve this if you give us file list for: qlist files ati-drivers qlist files nvidia-drivers qlist files xorg-server
Created attachment 195443 [details, diff] eselect-opengl-1.0.6 (opengl eselect module) patch This patch fixes the issue with stale libdri.so left in /usr/lib/xorg/modules/extensions/ by issuing: 1. eselect opengl set xorg-x11 2. eselect opengl set nvidia
1.0.7 version added to the main tree. Xorg server patched :] Tested on ati-drivers xf86-video-ati and nvidia drivers.
w00t, congrats!
*** Bug 258322 has been marked as a duplicate of this bug. ***
Today i emerged the new stable amd64 xorg-server version 1.6.3.901-r2, and in Xorg.0.log i found this: (II) "dri" will be loaded by default. (II) "dri2" will be loaded by default. ... (II) LoadModule: "dri" (WW) Warning, couldn't open module dri (II) UnloadModule: "dri" (EE) Failed to load module "dri" (module does not exist, 0) (II) LoadModule: "dri2" (WW) Warning, couldn't open module dri2 (II) UnloadModule: "dri2" (EE) Failed to load module "dri2" (module does not exist, 0) I've a nvidia video card: dri is useless but xorg complains about missings libraries because dri is loaded by default. There isn't any voice in my xorg.conf telling xorg to load dri. In my opinion when xorg is built in a system with nvidia drivers it should not autoload dri or we can switch back and make links of libdri and libdri2 from /usr/lib/opengl/xorg-x11/extensions/ to /usr/lib/xorg/modules/extensions/.