Problems with Nvidia Drivers after (presumably) a couple of system upgrades

It seems after either a few system upgrades or NVIDIA driver updates, my closed source NVIDIA drivers are not working which is making playing Steam games impossible.

I tried to run sudo dnf update , and got this result:

 Problem 1: package akmod-nvidia-3:535.54.03-1.fc37.x86_64 from rpmfusion-nonfree-updates requires nvidia-kmod-common >= 3:535.54.03, but none of the providers can be installed
  - cannot install the best update candidate for package akmod-nvidia-3:520.56.06-1.fc37.x86_64
  - package xorg-x11-drv-nvidia-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 2: package nvidia-driver-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local conflicts with xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System
  - package nvidia-driver-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local obsoletes xorg-x11-drv-nvidia provided by xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System
  - package kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64 from @System requires nvidia-kmod-common >= 3:530.41.03, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64
  - problem with installed package kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64
  - package xorg-x11-drv-nvidia-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 3: cannot install both xorg-x11-drv-nvidia-cuda-libs-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates and xorg-x11-drv-nvidia-cuda-libs-3:530.41.03-1.fc37.x86_64 from @System
  - package xorg-x11-drv-nvidia-cuda-3:530.41.03-1.fc37.x86_64 from @System requires xorg-x11-drv-nvidia-cuda-libs(x86-64) = 3:530.41.03-1.fc37, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-cuda-libs-3:530.41.03-1.fc37.x86_64
  - problem with installed package xorg-x11-drv-nvidia-cuda-3:530.41.03-1.fc37.x86_64
 Problem 4: package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System requires libnvidia-glcore.so.530.41.03()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System requires libnvidia-tls.so.530.41.03()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System requires xorg-x11-drv-nvidia-libs(x86-64) = 3:530.41.03-1.fc37, but none of the providers can be installed
  - package nvidia-driver-libs-3:530.30.02-1.fc37.i686 from cuda-fedora37-12-1-local conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:530.41.03-1.fc37.x86_64 from @System
  - package nvidia-driver-libs-3:530.30.02-1.fc37.i686 from cuda-fedora37-12-1-local obsoletes xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:530.41.03-1.fc37.x86_64 from @System
  - package kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64 from @System requires nvidia-kmod-common >= 3:530.41.03, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-libs-3:530.41.03-1.fc37.i686
  - problem with installed package kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64
  - package xorg-x11-drv-nvidia-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 5: package cuda-runtime-12-1-12.1.0-1.x86_64 from @System requires cuda-drivers >= 530.30.02, but none of the providers can be installed
  - package cuda-drivers-530.30.02-1.x86_64 from cuda-fedora37-12-1-local requires nvidia-driver-cuda >= 3:530.30.02, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-cuda-3:530.41.03-1.fc37.x86_64 from @System requires (xorg-x11-drv-nvidia-cuda-libs(x86-32) = 3:530.41.03-1.fc37 if mesa-libGL(x86-32)), but none of the providers can be installed
  - package nvidia-driver-cuda-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local requires nvidia-persistenced = 3:530.30.02, but none of the providers can be installed
  - cannot install both xorg-x11-drv-nvidia-cuda-libs-3:535.54.03-2.fc37.i686 from rpmfusion-nonfree-updates and xorg-x11-drv-nvidia-cuda-libs-3:530.41.03-1.fc37.i686 from @System
  - cannot install both nvidia-persistenced-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local and nvidia-persistenced-3:530.41.03-1.fc37.x86_64 from @System
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-cuda-libs-3:530.41.03-1.fc37.i686
  - cannot install the best update candidate for package mesa-libGL-23.0.3-1.fc37.i686
  - cannot install the best update candidate for package cuda-runtime-12-1-12.1.0-1.x86_64
  - problem with installed package nvidia-persistenced-3:530.41.03-1.fc37.x86_64
  - package xorg-x11-drv-nvidia-cuda-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
 Problem 6: package cuda-12-1-12.1.0-1.x86_64 from @System requires cuda-runtime-12-1 >= 12.1.0, but none of the providers can be installed
  - package cuda-runtime-12-1-12.1.0-1.x86_64 from @System requires cuda-drivers >= 530.30.02, but none of the providers can be installed
  - package cuda-runtime-12-1-12.1.0-1.x86_64 from cuda-fedora37-12-1-local requires cuda-drivers >= 530.30.02, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-cuda-3:530.41.03-1.fc37.x86_64 from @System requires nvidia-kmod >= 3:530.41.03, but none of the providers can be installed
  - package kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64 from @System requires nvidia-kmod-common >= 3:530.41.03, but none of the providers can be installed
  - package kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64 from @System requires nvidia-kmod-common >= 3:530.41.03, but none of the providers can be installed
  - package cuda-drivers-530.30.02-1.x86_64 from cuda-fedora37-12-1-local requires nvidia-driver-cuda >= 3:530.30.02, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System requires libnvidia-glcore.so.530.41.03()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System requires libnvidia-tls.so.530.41.03()(64bit), but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 from @System requires xorg-x11-drv-nvidia-libs(x86-64) = 3:530.41.03-1.fc37, but none of the providers can be installed
  - package nvidia-driver-cuda-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local requires nvidia-persistenced = 3:530.30.02, but none of the providers can be installed
  - package kmod-nvidia-3:535.54.03-1.fc37.x86_64 from rpmfusion-nonfree-updates requires akmod-nvidia = 3:535.54.03-1.fc37, but none of the providers can be installed
  - package nvidia-driver-libs-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local conflicts with xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:530.41.03-1.fc37.x86_64 from @System
  - package nvidia-driver-libs-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local obsoletes xorg-x11-drv-nvidia-libs provided by xorg-x11-drv-nvidia-libs-3:530.41.03-1.fc37.x86_64 from @System
  - cannot install both nvidia-persistenced-3:530.30.02-1.fc37.x86_64 from cuda-fedora37-12-1-local and nvidia-persistenced-3:530.41.03-1.fc37.x86_64 from @System
  - package akmod-nvidia-3:535.54.03-1.fc37.x86_64 from rpmfusion-nonfree-updates requires nvidia-kmod-common >= 3:535.54.03, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-libs-3:530.41.03-1.fc37.x86_64
  - cannot install the best update candidate for package nvidia-persistenced-3:530.41.03-1.fc37.x86_64
  - cannot install the best update candidate for package cuda-12-1-12.1.0-1.x86_64
  - package xorg-x11-drv-nvidia-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
  - package xorg-x11-drv-nvidia-cuda-3:535.54.03-2.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering
