bbswitch module(external module) does not survive kernel upgrades
by LegionOfHell from LinuxQuestions.org on (#566GY)
Here is how I Installed bbswitch for turning my dGPU off...and it used to work flawlessly:
Code:(0) blacklist - uninstall nouveau
(1) xbps-install -S bbswitch
(2) nano -w /etc/modprobe.d/bbswitch.conf
options bbswitch load_state=0 unload_state=1
(3) nano -w /etc/modules-load.d/bbswitch.conf
bbswitch
(4) search /lib/modules/ to see which kernel has bbswitch
(5) install the kernel in step (4)
(6) depmod -a
(7) xbps-reconfigure --force linuxX.Y
(8) cat /proc/acpi/bbswitch <-----this reported that dGPU is offHowever during a kernel upgrade, this happens:
https://ibb.co/5kdzFCb
What is wrong here ?
EDIT: Here is the dkms log for bbswitch: https://pastebin.com/ACV0Nh87


Code:(0) blacklist - uninstall nouveau
(1) xbps-install -S bbswitch
(2) nano -w /etc/modprobe.d/bbswitch.conf
options bbswitch load_state=0 unload_state=1
(3) nano -w /etc/modules-load.d/bbswitch.conf
bbswitch
(4) search /lib/modules/ to see which kernel has bbswitch
(5) install the kernel in step (4)
(6) depmod -a
(7) xbps-reconfigure --force linuxX.Y
(8) cat /proc/acpi/bbswitch <-----this reported that dGPU is offHowever during a kernel upgrade, this happens:
https://ibb.co/5kdzFCb
What is wrong here ?
EDIT: Here is the dkms log for bbswitch: https://pastebin.com/ACV0Nh87