Skip to content

Instantly share code, notes, and snippets.

@deimi
Last active August 20, 2021 09:54
Show Gist options
  • Star 16 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deimi/e1dc28d3e4c6f267f500533be6ac126c to your computer and use it in GitHub Desktop.
Save deimi/e1dc28d3e4c6f267f500533be6ac126c to your computer and use it in GitHub Desktop.
  1. apt install bbswitch
  2. /etc/modprobe.d/bbswitch.conf
        options bbswitch load_state=0 unload_state=1
    To run bbswitch without bumblebeed on system startup, do not forget to add bbswitch to /etc/modules-load.d.
    nano /etc/modules-load.d
        bbswitch
  3. Put nvidia & nouveau module on blacklist
    nano /etc/modprobe.d/blacklist-gpu.conf
        blacklist nouveau
        options nouveau modeset=0
        install nouveau /bin/true
    sudo update-initramfs -u
  4. Reboot
  5. Check if bbswitch is off
    cat /proc/acpi/bbswitch

Links

https://wiki.archlinux.org/index.php/Dell_XPS_15_9550#Graphics_Configuration https://wiki.archlinux.org/index.php/Hybrid_graphics#Fully_Power_Down_Discrete_GPU https://wiki.archlinux.org/index.php/Bumblebee#Power_management
https://github.com/Bumblebee-Project/bbswitch

@smitgd
Copy link

smitgd commented Feb 8, 2021

Thanks! Seems to work. Maybe some suggestions to make it clearer (at least on utbuntu):
1 apt install bbswitch
or apt install bbswitch-dkms (for utbuntu LTS)
2.(new file) nano /etc/modprobe.d/bbswitch.conf
options bbswitch load_state=0 unload_state=1

To run bbswitch without bumblebeed on system startup, do not forget to add bbswitch to /etc/modules-load.d/modules

(existing file) nano /etc/modules-load.d/modules
bbswitch

Thanks again!

@deimi
Copy link
Author

deimi commented Feb 8, 2021

I also highly recommend PopOS on the XPS15, as it has the whole Nvidia stuff built in. It works like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment