Bumblebee-Project / bbswitch

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

nvidia card remains ON after stopping primusrun #136

Closed nikonikolov closed 8 years ago

nikonikolov commented 8 years ago

Might be a long shot, but it would be really nice if bbswitch automatically turns OFF the nvidia card after it stops being used. Right now I have to unload all nvidia kernel modules and manually stop the card with sudo tee /proc/acpi/bbswitch <<<OFF.

Lekensteyn commented 8 years ago

This (unloading modules and triggering bbswitch) is something that Bumblebee should do. As bbswitch is just a building block, it won't do this.

Please try the develop branch of Bumblebee and install an apropriate modprobe.conf line that also removed nvidia-uvm, etc. on unload.