apt install bbswitch
-
To run bbswitch without bumblebeed on system startup, do not forget to add bbswitch to /etc/modules-load.d.
/etc/modprobe.d/bbswitch.conf options bbswitch load_state=0 unload_state=1
nano /etc/modules-load.d bbswitch
- 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
- Reboot
- Check if bbswitch is off
cat /proc/acpi/bbswitch
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
I also highly recommend PopOS on the XPS15, as it has the whole Nvidia stuff built in. It works like a charm.