Hello,
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
https://forum3.openmandriva.org/t/old-problem-is-back-nvidia-and-bbswitch-are-gone/1862
New nvidia 396.24 was said to work fine with kernel 4.16 at
https://forum3.openmandriva.org/t/nvidia-drivers/1890/11
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
https://forum3.openmandriva.org/t/desktop-died/1962
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*
./4.15.18-desktop-1omv/kernel/drivers/net/ethernet/nvidia
./4.15.18-desktop-1omv/kernel/drivers/video/fbdev/nvidia
./4.15.18-desktop-1omv/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko.xz
./4.16.13-desktop-1omv/kernel/drivers/net/ethernet/nvidia
./4.16.13-desktop-1omv/kernel/drivers/char/drm/nvidia-current.ko
./4.16.13-desktop-1omv/kernel/drivers/char/drm/nvidia-uvm.ko
./4.16.13-desktop-1omv/kernel/drivers/char/drm/nvidia-drm.ko
./4.16.13-desktop-1omv/kernel/drivers/char/drm/nvidia-modeset.ko
./4.16.13-desktop-1omv/kernel/drivers/video/fbdev/nvidia
./4.16.13-desktop-1omv/kernel/drivers/video/fbdev/nvidia/nvidiafb.ko.gz
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
and,
# dkms install -m nvidia-current -v 396.24-1
Creating symlink /var/lib/dkms/nvidia-current/396.24-1/source ->
/usr/src/nvidia-current-396.24-1
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