From what I know there is already optimus support under linux with bumblebee ( a very active project ), it uses virtualgl to run applications on discrete graphic cards ( and it WORKS ), it also use a kernel module called bbswitch to turn off card ( acpi_call and vgaswitcheroo too ). Power management is still experimental ( you have to find the right call for your card if you want to use acpi_call ) but it works.
It was first developped in bash but a new daemon and client rewritten in C are under developpement.
homepage :
https://github.com/Bumblebee-Project