===================================================================================================================================================================================
 Package                                             Architecture                 Version                                    Repository                                       Size
===================================================================================================================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 nvidia-driver                                       x86_64                       3:530.30.02-1.fc37                         cuda-fedora37-12-1-local                         42 M
 nvidia-driver-libs                                  i686                         3:530.30.02-1.fc37                         cuda-fedora37-12-1-local                         29 M
 nvidia-driver-libs                                  x86_64                       3:530.30.02-1.fc37                         cuda-fedora37-12-1-local                        186 M
 nvidia-persistenced                                 x86_64                       3:530.30.02-1.fc37                         cuda-fedora37-12-1-local                         33 k
 xorg-x11-drv-nvidia-cuda-libs                       i686                         3:535.54.03-2.fc37                         rpmfusion-nonfree-updates                        40 M
 xorg-x11-drv-nvidia-cuda-libs                       x86_64                       3:535.54.03-2.fc37                         rpmfusion-nonfree-updates                        40 M
Skipping packages with broken dependencies:
 akmod-nvidia                                        x86_64                       3:535.54.03-1.fc37                         rpmfusion-nonfree-updates                        40 k
 cuda-drivers                                        x86_64                       530.30.02-1                                cuda-fedora37-12-1-local                        8.1 k
 kmod-nvidia                                         x86_64                       3:535.54.03-1.fc37                         rpmfusion-nonfree-updates                        11 k
 nvidia-driver-cuda                                  x86_64                       3:530.30.02-1.fc37                         cuda-fedora37-12-1-local                        483 k

Transaction Summary
===================================================================================================================================================================================
Skip  10 Packages

Nothing to do.
Complete!

Sorry if this is a lengthy post, if i’ve posted incorrectly or in a format that could have made this post easier to read, please do let me know. Anyways, how can I fix this issue simply?

Did you setup modular stuff?
I did not need modular with the rpmfusion nvidia drivers.
Can you undo whatever you did?

As of right now, it seems I have been able to fix the problem. A discussion in another post found a solution that had also fixed my problem: Akmod-Nvidia conflicting peer dependencies

