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
Optimus Laptop with nVIDIAS proprietary driver.
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.
zypper ar -f ftp://download.nvidia.com/opensuse/12.1/ nvidia
zypper in nvidia-computeG02 nvidia-gfxG02-kmp-desktop x11-video-nvidiaG02
reboot
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
zypper ar -f http://download.opensuse.org/repositories/home:/Ximi1970:/bumblebee-unstable/openSUSE_12.1/home:Ximi1970:bumblebee-unstable.repo
zypper in bumblebee acpi_call-kmp-desktop hdjmod-kmp-desktop
reboot
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
reboot
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.
bumblebee-configuration
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…
/etc/default/bumblebee
/etc/X11/xorg.conf.nvidia
/var/log/Xorg.0.log
/var/log/Xorg.8.log
Pardon if my English isn’t correct, I’m a “Swede” rotfl!
Kind Regards Thermal