66

In Additional Drivers under Software & Updates, the NVIDIA driver is stuck on Continue using a manually installed driver, and all other options are greyed out.

I want to set the driver to proprietary driver(nvidia-driver-390), which was originally selected before I changed it to the open source driver, but now it is stuck.

How can I resolve this issue? Should remove all NVIDIA drivers and install them again? If so , how to do it safely in Ubuntu 20.04?

Additional info:

  1. cat /var/log/Xorg.0.log output: https://termbin.com/hqo3

  2. lspci -k | grep -EA3 'VGA|3D|Display' output: https://termbin.com/bog0

vikrant
  • 865

5 Answers5

96

This problem should be fixed by running

sudo ubuntu-drivers install

after a reboot.

Pilot6
  • 92,041
17

I encountered myself in a similar situation because of broken packages (Ubuntu complained on launching sudo ubuntu-drivers autoinstall; further in Software & Updates -> Additional Drivers my Nvidia graphics was locked to manual installation). I solved it like this:

  1. Remove all nvidia packages and make sure nouveau is installed (you need sudo rights):
apt remove --purge nvidia-*
apt remove --purge libnvidia-*
apt autoremove
apt install xserver-xorg-video-nouveau
  1. Reboot
  2. Reinstall latest nvidia packages (again, sudo rights):
ubuntu-drivers install

Edit note: Before it used to be ubuntu-drivers autoinstall, but that is now deprecated. There is another way to remove all nvidia packages with dpkg, see here.

Manu J4
  • 339
5

I also couldn't update to a newer Nvidia driver because a manual driver was installed, in my case from 470 to 510 driver on an Focal Desktop system of Canonical.

My solution was:

  1. Open a terminal and run the command:

    sudo ubuntu-drivers autoinstall
    

    The above will install the newest recommended driver.

  2. Wait until all automatic commands are executed and reboot the system.

  3. The Linux kernel loaded the 510 driver.

  4. Checked Additional Drivers in Software & Updates, which points to Nvidia 510 driver.

The accidentally selected manual driver option was removed.

0

Here is my solution for the mouse lag situation. open NVIDIA Settings.

$ nivdia-settings

select this -> PRIME Profiles - NVIDIA (Performance Mode)

after reboot, your mouse or the animation of Ubuntu is as smooth as it used to be.

Ser_Lip
  • 19
0

I've also faced the issue of being unable to select a driver other than Continue using a manually installed driver.

sudo ubuntu-drivers install nvidia-driver-525 only reported that I already have that driver installed.

What fixed the issue for me was:

  1. sudo apt purge nvidia-driver* (followed by sudo apt autoremove just to be sure)
  2. sudo apt install xserver-xorg-video-nouveau (to have at least some driver)
  3. Reboot
  4. sudo apt install nvidia-driver-525 (this is the important part that differs from other guides, the rest is more or less the same)
  5. Reboot

And then I could see the appropriate proprietary driver selected.

edison23
  • 917
  • 7
  • 16