ekultails/nvidia-xrun

Project ID: 24240

Description

The official RPM for the nvidia-xrun project. It provides a way to temporarily enable the Nvidia graphics card on a separate TTY. This provides a balance between saving battery life when on the go and performance when gaming. The use of Bumblebee's bbswitch is no longer used and instead the Linux kernel's built-in power management is relied on.

  • nvidia-xrun project GitHub: https://github.com/Witko/nvidia-xrun
  • nvidia-xrun RPM spec GitHub: https://github.com/ekultails/rpm_nvidia-xrun

Installation Instructions

Install the nvidia-xrun RPM.

$ sudo dnf copr enable ekultails/nvidia-xrun $ sudo dnf install nvidia-xrun

Both the open source and proprietary drivers need to be disabled on boot. These two drivers will cause conflicts. When nvidia-xrun is executed it will automatically load the proprietary drivers. It will also unload them when the current X session has ended.

Modify the /etc/default/grub file and append these blacklists to GRUB_CMDLINE_LINUX:

rd.driver.blacklist=nouveau,nv,nvidiafb,rivafb,rivatv rd.driver.blacklist=nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm

Rebuild the GRUB 2 configuration file.

$ GRUBCFG="$(sudo find /boot/ -name grub.cfg)" $ sudo grub2-mkconfig -o "${GRUBCFG}"

Enable the service that will disable power to the Nvidia card until nvidia-xrun is manually ran.

$ sudo systemctl enable nvidia-xrun-pm

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
Epel for CentOS 7 x86_64 (0)* Epel for CentOS 7 (24 downloads)
Epel for CentOS 8 x86_64 (0)* Epel for CentOS 8 (13 downloads)
Fedora 29 x86_64 (0)* Fedora 29 (42 downloads)
Fedora 30 x86_64 (0)* Fedora 30 (211 downloads)
Fedora 31 x86_64 (0)* Fedora 31 (68 downloads)
Fedora rawhide x86_64 (0)* Fedora rawhide (8 downloads)
Mageia 7 x86_64 (0)* Mageia 7 (21 downloads)
Mageia cauldron x86_64 (0)* Mageia cauldron (8 downloads)
openSUSE Leap 15.0 x86_64 (0)* openSUSE Leap 15.0 (41 downloads)
openSUSE Leap 15.1 x86_64 (0)* openSUSE Leap 15.1 (48 downloads)
openSUSE Tumbleweed x86_64 (0)* openSUSE Tumbleweed (122 downloads)

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