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. Bumblebee is officially supported by Ubuntu in 13.10 Saucy or newer. However, all releases are supported by the Bumblebee Project community from Ubuntu version 12.04 up to 13.10.
Installation
Basic Setup
You need to open your terminal and enter the commands below.
If on 12.04.3, replace linux-headers-generic with linux-headers-generic-lts-raring.
-
sudo add-apt-repository ppa:bumblebee/stable
- Enable the Universe and Multiverse repositories (for bumblebee and nvidia packages respectively).
-
sudo apt-get update
- Install Bumblebee using the default proprietary nvidia driver for 12.04 - 13.04 :
sudo apt-get install bumblebee bumblebee-nvidia virtualgl linux-headers-generic
- And for 13.10 :
sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic
- Reboot
Advanced Setups
For advanced users, if you do not want to use the proprietary nvidia driver or 32-bit libraries (for example, if you are only interested in power savings), you can do your custom installation.
Minimal setup : sudo apt-get install --no-install-recommends bumblebee
Depending on your needs, add to this line:
-
bumblebee-nvidia: proprietary nvidia driver support (if installed, become default over nouveau)
-
virtualgl: VirtualGL as backend
-
virtualgl-libs-ia32: 32bit support for VirtualGL on 64bit system, necessary to run 32bit app through optirun
-
primus: primus/primusrun as backend (virtualgl Stays default, you need to run optirun -b primus <app>)
-
primus-libs-ia32: 32bit support for primus/primurun on 64bit system, necessary to run 32bit app through optirun
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
Normally you do not use optirun for your window manager, installations or other non graphic heavy demanding programs. The optirun command is mainly used for graphic demanding programs or for games.
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.
If Power Management doesn't work on your laptop, please go to this Power Management (PM) page and help to improve Bumblebee.
Troubleshooting
"Cannot access secondary GPU" error
In LTS 12.04.3, 13.04 and later, if your card seems to be inaccessible, i.e.[ERROR]Cannot access secondary GPU - error: [XORG] (EE) No devices detected. you need to edit the /etc/bumblebee/xorg.conf.nvidia (or /etc/bumblebee/xorg.conf.nouveau if using the noveau driver) and specify the correct BusID by following the instructions therein.
Updating drivers
The Bumblebee project recommends you install drivers only through APT and not drivers provided by nvidia.com directly. This said, whenever you update your drivers through the supported repositories, you need to setup the correct config values in /etc/bumblebee/bumblebee.conf. See also this FAQ on github
Example update to nvidia-319 driver
E.g. to update to the latest update of 319.x driver, you need to install it through apt.
sudo apt-get install nvidia-319-updates nvidia-settings-319-updates
Then you need to edit /etc/bumblebee/bumblebee.conf and set:
Driver=nvidia
KernelDriver=nvidia-319-updates
LibraryPath=/usr/lib/nvidia-319-updates:/usr/lib32/nvidia-319-updates
XorgModulePath=/usr/lib/nvidia-319-updates/xorg,/usr/lib/xorg/modules
By running optirun nvidia-settings (or optirun -b none nvidia-settings -c :8) you can assert you are using the installed kernel module and driver.
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: http://wiki.Bumblebee-Project.org/Troubleshooting
If your issue is not solved, you can join the #bumblebee IRC channel to ask for help (recommended). See also http://wiki.Bumblebee-Project.org/Reporting-Issues
If you're asked to create a bugreport, run the next command in a terminal: sudo bumblebee-bugreport
Uninstall
If you're unsatisfied with Bumblebee, you can remove it via:
-
sudo apt-get install ppa-purge
-
sudo ppa-purge ppa:bumblebee/stable
If you want to keep some programs from the bumblebee repository, you can also suffice by removing Bumblebee only (including its dependencies):
-
sudo apt-get purge bumblebee
-
sudo apt-get --purge autoremove
Social Media
Follow us on: Facebook, Twitter and Google+.
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.
There is however a new feature (--no-xorg option for optirun) in Bumblebee 3.2, which makes it possible to run CUDA / OpenCL applications that does not need the graphics rendering capabilities.
相关推荐
工具和修补程序的集合,可在Ubuntu 14.04上运行Bumblebee2。 安装 安装flycapture $sudo sh install_flycapture.sh 并确保为执行bumblebee2 (ros和/或flycap2)的用户添加了udev规则。 否则,您需要成为root用户...
ubuntu 14.04 64bit的bumblebee,nvidia GTX 640
Bumblebee软件使用指南
ubuntu下搭建android开发环境(四)核心篇安装AndroidStudio、sdk、jdk(by 星空武哥)-附件资源
bumblebee双目视觉系统的一些参数介绍
Android Studio Bumblebee 稳定版(android-studio-2021.1.1.20-linux.tar.gz) 大黄蜂,适用于Linux x86_64系统,是Android Studio 4.3(Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本Android Studio ...
Android Studio Bumblebee 2021.1.1 Patch 2 (android-studio-2021.1.1.22-windows.exe)大黄蜂,适用于Windows x86_64系统,是Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26新版本命名)版本之后的新...
Android Studio Bumblebee 2021.1.1 Patch 2 (android-studio-2021.1.1.22-cros.deb)大黄蜂,适用于Chrome OS系统,是Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本...
Android Studio Bumblebee 2021.1.1 Patch 1 (android-studio-2021.1.1.21-windows.exe)大黄蜂,适用于Windows x86_64系统,是Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26新版本命名)版本之后的新...
bumblebee双目立体摄像机资料大全,包含bumblebee双目相机的开发手册和一些实例。
bumblebee2双目立体视觉系统性能指标
Android Studio Bumblebee 稳定版(android-studio-2021.1.1.20-mac_arm.dmg) 大黄蜂,适用于macOS Arm芯片系统,是Android Studio 4.3(Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本Android Studio ...
Android Studio Bumblebee 2021.1.1 Patch 1 (android-studio-2021.1.1.21-cros.deb)大黄蜂,适用于Chrome OS系统,是Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本...
Android Studio Bumblebee 稳定版(android-studio-2021.1.1.20-windows.exe) 大黄蜂,适用于Windows x86_64系统,是Android Studio 4.3(Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本Android Studio ...
Android Studio Bumblebee 稳定版(android-studio-2021.1.1.20-cros.deb) 大黄蜂,适用于Chrome OS系统,是Android Studio 4.3(Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本Android Studio Bumblebee 。...
Bumblebee双目测量基本原理;一.双目视觉原理:二.立体视觉测量过程;三.Triclops开发库中的数据流程;BB2常见问题与解答
Android Studio Bumblebee 2021.1.1 Patch 1 (android-studio-2021.1.1.21-windows.zip)大黄蜂,适用于Windows x86_64系统,是Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26新版本命名)版本之后的新...
BumbleBee2 双目视觉系统简介.pdf 欢迎大家下载
Android Studio Bumblebee 2021.1.1 Patch 1 (android-studio-2021.1.1.21-mac.dmg)大黄蜂,适用于macOS Intel芯片系统,是Android Studio 4.3(Android Studio Arctic Fox 2020.3.1.26新版本命名)版本之后的新版本...