Skip to content

Instantly share code, notes, and snippets.

@kris7t
Created June 23, 2011 11:03
Show Gist options
  • Save kris7t/1042354 to your computer and use it in GitHub Desktop.
Save kris7t/1042354 to your computer and use it in GitHub Desktop.
Archlinux rc.d script to power on/off the Optimus GPU manually, or through Bumblebee. Works on my Asus N53SV with no kernel panics.
We couldn’t find any files to show.
@kris7t
Copy link
Author

kris7t commented Jun 23, 2011

Installation

Change the variables as it suits your system, then save the script as /etc/rc.d/gpu and make it executable by root.
To boot with a disabled GPU (may cause problems at bootup/shutdown/hibernation), add the following to /etc/rc.local:

Usage

Power off GPU:

Power on GPU:

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