It seems my games are still lagging terribly though. Would I have to reboot my system or run another command to make sure that the closed source drivers are actually working?

Wait, it does not seem to have fixed anything. Alright i’m not too sure where to go from here.

Check which driver is loaded for your gpu. Is it nvidia or neuvous?
lsmod will tell you. If it is neuvous then akmod did not build the nvidia driver
And you will need to fix that.

Module                  Size  Used by
tls                   151552  0
snd_seq_dummy          16384  0
snd_hrtimer            16384  1
xt_CHECKSUM            16384  1
xt_MASQUERADE          20480  3
xt_conntrack           16384  1
ipt_REJECT             16384  2
nf_nat_tftp            16384  0
nf_conntrack_tftp      20480  3 nf_nat_tftp
bridge                442368  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
nouveau              3420160  98
mxm_wmi                16384  1 nouveau
video                  73728  1 nouveau
i2c_algo_bit           20480  1 nouveau
drm_ttm_helper         16384  1 nouveau
ttm                   102400  2 drm_ttm_helper,nouveau
drm_display_helper    208896  1 nouveau
cec                    86016  1 drm_display_helper
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  7
nf_reject_ipv4         16384  2 nft_reject_inet,ipt_REJECT
nf_reject_ipv6         24576  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 24576  20
nft_chain_nat          16384  3
ip6table_nat           16384  1
ip6table_mangle        16384  1
ip6table_raw           16384  0
ip6table_security      16384  0
iptable_nat            16384  1
nf_nat                 65536  5 ip6table_nat,nf_nat_tftp,nft_chain_nat,iptable_nat,xt_MASQUERADE
nf_conntrack          192512  6 xt_conntrack,nf_nat,nf_conntrack_tftp,nft_ct,nf_nat_tftp,xt_MASQUERADE
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
iptable_mangle         16384  1
iptable_raw            16384  0
iptable_security       16384  0
ip_set                 65536  0
nf_tables             356352  304 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nfnetlink              20480  3 nf_tables,ip_set
rfkill                 40960  3
ip6table_filter        16384  1
ip6_tables             40960  5 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security
iptable_filter         16384  1
ip_tables              40960  5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
qrtr                   57344  4
sunrpc                815104  1
binfmt_misc            28672  1
vfat                   24576  1
fat                   102400  1 vfat
snd_hda_codec_realtek   192512  1
snd_hda_codec_generic   114688  1 snd_hda_codec_realtek
ledtrig_audio          16384  1 snd_hda_codec_generic
snd_hda_codec_hdmi     94208  1
snd_hda_intel          65536  4
snd_intel_dspcfg       36864  1 snd_hda_intel
snd_intel_sdw_acpi     20480  1 snd_intel_dspcfg
snd_hda_codec         217088  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
squashfs               86016  4
intel_rapl_msr         20480  0
snd_hda_core          139264  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
intel_rapl_common      36864  1 intel_rapl_msr
snd_hwdep              20480  1 snd_hda_codec
ucsi_ccg               32768  0
edac_mce_amd           57344  0
snd_seq               106496  7 snd_seq_dummy
typec_ucsi             65536  1 ucsi_ccg
ppdev                  24576  0
snd_seq_device         16384  1 snd_seq
typec                 110592  1 typec_ucsi
joydev                 28672  0
snd_pcm               184320  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
kvm                  1327104  0
snd_timer              53248  3 snd_seq,snd_hrtimer,snd_pcm
irqbypass              16384  1 kvm
rapl                   24576  0
snd                   143360  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
wmi_bmof               16384  0
i2c_nvidia_gpu         16384  0
pcspkr                 16384  0
soundcore              16384  1 snd
k10temp                16384  0
parport_pc             49152  0
i2c_piix4              36864  0
parport                81920  2 parport_pc,ppdev
gpio_amdpt             20480  0
gpio_generic           20480  1 gpio_amdpt
acpi_cpufreq           32768  0
loop                   40960  8
zram                   32768  2
dm_crypt               65536  1
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
nvme                   65536  3
crc32c_intel           24576  3
polyval_clmulni        16384  0
polyval_generic        16384  1 polyval_clmulni
nvme_core             225280  4 nvme
ccp                   143360  0
ghash_clmulni_intel    16384  0
r8169                 114688  0
sha512_ssse3           49152  0
sp5100_tco             20480  0
nvme_common            24576  1 nvme_core
wmi                    45056  4 video,wmi_bmof,mxm_wmi,nouveau
scsi_dh_rdac           20480  0
scsi_dh_emc            16384  0
scsi_dh_alua           28672  0
fuse                  212992  7
dm_multipath           49152  0

