Bumblebee

From Hybridgraphics

(Difference between revisions)
Jump to: navigation, search
(Added Q&A mail, updated installation instructions for Ubuntu)
(Testing it: optirun64 points already to optirun on 64-bit)
Line 33: Line 33:
You can compare display performances with and without bumblebee :
You can compare display performances with and without bumblebee :
<pre>glxgears
<pre>glxgears
-
optirun64 glxgears (64-bit)
+
optirun glxgears</pre>
-
 
+
-
optirun glxgears (32-bit)</pre>
+
Note: when running just glxgears, if you see this message:
Note: when running just glxgears, if you see this message:

Revision as of 13:05, 1 August 2011

Bumblebee allows you to run specific programs on the discrete graphic card, inside of an X session using the integrated graphic card. It's written by Martin Juhl and published under GPL v3.

Contents

What it does - and does not

Actually only Ubuntu, Debian, OpenSuSE and Fedora is supported by this script, but Martin is working on to porting on other distros and make his script more distro-independent. For info about state of work in distro porting or to help in porting please see https://github.com/MrMEEE/bumblebee/issues/7

Arch and Gentoo are support by:

Arch Linux - ArchWiki: https://wiki.archlinux.org/index.php/Bumblebee

Gentoo - Iegor: https://github.com/iegor/bumblebee-Gentoo-support


Currently this application does shut down the nvidia card when not used, but only on Ubuntu.. Other distribution are in progress.. still balance the load between the two cards is missing..

Installing it

The installer installs the closed-source nvidia driver.

git clone https://github.com/MrMEEE/bumblebee
cd bumblebee
sudo ./install.sh

Installing on Ubuntu

If you're using Ubuntu, you can install Bumblebee from a PPA. Make sure that you've removed previous versions and the x-swat PPA containing the latest nvidia driver:

sudo bumblebee-uninstall
sudo apt-get install ppa-purge
sudo ppa-purge ppa:ubuntu-x-swat/x-updates

Next, proceed with installing bumblebee from Martins PPA.

sudo apt-add-repository ppa:mj-casalogic/bumblebee
sudo apt-get update
sudo apt-get install bumblebee

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

To Reconfigure bumblebee :

bumblebee-config

Uninstall it

To uninstall or clean up ealier versions :

bumblebee-uninstall

Reporting bugs

Use the bumblebee-bugreport script to create a nice bug report that you'll send here.

External Links

Personal tools