kernel update , NVIDIA module resintall

Hi Guys ,
Why every time that opensuse release a kernel update , the new kernel doesn’t compile with the nvidia module ?
Every time that I update my kernel via zypper , I have to re-install the NVIDIA driver to make it work with the new kernel . :’(
Is there a way to update the kernel via zypper where it compile with the nvidia module ?
Thanks.

OBS: I’m using optirun ( intel x nvidia )
Opensuse 13.1 x64
Nvidia 650M

The NVIDIA driver is proprietary. Therefore, it will never be compiled with the kernel.

So, yes, every time the kernel is updated, the proprietary driver updated for the new kernel will have to be installed afterwards.

If you use the nvidia repo
It should all happen automatically

If Intel+NVIDIA hybrid you must use the manual install because the driver is patched

Even for Bumblebee (i.e. intel+nvidia hybrid) nvidia driver packages exist, see http://en.opensuse.org/SDB:NVIDIA_Bumblebee .

You can also install/setup dkms yourself, that would recompile the driver module automatically after a kernel update. But the before-mentioned packages set that up for you, so better use those.

And no, the driver itself is not patched.
Would be difficult to do with a closed-source driver… :wink:

Well somthing is different in bumblebee version maybe the installer was patched I do know you can’t use the regular NVIDIA driver package with hybrid Intel+NVIDIA machines. Is nice that there is now an RPM and special repo. DO we still send people to Smithfarm site or are there now official instructions?

Yes, mainly because the standard nvidia installation replaces xorg’s libglx and Mesa’s libGL and therefore breaks the intel driver.
AFAIK the bumblebee daemon’s main purpose is to switch between those two drivers on the fly.

Is nice that there is now an RPM and special repo. DO we still send people to Smithfarm site or are there now official instructions?

The Wiki page has been updated accordingly:
http://en.opensuse.org/SDB:NVIDIA_Bumblebee

So I guess this should be the place to direct people to.