Remove nouveau and install nvidia Driver in Ubuntu 15.04

July 6, 2015 in O.S.

Install Nvidia Drivers in Ubuntu 15.04

 

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

open a terminal (ctrr+alt+t) 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-generic

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

Disable the Kernel nouveau by typing the following commands:

echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf

sudo update-initramfs -u

Now go to nvidia.com and download the driver for your graphic card.

The file name should be something like that “NVIDIA-Linux-x86_64-352.21.run” depends on the architecture of your machine and the version of the driver.

Pages: 1 2