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 GPUbumblebee
- Daemon for managing the use of the discrete GPUprimus
- 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 38 | i386 (0)*, x86_64 (0)* | Fedora 38 (0 downloads) |
Fedora 39 | i386 (0)*, x86_64 (0)* | Fedora 39 (51 downloads) |
Fedora 40 | i386 (0)*, x86_64 (0)* | Fedora 40 (49 downloads) |
Fedora 41 | i386 (0)*, x86_64 (0)* | Fedora 41 (7 downloads) |
Fedora rawhide | i386 (5)*, x86_64 (5)* | Fedora rawhide (52 downloads) |
* Total number of downloaded packages.