View Single Post
Old 05-13-04, 05:18 AM   #5
GeForce FX5600 (1.0-5336)
rednuht's Avatar
Join Date: Sep 2003
Location: uk
Posts: 164
Default Re: nvidia gf4mx440 PCI quake2

from the readme

Problems will arise if applications use the wrong version of a library.
This can be the case if there are either old libGL libraries or stale
symlinks left lying around. If you think there may be something awry
in your installation, check that the following files are in place
(these are all the files of the NVIDIA Accelerated Linux Driver Set,
plus their symlinks):


/usr/X11R6/lib/modules/extensions/ ->

/usr/lib/ ->
/usr/lib/ ->

/usr/lib/ ->

/lib/modules/`uname -r`/video/nvidia.o, or
/lib/modules/`uname -r`/kernel/drivers/video/nvidia.o

Installation will also create the /dev files:

crw-rw-rw- 1 root root 195, 0 Feb 15 17:21 nvidia0
crw-rw-rw- 1 root root 195, 1 Feb 15 17:21 nvidia1
crw-rw-rw- 1 root root 195, 2 Feb 15 17:21 nvidia2
crw-rw-rw- 1 root root 195, 3 Feb 15 17:21 nvidia3
crw-rw-rw- 1 root root 195, 255 Feb 15 17:21 nvidiactl

If there are other libraries whose "soname" conflicts with that of
the NVIDIA libraries, ldconfig may create the wrong symlinks. It is
recommended that you manually remove or rename conflicting libraries
(be sure to rename clashing libraries to something that ldconfig will
not look at -- we have found that prepending "XXX" to a library name
generally does the trick), rerun 'ldconfig', and check that the correct
symlinks were made. Some libraries that often create conflicts are
"/usr/X11R6/lib/*" and "/usr/X11R6/lib/*".

If the libraries checks out, then verify that the application is using
the correct libraries. For example, to check that the application
/usr/X11R6/bin/gears is using the NVIDIA libraries, you would do:

$ ldd /usr/X11R6/bin/gears => /usr/lib/ (0x40014000) => /usr/lib/ (0x40046000) => /usr/lib/ (0x40062000) => /lib/ (0x4009f000) => /usr/X11R6/lib/ (0x4018d000) => /usr/X11R6/lib/ (0x40196000) => /usr/X11R6/lib/ (0x401ac000) => /usr/X11R6/lib/ (0x401c0000) => /usr/X11R6/lib/ (0x401cd000) => /usr/X11R6/lib/ (0x401d6000) => /usr/lib/ (0x402ab000) => /lib/ (0x4048d000) => /lib/ (0x404a9000)
/lib/ => /lib/ (0x40000000) => /usr/X11R6/lib/ (0x404ac000)

Note the files being used for libGL and libGLcore -- if they are something
other than the NVIDIA libraries, then you will need to either remove the
libraries that are getting in the way, or adjust your ld search path.
If any of this seems foreign to you, then you may want to read the man
pages for "ldconfig" and "ldd" for pointers.
rednuht is offline   Reply With Quote