Installing nvidia drivers

I didn’t throughougly read through the attempts, but this is exactly what I did to install NVIDIA drivers back in early 2023 on Fedora 37 with a RTX 3060:

Add RPM Fusion free:

sudo rpm --import 'https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-free-fedora-2020' && sync && sudo dnf install 'https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-'$(rpm -E %fedora)'.noarch.rpm' -y && sync

Add RPM Fusion nonfree:

sudo rpm --import 'https://rpmfusion.org/keys?action=AttachFile&do=get&target=RPM-GPG-KEY-rpmfusion-nonfree-fedora-2020' && sync && sudo dnf install 'https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-'$(rpm -E %fedora)'.noarch.rpm' -y && sync

Packages and driver install:

sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda xorg-x11-drv-nvidia-cuda-libs vulkan vdpauinfo libva-vdpau-driver libva-utils -y && sync && sudo akmods --force && sync

And rebooting was fine. The key parts are adding both RPM Fusion’s free and nonfree repos, installing akmod-nvidia, and making sure NVIDIA’s kernel module gets installed before reboot with akmods --force.


Unless the akmod-nvidia package name changed or they aren’t using akmods anymore, I don’t see why that wouldn’t work today on F40. I only used Workstation and don’t know how that works on Silverblue or anything else. I also didn’t try the NVIDIA-specific RPM Fusion repo.

I see akmod-nvidia-550.78 on the regular nonfree repo and imagine those above commands should be fine.