Does kernel-4.16 + nvidia-396.24 work or not?


All updates to OMV LX 3.03 till July, 17, 2018.

Sorry for long posts! Looking for help and answers.

I’ve reported problems to have bbswitch and nvidia working with kernel-4.16 at

New nvidia 396.24 was said to work fine with kernel 4.16 at

However, I had problems to build nvidia 396.24 with kernel 4.16 in my desktop. For some unknown reason the build of nvidia was possible when I uninstalled many old kernels. See

My desktop is OK now, nvidia is loaded and working fine with kernel 4.16.

This made me try bbswitch again in my laptop. After experimenting a lot, I’ve noticed that
# modprobe nvidia-current nvidia-uvm
modprobe: ERROR: could not insert 'nvidia_current': No such device
even with nvidia installed in the laptop(???). See:

# find . -name nvidia*

Although it had build (testing repos nvidia 396.24 drivers) in kernel 4.16 it was not seen in the kernel tree!

Then I decided to remove old kernel and remove and install nvidia again (as it helped in the desktop!):

# dkms remove nvidia-modeset/396.24-1 --all


# dkms install -m nvidia-current -v 396.24-1

Creating symlink /var/lib/dkms/nvidia-current/396.24-1/source ->

DKMS: add completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area...
'make' CC=gcc CXX=g++ SYSSRC=/lib/modules/4.16.13-desktop-1omv/build modules -j8...............................
Error! Build of nvidia.ko.gz failed for: 4.16.13-desktop-1omv (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/nvidia-current/396.24-1/build/ for more information.

So, please! Why nvidia no longer build with kernel 4.16 as it did a few weeks ago?

The file make.log has no clear error message as that available at

Errata: Copy/paste error. I’ve removed nvidia drivers with,

dkms remove nvidia-current/396.24-1 --all

I’ve been going forth and back with these problems of bbswitch and nvidia. The last thing to say is that after removing all nvidia packages and reinstalling them, nvidia 396.24-1 again built fine with kernel 4.16. I just would like to know what am I doing wrong …

If something works or not is determined by users in this case those with nVidia hardware.

Your problems may to be result of trying to combine something that does work (nvidia-current) with something that doesn’t work (bbswitch). I don’t know what it will take to get bbswitch working again. I know Colin is not available right now. It may not be fixed to until Lx 4 is released. Is there a specific bug report for bbswitch? It needs to be separated from nvidia drivers as far as bug reports. Or maybe there is something incorrect in the nvidia-current package code.