NVIDIA installation issues  

by ne on 2021-09-29 under More

Installing Nvidia drivers in most of the linux distros is generally not straight forward. Here are few steps which can help utilize the Nvidia graphic card fully using the Nvidia driver itself.

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)
Reboot, and you should be all set.