Article 566GY bbswitch module(external module) does not survive kernel upgrades

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/ACV0Nh87latest?d=yIl2AUoC8zA latest?i=svmMAmby2dI:sYoPmislcjM:F7zBnMy latest?i=svmMAmby2dI:sYoPmislcjM:V_sGLiP latest?d=qj6IDK7rITs latest?i=svmMAmby2dI:sYoPmislcjM:gIN9vFwsvmMAmby2dI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments