ELRepo (testing) has kmod-nvidia-470xx for el8 too, but since you clearly(?) have rpmfusion-nonfree enabled on both el8 and el9, it is better to use Fusion when possible as you do.
The more interesting part is when you do dnf up (which is not shown here) as the upgrade must see the appropriate repos.
Hmmm. On AlmaLinux 8.x things went smoothly. On the other hand, here’s what I get on a fresh AlmaLinux 9 installation:
# dnf --disablerepo=rpmfusion-nonfree --enablerepo=elrepo-testing install kmod-nvidia-470xx
Last metadata expiration check: 0:31:31 ago on Wed 26 Nov 2025 05:28:35 PM CET.
Error:
Problem: cannot install the best candidate for the job
- nothing provides kernel >= 5.14.0-611.8.1.el9_7 needed by kmod-nvidia-470xx-470.256.02-7.1.el9_7.elrepo.x86_64 from elrepo-testing
- nothing provides kernel(out_of_line_wait_on_bit_lock) = 0x3179001b needed by kmod-nvidia-470xx-470.256.02-7.1.el9_7.elrepo.x86_64 from elrepo-testing
- nothing provides kernel(wake_up_bit) = 0xb93ba240 needed by kmod-nvidia-470xx-470.256.02-7.1.el9_7.elrepo.x86_64 from elrepo-testing
- nothing provides kernel-core-uname-r >= 5.14.0-611.8.1.el9_7 needed by kmod-nvidia-470xx-470.256.02-7.1.el9_7.elrepo.x86_64 from elrepo-testing
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
This looks like it has to do with the transition from 9.6 to 9.7. Correct me if I’m wrong.
The only kernel I see in repo is 5.14.0-611.5.1.el9_7.
RHEL 9 must already have 5.14.0-611.8.1.el9_7 – yes, released 2025-11-17.
Maybe ELRepo did build the kernel module against that kernel?
ELRepo’s el9_7 modules ought to work with “all” 5.14.0-611.*, but perhaps not with older than build target?