I wrote this howto tonight and when I came here to post it I saw that Pickle236 already made a Bumblebee guide... well, I post this one as well there might be a difference
So what is Bumblebee? It is experimental Optimus support for Linux.
With the use of Bumblebee, 3D can be enabled on both the Intel and the nVIDIA card.
Currently there is no way to disable the Intel card with the use of Bumblebee.
The Intel card is running the Desktop and the nVIDIA card can be used, for
applications that need more OpenGL power, with the command "optirun <PROGRAM>".
Other options, if your interest are mainly powermanegment, is using vga-switcheroo or Bumblebee from
the 2.4.1 repository:
Index of /repositories/home:/Bumblebee-Project:/Bumblebee-develop/openSUSE_12.1
With that version I was never able to get both the "Nvidia blob" and Intel 3D working at same time. But it works
like a charm with the Nouveau driver and is perfect if your only goal is powermanegment.
This howto is only made for getting the propitary nvidia driver working while at same time keeping a fancy desktop...
And it is only meant to show what worked for me... might mess up your system totally
Laptop model I used: Asus U36JC
I started with a absolute fresh, no extra packages - OpenSUSE 12.1, 64bit, kde, kernel desktop - install with all the updates made.
Not one config file or packet manually altered.
First install the nvidia driver.
If you use the kernel-default you should use "zypper in x11-video-nvidiaG02" but that didn't work for me because it then automaticly added
the kernel-default packages for some reason.
Then we install Bumblebee
Again if you use kernel-default use "zypper in bumblebee"...
At this point we broken the Intel/Mesa driver and this is how I fixed it, somebody might have sorted out wich of this rpms actually
is needed to fix it... I gave up and went for the overkill.
Fix the Intel/Mesa driver
zypper in --force Mesa xorg-x11 xorg-x11-driver-video xorg-x11-driver-video-intel-legacy xorg-x11-libX11 xorg-x11-server
Now you need to add yourself to the bumblebee group so you don't have to give root pswd everytime you use "optirun"
usermod -A bumblebee USERNAME
This step next is for making power management work and to choose the default image transport from nVIDIA to Intel, standard is xv but I chose "proxy"
because it is faster and has proven stable on my system.
Reboot and cross your fingers
Verify that things are working.
The Intel part:
glxinfo | grep OpenGL
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) Ironlake Mobile
OpenGL version string: 2.1 Mesa 7.11
The nVIDIA part:
optirun glxinfo | grep OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 310M/PCI/SSE2
OpenGL version string: 3.3.0 NVIDIA 290.10
I am not sure that all the reboots are needed but I tried without them and it got fuxed.
Files to inspect if things doesnt work...
Pardon if my English isn't correct, I'm a "Swede"
Kind Regards Thermal