NVIDIA Setup on Linux
From ShWiki
| Revision as of 19:22, 23 September 2005 Francois (Talk | contribs) Mention xorg.conf ← Previous diff |
Revision as of 19:08, 28 September 2005 Francois (Talk | contribs) Remove reference to XFree86 Next diff → |
||
| Line 49: | Line 49: | ||
| ==X Configuration== | ==X Configuration== | ||
| - | The file ''/etc/X11/XF86Config-4'' (or ''/etc/X11/xorg.conf'') should '''not''' contain the following lines: | + | The file ''/etc/X11/xorg.conf'' should '''not''' contain the following lines: |
| Load "dri" | Load "dri" | ||
| Load "GLCore" | Load "GLCore" | ||
| + | |||
| Driver "nv" | Driver "nv" | ||
| Driver "vesa" | Driver "vesa" | ||
Revision as of 19:08, 28 September 2005
These instructions are not meant to show how to install the NVIDIA drivers on your machine, but rather to help you debug your installation if you are having problems running Sh or Shrike.
This is what my setup looks like with the 76.76 drivers on an NVIDIA 6600 GPU. I use the Debian experimental packages along with SGI's copy of glext.h. Your setup is probably different but it's useful to see what a working one looks like.
Libraries
Make sure the symbolic links are pointing to real files and make sure none are missing. Dangling libGL* symlinks can also cause problems.
$ ls -l /usr/X11R6/lib/libGL*
/usr/X11R6/lib/libGL.a /usr/X11R6/lib/libGL.so -> /usr/lib/libGL.so /usr/X11R6/lib/libGLU.a /usr/X11R6/lib/libGLU.so -> libGLU.so.1.3 /usr/X11R6/lib/libGLU.so.1 -> libGLU.so.1.3 /usr/X11R6/lib/libGLU.so.1.3 /usr/X11R6/lib/libGLw.a
$ ls -l /usr/lib/libGL*
/usr/lib/libGL.a -> ../X11R6/lib/libGL.a /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.7676 /usr/lib/libGLcore.so.1.0.7676 /usr/lib/libGL.so -> libGL.so.1 /usr/lib/libGL.so.1 -> libGL.so.1.0.7676 /usr/lib/libGL.so.1.0.7676 /usr/lib/libGLU.a -> ../X11R6/lib/libGLU.a /usr/lib/libGLU.so -> libGLU.so.1.3 /usr/lib/libGLU.so.1 -> libGLU.so.1.3 /usr/lib/libGLU.so.1.3 -> ../X11R6/lib/libGLU.so.1.3
Glxinfo
The output of
$ glxinfo
should contain something similar to this:
name of display: :0.0 display: :0 screen: 0 direct rendering: Yes server glx vendor string: NVIDIA Corporation server glx version string: 1.3 client glx vendor string: NVIDIA Corporation client glx version string: 1.3 OpenGL vendor string: NVIDIA Corporation OpenGL renderer string: GeForce 6600/PCI/SSE2 OpenGL version string: 2.0.0 NVIDIA 76.76
X Configuration
The file /etc/X11/xorg.conf should not contain the following lines:
Load "dri" Load "GLCore"
Driver "nv" Driver "vesa" Driver "fbdev"
but it should contain
Driver "nvidia"
in the Device section and
Load "glx"
in the Module section.
