Skip to content

Instantly share code, notes, and snippets.

@Brainiarc7
Created February 10, 2015 09:30
Show Gist options
  • Save Brainiarc7/214384a09f3dab3af546 to your computer and use it in GitHub Desktop.
Save Brainiarc7/214384a09f3dab3af546 to your computer and use it in GitHub Desktop.
Toggle the NVIDIA GPU on and off as needed in Optimus
Turn on the NVIDIA discrete GPU on an Optimus system for use when needed:
tee /proc/acpi/bbswitch <<< ON
Turn off the NVIDIA discrete GPU on an Optimus system when unloaded:
tee /proc/acpi/bbswitch <<< OFF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment