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?