Bumblebee-Project / bbswitch

Disable discrete graphics (currently nvidia only)
GNU General Public License v2.0
487 stars 78 forks source link

Void Linux: bbswitch module(external module) does not survive kernel upgrades.. #204

Open ReductoAdAbsurdum opened 4 years ago

ReductoAdAbsurdum commented 4 years ago

Here is how I Installed bbswitch for turning my dGPU off...and it used to work flawlessly:

(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 off

However during a kernel upgrade, this happens: https://ibb.co/5kdzFCb

What is wrong here ?

can someone tell me what is going on ?

EDIT: Here is the dkms log for bbswitch: https://pastebin.com/ACV0Nh87

thenktor commented 2 years ago

Same issue with kernel 5.18. Seems Arch Linux has a patch: https://github.com/archlinux/svntogit-community/tree/packages/bbswitch/trunk