I could test new kernel against bbswitch and nvidia in a dual graphics laptop. This laptop doesn’t have nvidia as its main graphic card. To check for nvidia functioning I have to have bbswitch working.
I confirm that building bbswitch and nvidia went fine although a warning was issue on “diretory or file not found”. I also confirm that some nvidia modules were not put on the kernel’s tree and I also don’t know if they were sent elsewhere.
What I think it should had happened:
Building process should generate
nvidia-drm.ko nvidia-long-lived.ko nvidia-modeset.ko nvidia-uvm.ko
from their source versions, and move these modules to the directory
But, instead, these modules are found in a gzipped form at
and have not been moved to the kernel tree.
The same happened to bbswitch and I could not use optirun to test nvidia after manually placing the nvidia and bbswitch modules where they are supposed to be.
An attempt to use dkms to build bbswitch anyway yielded:
# dkms remove bbswitch/0.8.6 --all
Error! There are no instances of module: bbswitch
0.8.6 located in the DKMS tree.
# dkms install -m bbswitch -v 0.8.6
Error! Could not find module source directory.
Directory: /usr/src/bbswitch-0.8.6 does not exist.
In above, I think building process should look at
for the bbswitch.c source file…
Here are corresponding logs:
bbswitch.make.log.txt (558 Bytes)
nvidia_390.87_make.log.txt (20,1 KB)