Attention! The driver from the official repository supports video cards under 6xxGT and are at least version GTX6xx. If you have a newer graphics card, install the driver from the official site or repository debian.backports.org. If you have an older video card install legacy-driver from the repository
First of all connect the branch non-free, which succeeded in/etc/apt/sources.list “non-free” should be appended to the source
for example,
Quote
http://ftp.debian.org/debian Deb squeeze main contrib non-free
Then follow the instructions
The driver can be installed in two ways.
The first way
Install and configure:
1 |
root@debian# aptitude install nvidia-glx nvidia-kernel-common nvidia-kernel-dkms nvidia-settings nvidia-xconfig |
and run the automatic configuration of X:
1 |
root@debian# nvidia-xconfig |
Restart X or reboot and everything should work. For more fine tuning can type command
1 |
root@debian# nvidia-settings |
The kernel module will be compiled and will probably be rebuilt automatically when you install or uninstall new cores in the system.
Forcibly (if for example doesn’t work) you can make peresobrat′sâ like this:
1 |
root@debian# dpkg-reconfigure nvidia-kernel-dkms |
The second way
Removing previous drivers installed via the “additional driver“ package in the system to avoid errors in the Terminal:
1 |
root@debian# aptitude purge nvidia~n |
Download the latest drivers from the nVidia official website (something like: NVIDIA-Linux-XXX-X.X-XXX-pkg1.run)
Set required to install additional packages:
1 |
root@debian# aptitude install linux-headers-`uname -r` binutils pkg-config build-essential xserver-xorg-dev |
Open file: blacklist’a
1 |
root@debian# nano /etc/modprobe.d/blacklist.conf |
Add the modules free drivers:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
Ending your session. Switch to text console Ctrl + Alt + F1, enter the user name and password (go under your account). Stop X–Server:
1 |
root@debian# /etc/init.d/*dm stop |
(Note: depending on the DE can be installed different display managers: kdm in KDE, gnome, lightdm gdm3 and slim case ispol′zovkaniâ WM without DE. Please choose your option and replace * dm team.)
Run the driver Installer (from the directory where you saved) as root:
1 |
root@debian# sh NVIDIA-Linux-XXX-X.X-XXX-pkg1.run |
Restart X Server:
1 |
root@debian# /etc/init.d/*dm start |