I’m not sure, but according to the output, Nouveau is being used by 98 programs (i’m assuming it means programs) & the i2c_nvidia_gpu is being used by 0

That means one of two rhongs.

  1. you do not have nvidia drivers built for your current kernel.
  2. you have secure boot enabled, but you are not signing the nvidia drivers.

If 1 the us akmod to force a build of the drivers (sorry forget the exact command ),
If 2 either turn off secure boot in the bios or read the rpmfusion nvidia docs on signing the driver.

It seems the most common cause of that problem has been installing cuda packages from the fedora-cuda repos.

Please post the output of dnf repolist and dnf module list active so we can make suggestions.

If the second shows that the module nvidia-driver is enabled then one would need to run dnf module disable nvidia-driver to disable it. Once that is done then the conflicts should disappear.

dnf repolist showed:

repo id                                                                            repo name
balena-etcher                                                                      balena-etcher
balena-etcher-noarch                                                               balena-etcher-noarch
balena-etcher-source                                                               balena-etcher-source
brave-browser-rpm-release.s3.brave.com_x86_64_                                     created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/
code                                                                               Visual Studio Code
copr:copr.fedorainfracloud.org:lkiesow:g810-led                                    Copr repo for g810-led owned by lkiesow
crystal                                                                            Crystal (Fedora_37)
cuda-fedora37-12-1-local                                                           cuda-fedora37-12-1-local
fedora                                                                             Fedora 37 - x86_64
fedora-cisco-openh264                                                              Fedora 37 openh264 (From Cisco) - x86_64
fedora-modular                                                                     Fedora Modular 37 - x86_64
protonvpn-fedora-stable                                                            ProtonVPN Fedora Stable repository
rpmfusion-free                                                                     RPM Fusion for Fedora 37 - Free
rpmfusion-free-updates                                                             RPM Fusion for Fedora 37 - Free - Updates
rpmfusion-nonfree                                                                  RPM Fusion for Fedora 37 - Nonfree
rpmfusion-nonfree-updates                                                          RPM Fusion for Fedora 37 - Nonfree - Updates
updates                                                                            Fedora 37 - x86_64 - Updates
updates-modular                                                                    Fedora Modular 37 - x86_64 - Updates

dnf module list active showed:

Copr repo for g810-led owned by lkiesow                                                                                                                                        1.8 kB/s | 2.4 kB     00:01    
balena-etcher                                                                                                                                                                  0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'balena-etcher':
  - Status code: 402 for https://dl.cloudsmith.io/public/balena/etcher/rpm/fedora/37/x86_64/repodata/repomd.xml (IP: 2600:9000:246a:7e00:e:f4d2:20c0:93a1)
Error: Failed to download metadata for repo 'balena-etcher': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
balena-etcher-noarch                                                                                                                                                           0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'balena-etcher-noarch':
  - Status code: 402 for https://dl.cloudsmith.io/public/balena/etcher/rpm/fedora/37/noarch/repodata/repomd.xml (IP: 2600:9000:246a:5600:e:f4d2:20c0:93a1)
Error: Failed to download metadata for repo 'balena-etcher-noarch': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
balena-etcher-source                                                                                                                                                           0.0  B/s |   0  B     00:00    
Errors during downloading metadata for repository 'balena-etcher-source':
  - Status code: 402 for https://dl.cloudsmith.io/public/balena/etcher/rpm/fedora/37/SRPMS/repodata/repomd.xml (IP: 2600:9000:246a:2c00:e:f4d2:20c0:93a1)
Error: Failed to download metadata for repo 'balena-etcher-source': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
created by dnf config-manager from https://brave-browser-rpm-release.s3.brave.com/x86_64/                                                                                       17 kB/s | 7.5 kB     00:00    
Crystal (Fedora_37)                                                                                                                                                             41 kB/s | 156 kB     00:03    
cuda-fedora37-12-1-local                                                                                                                                                        24 MB/s |  94 kB     00:00    
determining the fastest mirror (18 hosts).. done.                                        [                                                      ===                          ] ---  B/s |   0  B     --:-- ETA
Fedora 37 - x86_64                                                                                                                                                             5.2 MB/s |  82 MB     00:15    
Fedora 37 openh264 (From Cisco) - x86_64                                                                                                                                       1.3 kB/s | 2.5 kB     00:01    
Fedora Modular 37 - x86_64                                                                                                                                                     2.9 MB/s | 3.8 MB     00:01    
Fedora 37 - x86_64 - Updates                                                                                                                                                   5.5 MB/s |  38 MB     00:06    
Fedora Modular 37 - x86_64 - Updates                                                                                                                                           2.6 MB/s | 2.9 MB     00:01    
ProtonVPN Fedora Stable repository                                                                                                                                             262  B/s | 659  B     00:02    
ProtonVPN Fedora Stable repository                                                                                                                                             4.8 kB/s | 2.4 kB     00:00    
Importing GPG key 0x645F044F:
 Userid     : "Proton Technologies AG <opensource@proton.me>"
 Fingerprint: 6A55 7192 8D22 22D8 3BC7 456E 4EDE 055B 645F 044F
 From       : https://repo.protonvpn.com/fedora-37-stable/public_key.asc
Is this ok [y/N]: y
ProtonVPN Fedora Stable repository                                                                                                                                             4.9 kB/s |  18 kB     00:03    
determining the fastest mirror (59 hosts).. done.                                        [                                 ===                                               ] ---  B/s |   0  B     --:-- ETA
RPM Fusion for Fedora 37 - Free                                                                                                                                                138 kB/s | 683 kB     00:04    
RPM Fusion for Fedora 37 - Free - Updates                                                                                                                                      254 kB/s | 426 kB     00:01    
determining the fastest mirror (21 hosts).. done.                                        [                                                      ===                          ] ---  B/s |   0  B     --:-- ETA
RPM Fusion for Fedora 37 - Nonfree                                                                                                                                             105 kB/s | 248 kB     00:02    
RPM Fusion for Fedora 37 - Nonfree - Updates                                                                                                                                    76 kB/s |  99 kB     00:01    
Visual Studio Code                                                                                                                                                             5.0 MB/s |  36 MB     00:07    
Ignoring repositories: balena-etcher, balena-etcher-noarch, balena-etcher-source
Error: No matching Modules to list

I also have a problem with Balena Etcher when it comes to its repository, but currently i don’t think that’s too important to fix right now.

That appears to show no nvidia-driver module installed, but the cuda-fedora37-12-1-local repo is troubling.
I would suggest that you disable that repo with
sudo dnf config-manager --disable cuda-fedora*.

Additionally I see a lot of errors related to packages installed from that repo.
nvidia-driver, nvidia-driver-libs, kmod-nvidia*, cuda-runtime, cuda-drivers, nvidia-driver-cuda Those are all conflicting with attempts to install packages from rpmfusion.

I would suggest removing all those noted packages, then verify the remaining nvidia packages with dnf list installed '*nvidia*'. Please post that output here.

sudo dnf config-manager --disable cuda-fedora gave:

Error: No matching repo to modify: cuda-fedora.

sudo dnf remove nvidia-driver gave:

No match for argument: nvidia-driver
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf remove nvidia-driver-libs gave:

No match for argument: nvidia-driver-libs
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf remove kmod-nvidia gave:

Dependencies resolved.
===============================================================================================================================================================================================================
 Package                                                           Architecture                          Version                                            Repository                                    Size
===============================================================================================================================================================================================================
Removing:
 kmod-nvidia-6.3.12-100.fc37.x86_64                                x86_64                                3:535.54.03-1.fc37                                 @@commandline                                 43 M
 kmod-nvidia-6.3.7-100.fc37.x86_64                                 x86_64                                3:530.41.03-1.fc37                                 @@commandline                                 43 M
 kmod-nvidia-6.3.8-100.fc37.x86_64                                 x86_64                                3:530.41.03-1.fc37                                 @@commandline                                 43 M

Transaction Summary
===============================================================================================================================================================================================================
Remove  3 Packages

Freed space: 129 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                       1/1 
  Erasing          : kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64                                                                                                                           1/3 
  Running scriptlet: kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64                                                                                                                           1/3 
  Erasing          : kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64                                                                                                                           2/3 
  Running scriptlet: kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64                                                                                                                           2/3 
  Erasing          : kmod-nvidia-6.3.12-100.fc37.x86_64-3:535.54.03-1.fc37.x86_64                                                                                                                          3/3 
  Running scriptlet: kmod-nvidia-6.3.12-100.fc37.x86_64-3:535.54.03-1.fc37.x86_64                                                                                                                          3/3 
  Verifying        : kmod-nvidia-6.3.12-100.fc37.x86_64-3:535.54.03-1.fc37.x86_64                                                                                                                          1/3 
  Verifying        : kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64                                                                                                                           2/3 
  Verifying        : kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64                                                                                                                           3/3 

Removed:
  kmod-nvidia-6.3.12-100.fc37.x86_64-3:535.54.03-1.fc37.x86_64         kmod-nvidia-6.3.7-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64         kmod-nvidia-6.3.8-100.fc37.x86_64-3:530.41.03-1.fc37.x86_64        

Complete!

sudo dnf remove cuda-runtime gave:

No match for argument: cuda-runtime
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf remove cuda-drivers gave:

No match for argument: cuda-drivers
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf remove nvidia-driver-cuda gave:

No match for argument: nvidia-driver-cuda
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

sudo dnf list installed ‘nvidia gave:

Installed Packages
akmod-nvidia.x86_64                                                                                3:535.54.03-1.fc37                                                                @rpmfusion-nonfree-updates
nvidia-gpu-firmware.noarch                                                                         20230625-151.fc37                                                                 @updates                  
nvidia-settings.x86_64                                                                             3:535.54.03-1.fc37                                                                @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia.x86_64                                                                         3:535.54.03-2.fc37                                                                @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-cuda-libs.x86_64                                                               3:535.54.03-2.fc37                                                                @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-kmodsrc.x86_64                                                                 3:535.54.03-2.fc37                                                                @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.i686                                                                      3:535.54.03-2.fc37                                                                @rpmfusion-nonfree-updates
xorg-x11-drv-nvidia-libs.x86_64                                                                    3:535.54.03-2.fc37                                                                @rpmfusion-nonfree-updates

If you look carefully at my post that was
sudo dnf config-manager --disable cuda-fedora*

Now I suggest you add the following
sudo dnf install xorg-x11-drv-nvidia-cuda
and
sudo dnf reinstall akmod-nvidia which should properly build the kmod-nvidia package for the currently running kernel.

I ran sudo dnf config-manager --disable cuda-fedora* this time around. Then I ran sudo dnf reinstall akmod-nvidia and that gave me:

Last metadata expiration check: 0:00:32 ago on Mon 24 Jul 2023 11:25:03.
All matches were filtered out by modular filtering for argument: xorg-x11-drv-nvidia-cuda
Error: Unable to find a match: xorg-x11-drv-nvidia-cuda

I then ran sudo dnf reinstall akmod-nvidia and that gave me:

Last metadata expiration check: 0:00:51 ago on Mon 24 Jul 2023 11:25:03.
Dependencies resolved.
===============================================================================================================================================================================================================
 Package                                       Architecture                            Version                                                Repository                                                  Size
===============================================================================================================================================================================================================
Reinstalling:
 akmod-nvidia                                  x86_64                                  3:535.54.03-1.fc37                                     rpmfusion-nonfree-updates                                   40 k

Transaction Summary
===============================================================================================================================================================================================================

Total download size: 40 k
Installed size: 88 k
Is this ok [y/N]: y
Downloading Packages:
akmod-nvidia-535.54.03-1.fc37.x86_64.rpm                                                                                                                                       107 kB/s |  40 kB     00:00    
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                                                           15 kB/s |  40 kB     00:02     
Running transaction check
Waiting for process with pid 36249 to finish.
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                                                       1/1 
  Reinstalling     : akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                1/2 
  Running scriptlet: akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                1/2 
  Cleanup          : akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                2/2 
  Running scriptlet: akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                2/2 
  Verifying        : akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                1/2 
  Verifying        : akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                2/2 

Reinstalled:
  akmod-nvidia-3:535.54.03-1.fc37.x86_64                                                                                                                                                                       

Complete!

Ok, then the issue is still something modular causing the error with the cuda install.

To see if there are still cuda packages installed please run dnf list installed '*cuda*' as well as checking the modular issue
From this thread I find that running the command
sudo dnf module disable nvidia-driver
will probably solve the issue. That also links to the instructions for installing cuda from rpmfusion.

Hi again, sorry it has been a while. Me and someone else have found the solution to fixing my problem. Would you want me to post as much as I can on how I went around fixing this problem in this current thread?

It is always advisable for one to post details about how the problem has been solved and mark any post containing the answer as the solution so others that are searching may find answers on how to solve their own problems.

Hi Jeff. I’m getting the modular conflicts after the latest upgrade of my f37 os:
eg
- package nvidia-settings-3:535.104.05-1.fc37.x86_64 from cuda-fedora37-x86_64 is filtered out by modular filtering
- package nvidia-settings-3:535.104.05-1.fc37.x86_64 from rpmfusion-nonfree-nvidia-driver is filtered out by modular filtering
- package nvidia-settings-3:535.104.05-1.fc37.x86_64 from rpmfusion-nonfree-updates is filtered out by modular filtering

My repolist
cuda-fedora37-x86_64 cuda-fedora37-x86_64
eos eos
eos_eos eos_eos
eos_eos-source eos_eos-source
fedora Fedora 37 - x86_64
fedora-cisco-openh264 Fedora 37 openh264 (From Cisco) - x86_64
fedora-modular Fedora Modular 37 - x86_64
packages-microsoft-com-prod packages-microsoft-com-prod
phracek-PyCharm Copr repo for PyCharm owned by phracek
rpmfusion-free RPM Fusion for Fedora 37 - Free
rpmfusion-free-updates RPM Fusion for Fedora 37 - Free - Updates
rpmfusion-nonfree RPM Fusion for Fedora 37 - Nonfree
rpmfusion-nonfree-nvidia-driver RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver
rpmfusion-nonfree-steam RPM Fusion for Fedora 37 - Nonfree - Steam
rpmfusion-nonfree-updates RPM Fusion for Fedora 37 - Nonfree - Updates
slack slack
teams teams
triumf-swdist TRIUMF Software Distribution
updates Fedora 37 - x86_64 - Updates
updates-modular Fedora Modular 37 - x86_64 - Updates

And the active module list

dnf module list active
Copr repo for gnome-info-collect owned by vstanek 838 B/s | 1.3 kB 00:01
Copr repo for PyCharm owned by phracek 28 kB/s | 45 kB 00:01
cernbox 5.6 kB/s | 37 kB 00:06
cuda-fedora37-x86_64 939 kB/s | 518 kB 00:00
eos 4.1 kB/s | 8.1 kB 00:01
eos_eos 314 B/s | 296 B 00:00
eos_eos-source 303 B/s | 296 B 00:00
Fedora 37 - x86_64 3.7 MB/s | 82 MB 00:22
Fedora 37 openh264 (From Cisco) - x86_64 1.6 kB/s | 2.5 kB 00:01
*Fedora Modular 37 - x86_64 2.2 MB/s | 3.8 MB 00:01 *
Fedora 37 - x86_64 - Updates 3.3 MB/s | 39 MB 00:11
Fedora Modular 37 - x86_64 - Updates 843 kB/s | 2.9 MB 00:03
packages-microsoft-com-prod 10 MB/s | 9.3 MB 00:00
RPM Fusion for Fedora 37 - Free 929 kB/s | 683 kB 00:00
RPM Fusion for Fedora 37 - Free - Updates 628 kB/s | 446 kB 00:00
RPM Fusion for Fedora 37 - Nonfree 361 kB/s | 248 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver 17 kB/s | 14 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Steam 1.2 kB/s | 2.1 kB 00:01
RPM Fusion for Fedora 37 - Nonfree - Updates 114 kB/s | 100 kB 00:00
slack 8.2 kB/s | 9.1 kB 00:01
teams 682 B/s | 257 B 00:00
TRIUMF Software Distribution

I assume that my conflicting sources are cuda-fedora37-x86_64 and RPMFusion.

Since my OS is still working, do you advise to wait until these conflicts are resolved, or is there a simple action I could take?

This is not a fedora or rpmfusion repo right? From nvidia directly?
If i am correct then you need to remove that repo and any rpms you installed from it. Cuda is in rpmfusion repos that you should use.

Indeed it is from NVIDIA - I checked the URL. disabling removed the conflict.

The cuda-fedoraXX repo does seem to always cause conflicts.

The cuda driver installed from rpmfusion as the xorg-x11-drv-nvidia-cuda has always seemed to me to provide the same functions so packages from the noted cuda repo have never been required on my system.