I am assuming that you installed akmod-nvidia from rpmfusion, but lets find out please.
Post the output of dnf list installed *nvidia*
as well as dnf repolist
There have been instances of things not properly compiling the modules and sometimes the fix has been a complete new install of the packages. There have also been instances of some packages installed from rpmfusion-nonfree and some from rpmfusion-nonfree-nvidia-driver which caused interference as well.
The removal and reinstall has been done by having the rpmfusion-nonfree-nvidia-driver repo enabled then using these steps.
-
dnf remove *nvidia*
followed by -
dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
If this step shows packages to be downloaded from 2 different repos then other steps may need to be taken to install from only one repo. Let us know before you complete this install if it is pulling from more than one repo. - Once the install is complete then wait 2 - 5 minutes and reboot.
- Verify the nvidia modules are loaded with
lsmod | grep nvidia
If that produces several lines of output then the result is that the nvidia drivers are now properly loaded and functioning.