Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1222 - nVidia closed source drivers and libGL.so paths
Summary: nVidia closed source drivers and libGL.so paths
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-18 15:39 UTC by Martin Blix Grydeland
Modified: 2003-02-04 19:42 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 Martin Blix Grydeland 2002-03-18 15:39:03 UTC
I have recently installed a fresh gentoo linux setup. When installing the nVidia
drivers according to the instructions on the web-site, I encountered problems
getting OpenGL programs to run correctly. glxinfo returned "Direct rendering:
no", frame rate was bad and some programs wouldn't run. Great help from people
at #gentoo-irc and a "ldd -d glxgears" revealed that the libGL.so drivers used
by the applications were the ones that come with XFree86. ld loaded the drivers
from /usr/lib, and there were symlinks to /usr/X11R6/lib/libGL.so from there.

I noticed from the ebuilds that it was made a point to put /opt/nvidia/lib
before /usr/X11R6/lib in ld.so.conf to avoid this problem, but as (to my
knowledge at least) ld loads by default from /usr/lib first even though /usr/lib
isn't listed in ld.so.conf, there are still issues with the default setup.

To get around the problem I changed the libGL-symlinks in /usr/lib to point to
the nVidia provided ones, and all problems were resolved.

Another solution (and prehaps better) might be to remove the libGL-symlinks in
/usr/lib alltogether, so that control over which drivers is loaded can be
reestablished in ld.so.conf.

Best regards
Martin Blix Grydeland
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2002-04-25 15:15:13 UTC
Fixed from xfree-4.2.0-r9 and nvidia-*-1.0.2880