rpmfusion has a nice guide to get the latest Nvidia proprietary drivers from rawhide, on an otherwise stable system.
This doesn’t seem to work on an rpm-ostree system, as far as I can tell.
I add the copr, install the
replace installed drivers with
rpm-ostree uninstall akmod-nvidia xorg-x11-drv-nvidia-cuda xorg-x11-drv-nvidia-cuda-libs --install=akmod-nvidia --install=xorg-x11-drv-nvidia-cuda --install=xorg-x11-drv-nvidia-cuda-libs.
That just reinstalls the same drivers that was already available in non-rawhide.
Same if I first uninstall, reboot and then install.
Version: 39.20231112.0 (2023-11-12T00:57:34Z)
GPGSignature: Valid signature by E8F23996F23218640CB44CBE75CF5AC418B8E74C
RemovedBasePackages: firefox firefox-langpacks 119.0-5.fc39 kwin-x11 5.27.9-2.fc39
libavfilter-free libavformat-free libpostproc-free libswresample-free libavutil-free libavcodec-free libswscale-free 6.0.1-1.fc39 plasma-workspace-x11 184.108.40.206-2.fc39
LayeredPackages: akmod-nvidia alacritty btop distrobox fastboot fastfetch ffmpeg inxi libva-utils nmap nvidia-container-toolkit-base nvidia-vaapi-driver nvtop pmbootstrap podman-compose portaudio
python3-pyaudio python3.10 rpmfusion-free-release rpmfusion-nonfree-release rpmfusion-nonfree-release-rawhide tailscale xorg-x11-drv-nvidia-cuda xorg-x11-drv-nvidia-cuda-libs zsh
I don’t think rpmfusion has a separate repo for rawhide. Thus you either install the released drivers (with those for F39 being the latest) or don’t install them at all. Once a release version is branched from rawhide then rpmfusion seems to provide the repo for that branch & beta.
I am not sure what your goal may be in trying to find a driver that is newer than the already tested and released version. There is an rpmfusion-nonfree-updates-testing repo where the newer drivers are placed for testing before final release when driver versions are updated.
Note that the guide you linked seems it was last updated about 4 years ago and is somewhat outdated.
This is the index for rpmfusion rawhide, you can find it by scrolling down on the rpmfusion homepage.
My goal is to play games; specifically Cyberpunk 2077 and emulated Tears of The Kingdom, on an external screen, on wayland. The newest driver (545.29) is said to have considerable improvements in this regard, as well as support for night light on wayland. Related Phoronix article.
I’m more than willing to use untested drivers to get this functionality, as it’s something I’ve waited almost two years for.
I don’t have an rpmfusion user account, so I can’t see when specific sections of the Nvidia HowTo were edited last; but I can see that the Nvidia HowTo as a whole was last edited on April 24th this year
The rawhide repo you installed is disabled by default. rpm-ostree has no equivalent to dnf’s
--enablerepo, and it really cant, conceptually.
You’d need to enable that repo by editing
/etc/yum.repos.d/rpmfusion-nonfree-rawhide.repo to set
enabled=1 in the first section. Enabling the entire repo is probably a bad idea, so you can try adding something like:
in that same section. You may need to extend that list. I’m also not 100% certain that includepkgs will be honored by rpm-ostree via libdnf.
P.S. Revision history for that article is here: Info for "Howto/NVIDIA" - RPM Fusion
That driver has not yet been included at rpmfusion, though I would expect it soon.
Updates for testing usually show up in rpmfusion-nonfree-updates-testing before they are pushed to rpmfusion-nonfree-updates.