Fix "Nvidia kernel module missing falling back to Nouveau"

If you happen to receive the error Nvidia kernel module missing falling back to Nouveau in a Fedora installation (I got this on Fedora 38 with Nvidia drivers), this might mean that your nvidia driver installation is messed up.

Solution

First thing you should try is to upgrade everything and do a reboot.

sudo dnf update

Once the update is run, reboot. See if the error disappears. If it does not, go ahead with the re-install.

Assuming that you already have the fusion repostiories enabled (you have it already enabled if you installed the Nvidia drivers already)

sudo dnf remove \*nvidia\*
sudo dnf install akmod-nvidia

Once the installation is finished, reboot.