ronanlv/bumblebee

( forked from chenxiaolong/bumblebee )

Project ID: 59865

Description

2022-01-28 Update: This repo is no longer maintained. Branching has been turned off for this repo and thus, no repo for Fedora 36 will be created. Anybody interested in maintaining the packages moving forward is free to fork this repo. The latest packaging files are available in the SRPMs in Copr or at this commit.

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 rawhide i386 (6)*, x86_64 (7)* Fedora rawhide (19 downloads)

* Total number of downloaded packages.