How to get rid of 580x nivida drivers

I can use 595.80 drivers and I did install them yet the driver version shown on Nvidia X settings shows it’s still on 580xx how do I remove the 580xx drivers?

Since Fedora doesn’t ship the proprietary Nvidia drivers, did you install via the Nvidia .runfile script or through RPMFusion?

Atleast with RPMFusion, it shouldn’t even be possible to install both akmod-nvidia and akmod-nvidia-580xx. Since Nvidia settings app is still showing the old driver, then you probably either need to regenerate dracut with the following command and then reboot the system after it finishes

sudo akmods --force
sudo dracut --force --regenerate-all --parallel

It didn’t work it’s the same version also is the command supposed to not show anything? After inputting it?

See edit above, I forgot a command

After redoing and putting the two commands it now says dracut[W]: Could not fsfreeze /boot I am guessing that’s bad?

Please show us the output of dnf list --installed \*nvidia\* so we may see what is actually installed.

Also the output of inxi -Fzxx would be helpful.

Also the output of inxi -Fzxx would be helpful.

A tip on inxi, note that on current versions of ‘inxi’, -F option is deprecated. Use “-e” now like:

inxi -ezxx

REF: inxi --help

shows:

-e, --expanded
(formerly -F/–full) Expands -b basic report. Includes all
Upper Case options (except -J) plus --swap, -s and -n. Does not
show extra verbose options such as -d -f -i -J -l -m -o -p -r
-t -u -x, unless specified.