Read First:
This guide is not conclusive and worked for the author and others, it may or may not work in every situation or for every hardware combination. In either case post what has worked and what has not worked and the best attempt will be made to collect the information in this post.
Summary:
In the recent generation of laptop/netbooks intel and nvidia have collaborated to bring a hybrid graphics solution to the market. This system incorporates a cpu with a integrated low end (low power) gpu in conjunction with a discrete higher end (higher power) gpu. The general purpose of the system is to only system resources according to the users activity to maximize power efficiency. The system uses the integrated gpu in normal desktop operations and simple applications saving power. If the user runs a gpu intensive application such as a 3d game then the system will seamlessly switch over to running the application on the higher end gpu resulting in a much better user experience, but at a increases power loss. At least this is how it functions with the support nvidia provide in windows.
Linux:
Nvidia has already said they will not support optimus under linux. Well that of course didnt stop some users from finding a way. There a mainly 2 works undergoing to support nvidia hybrid graphics. The first is bumblebee, which uses a software solution to run appplications through the nvidia gpu and send the results back to the screen. The second is at the driver level and is called vga_switcharoo. (At this time I do not know much about this project but I believe it will allow a similar experience that is provided by the windows system)
Bumblebee:
This solution uses VirtualGL and a secondary X11 server (:8) to run the application on the nvidia or nouveau driver and send the results back to the main X11 server.
Installation:
Install the repo and packages for this project:
https://build.opensuse.org/project/show?project=home%3AXimi1970%3Abumblebee-unstable
One Click:
http://software.opensuse.org/ymp/home:Ximi1970:bumblebee-unstable/openSUSE_12.1/bumblebee.ymp?base=openSUSE%3A12.1&query=bumblebee
Now at this point bumblebee should be able to function using the nouveau driver. Although nouveau does not provide the same level of performance the nvidia module does.
Install the nvidia packages from the nvidia repository. (If you need help on this step find the post on installing the nvidia driver and follow the easy way). Make sure you restart at least the window mananger (i.e. go to runlevel 3 and then back to 5), of course a reboot doesnt hurt.
Now the Nvidia driver should be running, check dmesg for nvidia messages (should not see nouveau) It would also be good to check the xorg log file for :8. This may show the monitor type failed and the message will be very clear. There are tow types CRT and DLP, check the log and if the error is present then find the xorg.conf for nvidia provided by the bumblebee package and change the monitor type. Reboot and the driver should load error free.
At this point both intel and nvidia should be running and available. To check if it is working correctly first send:
intel: glxinfo
nvidia : optirun glxinfo
Each should show the correct renderer name and a lot of other color information. If its short and with no vendor information then it is not working. If it is not working check the known problems at the end.
An alternative test is glxgears or glxspheres. The important thing to check is the fps. The intel should have a much lower result than nvidia.
Known Problems:
Intel side works, but the Nvidia side does not: check the xorg.conf for X11 :8 and look for errors. It may something simple as the wrong monitor type.
Nvidia side works, but the Intel side does not: it is possible installing the nvidia driver it overwrites the intel files. I was able to correct this by reinstalling the mesa packages, xorg-intel, xorg-drivers packages. At this point I do not know if all are required.
Vdpau Support: as is this does not work. The vdpau system expects to render directly, which isnt supported by this solution. There have been some reports of using an application called windump, although this sounds to be a bad hack and could break the system.
Reference: https://lists.launchpad.net/hybrid-graphics-linux/msg01708.html
HDMI Support: does not work, I expect being that bumblebee is a software work around it can not use this port. More likely is that with vga_switcharoo or some other low level support will provide this in the future.