Bumblebee
From Hybridgraphics
Lekensteyn (Talk | contribs) (→Installing on Ubuntu: usermod) |
Lekensteyn (Talk | contribs) (→Installing on Ubuntu) |
||
Line 39: | Line 39: | ||
sudo usermod -a -G bumblebee $USER | sudo usermod -a -G bumblebee $USER | ||
+ | |||
+ | Re-login after this change. | ||
===Testing it=== | ===Testing it=== |
Revision as of 14:51, 3 November 2011
Bumblebee allows you to run specific programs on the discrete graphic card, inside of an X session using the integrated graphic card. Martin Juhl started with the project and published under GPL v3. To improve co-operation, some developers decided to fork the project into a team: Bumblebee-Project.
Contents |
What it does - and does not
Currently, Ubuntu and Arch Linux is supported by the installer. Work is in progress to support Fedora, Debian and OpenSUSE.
Arch Linux and Gentoo are support by:
- Arch Linux - ArchWiki: https://wiki.archlinux.org/index.php/Bumblebee
- Gentoo - Iegor: https://github.com/iegor/bumblebee-Gentoo-support
Power management has temporary been disabled, but will be re-added later.
Installing it
git clone git@github.com:Bumblebee-Project/Bumblebee.git cd Bumblebee sudo ./cleanup sudo ./install
Installing on Ubuntu
If you're using Ubuntu, you can install Bumblebee from a PPA. If you've installed versions before 2.3 from ppa:mj-casalogic/bumblebee or MrMEEE/bumblebee, you've to run the cleanup script first:
wget https://raw.github.com/Bumblebee-Project/Bumblebee/master/cleanup chmod +x cleanup sudo ./cleanup
The nvidia drivers supplied with Natty and before may not support your graphics card. Therefore, add the PPA containing more recent drivers:
sudo add-apt-repository ppa:ubuntu-x-swat/x-updates
Next, add the Bumblebee PPA:
sudo add-apt-repository ppa:bumblebee/stable sudo apt-get update sudo apt-get install bumblebee
When done, you need to add yourself to the bumblebee group:
sudo usermod -a -G bumblebee $USER
Re-login after this change.
Testing it
You can compare display performances with and without bumblebee :
glxgears optirun glxgears
Note: when running just glxgears, if you see this message:
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate.
The FPS value will always be close to 60. Instead you should do:
vblank_mode=0 glxgears
Configure it
On versions prior to 2.3, you had to run bumblebee-configuration to configure Bumblebee. Newer versions automatically detect the right version for you.
Uninstall it
If you're really using an old version (from MrMEEE, versions prior to 2.3):
wget https://raw.github.com/Bumblebee-Project/Bumblebee/master/cleanup chmod +x cleanup sudo ./cleanup
In other cases, you need to run the following to uninstall Bumblebee:
bumblebee-uninstall
If you're using Ubuntu and have installed Bumblebee through the PPA, you can remove it with:
sudo apt-get remove bumblebee
Reporting bugs
Run bumblebee-bugreport and follow the instructions, bugs or feature requests can be reported at https://github.com/Bumblebee-Project/Bumblebee/issues.