Here you will find instructions in many ways to install, test and use Bumblebee.
The best an recommended way to install Bumblebee is through your distribution repositories. If not such packages exist, then you can still install Bumblebee from git.
AUR Package: https://aur.archlinux.org/packages.php?ID=52210
Here are some instructions on how to build the Bumblebee daemon (
bumblebeed) and client (
optirun). Whenever you see a command preceded by
# means it must be run as root (i.e. with
Now go to a directory of our liking, clone the repository and configure.
$ git clone git://github.com/Bumblebee-Project/bumblebeed.git $ cd bumblebeed $ autoreconf -fi $ ./configure
To set your default driver to
nvidia you need to pass some configuration flags to
$ ./configure CONF_DRIVER=nvidia CONF_DRIVER_MODULE_NVIDIA=nvidia-current \ CONF_LDPATH_NVIDIA=/usr/lib/nvidia-current:/usr/lib32/nvidia-current \ CONF_MODPATH_NVIDIA=/usr/lib/nvidia-current/xorg,/usr/lib/xorg/modules
Note: for system-wide installations, additional arguments must be passed to
./configure script. Most times
$ ./configure --prefix=/usr --sysconfdir=/etc is enough. Run
$ ./configure --help for more information
Once configuration is ready make the binaries:
To install just run
# make install
Then you must create group
bumblebee on your system and add yourself to it
# groupadd bumblebee # usermod -a -G bumblebee $USER
Log out and in again to apply changes.
Optionally you can use an init script to start the daemon at boot time.
WIP: Add init options
First you would like to take a look at Configuration to tweak Bumblebee to your liking. Then you must run the Bumblebee daemon
# bumblebeed -vv --daemon
$ bumblebeed --help for more options.
To run a program you just run
$ optirun <program-name>
$ optirun --help for options
$ optirun glxspheres
glxspheres on your dedicated GPU.