Bumblebee

Differences between revisions 28 and 29
Revision 28 as of 2012-01-15 20:14:28
Size: 3281
Editor: openlaptop
Comment:
Revision 29 as of 2012-01-15 21:00:45
Size: 2732
Editor: openlaptop
Comment: CUDA section changed
Deletions are marked like this. Additions are marked like this.
Line 56: Line 56:
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
There is sometimes confusion about CUDA. You don't need Bumblebee to run CUDA. Follow the [[http://samiux.blogspot.com/2011/05/howto-nvidia-cuda-toolkit-40-on-ubuntu.html|How-To|]] to get CUDA working under Ubuntu.

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]

Example:

  • $ optirun firefox

For a list of options for optirun run:

  • $ optirun --help

Power Management

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 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 Power Management (PM) page and help to improve Bumblebee.

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. Follow the How-To to get CUDA working under Ubuntu.

[...]


CategoryHardware

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