Bumblebee

Differences between revisions 19 and 20
Revision 19 as of 2012-01-15 14:19:01
Size: 2752
Editor: openlaptop
Comment: IRC URL added
Revision 20 as of 2012-01-15 17:37:12
Size: 3320
Editor: openlaptop
Comment: Links added
Deletions are marked like this. Additions are marked like this.
Line 28: Line 28:
The Bumblebee Daemon provides an elegant and stable means of managing Optimus hybrid graphics chipsets. A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use. The Bumblebee Daemon provides an elegant and stable means of managing Optimus hybrid graphics chipsets. A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use.
We're using either bbswitch (a module) or vga_switcheroo (kernel module, experimental) to do this in Bumblebee.

Since Bumblebee 3.0, this feature is enabled by default, using [[https://github.com/Bumblebee-Project/bbswitch|bbswitch]. This allow automatic power management, without any configuration needs. However, it's a development module, so it's not perfect and may fail on some laptops.

If Power Management doesn't work on your laptop, please go to this [[https://github.com/Bumblebee-Project/bumblebee/wiki/Power-Management]Power Management (PM)]] page.

Bumblebee Project

Bumblebee aims to provide support for nVidia Optimus laptops for GNU/Linux distributions. Using Bumblebee, you can use your nVidia card for rendering graphics which will be displayed using the Intel card.

Installation

Currently, you need to open your terminal and enter the commands below.

  1. sudo add-apt-repository ppa:bumblebee/stable

If you are on Ubuntu prior to 11.10 and want newer drivers (recommended) than the ones available in the official repos, run:

  • sudo add-apt-repository ppa:ubuntu-x-swat/x-updates

  1. sudo apt-get update

  2. sudo apt-get install bumblebee

  3. sudo usermod -a -G bumblebee YOUR_USERNAME (change YOUR_USERNAME in your username)

  4. Re-login

Usage

To run your application with the discrete NVIDIA card run in the terminal:

  • $ optirun [options] <application> [application-parameters]

For a list of options for optirun run:

  • $ optirun --help

Power Management

The Bumblebee Daemon provides an elegant and stable means of managing Optimus hybrid graphics chipsets. A primary goal of this project is to not only enable use of the discrete GPU for rendering, but also to enable smart power management of the dGPU when it's not in use. We're using either bbswitch (a module) or vga_switcheroo (kernel module, experimental) to do this in Bumblebee.

Since Bumblebee 3.0, this feature is enabled by default, using [[https://github.com/Bumblebee-Project/bbswitch|bbswitch]. This allow automatic power management, without any configuration needs. However, it's a development module, so it's not perfect and may fail on some laptops.

If Power Management doesn't work on your laptop, please go to this https://github.com/Bumblebee-Project/bumblebee/wiki/Power-Management]Power Management (PM) page.

IRC

Please join #bumblebee channel on Freenode if you wish to help testing and creating the installer.

Reporting bugs/problems

First of all: If you have any problem, please read this article: https://github.com/Bumblebee-Project/Bumblebee/wiki/Reporting-Issues

Then create a bug report package with the bumblebee-bugreport tool and open an issue on GitHub at:

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

Uninstall

If you're unsatisfied with Bumblebee, you can remove it via:

  • $ apt-get --purge remove bumblebee

CUDA

There is sometimes confusion about CUDA. You don't need Bumblebee to run CUDA. Try to run:

  1. sudo add-apt-repository ppa:aaron-haviland/cuda-4.0

  2. sudo apt-get update

  3. sudo apt-get upgrade

  4. 64-bit :

    • sudo apt-get install nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-compute-profiler libnpp4 nvidia-cuda-doc libcudart4 libcublas4 libcufft4 libcusparse4 libcurand4 nvidia-current nvidia-opencl-dev nvidia-current-dev nvidia-cuda-dev opencl-headers

    32-bit :

    • sudo apt-get install nvidia-cuda-gdb nvidia-cuda-toolkit nvidia-compute-profiler lib32npp4 nvidia-cuda-doc lib32cudart4 lib32cublas4 lib32cufft4 lib32cusparse4 lib32curand4 nvidia-current nvidia-opencl-dev nvidia-current-dev nvidia-cuda-dev opencl-headers

  5. Reboot

[...]


CategoryHardware

Bumblebee (last edited 2015-05-03 11:04:05 by penalvch)