ERROR: NVIDIA driver is not loaded

Screen resolution, 3D Acceleration, nVidia, ATI
Forum rules
Before you post please read this
User avatar
roblm
Level 9
Level 9
Posts: 2606
Joined: Sun Feb 24, 2013 2:41 pm

Re: ERROR: NVIDIA driver is not loaded

Post by roblm » Mon Jul 02, 2018 3:23 pm

Is there a Secure Boot option enabled in the BIOS? It should be disabled.

Otherwise, the only other step I can think of is to try removing the nouveau driver package:
sudo apt remove xserver-xorg-video-nouveau

Log out and back in. If there is a problem getting back to the desktop, then press Ctrl+Alt+F1 to enter the virtual console tty1. After logging in, use this command to reinstall the nouveau driver: sudo apt install xserver-xorg-video-nouveau

User avatar
azohc
Level 1
Level 1
Posts: 12
Joined: Fri Jun 29, 2018 8:04 pm
Location: madrid
Contact:

Re: ERROR: NVIDIA driver is not loaded

Post by azohc » Mon Jul 02, 2018 4:35 pm

roblm wrote:
Mon Jul 02, 2018 3:23 pm
Is there a Secure Boot option enabled in the BIOS? It should be disabled.
I do not know how that was on :o
But yeah, this one right here put the nail in the coffin for this thread.
Thanks a ton roblm, nuff respect for helping me through this even regardless of it being a stupid thing in the end :lol:

User avatar
roblm
Level 9
Level 9
Posts: 2606
Joined: Sun Feb 24, 2013 2:41 pm

Re: ERROR: NVIDIA driver is not loaded

Post by roblm » Mon Jul 02, 2018 4:50 pm

In another topic I was involved in last week, the same thing happened.

After doing some testing, I have now seen the Continue using a manually installed driver message for the first time while installing a Nvidia driver in Driver Manager. In Mint 19 Cinnamon, I installed a Nvidia driver and then removed it, but it was not removed and that message was seen and all options grayed out.

Also in Driver Manager, the nvidia-390 driver is now named nvidia-driver-390, so anyone using the command sudo apt install nvidia-390 to install the driver needs to make the change.


EDITED:
I added this info because many users will not know what to do when they see the Continue using a manually installed driver message.

First use the command ls /etc/modprobe.d. There should be a file named nvidia-graphics-drivers.conf or one similar to nvidia-390.conf listed, but the number may be different. These blacklist the nouveau driver. It's supposed to be removed when the Nvidia driver is uninstalled, but that doesn’t always happen and it’s happening more often in the newer Mint versions. Use this command, for example, to remove that file: sudo rm /etc/modprobe.d/nvidia-390.conf

Then use this command to update the initial ramdisk and reboot: sudo update-initramfs -u; reboot
Now the Driver Manager message should be gone and the driver options can be selected.


EDITED-2:
After some more testing, the procedure above may not work after using Driver Manager to remove a Nvidia driver. You will also need to use one or both of these commands to remove all the other Nvidia related files: sudo apt remove nvidia-driver-390 and sudo apt autoremove

If the Nvidia driver is removed using the command sudo apt purge* nvidia, then the driver and all other files are removed, but on laptops with Optimus technology, this also removes nvidia-prime and nvidia-prime-applet.

Post Reply

Return to “Graphics Cards & Monitors”