Created
June 19, 2012 07:35
-
-
Save ochoto/2952818 to your computer and use it in GitHub Desktop.
Control hybrid graphics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#mount -t debugfs none /sys/kernel/debug | |
cd /sys/kernel/debug/vgaswitcheroo | |
cat switch # to see which card is active | |
echo DDIS > switch # to go to discrete card (log off and then log in after this command) | |
echo DIGD > switch # to go to integrated card (log off and then log in after this command) | |
echo OFF > switch # to just power off the card you aren't using | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment