Actually summary says it all. libdri.so is needed fo DRI obviously, without it X log says: (II) LoadModule: "dri" (WW) Warning, couldn't open module dri (II) UnloadModule: "dri" (EE) Failed to load module "dri" (module does not exist, 0) ...skipped... (EE) intel(0): [dri] I830CheckDRIAvailable failed: dri not loaded As I understand it, new 1.0.7 version of eselect-opengl assumes that libdri.so resides in /usr/lib/opengl/xorg-x11/extensions/ like libglx.so and /usr/lib/xorg/modules/extensions/libdri.so is a symlink, so it deletes it when called from postinst function of it's own ebuild. In the reality the real library is deleted. BTW I'm using x11-base/xorg-server-1.4.2 Reproducible: Always Steps to Reproduce: 1. emerge =app-admin/eselect-opengl-1.0.7 2. restart X Actual Results: DRI is gone Expected Results: DRI should stay
re-emerging xorg-server doesn't help either, because eselect opengl is called there too.
In file /usr/share/eselect/modules/opengl.eselect change line for file in lib{wfb,glx,dri}.{a,so,la}; do to for file in lib{wfb,glx}.{a,so,la}; do
(In reply to comment #2) > In file /usr/share/eselect/modules/opengl.eselect change line > > for file in lib{wfb,glx,dri}.{a,so,la}; do > > to > > for file in lib{wfb,glx}.{a,so,la}; do >
Created attachment 197812 [details, diff] patch to fix removal of dri lib file
Created attachment 197813 [details] ebuild which applies the patch
I agreed that this seems to be an issue - so until it is fixed properly, use attached dri patch and and replacement ebuild.
It is fixed in anything above 1.5.3-r7. Won't backport it specialy when the 1.4 is going to disappear really soon.