I was just about to post the following when I noticed you appear to have got it working, so the rest of this may be irrelevant. At any rate here’s my take on NVIDA Cude vs RPM Fusion. Perhaps there’s some tidbits useful for someone in the future.
NVIDIA Cuda Repository Approach
I also recently found the NVIDIA Driver Installation Guide and I found it a bit confusing with respect to getting the correct URL. I ended using the Network Repository Installation section instead of the Local Repository Installation.
If you look at the URL to enable the network repository - specifically the part before the variables, ie this bit, which you can browse to:
https://developer.download.nvidia.com/compute/cuda/repos/
Then from there, you can navigate down to find the full URL to use with the dnf command.
Unfortunately, you’ll discover “fedora43” is missing - I assume they just haven’t added it yet.
I’m pretty sure you can use the F42 repo on F43, but I could be wrong. I tried it on F43 and the drivers installed fine and they worked just as well as they did when installed on F42. That is to say they didn’t work, but they didn’t work in the same way (see here for the problem I’m trying to fix). So, I guess that’s not exactly a glowing endorsement for compatibility. Fact is, I haven’t really been able to thoroughly test any version of 580 because of the above issue.
At any rate, if you want to try to use the NVIDIA cuda repo, this is the dnf command and correct URL you’d use to add the F42 repo:
sudo dnf config-manager addrepo --from-repofile=https://developer.download.nvidia.com/compute/cuda/repos/fedora42/x86_64/cuda-fedora42.repo
Then from there, you just need to proceed with the Driver Installation part of that guide.
RPM Fusion Repository Approach
Now (IMO), specifically for Fedora, I think the RPM Fusion approach is easier. The trickiest part is just adding/enabling the correct repo.
For the official releases (KDE, Gnome) - I think the packages are per-installed, you just need to enable the repos. It’s been a bit since I installed either KDE or Gnome and I’ve been testing a bunch of different distro lately , so it’s all gotten a bit muddled. Assuming that’s true, you can run this to see which repos are currently enabled:
sudo dnf repolist
And to see which repos are available, run this
sudo dnf repolist --all
For F43 KDE Plasma (for example), you (may) need to enable the nvidia repo. ie, if it does not show up with “dnf repolist” but does show up with “dnf repolist --all”.
dnf config-manager setopt rpmfusion-nonfree-nvidia-driver.enabled=1
For F43 Xfce on the other hand, the packages are NOT pre-installed, so they need to be installed first based on the instructions from here. ie.
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
Then once the packages have been installed you should be able to see the disabled repos by running “dnf repolist --all”. And at that point you just need to enable the nvidia repos:
sudo dnf config-manager setopt rpmfusion-nonfree.enabled=1
sudo dnf config-manager setopt rpmfusion-nonfree-updates.enabled=1
NOTE: I’ve never used the Graphical Setup from the RPM Fusion Configuration page. It might enable the repos as well.
For F43 Cinnamon I’m afraid I don’t know - I’ve never installed it. Maybe it already has the repos (like KDE/Gnome), maybe they’re even enabled. Or maybe it’s like Xfce where the repos need to be added.
At any rate, once the correct repo is added/enabled, then you just need to install the drivers:
sudo dnf akmod-nvidia xorg-x11-drv-nvidia-cuda
The “xorg-x11-drv-nvidia-cuda” package is optional depending on your needs. I personally only install it because the “nvidia-smi” command comes with it and that’s a useful tool.
WARNING - the dnf command will exit after the packages have been installed, but the drivers themselves haven’t been built yet - that’s happening in the background. You’ll want to wait until that’s done before you reboot. I usually run top and wait until the various building commands have finished. You can also check the build log… I think it’s in /var/cache/akmods/nvidia.
Once it’s all done, reboot.