You are on page 1of 6

Upgrading Bumblebee on Ubuntu - GitHub

https://github.com/Bumblebee-Project/Bumblebee/wiki/...

Signup and Pricing Explore GitHub Features Blog Login

Bumblebee-Project / Bumblebee forked from Samsagax/bumblebeed


Watch Fork 43 8 Code Network Pull Requests 0 Issues 16 Wiki 20 Stats & Graphs Home Pages Wiki History Git Access

Upgrading Bumblebee on Ubuntu


Page History

Upgrading Bumblebee on Ubuntu


The diculty on upgrading to Bumblebee 3.0 depends on how you have installed Bumblebee or Ironhide before. First, if you are using 11.04 Natty or older, add an extra PPA for newer NVIDIA drivers in preparation for the next steps:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

I have previously used a Bumblebee or Ironhide


1 de 6 26/01/12 07:19

Upgrading Bumblebee on Ubuntu - GitHub

https://github.com/Bumblebee-Project/Bumblebee/wiki/...

PPA
ppa:bumblebee/stable
Upgrading is easy, simply refresh your packages list and install Bumblebee:
sudo apt-get update sudo apt-get install bumblebee bumblebee-nvidia

Continue reading at Post-installation.

ppa:bumblebee/testing
Upgrading is still easy, but you are recommended to use the ppa:bumblebee/stable PPA. Remove the testing PPA rst:
sudo apt-get purge bumblebee acpi-call-dkms sudo ppa-purge ppa:bumblebee/testing

Continue reading at Installation.

ppa:mj-casalogic/ironhide
The packages in this PPA do not fully clean up their mess. Start with uninstalling the PPA:
sudo apt-get purge ironhide acpi-call-dkms sudo ppa-purge ppa:mj-casalogic/ironhide

Clean any remaining mess:


sudo sudo sudo sudo rm rm rm rm -f /usr/local/bin/ironhide* /usr/bin/ironhide* -f /etc/default/ironhide -rf /usr/share/ironhide -f /etc/X11/xorg.conf.nvidia ff),

If lspci -d10de: contains (rev proceed with Installation.

reboot once or twice to enable the video card. Then

ppa:mj-casalogic/bumblebee
This is a very old version and a lot settings have already been broken. A reinstallation of the OS is recommended.

From source (git)


There are a lot ways to install from source, whether it is easy to upgrade depends on the chosen options.

MrMEEE/bumblebee
2 de 6 26/01/12 07:19

Upgrading Bumblebee on Ubuntu - GitHub

https://github.com/Bumblebee-Project/Bumblebee/wiki/...

This is an very old version. Reinstallation of the OS may be the easiest option.

Bumblebee-Project/Bumblebee (bash version)


Run
sudo bumblebee-uninstall

and proceed with Installation.

Bumblebee-Project/bumblebeed or Bumblebee-Project/Bumblebee (C version)


From the source directory, run remove it too:
sudo rm -f /etc/init/bumblebee.conf sudo make uninstall.

If you copied an init script manually,

Continue with Installation.

Installation
The recommended method to install Bumblebee on Ubuntu is by using its Stable Releases PPA, so install that one, refresh the packages list and install Bumblebee using the nvidia driver:
sudo add-apt-repository ppa:bumblebee/stable sudo apt-get update sudo apt-get install bumblebee bumblebee-nvidia

Now proceed with Post-installation.

Post-installation
If you are using 11.10 Oneiric and later and intend to use 32-bit applications on a 64-bit installation, install additional compatibility libraries:
sudo apt-get install virtualgl-libs:i386

Allow yourself to use Bumblebee (replace


sudo usermod -a -G bumblebee $USER

$USER

by your username):

For blacklisting to take eect, you may also have to update your initial ramdisk:
sudo update-initramfs -u

Re-login or reboot for the changes take eect.

Cleaning up
Bumblebee 3.0 does not use cardon or cardo scripts anymore. You can safely remove the /etc/bumblebee/cardoff and /etc/bumblebee/cardoff les. All les ending with .dpkg-backup

3 de 6

26/01/12 07:19

Upgrading Bumblebee on Ubuntu - GitHub

https://github.com/Bumblebee-Project/Bumblebee/wiki/...

or similar can also be removed.

Conguration
There is often no conguration needed to get everything to work. The conguration les are located at /etc/bumblebee. The optirun program can also give you suggestions to correct settings in case something is wrong. Messages are printed to /var/log/syslog. To get all error messages related to bumblebeed (the Bumblebee Daemon), run:
grep bumblebeed /var/log/syslog

Last edited by Lekensteyn, January 20, 2012 GitHub Links GitHub About Blog Features Contact & Support Training GitHub Enterprise Site Status Tools Gauges: Analyze web trac Speaker Deck: Presentations Gist: Code snippets GitHub for Mac Issues for iPhone Job Board Extras GitHub Shop The Octodex Documentation GitHub Help Developer API GitHub Flavored Markdown GitHub Pages Terms of Service

4 de 6

26/01/12 07:19

Upgrading Bumblebee on Ubuntu - GitHub

https://github.com/Bumblebee-Project/Bumblebee/wiki/...

Privacy Security 2012 GitHub Inc. All rights reserved. Powered by the Dedicated Servers and Cloud Computing of Rackspace Hosting

Markdown Cheat Sheet


Format Text
Headers
# This is an <h1> tag ## This is an <h2> tag ###### This is an <h6> tag

Text styles
*This text will be italic* _This will also be italic_ **This text will be bold** __This will also be bold__ *You **can** combine them*

Lists
Unordered
* Item 1 * Item 2 * Item 2a * Item 2b

Ordered
1. Item 1 2. Item 2 3. Item 3 * Item 3a * Item 3b

Miscellaneous
Images
![GitHub Logo](/images/logo.png) Format: ![Alt Text](url)

Links
5 de 6 26/01/12 07:19

Upgrading Bumblebee on Ubuntu - GitHub


http://github.com - automatic! [GitHub](http://github.com)

https://github.com/Bumblebee-Project/Bumblebee/wiki/...

Blockquotes
As Kanye West said: > We're living the future so > the present is our past.

Code Examples in Markdown


Syntax highlighting with GFM
```javascript function fancyAlert(arg) { if(arg) { $.facebox({div:'#foo'}) } } ```

Or, indent your code 4 spaces


Here is a Python code example without syntax highlighting: def foo: if not bar: return true

Inline code for comments


I think you should use an `<addr>` element here instead.

Something went wrong with that request. Please try again. Dismiss

6 de 6

26/01/12 07:19

You might also like