chenxiaolong / bumblebee


This repo contains packages for Bumblebee, a tool to make NVIDIA Optimus setups work on Linux.

There are 3 package available:

  • akmod-bbswitch - Kernel module for powering down the discrete GPU
  • bumblebee - Daemon for managing the use of the discrete GPU
  • primus - More efficient OpenGL offloading library/wrapper for bumblebee

The source code for these packages is available here.

Installation Instructions


To use Bumblebee, the NVIDIA proprietary drivers must first be installed. I've only tested Bumblebee with the negativo17 drivers, but it might also work with the RPMFusion drivers.

To install the NVIDIA drivers, first add the negativo17 repo:

sudo dnf config-manager --add-repo=

and then install the necessary packages:

sudo dnf install nvidia-driver kernel-devel akmod-nvidia

Next, enable this copr repo.

sudo dnf copr enable chenxiaolong/bumblebee

Install the bbswitch driver, bumblebee, and primus (optional).

sudo dnf install akmod-bbswitch bumblebee primus

For the optirun and primusrun commands to work, the current user must be added to the bumblebee group.

sudo gpasswd -a $(whoami) bumblebee

Enable the bumblebeed service and disable the nvidia-fallback service. The nvidia-fallback service comes from the negativo17 drivers and will attempt to load nouveau if nvidia fails to load. However, when using Bumblebee, neither one should load at boot.

sudo systemctl enable bumblebeed sudo systemctl disable nvidia-fallback

Finally, reboot and bumblebee should be ready to go. To use bumblebee, just launch a program with optirun or primusrun. For example:

optirun glxspheres64 primusrun glxspheres64


To uninstall bumblebee:

sudo dnf remove akmod-bbswitch bumblebee primus sudo systemctl preset nvidia-fallback

To remove this repo:

sudo dnf copr remove chenxiaolong/bumblebee

To uninstall the nvidia drivers:

sudo dnf remove nvidia-driver akmod-nvidia

To remove the negativo17 repo:

sudo rm /etc/yum.repos.d/fedora-nvidia.repo


Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 27 i386 (0)*, x86_64 (93)* Fedora 27 (3965 downloads)
Fedora 28 i386 (0)*, x86_64 (1246)* Fedora 28 (2005 downloads)
Fedora rawhide i386 (0)*, x86_64 (19)* Fedora rawhide (24 downloads)

* Total number of packages downloaded in the last seven days.