Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu and could setup to utilize my Intel HD 3000/Geforce GT 540M hybrid graphics perfectly with the method described here: How well do laptops with Nvidia Optimus work?

Everything works fine under Kernel 3.2. Now I wanted to upgrade though to Kernel 3.4, as it brings many improvements, especially in saving battery life (ie. Intel RC6)... at least from what I heard.

While I had no issues installing the 3.4 Kernel under Ubuntu 12.04 and everything so far runs fine, Bumblebee causes issues under kernel 3.4. When trying to run commands like optirun, lsmod (or similar kernel tools) these just lock up and never return. The Bumblebee developers seem to refuse to help with mainline kernels (as seen here: ).

Does anyone know, how to solve this issue? Could I solve this probably, by compiling the kernel and/or Bumblebee against the kernels sources myself and having a Ubuntu-like kernel?

Any other idea that might help me to solve this myself, so I could profit from the 3.4 features and Optimus, would be very appreciated.

share|improve this question

The mainline kernels are problematic because those are built with an incompatible toolchain. If you want to have the newer 3.4 kernel in an easy way, grab the .deb files from Ubuntu+1 (Quantal):

You need the linux-image-<version>-generic and linux-headers-<version>-generic packages linked from the above pages. Also, linux-image-extra-<version>-generic seems also to be necessary. Install the headers before the image to allow the bbswitch and nvidia driver to be built correctly.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.