Problem with NVidia driver

Hi,

I have a few dozen desktop clients running a mix of Rocky Linux and AlmaLinux. I’m progressively migrating the Rocky hosts to Alma. It looks like maintenance is better and the team is more reactive.

One of the hosts is an HP Z440 workstation running Rocky Linux 9. It has an NVidia GTX 1650 video card and uses the proprietary NVidia driver from RPMFusion. Trying to update the system on this host currently results in the following error:

# dnf update
Last metadata expiration check: 1:56:27 ago on Thu 24 Jul 2025 05:49:30 AM CEST.
Error: 
 Problem 1: cannot install the best update candidate for package xorg-x11-drv-nvidia-libs-3:550.144.03-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
 Problem 2: package xorg-x11-drv-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia-libs(x86-64) = 3:570.169-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-3:550.144.03-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
 Problem 3: package akmod-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires nvidia-kmod-common >= 3:570.169, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia-libs(x86-64) = 3:570.169-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package akmod-nvidia-3:550.144.03-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
 Problem 4: package kmod-nvidia-5.14.0-570.el9_6-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires nvidia-kmod-common >= 3:570.169, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia-libs(x86-64) = 3:570.169-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package kmod-nvidia-5.14.0-570.el9_6-3:550.144.03-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
 Problem 5: package xorg-x11-drv-nvidia-3:550.144.03-1.el9.x86_64 from @System requires nvidia-modprobe(x86-64) = 3:550.144.03, but none of the providers can be installed
  - cannot install both nvidia-modprobe-3:570.169-1.el9.x86_64 from rpmfusion-nonfree and nvidia-modprobe-3:550.144.03-1.el9.x86_64 from @System
  - package kmod-nvidia-5.14.0-503.el9_5-3:550.127.05-1.el9.x86_64 from @System requires nvidia-kmod-common >= 3:550.127.05, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia-libs(x86-64) = 3:570.169-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package nvidia-modprobe-3:550.144.03-1.el9.x86_64
  - problem with installed package kmod-nvidia-5.14.0-503.el9_5-3:550.127.05-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
 Problem 6: package xorg-x11-drv-nvidia-3:550.144.03-1.el9.x86_64 from @System requires nvidia-settings(x86-64) = 3:550.144.03, but none of the providers can be installed
  - cannot install both nvidia-settings-3:570.169-1.el9.x86_64 from rpmfusion-nonfree and nvidia-settings-3:550.144.03-1.el9.x86_64 from @System
  - package kmod-nvidia-5.14.0-503.el9_5-3:550.144.03-1.el9.x86_64 from @System requires nvidia-kmod-common >= 3:550.144.03, but none of the providers can be installed
  - package xorg-x11-drv-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia-libs(x86-64) = 3:570.169-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package nvidia-settings-3:550.144.03-1.el9.x86_64
  - problem with installed package kmod-nvidia-5.14.0-503.el9_5-3:550.144.03-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
 Problem 7: problem with installed package akmod-nvidia-3:550.144.03-1.el9.x86_64
  - package akmod-nvidia-3:550.144.03-1.el9.x86_64 from @System requires xorg-x11-drv-nvidia-kmodsrc = 3:550.144.03, but none of the providers can be installed
  - package akmod-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires nvidia-kmod-common >= 3:570.169, but none of the providers can be installed
  - cannot install both xorg-x11-drv-nvidia-kmodsrc-3:570.169-1.el9.x86_64 from rpmfusion-nonfree and xorg-x11-drv-nvidia-kmodsrc-3:550.144.03-1.el9.x86_64 from @System
  - package xorg-x11-drv-nvidia-3:570.169-1.el9.x86_64 from rpmfusion-nonfree requires xorg-x11-drv-nvidia-libs(x86-64) = 3:570.169-1.el9, but none of the providers can be installed
  - cannot install the best update candidate for package xorg-x11-drv-nvidia-kmodsrc-3:550.144.03-1.el9.x86_64
  - nothing provides egl-wayland(x86-64) >= 1.1.15 needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
  - nothing provides egl-x11(x86-64) needed by xorg-x11-drv-nvidia-libs-3:570.169-1.el9.x86_64 from rpmfusion-nonfree
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Now I tried updating the system using dnf update --nobest but now on every reboot I get an akmod build with a resulting NVidia module load error.

I wonder if migrating this host to AlmaLinux would fix my problem. As far as I understand the message, some packages needed by the RPMFusion driver can’t be provided.

Any suggestions ?

hello

Switching to AlmaLinux won’t solve this dependency issue, because both Rocky and AlmaLinux use the same RPMFusion repositories and package structure.
The missing packages (egl-wayland, egl-x11) are simply not available for EL9 yet.
You can try building them from Fedora/EPEL src.rpm, or wait until RPMFusion updates their packages.

Welcome in the ALMA community.
Maybe a path to sort out the situation :

I had a similar trouble @Work, with a HP-E Workstation Z4 G5, with a RTX-5K.
Hurt to say but: Short delay for delivering the workstations to the devs, I end up with the NVIDIA drivers…
:innocent:
If you’re named Patrick and you are the paranoid IT/IS security officer of my company, please, skip reading the next line.

I first lowered the SELinux parameters : SELINUX=permissive, SELINUXTYPE=targeted, then relabeled…

I got the drivers working together with this procedure which resulted to an Ansible playbook:

  1. dnf install kernel-devel kernel-headers
  2. dnf install epel-release.noarch (Included in base)
  3. export arch=x86_64
  4. export distro=rhel9
  5. dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/$distro/$arch/cuda-$distro.repo
  6. dnf clean expire-cache
  7. dnf module install nvidia-driver:latest-dkms
  8. dnf install cuda-toolkit cuda-demo-suite-12-8 (Latest version at the time to write this document, strong requirement)
  9. dnf list available cuda-toolkit cuda-demo-suite*
    (to see the correct version to use versus the toolkit version)
  10. reboot
  11. nvidia-smi (To check and validate the CUDA’s versus Nvidia drivers installation)

You see that I have installed the Nvidia driver with DKMS for ensuring future (security) updates.
Notes :

  • Nouveau driver is blacklisted at kernel command line.
  • Keep the kernel-devel and kernel-hearders packages installed on the systems or DKMS will fail to update.
  • Installed mate-desktop and Gnome classic to get The WS graphic console works (Wayland brings buggy mutliple displays behaviours).

I hope this will help you.