This guide provides instructions on installing the latest NVIDIA drivers on a Fedora desktop. It is primarily written for personal use, but it may also be useful (hopefully) for you.
https://rpmfusion.org/Howto/NVIDIA
https://rpmfusion.org/Howto/Secure%20Boot
- This method has been tested on Fedora 39+ with the latest NVIDIA drivers. It works with KDE, GNOME, or any other desktop environment/window manager.
- Secure Boot must be enabled in setup mode in your BIOS/UEFI settings (some BIOS versions call this "Custom Mode").
- Remove any existing NVIDIA drivers before proceeding:
dnf remove xorg-x11-drv-nvidia\*Reboot after removing old drivers.
- For easier debugging, you can disable the 'quiet' boot option:
# Disable 'quiet' mode
sudo grubby --update-kernel=ALL --remove-args=quiet
# Re-enable 'quiet' mode
sudo grubby --update-kernel=ALL --args=quiet(This is optional but can help debug if errors occur.)
# Free
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm
# Non-Free
sudo dnf install https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpmsudo dnf upgrade --refreshsudo dnf install kmodtool akmods mokutil opensslsudo kmodgenca -asudo mokutil --import /etc/pki/akmods/certs/public_key.dersudo systemctl reboot7) MOK manager will ask if you want to proceed with booting or enroll the key. Choose "Enroll MOK" -> "Continue" and enter the password created in step 6.
For GPUs supported by the current NVIDIA driver branch (some GeForce, Quadro, Tesla, should be suitable for any GPU found in 2017 and later):
sudo dnf install gcc kernel-headers kernel-devel akmod-nvidia \
xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs.{i686,x86_64} \
libva-nvidia-driver.{i686,x86_64} xorg-x11-drv-nvidia-cudaFor older GPUs that are no longer supported by the latest NVIDIA driver branch (GTX 800/900/10, GeForce 400/500/600/700, etc.), install the appropriate legacy driver version according to the official RPM Fusion documentation:
https://rpmfusion.org/Howto/NVIDIA
modinfo -F version nvidiaIt should return the driver version like this:

If it shows ERROR: Module nvidia not found, the modules are still building—keep waiting.
sudo akmods --force && sudo dracut --forceFor newer NVIDIA drivers (555+) + Wayland, you may want to disable GSP firmware to reduce stuttering in GNOME/KDE.
However, this issue varies by system, and you may not need to disable it. Test your setup first before applying this change.
To disable GSP firmware, run:
sudo grubby --update-kernel=ALL --args=nvidia.NVreg_EnableGpuFirmware=0Sources:
https://forums.developer.nvidia.com/t/major-kde-plasma-desktop-frameskip-lag-issues-on-driver-555/293606
https://forums.developer.nvidia.com/t/stutering-and-low-fps-scrolling-in-browsers-on-wayland-when-gsp-firmware-is-enabled/311127/15
https://forums.developer.nvidia.com/t/570-release-feedback-discussion/321956/69

Task manager app in the screenshot: https://flathub.org/apps/io.missioncenter.MissionCenter