| |||||||||
| ||||||||||||||
Author: Engys | Topic: Install nVidia driver on Debian Wheezy | Last change: 2016-10-07 08:43:14 | ||||||||||||
Because the nVidia drivers need some time to get into the Debian repository, I need to split up the installation process into two sections: Jump to the installation of the drivers from the Debian repository Jump to the installation of the newest drivers from nVidia If we want to install the non-free nVidia Driver from the Debian repository, we need to press ctrl+alt+f2 to switch to tty2. Now we login as root user. To be able to install the non-free driver we will need to add contrib and non-free to our sources.list:
nano /etc/apt/sources.list
After editing our sources.list it should look something similar to this:
deb http://ftp.de.debian.org/debian/ wheezy main contrib non-free
deb-src http://ftp.de.debian.org/debian/ wheezy main contrib non-free Now we will save our changes and exit. Back on the terminal prompt, we need to execute:
apt-get update
Before we proceed further, we should stop the gnome desktop manager with:
/etc/init.d/gdm3 stop
Now we will installing the non-free nVidia packages with:
apt-get install nvidia-glx nvidia-xconfig
This will drop a warning that another driver is running and that we need to restart after installation. But befor we reboot the system, we will execute:
nvidia-xconfig
Now everything is in place and we can restart the system with:
reboot
If you already installed the nVidia driver from the repository apt-get remove --purge nvidia*
will help to get rid of them. The following steps are for a system with the default nouveau driver. Change to terminal view (ctrl+alt+f1) Login as root and type in: echo -e "blacklist nouveau">>/etc/modprobe.d/blacklist.conf
reboot Change to terminal view (ctrl+alt+f1) Login as root and type in: apt-get install build-essential linux-headers-$(uname -r)
/etc/init.d/gdm3 stop In my case the latest driver from http://www.nvidia.com was NVIDIA-Linux-x86_64-346.35.run so I need to type in: sh NVIDIA-Linux-x86_64-346.35.run
Accept entry screen. At the "CC Version check failed" use "No" to continue installation. Use "No" for DKMS kernel modules. If you have a 64 bit Debian System you also need to install the 32 Bit OpenGL libs. If the installation asks you if you want to change the X configuration file use "Yes". After installation: reboot
Nice! Now we have the newest nVidia drivers! | ||||||||||||||
|