First : uninstall current nouveau kernel (which is default used by system of nvidia)
apt-get remove nvidia*
Then go to terminal mode, Press ctrl+alt+f1
, and execute the following command:
kill x-server (default desktop graphics mode)
service lightdm stop
Now try to run NVIDIA, by using below command:
sh NVIDIA-DRIVER.run
If it gives error or Nouveau kernel then edit the modprobe blacklist file (terminal: gksu gedit /etc/modprobe.d/blacklist.conf
) and add these entries at the bottom:
blacklist vga16fb
blacklist nouveau
blacklist rivafb
blacklist nvidiafb
blacklist rivatv
and save the file and update grup
sudo update-initramfs -u
now reboot, And try the following again:
sh NVIDIA-DRIVER.run
Yes to all questions. (generally)