I have a Ubuntu 14.04 system on which I installed the 64-bit Nvidia driver (version 343.22) from their website. Everything works fine, however whenever there is a kernel update, after reboot the screen goes blank and I have to re-run the Nvidia installer from console. Is there any way to avoid this?

up vote 1 down vote accepted

Yes, I believe you can install dkms and the headers before you run the installer and it should give you a DKMS option during setup. DKMS will prevent the problem you are experiencing so you don't have to re-install every kernel upgrade:

sudo apt-get install dkms build-essential linux-headers-generic linux-headers-`uname -r` linux-source

Then, run the installer and select the DKMS option when prompted.

  • Thanks! I think this is what I need. I'll have to wait until the next update to verify it works, but I remember using it on an older system few years back. – rslite Oct 13 '14 at 15:55
  • Had an update today and it works like a charm! Thanks again! – rslite Oct 29 '14 at 16:16

Using the ubuntu package repository. There is a PPA for latest Nvidia drivers if needed: https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/x-updates

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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