Something here

Install Nvidia Proprietary Drivers On Debian

The nvidia proprietary drivers is essential for a good performance of your machine, supports opengl, 3d rendering and much more.

To install the proprietary drivers on Debian is not hard, so, let’s go:

1. Install the required tools and compilers

apt-get install build-essential linux-headers-$(uname -r)

2. Disable nouveau driver on Debian

nano /etc/modprobe.d/disable-nouveau.conf

Paste code below:

# Disable nouveau 
blacklist nouveau
options nouveau modeset=0

Save and close the file.

3. Download the Nvidia Proprietary driver for Debian

Go to nvidia website and download the last driver for your PC:

wget https://us.download.nvidia.com/XFree86/Linux-x86_64/415.13/NVIDIA-Linux-x86_64-415.13.run

 

4. Remove the following unnecessary packages

apt-get --purge remove xserver-xorg-video-nouveau nvidia-kernel-common nvidia-kernel-dkms nvidia-glx nvidia-smi

Search for all installed nvidia packages and delete them:

dpkg --list | grep -i --color nvidia

5. Install the Nvidia Proprietary Drivers on Debian

Disable Graphical user interface, just press Ctrl + Alt + F1.

Now have sure that you are not using any graphic environment, it depends on what display manager are you using, i’m using MATE Desktop Environment, that uses lightdm display manager, so:

/etc/init.d/lightdm stop

If you want full compatibility with 32 bit environment, active multarch, and then nvidia will install 32 bit library:

dpkg --add-architecture i386

Type the following command to install the Nvidia Proprietary drivers on Debian:

sh /DIRECTORY-WHERE-IS-THE-DRIVER/NVIDIA-Linux-x86_64-415.13.run

Just follow on screen instructions. Make sure upgrade your xorg.conf when promoted. Finally, reboot the system:

reboot

And That is it ­čÖé