Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save nathanjackson/c561813eac6a645882a66965bc1852f1 to your computer and use it in GitHub Desktop.
Save nathanjackson/c561813eac6a645882a66965bc1852f1 to your computer and use it in GitHub Desktop.
Completely Poweroff NVIDIA on MSI GS65 Stealth
# For some reason, the native power management features of the NVIDIA card in the MSI GS65 Stealth don't seem to completely
# power down the card. This sucks because the GPU still consumes lots of power even when idle, reducing the battery life
# to about an hour.
# My workaround on Fedora 32/34 is this:
# 1. Install RPMFusion NVIDIA drivers.
# 2. Install the bbswitch driver (https://copr.fedorainfracloud.org/coprs/chenxiaolong/bumblebee/)
# 3. Configure bbswitch module to shutdown card on load.
# 4. Blacklist all nvidia drivers in the GRUB boot menu.
# 5. Disable and mask nvidia-fallback.service (prevents nouveau from being loaded instead of nvidia).
# Now, the bbswitch driver will force the card to completely power down so long as the NVIDIA driver doesn't get loaded.
# When I want to play a game or use the GPU, I just reboot and remove the blacklist options using the GRUB editor.
# It's not the cleanest solution, but it beats chewing through my battery. I'd like to figure out how to add a GRUB boot
# menu option that lets me enable the NVIDIA drivers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment