When I start xorg DRI isn't enabled. LIBGL_DEBUG="verbose" glxinfo reports something like this: libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/r200_dri.so libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/r200_dri.so libGL error: dlopen /usr/lib/xorg/modules/dri/r200_dri.so failed (/usr/lib/xorg/modules/dri/r200_dri.so: cannot open shared object file: No such file or directory) [...] But I noticed that media-libs/mesa ebuild installs modules in /usr/lib/dri/ directory. I have the same problem on two different gentoo installations and both with two different ati radeon videocards (r200 and r300 series), on my laptop (with an Intel 915GM) all seems to work fine... glxinfo reports libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 4, (OK) [...]
mesa is just fine, ati-drivers ebuild is screwed. *** This bug has been marked as a duplicate of bug 142584 ***
Probably my omission... I'm speaking about x11-drivers/xf86-video-ati (OpenSource ATI Driver not the binary one) Another thing... on my laptop (where all seems to work fine with an intel i915GM videocard) /usr/lib/dri/i915_dri.so belongs to media-libs/mesa ebuild not to the x11-drivers/xf86-video-i810. I don't know why xorg (I suppose) searching for r200_dri.so in /usr/lib/xorg/modules/dri/ instead of /usr/lib/dri/ There aren't errors in the Xorg.0.log file but the problem appers in LIBGL_DEBUG="verbose" glxinfo output (as I reported in my first post) I suppose that media-libs/mesa is ok, so I hope the new summary is ok too :)
(In reply to comment #2) > Probably my omission... I'm speaking about x11-drivers/xf86-video-ati > (OpenSource ATI Driver not the binary one) Erm, in case you've installed ati-drivers it's still the exact same issue, you have screwed LIBGL_DRIVERS_PATH variable. Even if you've uninstalled it and still have the env.d file lurking there, you'll still be broken (see Bug 162066).
(In reply to comment #3) > Erm, in case you've installed ati-drivers it's still the exact same issue, you > have screwed LIBGL_DRIVERS_PATH variable. Even if you've uninstalled it and > still have the env.d file lurking there, you'll still be broken (see Bug > 162066). Oops... ok now it's crystal clear thanks!