How can I remove the drivers installed with the NVIDIA installer?
7,733
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.
...
Related videos on Youtube
Author by
cl-netbox
Updated on September 18, 2022Comments
-
cl-netbox almost 2 years
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?
-
goo almost 6 yearsDid you keep the pieces of the "installer from NVIDIA"? Surely some file has install/uninstall instructions. If you didn't keep the pieces, you can download it again.
-
Admin almost 6 years@waltinator I've run
sudo apt purge nvidia-*
, then installed the 396 ppa and it seems to have worked -
cl-netbox almost 6 years@TomHarris I don't think that
apt purge
can remove the original NVIDIA drivers completely, simply because they were not installed viaapt
command ... possibly you may experience issues later on. :) -
Admin almost 6 years@cl-netbox you bet. Its totally screwed. I think I might have to reinstall
-
Foreever almost 5 yearsPossible duplicate of Completely removing old Nvidia drivers
-
-
Admin almost 6 years
nvidia-installer
not found -
cl-netbox almost 6 years@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. :)
-
Admin almost 6 yearsI 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 🙂