"NVIDIA kernel module missing" error after CPU upgrade

I upgraded my CPU yesterday and booted into Windows 11 on my other SSD to run some benchmarks. That’s when I realized the day after that Fedora fails to boot. I’m met by a “nvidia kernel module missing. Falling back to nouveau” error for a brief moment before my monitor is frozen with glitched output. Attempts at booting into Fedora is unsuccessful, it freezes every time.

The GRUB boot options show that nouveau is blacklisted. Attempts at removing the blacklist only gives me a black screen when trying to boot.

I use Secure Boot on my system so is it possible that the NVIDIA kernel module fails to start because of a new Secure Boot key? Windows 11 operates fine so maybe it decided to overwrite the key..?

If this is the likely cause of the problem, how do I re-enroll the keys, are there other modules possibly affected by this that I’m unaware of, and more importantly how should I log back into the system? System recovery states that my root account is locked.

Help and ideas are much appreciated.

It may also simply be due to have stopped your machine before the kernel nvidia driver
has been build by akmods. This is actually almost always the case if you did an offline update.

The recommended way to install the proprietary nvidia driver is to use akmods and the
rpmfusion repository: Is it your case?

See: rpmfusion rpmfusion Howto

You should keep the blacklist of nouveau in GRUB.

To troubleshoot add to the GRUB kernel command line: systemd.unit=multi-user.target
then log in textual mode.

Look at the journal, paste (as text please, using the </> button) the output of:

lsmod | grep nvidia
dnf list --installed kernel kmod-\*

Sorry, being in textual mode, pasting is not possible.
Execute that instead:

bash # In case your shell is not bash
(
  set -x
  lsmod | grep nvidia
  modinfo -n nvidia
  dnf list --installed kernel kmod-\*
  inxi -Fzxx

) |& fpaste

Then paste in this topic the URL given by fpaste

Yes I use akmods and RPM Fusion. I followed the steps in this guide to install the drivers when I first installed Fedora (step 11 skipped): GitHub - roworu/nvidia-fedora-secureboot

How do I login into textual mode?

Type Ctrl-Alt-F2 (or F3 ..), then give your login name and password.

Thanks, I will be able to give this a try 7 hours from now.