Nvidia drivers "23 May 2025" not working on Fedora

It may just be the old “the drivers are broken for 2 days, then the RPM Fusion people will fix it”, but it’s still a bother.

I made a post here to 1 sanity check myself with someone which may have more knowledge, and 2 remind people that you can downgrade the Nvidia drivers via RPM Fusion (it seems that it’s not as straight-forwards as I thought, because just now when I took a look for a source and I read it better, they all cite Xorg, and some if not most of us are on Wayalnd now…).

.

DO NOT TRY TO INSTALL NVIDIA DRIVERS FROM THEIR WEBSITE!!! IT’S A MESS SO BIG IT’S LITERALLY MORE CONVENIENT TO RE-INSTALL THE WHOLE OPERATING SYSTEM!!!

.

.

Safe to say that I won’t update the drivers on my main RTX 2070 PC until the drivers on my GT 1030 PC (still supported btw) don’t start working again.
THANK JOD I didn’t upgrade on my main PC first!

They work fine here.

$ inxi -GSMx
System:
  Host: leigh-pc Kernel: 6.15.0-0.rc6.49.fc43.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 15.1.1
  Desktop: Cinnamon v: 6.4.9 Distro: Fedora Linux 42 (Cinnamon)
Machine:
  Type: Desktop System: CCL s product: Customised AMD Zen Bundles Motherboard
    Bundle v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 5602
    date: 01/13/2025
Graphics:
  Device-1: NVIDIA GA107 [GeForce RTX 3050 6GB] vendor: Gigabyte
    driver: nvidia v: 570.153.02 arch: Ampere bus-ID: 01:00.0
  Display: x11 server: X.Org v: 21.1.16 with: Xwayland v: 24.1.6 driver: X:
    loaded: nvidia unloaded: modesetting,nouveau gpu: nvidia,nvidia-nvswitch
    resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.153.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3050/PCIe/SSE2
  API: Vulkan v: 1.4.313 drivers: nvidia,llvmpipe surfaces: N/A devices: 3
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi wl: wayland-info x11: xdriinfo, xdpyinfo,
    xprop, xrandr
1 Like

The driver update also works fine on walyand.

$ inxi -GSMx
System:
  Host: leigh-pc Kernel: 6.15.0-0.rc6.49.fc43.x86_64 arch: x86_64 bits: 64
    compiler: gcc v: 15.1.1
  Desktop: GNOME v: 48.1 Distro: Fedora Linux 42 (Cinnamon)
Machine:
  Type: Desktop System: CCL s product: Customised AMD Zen Bundles Motherboard
    Bundle v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG STRIX B450-F GAMING v: Rev 1.xx
    serial: <superuser required> UEFI: American Megatrends v: 5602
    date: 01/13/2025
Graphics:
  Device-1: NVIDIA GA107 [GeForce RTX 3050 6GB] vendor: Gigabyte
    driver: nvidia v: 570.153.02 arch: Ampere bus-ID: 01:00.0
  Display: wayland server: X.org v: 1.21.1.16 with: Xwayland v: 24.1.6
    compositor: gnome-shell driver: X: loaded: nvidia
    unloaded: modesetting,nouveau gpu: nvidia,nvidia-nvswitch
    resolution: 3840x2160~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms:
    active: gbm,wayland,x11,surfaceless,device inactive: N/A
  API: OpenGL v: 4.6.0 vendor: nvidia v: 570.153.02 glx-v: 1.4
    direct-render: yes renderer: NVIDIA GeForce RTX 3050/PCIe/SSE2
  API: Vulkan v: 1.4.313 drivers: nvidia,llvmpipe surfaces: N/A devices: 3
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi wl: wayland-info x11: xdriinfo, xdpyinfo,
    xprop, xrandr

1 Like

At the beginning of the italian night of the 23rd of May (yesterday) I updated the GT 1030 PC.

No matter what version of the Kernel I then selected to start it, the PC would take A LONG time in the “white glitch” page because it was struggling to render with Vulkan Software mode.

Today, the 24th, around 10:00, I tried out the PC again before going to sleep to have some peace of mind (coupla’ rough days) and “it just works now”.

In this very moment I just updated my main RTX 2070 PC and now I am about to restart it.

.

.

I just want to know one last thing tho.

Both because I want to know, and for the sake to “just have the actual information somewhere”, could someone please post down here the possible Magic Incantations Linux needs to either uninstall or roll back Nvidia drivers, both for Wayland and fort Xorg (if they are different)?

