I have been trying without success to install rpm fusion nvidia drivers for a GeForce GT 1030, which would require either a akmod-nvidia-3:520.56.06-1.fc37.x86_64, or akmod-nvidia-3:530.41.03-1.fc37.x86_64. However if I sudo dnf search akmod-nvidia, I get only akmod-nvidia-340xx.x86_64, akmod-nvidia-390xx.x86_64 , akmod-nvidia-470xx.x86_64, which leads to nvidia-kmod-common >= 3:5xx.xx.xx, but none of the providers can be installed. And to futher complicate things I get package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64 is filtered out by modular filtering and package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 is filtered out by modular filtering. I donât even know what modular filtering is or how it would get into my system to begin with. Because of all this I have been using the Nvidia drivers available from nvidia.com. I have been with mostly good success the NVIDIA-Linux-x86_64-525.xxx.xx drivers until the kernel 6.2 came available and while the driver installs it no longer registers with DKMS, siting 'Failed to run `/usr/sbin/dkms install --no-depmod -m nvidia -v 525.xxx.xx sanity check errors.
I have all the rpmfusion-free and non-free repos as well as the rpmfusion-nonfree-nvidia-driver
I am at my wits end and hope someone can shed a small amount of light on this mess.
You can find out what modules are active with something like dnf module list --installed
Similar commands can be used to disable/remove the modular package that is interfering.
It seems the only issue you have is the modular conflict, and that seems caused by installing nvidia drivers from some source other than rpmfusion.
Installing the proper driver version is, as you indicated, done with a simple dnf install akmod-nvidia
which pulls in everything else needed as a dependency.
You will need to remove the drivers installed directly from nvidia.com before installing from rpmfusion to avoid possible conflicts.
Here is one thread with a similar issue
Hi, I eventually got akmod-nvidia installed, and when it did the following package was installed:
akmod-nvidia x86_64 3:520.56.06-1.fc37 rpmfusion-nonfree
And it seemed to work fine, the other day I did a dnf update and the following appeared:
Problem: package akmod-nvidia-3:530.41.03-1.fc37.x86_64 requires nvidia-kmod-common >= 3:530.41.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:530.41.03-1.fc37.x86_64 is filtered out by modular filtering
============================================================================
Package Architecture Version Repository Size
============================================================================
Skipping packages with broken dependencies:
akmod-nvidia x86_64 3:530.41.03-1.fc37 rpmfusion-nonfree-nvidia-driver 40 k
With some help from people on r/Fedora on reddit, it seemed somewhere along the way the following repository got enabled:
repo id repo name
cuda-fedora37-x86_64 cuda-fedora37-x86_64
and it was suggested to disable it as it was âmodularâ and was most likely the cause of the issue I was having with the update from akmod-nvidia-3:520.56.06-1.fc37. x86_64 to akmod-nvidia-3:530.41.03-1.fc37.x86_64. So I disabled the repository but the problem persists, after some further digging on my system I discovered the following packages are (of course), still installed from the disabled cuda-fedora37-x86.64 repository:
nvidia-driver.x86_64 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
nvidia-driver-libs.x86_64 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
nvidia-kmod-common.noarch 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
It would seem to me that I perhaps should uninstall these, but am fearful that it will totally break the installed akmod-nvidia that has taken so long to sort of get working. So I seek your guidance before I proceed and hopefully before the next kernel update which will probably fail with the disabling of that repository.
Looking at that list it seems you definitely should remove those packages. Before you do that please post the output of dnf list installed '*nvidia*'
so we know exactly what is already there and what changes need to be done.
Please use the preformatted text tags with the </>
button on the toolbar so it remains formatted as seen on screen.
Okay here you go, sorry about the formattingâŚ
dnf list installed '*nvidia*'
Installed Packages
akmod-nvidia.x86_64 3:520.56.06-1.fc37 @rpmfusion-nonfree
kmod-nvidia-latest-dkms.x86_64 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
nvidia-driver.x86_64 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
nvidia-driver-libs.x86_64 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
nvidia-gpu-firmware.noarch 20230404-149.fc37 @updates
nvidia-kmod-common.noarch 3:530.30.02-1.fc37 @cuda-fedora37-x86_64
nvidia-vaapi-driver.x86_64 0.0.9-1.fc37 @rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64 3:530.41.03-1.fc37 @rpmfusion-nonfree-nvidia-driver
With that list here is my suggestion.
- Remove the nvidia stuff except for the firmware.
dnf remove '*nvidia*' --exclude nvidia-gpu-firmware --noautoremove
- Reinstall from rpmfusion
dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
and look at the repos the packages are coming from before telling it yes. If not rpmfusion then do not install. - Wait at least 5 minutes after the install completes then use
dnf list installed 'kmod-nvidia-$(uname -r)*'
to confirm the modules are built and installed for the running kernel. If that does not return a response then wait longer or ask again here. - reboot (only if no errors in doing the above)
So I should do this from the current running XFCE session, (GUI)
It certainly should work when done within a terminal window.
Now I donât know if this because that cuda repository is disabled or if I missing something else
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda
download.vscodium.com 595 B/s | 866 B 00:01
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
Something else was missed.
What is the return on dnf list installed | grep cuda
and dnf repolist
Nothing
The repolist?
sudo dnf repolist --enabled
repo id repo name
code Visual Studio Code
copr:copr.fedorainfracloud.org:nr0q:GridTracker Copr repo for GridTracker owned by nr0q
fedora Fedora 37 - x86_64
fedora-cisco-openh264 Fedora 37 openh264 (From Cisco) - x86_64
gitlab.com_paulcarroty_vscodium_repo download.vscodium.com
google-chrome google-chrome
google-chrome-unstable google-chrome-unstable
repo.nordvpn.com_yum_nordvpn_centos_x86_64 created by dnf config-manager from https://repo.nordvpn.com//yum/nordvpn/centos/x86_64
rpmfusion-free RPM Fusion for Fedora 37 - Free
rpmfusion-free-tainted RPM Fusion for Fedora 37 - Free tainted
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-tainted RPM Fusion for Fedora 37 - Nonfree tainted
rpmfusion-nonfree-updates RPM Fusion for Fedora 37 - Nonfree - Updates
updates Fedora 37 - x86_64 - Updates
Try just the drivers without cuda dnf install akmod-nvidia
sudo dnf install akmod-nvidia
Last metadata expiration check: 0:16:01 ago on Sun 30 Apr 2023 04:58:09 PM.
Error:
Problem: conflicting requests
- package akmod-nvidia-3:520.56.06-1.fc37.x86_64 requires nvidia-kmod-common >= 3:520.56.06, but none of the providers can be installed
- package akmod-nvidia-3:530.41.03-1.fc37.x86_64 requires nvidia-kmod-common >= 3:530.41.03, but none of the providers can be installed
- package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64 is filtered out by modular filtering
- package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)
Should I try --alloweraseing?
no.
we need to figure out the modular part first.
Try dnf install akmod-nvidia --disablerepo '*' --enablerepo 'rpmfusion*'
so it only tries to install from the rpmfusion repo.
If that does not work we will dig into the modular issue deeper.
Well here is the grim news
sudo dnf install akmod-nvidia --disablerepo '*' --enablerepo 'rpmfusion*'
RPM Fusion for Fedora 37 - Free - Debug 641 kB/s | 785 kB 00:01
RPM Fusion for Fedora 37 - Free - Source 121 kB/s | 112 kB 00:00
RPM Fusion for Fedora 37 - Free tainted - Debug 2.1 kB/s | 1.4 kB 00:00
RPM Fusion for Fedora 37 - Free tainted - Source 1.2 kB/s | 1.0 kB 00:00
RPM Fusion for Fedora 37 - Free - Updates Debug 376 kB/s | 520 kB 00:01
RPM Fusion for Fedora 37 - Free - Updates Source 39 kB/s | 38 kB 00:00
RPM Fusion for Fedora 37 - Free - Test Updates 105 kB/s | 89 kB 00:00
RPM Fusion for Fedora 37 - Free - Test Updates Debug 45 kB/s | 33 kB 00:00
RPM Fusion for Fedora 37 - Free - Test Updates Source 5.9 kB/s | 5.4 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Debug 153 kB/s | 134 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Source 53 kB/s | 49 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver Debug 8.7 kB/s | 5.0 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - NVIDIA Driver Source 5.3 kB/s | 3.9 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Steam 3.1 kB/s | 2.2 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Steam Debug 142 B/s | 257 B 00:01
RPM Fusion for Fedora 37 - Nonfree - Steam Source 2.0 kB/s | 1.1 kB 00:00
RPM Fusion for Fedora 37 - Nonfree tainted - Debug 575 B/s | 257 B 00:00
RPM Fusion for Fedora 37 - Nonfree tainted - Source 1.7 kB/s | 2.1 kB 00:01
RPM Fusion for Fedora 37 - Nonfree - Updates Debug 54 kB/s | 43 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Updates Source 20 kB/s | 14 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Test Updates 2.7 kB/s | 1.2 kB 00:00
RPM Fusion for Fedora 37 - Nonfree - Test Updates Debug 414 B/s | 257 B 00:00
RPM Fusion for Fedora 37 - Nonfree - Test Updates Source 320 B/s | 257 B 00:00
Error:
Problem: conflicting requests
- package akmod-nvidia-3:520.56.06-1.fc37.x86_64 requires nvidia-kmod-common >= 3:520.56.06, but none of the providers can be installed
- package akmod-nvidia-3:530.41.03-1.fc37.x86_64 requires nvidia-kmod-common >= 3:530.41.03, but none of the providers can be installed
- package xorg-x11-drv-nvidia-3:520.56.06-1.fc37.x86_64 is filtered out by modular filtering
- package xorg-x11-drv-nvidia-3:530.41.03-1.fc37.x86_64 is filtered out by modular filtering
(try to add '--skip-broken' to skip uninstallable packages)
That is what I expected.
Try dnf list modular --all
or dnf list modular --installed
sudo dnf list modular --all
Last metadata expiration check: 0:27:27 ago on Sun 30 Apr 2023 04:58:09 PM.
Error: No matching Packages to list
sudo dnf list modular --installed
Error: No matching Packages to list
dnf list modular --recent