Installing the Nvidia drivers on Debian.

The debian wiki wiki.debian.org/NvidiaGraphicsDrivers discribes the process.

Nvidia has two releases of its drivers, one that supports recent cards, and another "legacy" that supports older cards.

To install:


# apt-get install module-assistant gcc nvidia-kernel-common
# m-a update
# m-a prepare

For the newer driver run:


# m-a auto-install nvidia
# apt-get install nvidia-glx

For the older driver run:


# m-a auto-install nvidia-kernel-legacy-source
# apt-get install nvidia-glx-legacy

Then configure the x.org config file, adding the driver as "nvidia", make sure "glx is being loaded, and dri and glcore are not.