Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 163272 - xorg-x11 searching for dri modules in /usr/lib/xorg/modules/dri/ instead of /usr/lib/dri/
Summary: xorg-x11 searching for dri modules in /usr/lib/xorg/modules/dri/ instead of ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-22 17:44 UTC by Laurento Frittella (mrfree)
Modified: 2007-01-23 08:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurento Frittella (mrfree) 2007-01-22 17:44:09 UTC
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)
   [...]
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-22 17:48:22 UTC
mesa is just fine, ati-drivers ebuild is screwed.

*** This bug has been marked as a duplicate of bug 142584 ***
Comment 2 Laurento Frittella (mrfree) 2007-01-23 07:50:06 UTC
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 :)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-23 08:17:57 UTC
(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).
Comment 4 Laurento Frittella (mrfree) 2007-01-23 08:51:57 UTC
(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!