Installing NVidia graphics driver

Installing NVidia graphics driver

Postby ausmuso » 05 Sep 2014, 09:55

In the German section of this forum I found Saschal's post on his method of installing NVidia drivers from the NVidia website.
Whilst Saschal's method certainly works, it has the serious drawback that it is not automatically upgraded in case of Debian kernel updates or upgrades and the Xwindows system might simply crash.

In a Debian environments it's better to use the DKMS approach together with NVidia packages from Debian's non-free repository. That way DKMS will automatically upgrade your NVidia driver setup when kernel changes occur.

Three driver versions are available for Debian 7 "Wheezy":
Version 304.117 (the default), for GeForce 6xxx and higher GPUs.
Version 173.14.35 (legacy GPUs),for GeForce 5xxx / GeForce FX GPUs.
Version 96.43.23 (legacy GPUs), for GeForce 2, GeForce 3 and GeForce 4 GPUs.
Most people would have a GeForce 6xx or newer on their system so the default driver should work for them. Here's how you install it:

First, make sure the Debian "contrib" and "non-free" repositories are enabled on your system.
Then, in case you did install anything related to NVidia before you must remove it before installing anything new. From your terminal, enter:
Code: Select all
sudo apt-get purge nvidia-kernel-dkms nvidia-glx nvidia-settings nvidia-xconfig

Now, from your terminal, enter:
Code: Select all
sudo apt-get update
sudo apt-get install nvidia-kernel-dkms nvidia-glx nvidia-settings nvidia-xconfig

Lots of things will happen. Along the way you will get a few messages, simply OK them. Then, when all the smoke has cleared, drop into single user level by entering
Code: Select all
sudo init 1

your system will drop into single user non-graphical mode and present you with a root user prompt. Enter:
Code: Select all

Finally do a reboot and you'll find your NVidia factory driver is working.
Linux from 1997 (Slackware, Caldera, Red Hat, Mandrake, (Open)SuSE, Poppy, Ubuntu, CentOS, Mint 13 & LMDE, Crunchbang)

If at first you don't succeed . . . . . . . .
. . . . . . . skydiving is not for you!
User avatar
Posts: 11
Joined: 05 Sep 2014, 08:33
Location: Blue Mountains, Australia

Re: Installing NVidia graphics driver

Postby glasiad » 11 Nov 2016, 19:29

Worked like a charm! Thanks!! Now I'm enjoying compiz on PL 3.2. A keeper :D
Posts: 10
Joined: 12 Jan 2014, 15:42

Return to Hardware Support

Who is online

Users browsing this forum: No registered users and 1 guest