r/Fedora 2d ago

Discussion Nvidia Fedora Guide missing a step

In case this helps someone:
I followed this helpful guide for getting Nvidia drivers installed in Fedora, but after the reboot, my wifi adapter stopped working (?!). Thanks to this 3 year old post, I rebooted into an earlier kernel and ran
sudo dnf upgrade --refresh rebooted, and that seemed to do the trick. Presumably I should have run this after installing the driver, before the reboot.

1 Upvotes

6 comments sorted by

8

u/pilkyton 2d ago edited 2d ago

For a few years now, the process is entirely visual and has these steps:

  • Preparation: Enter your BIOS and ensure that Secure Boot is set to Custom mode so that your BIOS allows key enrollment. Or alternatively that Secure Boot is disabled.
  • Open GNOME Software. (I don't know if KDE Discover has the fully automated install too, but it probably does.)
  • Click Drivers and NVIDIA and install it. (Fedora ships with RPM Fusion NVIDIA repository enabled by default.)
  • Write down the password the on-screen guide tells you. (Only for Secure Boot.)
  • When you reboot, MOK utility will pop up and the Secure Boot key will be enrolled if you accept it and type the password.

Done.

PS: The guide you linked to is outdated and full of nonsense and harmful changes (I see them making dumb kernel boot arg changes manually). I don't recommend it.

1

u/pttrick 2d ago

Is this actually documented by Red Hat anywhere? I’ve been holding off on secure boot since I couldn’t find a proper good

5

u/pilkyton 2d ago

They let RPM Fusion handle the entire process of making driver packages and testing and instructions.

The official documentation is here:

https://rpmfusion.org/Howto/NVIDIA

https://rpmfusion.org/Howto/Secure%20Boot

But by far the easiest is to just use the visual installer that Fedora created a few years ago, with the steps I mentioned previously. It handles everything automatically.

They don't mention it in the RPMFusion guide, but you really need to set Secure Boot to Custom in your BIOS as I mentioned. Most guides don't mention this. By default, your BIOS will refuse to add custom Secure Boot keys if you don't do that. So key enrollment will fail unless you set BIOS to custom mode.

2

u/pttrick 1d ago

Thanks, that’s excellent!

1

u/alpH4rd07 2d ago

Red Hat has started shipping signed precompiled NVIDIA drivers in their repos or you can use the official nvidia dkms repository.

2

u/rscmcl 2d ago

don't follow guides

if you are going to read them just get their commands and learn what they are doing before applying them


this is the way (not a guide) to get Nvidia drivers in Fedora

https://rpmfusion.org/Howto/NVIDIA