I attempted to install an Nvidia driver on my system using the method described here, however when I rebooted my system the following happened during startup:

Ubuntu repeatedly loads and unloads the driver

I was able to restore normal function by booting Ubuntu in recovery mode and running apt-get purge on the Nvidia driver. But how should I properly install the Nvidia drivers, or what could have gone wrong? I'm running Ubuntu 17.10 on an HP spectre x360 with a GeForce MX150 GPU.


This procedure has worked for me. A quick attempt to validate that nvidia-390 was the proper driver for your card resulted in a finding that nvidia-384 might be the proper one.

sudo apt-get purge nvidia*
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt-get update
sudo apt-get install nvidia-390 nvidia-settings

Then restart your system.

If this does not work, I would repeat, replacing nvidia-390 with nvidia-384.

  • Ubuntu listed Nvidia-390 as the recommended one, although 384 was also an option. I'll try 390 first and get back to you. – J. Antonio Perez Mar 1 '18 at 1:31
  • Do I reboot after completing those steps? – J. Antonio Perez Mar 1 '18 at 1:32
  • I tried that with both Nvidia 390 and Nvidia 384, although the problem persists. – J. Antonio Perez Mar 1 '18 at 1:48
  • Sorry! that has always worked for me. There is a recent problem with gcc compiler versions breaking kernel modules, if you have a custom gcc version it could be that. Here is one such question askubuntu.com/questions/1010467/ubuntu-virtualbox-error/… it concerns virtual box but this same problem broke my video drivers. – Organic Marble Mar 1 '18 at 1:51
  • That's the best explanation I've heard so far – J. Antonio Perez Mar 1 '18 at 1:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.