User Tools

Site Tools


nVidia Drivers



Read permissions for all users are needed to access the HardwareAccelerator

#> chmod 0666 /dev/nvidia*
#> chown root /dev/nvidia*

Checking direct Rendering

Direct Rendering (3D Hardware Acceleration) is usually provided by the DRI extension. Not with nVidia binary drivers! Don't load the DRI extension instead make sure the GL library files in /usr/lib/ are the ones provided by nVidia. It should like this (6111 is the current nVidia Driver version).

#> ls -l /usr/lib/*
lrwxr-xr-x  1 root root      17 2004-10-10 21:53 ->
lrwxr-xr-x  1 root root      17 2004-10-10 21:53 ->
-rwxr-xr-x  1 root root  423832 2004-10-09 13:42
-rw-r--r--  1 root root 1946800 2004-02-15 22:37
#> ls -l /usr/lib/*
lrwxr-xr-x  1 root root      21 2004-10-09 13:42 ->
-rwxr-xr-x  1 root root 7132152 2004-10-09 13:42
#> ls -l /usr/X11R6/lib/*
lrwxrwxrwx  1 root root     26 2005-03-24 21:19 -> /usr/lib/

If the links are not correct replace them:

#> ln -sf /usr/lib/ /usr/lib/
#> ln -sf /usr/lib/ /usr/lib/
#> ln -sf /usr/lib/ /usr/lib/
#> ln -sf /usr/lib/ /usr/X11R6/lib/

You can assure hardware acceleration is enabled by running the following in X:

$> glxinfo |grep "direct rendering"

If it prints Yes everything is fine.

libgl1 dummy package

Most packages in Debian which use 3D acceleration have a dependency to the libgl1 virtual package, to satisfy this dependency you should install a dummy package which provides libgl1.

Either download it here (libgl1-dummy_0.1_all.deb) or follow the instruction below to learn how to create one yourself.

To create a dummy package you need the equivs tool:

#> apt-get install equivs

Then a controlfile like this:

Section: misc
Priority: optional
Standards-Version: 3.5.10

Package: libgl1-dummy
Version: 0.1
Maintainer: Andreas Gohr <>
Provides: libgl1
Architecture: all
Description: Dummy package for the 
 This virtual package provides libgl1 the libgl1 package. It's
 useful when you use thrid party 3D drivers (like the ones from
 See for more info

Finally run equivs on it:

$> equivs-build libgl1-dummy.control

You now can install the dummy package (deinstall existing libgl1-providing packages first)

#> dpkg --force-depends -r mesag3
#> dpkg -i libgl1-dummy_0.1_all.deb
nvidia.txt · Last modified: 2006/11/08 03:31 by