I installed the GPU drivers for my NVIDIA GeForce GTX 1070 Ti graphics adapter using the installer file from NVIDIA, but I want to remove them and switch to the drivers being provided by the Ubuntu repositories. How can I completely remove the currently installed official (original) NVIDIA drivers?
Asked
Active
Viewed 8,023 times
2
1 Answers
3
Execute sudo nvidia-installer --uninstall, this command completely removes the NVIDIA drivers. Do not forget to remove configuration files, such like /etc/X11/xorg.conf and those ones which blacklist the nouveau drivers, usually located in the /etc/modprobe.d folder. Depending on your specific setup, other configurations may need to be reverted too. Reboot the system afterwards.
$ nvidia-installer --advanced-options
...
--uninstall
Uninstall the currently installed NVIDIA driver.
...
cl-netbox
- 31,163
- 7
- 94
- 131
-
-
@TomHarris Because you messed up the system by not correctly uninstalling the original NVIDIA drivers before you have installed the drivers from the Ubuntu repositories. The command is part of the original NVIDIA drivers installation, I have them installed and use it when new NVIDIA drivers get released. :) – cl-netbox Aug 30 '18 at 11:05
-
I was really in a hurry to get this thing working at the time. I have no doubt it's a correct answer. I have just reinstalled Ubuntu 18.04 and used the nvidia-390 driver from the Software & Updates menu. Thanks for your help anyway – Aug 30 '18 at 11:08
sudo apt purge nvidia-*, then installed the 396 ppa and it seems to have worked – Aug 28 '18 at 17:33apt purgecan remove the original NVIDIA drivers completely, simply because they were not installed viaaptcommand ... possibly you may experience issues later on. :) – cl-netbox Aug 29 '18 at 17:59