Remove nouveau and install nvidia Driver in Debian 8

September 16, 2015 in O.S.

Install Nvidia Drivers in in Debian 8

Lets remove first everything that point to any existing nvidia installation.

open a terminal and type:

sudo apt-get remove nvidia*

sudo apt-get autoremove

update and download a few tools that we will need:

sudo apt-get update

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

This part is optional but its is recommended:

Install 32 bit support:

dpkg –add-architecture i386

sudo apt-get update

sudo apt-get install lib32z1 lib32ncurses5

sudo apt-get update

Now its time to blacklist the nouveau driver.

sudo nano /etc/modprobe.d/blacklist-nouveau.conf

and add the following lines:

blacklist nouveau
blacklist lbm-nouveau
options nouveau modeset=0
alias nouveau off
alias lbm-nouveau off