Debian Jessie: Disable NVIDIA discrete graphic card in a NVIDIA Optimus laptop

Disabling NVIDIA discrete graphic card on a laptop running Debian Jessie is the same (in concept) compare to Debian Wheezy, however, the steps are a bit different.

1. First of all, install the bbswitch kernel module.

 # aptitude install bbswitch-dkms

2. Load the module.

 # modprobe bbswitch

3. Check the status of the NVIDIA graphic card (running or not).

 # cat /proc/acpi/bbswitch
0000:01:00.0 ON  <-- The card is running

4. Disable the card.

 # tee /proc/acpi/bbswitch <<<OFF

5. Check the status of the card again.

 # cat /proc/acpi/bbswitch
0000:01:00.0 OFF  <-- The card is no longer in use

6. To disable the graphic card at boot.

# echo "bbswitch" >> /etc/modules-load.d/bbswitch.conf
# echo "options bbswitch load_state=0" >> /etc/modprobe.d/bbswitch.conf
# update-initramfs -u

See the project website for more info regarding the module: https://github.com/Bumblebee-Project/bbswitch

To see the battery consumption of your laptop (remember to remove the power cord).

awk '{print $1*10^-6 " W"}' /sys/class/power_supply/BAT0/power_now

One response to “Debian Jessie: Disable NVIDIA discrete graphic card in a NVIDIA Optimus laptop

  1. mjnsdfnm January 24, 2016 at 6:12 am

    Thank, I hope I’ll don’t need to reinstall my distribution again (3th today juste to disable this shitty nvidia card)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: