Saturday, February 4, 2012

Bumblebee 3.0 for Ubuntu 12.10,12.04 and 11.10

The bumblebee project has successfully released an 'optimus replacement' for the linux platform. The latest bumblebee version was released on January 19,2012, Bumblebee 3.0 . It is very stable and enhances the performance of Ubuntu 11.10 thus allowing Unity 3d to be used.
it provides, automatic power management which also survives suspend and a greater battery time.
But as Bumblebee requires low level hardware access, you can't test this on a Virtual Machine

Installing Bumblebee

first, if you haven't already installed the restricted drivers for the Nvidia GPU, do,

sudo apt-get purge nvidia-current  // this will update the GPU drivers

Then open the terminal and add ppa Bumbleebe ”Tumbleweed”, then install

sudo add-apt-repository ppa:bumblebee/stable
sudo apt-get update 
sudo apt-get install bumblebee 
To allow you to use Bumblebee (replace $user with your username)
sudo usermod -a -G bumblebee $user
Now it's all done, restart the computer and then you can test it,

and run
optirun glxspheres

Then observe the difference. Now you can enjoy Unity 3d, in fact Ubuntu boots right into it when it was restarted.


  1. hiii,

    Thanx for this tread but it's difficult to read the due to colors of the article.

  2. after typing: optirun glxspheres , here are the result:

    [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
    [ERROR]Could not connect to bumblebee daemon - is it running?

    what should I do next?

  3. It seems you don't have an optimus supported system. Because not only that you are required to have an Nvida GPU, you also need to have an Integrated(intel) card too. if you are so sure that it supports Optimus, try re-installing the drivers (using the nvidia-current package)
    you can always refer to the Bumblebee project in github. Hope this helps

  4. The command

    sudo add-apt-repository ppa:bumblebee/stable

    doesn't seem to work on my system. I tried it in 10.10 and 12.04 both. There's no activity on the terminal after that and later after 5 minutes or so I get the following message

    Traceback (most recent call last):
    File "/usr/bin/add-apt-repository", line 125, in
    ppa_info = get_ppa_info_from_lp(user, ppa_name)
    File "/usr/lib/python2.7/dist-packages/softwareproperties/", line 80, in get_ppa_info_from_lp
    pycurl.error: (7, "couldn't connect to host")

    I have Dell XPS L502X, nvidia 540m optimus grapphics and intel HD 3000 graphics. In 12.04 I tried this after a fresh install and doing all the required updates. Please help

  5. I checked the repo just now and it works. Something is wrong with your internet connection. Check proxy settings of the system(rather than in the browser your are using). Try pinging (ping if that works that means there's a problem with the repo(highly unlikely) if it doesn't, your system is unable to connect to the internet and you should check your settings(DNS,proxy ..etc) For the record I have the same system as yours and bumblebee works perfectly.

  6. Thankz sachith.... I googled lot but your post is the best. Fixed it now.

  7. I have installed Bumbelbee , but i don't get the Unity 3d mode , i only can run programs in 3d with command Optirun [Program]

    any way to get unity 3d ?

  8. Something must've gone wrong with the installation process. With or Without Bumblebee Unity 2D or 3D should work fine.
    Do the installation properly again. If that doesn't do the trick then check

    1. Are you sure its an Optimus system?
    2. Did you allow the correct user to use Bumblebee?

  9. thanks, exactly what I needed!

  10. මේක වැඩ... පින් සිද්ද වෙච්චාවේ.. ඌරා තඩියා කළු කැත බඩා! උම්මා.. :) :) :)

  11. This comment has been removed by the author.

  12. help !!!! it tells me error The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.

    [ERROR]Could not connect to bumblebee daemon - is it running?
    what to do ???

  13. hi,
    thanks i followed through your suggestions and everything seems to work fine except for the power saving. i get no more that 2-2.30hrs of power where as in windows it was about 3 hrs, have been going through a lot of articles but none helped could you suggest me something please.

  14. Hey...
    M getting the following error...

    [ 349.311843] [ERROR]The Bumblebee daemon has not been started yet or the socket path /var/run/bumblebee.socket was incorrect.
    [ 349.311911] [ERROR]Could not connect to bumblebee daemon - is it running?

    please tell me what to do??

  15. This should fix your problems