0

Why this happening every time i try to update via update manager (so, updates coming every day)? So, I need to reinstall NVIDIA-drivers every system update. It's getting REALLY annoying.

P.S. The reason I deleted nouveau and installed NVIDIA-driver --- Nouveau didn't let me to run SFML-apps...

DKMS STATUS OUTPUT:
bbswitch, 0.7, 3.13.0-37-generic, x86_64: installed
bbswitch, 0.7, 3.13.0-39-generic, x86_64: installed
nvidia, 343.22, 3.13.0-39-generic, x86_64:installed

pushandpop
  • 1,028

2 Answers2

0

Some drivers and apps depend on kernel code, so they need to be recompiled for each new kernel. There is a system, DKMS, that alleviates this hassle. You need to install DKMS from the repository. I don't use special video drivers, but I do use DKMS for Virtualbox.

You can find some information here that should explain it much better than I could.

Marty Fried
  • 18,944
0

Do not install the nvidia driver from the manufacture's site as you will have to either rerun the installation with every single kernel update. Same goes for any driver that is not set up for apt-get to run dkms installation at kernel install. I recomment to just install the latest nvidia drivers from the ubuntu repos or if you want that "edge" run (!!!might break your installation, then again it might fix it!!!)

sudo add-apt-repository ppa:xorg-edgers/ppa
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install nvidia-graphics-drivers-343 
sudo reboot

Now if it all fails horribly do not worry you just need to have access to your tty1 and internet after boot (if not try using the recovery option in grub and first select networking and then log as root).

sudo su
apt-get install ppa-purge 
ppa-purge xorg-edgers
reboot
be angry for wasting your time :P