Debian 8 NVIDIA Proprietary Driver

Today, I will show you how to install Nvidia proprietary drivers on your Debian 8 Jessie.

Theses drivers can be used for GPUs from GeForce 6xxx through 7xx series.

1. Identification

First you need to identify your video card.

To do that, open Terminal and type:

You will see if there are graphic drivers installed on your system.

Other method to do that is to type:

This can be used only if you installed non-free nvidia-detect package.

2. Drivers

There are two versions of Nvidia drivers available:

3a. Installation (340.65)

Note: Only for drivers version 340.65

You need to add contrib and non-free components to /etc/apt/sources.list:

Open Terminal and type:

This will open sources file where you need to add components from above.

Make sure you have line like this in the file:

Note: Your Debian server could be different from this one.

Next, update the list of available packages.

Install the appropriate linux-headers and kernel module packages:

This will update packages.

This will also install the recommended nvidia-driver package. DKMS will build the nvidia module for your system.

3b. Installation (304.125)

Note: Only for drivers version 304.125

You need to add contrib and non-free components to /etc/apt/sources.list:

Open Terminal and type:

This will open sources file where you need to add components from above.

Make sure you have line like this in the file:

Note: Your Debian server could be different from this one.

Next, update the list of available packages.

Install the appropriate linux-headers and kernel module packages:

This will update packages.

This will also install the recommended nvidia-driver package. DKMS will build the nvidia module for your system.

4. Configuration

After installation is finished, you can proceed to drivers configuration.

You need to create Xorg server configuration file.

This can be done in two ways.

4.1. Automatically

Install nvidia-xconfig package:

Then run it as sudo:

This will generate a Xorg configuration file at /etc/X11/xorg.conf

4.2. Manually

Open Terminal and type:

Insert following line to generate file content:

5. Restart

Restart your system to apply changes.

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *