Friday, February 5, 2016

Install nvidia *.run driver

Newly installed linuxMint system, nouveau driver conflicts nvidia driver when I was trying to install the later. To disable the nouveau, do following:

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
Blacklist the modules. Open the blacklist.conf file.
sudo vim /etc/modprobe.d/blacklist.conf
add the following modules in the file.
blacklist amd76x_edac #this might not be required for x86 32 bit users.
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv


Disable the Kernel nouveau by typing the following commands:
echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf
update-initramfs -u
Now go to nvidia.com and download the driver for your graphic card.

No comments:

Post a Comment