chenxiaolong / bumblebee

Description

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

Installation

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=https://negativo17.org/repos/fedora-nvidia.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

Uninstallation

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

Reboot.

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 (0)* Fedora 27 (4276 downloads)
Fedora 28 i386 (0)*, x86_64 (0)* Fedora 28 (6516 downloads)
Fedora 29 i386 (0)*, x86_64 (0)* Fedora 29 (2017 downloads)
Fedora rawhide i386 (0)*, x86_64 (0)* Fedora rawhide (83 downloads)

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