RPMFusion gives these steps to reverse what the nVidia installer does:

rm -f /usr/lib{,64}/libGL.so.* /usr/lib{,64}/libEGL.so.*
rm -f /usr/lib{,64}/xorg/modules/extensions/libglx.so
dnf reinstall -y xorg-x11-server-Xorg mesa* libglvnd*
mv /etc/X11/xorg.conf /etc/X11/xorg.conf.saved

Despite the xorg and x11 in the package names, it should be the same for X11 and Wayland (there aren’t separate drivers for Wayland).

The xorg libs are in a separate xorg-x11-drv-nvidia-xorg-libs

It automatically gets install if X server is already installed

$ rpm -qR xorg-x11-drv-nvidia |grep xorg-x11-server-Xorg
(xorg-x11-drv-nvidia-xorg-libs(x86-64) = 3:570.153.02-1.fc42 if xorg-x11-server-Xorg(x86-64))
1 Like

There is only one nvidia version per repo, if the one in updates fails you can downgrade to the version in the base repo (unlikely to work with newer kernels).

rpmfusion-nonfree = base repo
rpmfusion-nonfree-updates = updates repo

The RPMFusion HowTo has instructions to switch between Nvidia and nouveau drivers. This has allowed me to use nouveau while waiting for fixes to Nvidia.

Doesn’t effect me

Yeah, it’s probably because you didn’t update on that day.
These things, altho VERY annoying, tend to “solve themselves” (be solved by their teams) 2 to 3 days after they happen.

Still, I’d rather them not release the update if it’s not sure it’ll work.
I’m lucky that for now I had no work to do on any of my machines, but others can easily suffer from this.

I test all the drivers on my hardware (rtx 3050) before releasing them to testing repo.
They are tested to work on cinnamon and gnome on xorg and wayland.
It’s the users fault if they don’t test the updates in testing, there were no reported issues whilst it was in testing repo.

I am not talking about any one developer in particular.

This issue is also worsened by the fact that on Windows it’s easier and more intuitive to just re-install a previous driver.

Thanks for

, but it’s still not as easy as on Windows.

.

.

End Users are under no obligation of “putting in the work” for a machine which should be subservient to them.
I am “a middle man”, even if I had less free time I’d still come here and other sites alike to talk about hardware and software, but even just my brothers, my parents, my granparents, my cousins and so on, they don’t care. They’d sooner install Windows 11 if anything which doesn’t solve itself IF it’s not intuitive comes to be.

Normal people (the average, the majority) spend €200 in a computer shop to make them clean the dust.

This is why, with Linux Distros aimed for End Users, some things should either be VERY intuitive to do, or have a proper instructions set well detailed and easy to find.

Windows doesn’t need to work around Nvidia’s restrictions that prevent Fedora from providing binary packages. Microsoft and hardware vendors have much wider range of hardware test systems and testers than linux distros, so users who rely on any but the most widely used Nvidia gear should contribute to the community by testing pre-release packages.

Part of testing is having a procedure (like fallback to nouveau) when a testing package fails.

Economists have the concept of “free-riders”: those who expect benefits but don’t contribute time, effort, or money needed to to maintain the service levels they expect.

Yes, it isn’t fair, but consider this:

To an end user, they don’t care if it isn’t fair. It’s sad but true, Linux devs must be as salmons are to their birthing river to what Nvidia drivers are compared to Windows.

X

I already contribute A LOT for a person who is not actively working on Fedora.
No hate or insults towards ANY developer, but to expect more than what people like me already bring is kind of unrealistic.

.

Also

“Nouveau” didn’t kick in, it started rendering with the CPU.
Same issue the Kaveri iGPU has had for the last Mesa updates.

.

Now I am gonna let my aspergher kick in and I am going to ask you this directly:

“Why see my report as an attack on Linux, with hate or slander, instead of a simple report and a list of facts?”
“I understand that expressing oneself poorly WILL make it come across as an insult or an attack, therefore I pay active and constant attention to how I express myself.”
“I have and had no idea what which user here does or does not work on the Nvidia drivers for RPM Fusion, I have not read anyone’s profile bio, and still regardless of that I have not tried to talk behind anyone’s back.”
“Could we cut it out with the infighting and just say what a peculiar error which has happened on this user’s computer, it may be because of something with RPM Fusion and Fedora KDE or something….”

I am also currently struggling with this May NVIDIA drivers update, here’s my analysis so far…

Disclaimer: I manually translated some commands output messages from my language to English, so it is possible that you might not find the exact same words in your own output.

I have an ASUS VivoBook X510UR Laptop with an NVIDIA GeForce 930MX card.
The previous drivers worker perfectly, these were my previous packages…

$ sudo dnf list --installed \*nvidia\*
Installed packages
akmod-nvidia.x86_64                       3:570.133.07-1.fc42 rpmfusion-nonfree
kmod-nvidia-6.14.6-300.fc42.x86_64.x86_64 3:570.133.07-1.fc42 @commandline
nvidia-modprobe.x86_64                    3:570.133.07-1.fc42 rpmfusion-nonfree
nvidia-settings.x86_64                    3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia.x86_64                3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.i686             3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia-libs.x86_64           3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia-power.x86_64          3:570.133.07-1.fc42 rpmfusion-nonfree
xorg-x11-drv-nvidia-xorg-libs.x86_64      3:570.133.07-1.fc42 rpmfusion-nonfree

DNF reports the May NVIDIA drivers upgrade…
I have manually enabled the rpmfusion-nonfree-nvidia-driver repo, but these exact same updates come even from the rpmfusion-nonfree-updates repo as well

$ sudo dnf upgrade
Updating and loading repositories:
Loaded repositories.
Package                                              Arch       Version                                               Repository                                   Size
Upgrading:
 akmod-nvidia                                        x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                       149.7 MiB
   replacing akmod-nvidia                            x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                        92.2 KiB
 nvidia-modprobe                                     x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                        50.9 KiB
   replacing nvidia-modprobe                         x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                        50.9 KiB
 nvidia-settings                                     x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                         1.5 MiB
   replacing nvidia-settings                         x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                         4.4 MiB
 xorg-x11-drv-nvidia                                 x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         190.7 MiB
   replacing xorg-x11-drv-nvidia                     x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                       190.5 MiB
 xorg-x11-drv-nvidia-cuda-libs                       x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         273.5 MiB
   replacing xorg-x11-drv-nvidia-cuda-libs           x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                       273.5 MiB
 xorg-x11-drv-nvidia-kmodsrc                         x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          75.7 MiB
   replacing xorg-x11-drv-nvidia-kmodsrc             x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                        75.1 MiB
 xorg-x11-drv-nvidia-libs                            i686       3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         162.2 MiB
   replacing xorg-x11-drv-nvidia-libs                i686       3:570.133.07-1.fc42                                   rpmfusion-nonfree                       162.2 MiB
 xorg-x11-drv-nvidia-libs                            x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         361.9 MiB
   replacing xorg-x11-drv-nvidia-libs                x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                       361.9 MiB
 xorg-x11-drv-nvidia-power                           x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         233.7 KiB
   replacing xorg-x11-drv-nvidia-power               x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                       233.7 KiB
 xorg-x11-drv-nvidia-xorg-libs                       x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          19.4 MiB
   replacing xorg-x11-drv-nvidia-xorg-libs           x86_64     3:570.133.07-1.fc42                                   rpmfusion-nonfree                        19.4 MiB
Installing dependencies:
 libnvidia-cfg                                       x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                       394.0 KiB
 nvidia-libXNVCtrl                                   x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                        41.2 KiB
 nvidia-persistenced                                 x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                        51.9 KiB
 opencl-filesystem                                   noarch     1.0-22.fc42                                           fedora                                    0.0   B
 xorg-x11-drv-nvidia-cuda                            x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver           6.2 MiB
 xorg-x11-drv-nvidia-cuda-libs                       i686       3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         188.6 MiB

Transaction Summary:
 Installing:         6 packages
 Upgrading:         10 packages
 Replacing:         10 packages

Packages after the upgrade…

$ sudo dnf list --installed \*nvidia\*
Installed packages
akmod-nvidia.x86_64                       3:570.153.02-1.fc42 fedora-multimedia
kmod-nvidia-6.14.6-300.fc42.x86_64.x86_64 3:570.133.07-1.fc42 @commandline
libnvidia-cfg.x86_64                      3:570.153.02-1.fc42 fedora-multimedia
nvidia-libXNVCtrl.x86_64                  3:570.153.02-1.fc42 fedora-multimedia
nvidia-modprobe.x86_64                    3:570.153.02-1.fc42 fedora-multimedia
nvidia-persistenced.x86_64                3:570.153.02-1.fc42 fedora-multimedia
nvidia-settings.x86_64                    3:570.153.02-1.fc42 fedora-multimedia
xorg-x11-drv-nvidia.x86_64                3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda.x86_64           3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.i686        3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-cuda-libs.x86_64      3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-kmodsrc.x86_64        3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.i686             3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-libs.x86_64           3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-power.x86_64          3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver
xorg-x11-drv-nvidia-xorg-libs.x86_64      3:570.153.02-1.fc42 rpmfusion-nonfree-nvidia-driver

I still have the previous kmod-nvidia package, so I will remove it…

$ sudo dnf remove kmod-nvidia\*
Package                                                  Arch          Version                                                  Repository                         Size
Removing:
 kmod-nvidia-6.14.6-300.fc42.x86_64                      x86_64        3:570.133.07-1.fc42                                      @commandline                  131.7 MiB

Transaction Summary:
 Removing:           1 package

But trying to rebuild the nvidia kmod will fail…

$ sudo akmods --force
Checking kmods exist for 6.14.6-300.fc42.x86_64            [  OK  ]
Building and installing nvidia-kmod                        [FAILED]
Building rpms failed; see /var/cache/akmods/nvidia/570.153.02-1-for-6.14.6-300.fc42.x86_64.failed.log for details

Hint: Some kmods were ignored or failed to build or install.
You can try to rebuild and install them by by calling
'/usr/sbin/akmods --force' as root.

The only meaningful error I am able to see in the mentioned log file is some silly No such file or directory. error, and then the build fails..

+ make -j8 -C KERNEL_UNAME=6.14.6-300.fc42.x86_64 modules
make: Entering directory '/tmp/akmodsbuild.tNXtHrct/BUILD/nvidia-kmod-570.153.02-build/nvidia-kmod-570.153.02-x86_64/_kmod_build_6.14.6-300.fc42.x86_64'
make: *** KERNEL_UNAME=6.14.6-300.fc42.x86_64: No such file or directory.  Stop.
make: Leaving directory '/tmp/akmodsbuild.tNXtHrct/BUILD/nvidia-kmod-570.153.02-build/nvidia-kmod-570.153.02-x86_64/_kmod_build_6.14.6-300.fc42.x86_64'
error: Bad exit status from /var/tmp/rpm-tmp.8xUoJq (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.8xUoJq (%build)

Rebooting my PC in this status will result in loading the nouveau driver instead, but that doesn’t work for my NVIDIA card.
I am still investigating how to successfully build the NVIDIA kmod.
In the meantime, the only workaround I have found to far is to rollback to the previous driver…

First cleanup everything…

$ sudo dnf remove \*nvidia\*
Package                                              Arch       Version                                               Repository                                   Size
Removing:
 akmod-nvidia                                        x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                       149.7 MiB
 libnvidia-cfg                                       x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                       394.0 KiB
 nvidia-libXNVCtrl                                   x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                        41.2 KiB
 nvidia-modprobe                                     x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                        50.9 KiB
 nvidia-persistenced                                 x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                        51.9 KiB
 nvidia-settings                                     x86_64     3:570.153.02-1.fc42                                   fedora-multimedia                         1.5 MiB
 xorg-x11-drv-nvidia                                 x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         190.7 MiB
 xorg-x11-drv-nvidia-cuda                            x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver           6.2 MiB
 xorg-x11-drv-nvidia-cuda-libs                       i686       3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         188.6 MiB
 xorg-x11-drv-nvidia-cuda-libs                       x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         273.5 MiB
 xorg-x11-drv-nvidia-kmodsrc                         x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          75.7 MiB
 xorg-x11-drv-nvidia-libs                            i686       3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         162.2 MiB
 xorg-x11-drv-nvidia-libs                            x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         361.9 MiB
 xorg-x11-drv-nvidia-power                           x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         233.7 KiB
 xorg-x11-drv-nvidia-xorg-libs                       x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          19.4 MiB
Removing unused dependencies:
 egl-gbm                                             i686       2:1.1.2.1-1.fc42                                      updates                                  28.5 KiB
 egl-wayland                                         i686       1.1.19-3.fc42                                         updates                                  82.3 KiB
 egl-x11                                             i686       1.0.1-1.fc42                                          updates                                 164.2 KiB
 libglvnd-opengl                                     i686       1:1.7.0-7.fc42                                        fedora                                  132.0 KiB
 opencl-filesystem                                   noarch     1.0-22.fc42                                           fedora                                    0.0   B

Transaction Summary:
 Removing:          20 packages

And then reinstall the previous version that is still available in the RPM fusion repo…

$ sudo dnf install xorg-x11-drv-nvidia-570.133.07-1.fc42.x86_64 akmod-nvidia-570.133.07-1.fc42.x86_64
Updating and loading repositories:
Loaded repositories.
Package                                                 Arch         Version                                                  Repository                           Size
Installing:
 akmod-nvidia                                           x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                92.2 KiB
 xorg-x11-drv-nvidia                                    x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               190.5 MiB
Installing dependencies:
 egl-gbm                                                i686         2:1.1.2.1-1.fc42                                         updates                          28.5 KiB
 egl-wayland                                            i686         1.1.19-3.fc42                                            updates                          82.3 KiB
 egl-x11                                                i686         1.0.1-1.fc42                                             updates                         164.2 KiB
 libglvnd-opengl                                        i686         1:1.7.0-7.fc42                                           fedora                          132.0 KiB
 nvidia-modprobe                                        x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                50.9 KiB
 nvidia-settings                                        x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                 4.4 MiB
 xorg-x11-drv-nvidia-kmodsrc                            x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                75.1 MiB
 xorg-x11-drv-nvidia-libs                               i686         3:570.133.07-1.fc42                                      rpmfusion-nonfree               162.2 MiB
 xorg-x11-drv-nvidia-libs                               x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               361.9 MiB
 xorg-x11-drv-nvidia-xorg-libs                          x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                19.4 MiB
Installing weak dependencies:
 xorg-x11-drv-nvidia-cuda-libs                          x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               273.5 MiB
 xorg-x11-drv-nvidia-power                              x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               233.7 KiB

Transaction Summary:
 Installing:        14 packages

Now the module properly builds automatically after the installation of the good packages…

$ modinfo -F version nvidia
570.133.07

After verifying the module has been build for the old driver, rebooting your PC will result in loading the proper NVIDIA kernel modules…

$ lsmod | grep nvidia
nvidia_drm            155648  3
nvidia_modeset       1830912  2 nvidia_drm
nvidia_uvm           3997696  0
nvidia              97116160  28 nvidia_uvm,nvidia_modeset
drm_ttm_helper         16384  1 nvidia_drm
video                  81920  4 asus_wmi,asus_nb_wmi,i915,nvidia_modeset

I think the only explanation is that that this akmod-nvidia-570.153.02-1.fc42.x86_64 is broken bad and that’s why the kmod doesn’t build, also because the error doesn’t make sense for a package to be missing, it simply might be a bug in the build script.
Therefore the only solution that I would recommend would be to ignore the NVIDIA updates from rpmfusion-nonfree-nvidia-driver & rpmfusion-nonfree-updates repos for now, just skip this update and rollback if needed.

I am honestly a bit pissed off that every time there is an NVIDIA drivers update everything mess up, but oh well, what could we, as users, do about it?

you have installed the driver from two different repositories!

fedora-multimedia is negativo17’s repositories and you can’t mix both at the same time.
you should be able to upgrade to 570.153.02 by disabling the fedora-multimedia repository

sudo dnf upgrade --disable-repo=fedora-multimedia

then DON’T enable incompatible repositories. This is your fault! This fact is clearly stated on negativo’s home page… a typical failure of ignoring of RTFM

citing from the webpage

This repository is NOT compatible with RPMFusion,

It’s not “every update”. In fact it’s, at worse, the second time this ever happened to me, and it fixed itself less than 2 days later.

This abrasive behavior is uncalled for, because an actual definitive and defined cause (from my own personal knowledge) hasn’t been highlighted by you, and if

is correct, then this has been pretty embarrassing act from you.

.

.

Please, if you are not completely sure of something and/or did something unusual (like straying from the instructions given from the websites you downloaded things from) then you NEED to say it (and you MUST refrain from letting your emotions influence how you comment about a group of people’s work, EVEN MORE if you are the cause of your woes).

Bingo!

Thanks man, I didn’t know having the dependencies solved automatically from multiple repos could be the problem, I simply thought rpmfusion-nonfree-nvidia-driver was dependent somehow of fedora-multimedia but you helped me prove me wrong and gave me insights for the definitive solution to my particular issue.

I will post my solution in case someone else have made the same mistake as me…

First clean up everything again…

$ sudo dnf remove \*nvidia\*
[sudo] contraseña para samuel:
Package                                                 Arch         Version                                                  Repository                           Size
Removing:
 akmod-nvidia                                           x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                92.2 KiB
 kmod-nvidia-6.14.6-300.fc42.x86_64                     x86_64       3:570.133.07-1.fc42                                      @commandline                    131.7 MiB
 nvidia-modprobe                                        x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                50.9 KiB
 nvidia-settings                                        x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                 4.4 MiB
 xorg-x11-drv-nvidia                                    x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               190.5 MiB
 xorg-x11-drv-nvidia-cuda-libs                          x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               273.5 MiB
 xorg-x11-drv-nvidia-kmodsrc                            x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                75.1 MiB
 xorg-x11-drv-nvidia-libs                               i686         3:570.133.07-1.fc42                                      rpmfusion-nonfree               162.2 MiB
 xorg-x11-drv-nvidia-libs                               x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               361.9 MiB
 xorg-x11-drv-nvidia-power                              x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree               233.7 KiB
 xorg-x11-drv-nvidia-xorg-libs                          x86_64       3:570.133.07-1.fc42                                      rpmfusion-nonfree                19.4 MiB
Removing unused dependencies:
 egl-gbm                                                i686         2:1.1.2.1-1.fc42                                         updates                          28.5 KiB
 egl-wayland                                            i686         1.1.19-3.fc42                                            updates                          82.3 KiB
 egl-x11                                                i686         1.0.1-1.fc42                                             updates                         164.2 KiB
 libglvnd-opengl                                        i686         1:1.7.0-7.fc42                                           fedora                          132.0 KiB

Transaction Summary:
 Removing:          15 packages

Then, to make sure the driver is picked from only one repo and without disabling the other one, I just prioritize the NVIDIA drivers repo…

$ sudo dnf config-manager setopt rpmfusion-nonfree-nvidia-driver.priority=98

And then install the driver with a regular command…

$ sudo dnf install xorg-x11-drv-nvidia
Actualizando y cargando repositorios:
Repositorios cargados.
Package                                              Arch       Version                                               Repository                                   Size
Installing:
 xorg-x11-drv-nvidia                                 x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         190.7 MiB
Installing dependencies:
 akmod-nvidia                                        x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          92.5 KiB
 egl-gbm                                             i686       2:1.1.2.1-1.fc42                                      updates                                  28.5 KiB
 egl-wayland                                         i686       1.1.19-3.fc42                                         updates                                  82.3 KiB
 egl-x11                                             i686       1.0.1-1.fc42                                          updates                                 164.2 KiB
 libglvnd-opengl                                     i686       1:1.7.0-7.fc42                                        fedora                                  132.0 KiB
 nvidia-modprobe                                     x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          50.9 KiB
 nvidia-settings                                     x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver           4.4 MiB
 xorg-x11-drv-nvidia-kmodsrc                         x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          75.7 MiB
 xorg-x11-drv-nvidia-libs                            i686       3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         162.2 MiB
 xorg-x11-drv-nvidia-libs                            x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         361.9 MiB
 xorg-x11-drv-nvidia-xorg-libs                       x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver          19.4 MiB
Installing weak dependencies:
 xorg-x11-drv-nvidia-cuda-libs                       x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         273.5 MiB
 xorg-x11-drv-nvidia-power                           x86_64     3:570.153.02-1.fc42                                   rpmfusion-nonfree-nvidia-driver         233.7 KiB

Transaction Summary:
 Installing:        14 packages

And the magic happens after a few minutes, the kernel module is properly built!

$ modinfo -F version nvidia
570.153.02

Thanks again man, I knew an engineer would never miss the opportunity of replying as fast as possible when it comes to spotting the error of another individual :smile:

I can say I have never had an error of this type with nvidia drivers.

  1. I NEVER use packages directly from nvidia (the .run files) or the cuda-fedoraXX repos (from nvidia)
  2. I never use negativo17
  3. I ONLY use the rpmfusion repos for obtaining the nvidia drivers.

My rationale is that rpmfusion tweaks the nvidia drivers and strictly tests them with fedora and nvidia hardware before releasing them for use. I can always depend upon the packages properly installed and functional with every update.

Nvidia is not focused on fedora and does not do the same testing
Negativo17 seems to focus differently as well and as noted, the repos are incompatible.

Over many years here, it seems the great majority of problems with nvidia drivers has been caused by users who either mix repos or install directly from nvidia sources. The fix has almost always been to remove all nvidia packages then install from the rpmfusion repos

Same.