Clone this wiki locally
Configuration of both Bumblebee daemon (
bumblebeed) and client (
optirun) are made on a single file located on
$CONFDIR/bumblebee/bumblebee.conf, depending on how you installed Bumblebee,
CONFDIR could be
/etc. The file
bumblebee.conf has comments explaining the settings. The format is described at http://freedesktop.org/wiki/Specifications/desktop-entry-spec. Most notably, you should not use quotes around values.
Using Nouveau driver
If you're using a very, very recent nouveau driver which supports your card, you can use the nouveau driver by setting the
Driver setting to
[bumblebeed] Driver=nouveau ... [driver-nouveau] KernelDriver=nouveau XorgConfFile=/etc/bumblebee/xorg.conf.nouveau ...
Using Nvidia driver
The NVIDIA driver needs more configuration. Note that
XorgModulePath is comma-separated.
[bumblebeed] Driver=nvidia ... [driver-nvidia] KernelDriver=nvidia LibraryPath=/path/to/nvidia/libraries:/path/to/32-bit/libraries/if/applicable XorgModulePath=/path/to/dir/with/nvidia_drv.so/in/it,/path/to/default/xorg/modules XorgConfFile=/etc/bumblebee/xorg.conf.nvidia ...
On Ubuntu and Mandriva, the value for
nvidia-current by default, not
nvidia. However, on Ubuntu you can also find a lot of other flavors like nvidia-current-updates, nvidia, nvidia-nnn and nvidia-experimental-nnn, so we added a patch that should auto-detect the correct one in case it's not set.