Good evening

I tried several times to switch to my nvidia graphics card on ubuntu 18.04.4. How ever it does not seem to work. After some research I found out that the kernel modules are available but the kernel drivers are not in use.

Here are some screenshots that may be useful

lspci -knn | grep -EA2 'VGA|3D'

glxinfo | grep OpenGL

  • You're not logging in with Wayland are you (some choice under the gear icon on the login screen)? For 18.04 that will switch video to the Intel driver even if the nvidia driver is installed.
    – ubfan1
    Mar 18, 2020 at 21:22

1 Answer 1


So the problem is resolved. I had to enroll the MOK (machine owner key) after having installed the nvidia drivers (normally when installing the nvidia driver a MOK is asked) and after rebooting.

For this before logging in 1.) Use ctrl+alt+f2 2.) use the following command
sudo update-secureboot-policy --enroll-key

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .