Requirements:
zcat /proc/config.gz | grep SWITCHEROO
must returnCONFIG_VGA_SWITCHEROO=y
- Kernel modesetting must be on from boot
To do this, add nouveau to the MODULES array in /etc/mkinitcpio.conf:
MODULES="... nouveau ..."
then regenerate the initial ramdisk:
mkinitcpio -p linux
Now,
to see the state of the sswitch:
cat /sys/kernel/debug/vgaswitcheroo/switch
to switch to the 9600M GT GPU:
echo DIS > /sys/kernel/debug/vgaswitcheroo/switch
to switch to the 9400M GPU:
echo IGD > /sys/kernel/debug/vgaswitcheroo/switch