NVIDIA Driver Install Issues on Fedora 42

Other than breaking once a month after kernel updates, the NVIDIA drivers worked for me under 41 and 42 KDE :rofl: And I have an RTX4080 too.

Here are the notes I follow exactly to install the NVIDIA drivers (I’m a noob, so I need cheat sheets and lots of notes :joy:). Maybe it’ll help, if not then I have no idea what’s going on.

This worked with 560 and now works with 570.

I HAVE SECURE BOOT DISABLED! It’s just not worth the pain to have it enabled for Linux.

The .run files provided by NVIDIA never worked for me on any Linux distro. I’ve been told a number of times not to bother.

Please note that it might seem like it gets stuck with a black screen on both reboots after the install, just give it few minutes.

INSTALL NVIDIA DRIVERS

Add the NVIDIA repositories. In the KDE distro you simply add them to Discovery, I don’t know how this is done in the GNOME and other distros.

Then:

sudo dnf update

sudo dnf install akmod-nvidia -y

sudo dnf install xorg-x11-drv-nvidia-cuda -y # (this is optional CUDA stuff)

sudo reboot now

INSTALL NVDIA OPEN SOURCE DRIVERS

sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm

sudo dnf install rpmfusion-nonfree-release-tainted

sudo dnf swap akmod-nvidia akmod-nvidia-open

sudo reboot now

This is it. Enjoy your NVIDIA GPU until the next kernel update :roll_eyes: