Rocky Linux 9 vs. NVidia GTX 1650

Hi,

I have an HP Z440 workstation with an NVidia GTX 1650 video card.

# lspci | grep -i vga
02:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1650] (rev a1)

I have RPMFusion’s NVidia driver installed, and so far it worked OK. But it looks like the latest update created a mess. Here’s what I get when I try to dnf update:

I tried the dnf update --nobest option. Updates went OK. I rebooted but now NVidia drivers don’t load. On every reboot the system tries to build the akmod drivers but loading them fails.

On a side note, I’m using the following repositories:

# dnf repolist
repo id                                                                                    repo name
anydesk                                                                                    AnyDesk
appstream                                                                                  AppStream
baseos                                                                                     BaseOS
chrome                                                                                     Chrome
crb                                                                                        CRB
docker                                                                                     Docker
eid-archive                                                                                EID Archive
elrepo                                                                                     ELRepo
epel                                                                                       EPEL
extras                                                                                     Extras
hashicorp                                                                                  Hashicorp
lynis                                                                                      Lynis
microlinux                                                                                 Microlinux
openh264                                                                                   OpenH264
rpmfusion-free                                                                             RPM Fusion Free
rpmfusion-free-tainted                                                                     RPM Fusion Free Tainted
rpmfusion-nonfree                                                                          RPM Fusion Nonfree
rpmfusion-nonfree-tainted                                                                  RPM Fusion Nonfree Tainted
rpmfusion-tainted                                                                          RPM Fusion Tainted
tailscale                                                                                  Tailscale
tailscale-stable                                                                           Tailscale stable
virtualbox                                                                                 VirtualBox

On a side note : I’ve been 100 % GNU/Linux for the past two and a half decades. NVidia drivers have always been a big mess.

Any suggestions ?

From the first problem egl-wayland in Rocky 9 is 1.1.13. The nvidia drivers are looking for 1.1.15 which isn’t available yet. It’s not even available in RHEL9. So this driver isn’t built for Rocky 9. RHEL10 and Rocky10 have that package at 1.1.19 version.

You’ll have to remove the nvidia packages or whatever is left, and install the previous version since you cannot update to this driver.

Usually if you see a problem like this you don’t use the options like --nobest as they usually just make the situation worse. Best just to leave it and not update.

RPMFusion and ELRepo do both provide NVidia drivers. That too can cause conflicts.

My workaround is to keep the third-party repos disabled and enable them only when needed. That way I have control over what dnf has access to. It is not totally convenient, nor without its own issues.


The ELRepo packages were mostly harmless in CentOS. YMMV.


@microlinux Where did it come from then?


Turing. NVidia recommends (and defaults) to their “open” version of the driver, rather than the “proprietary”. (There are couple differences in them, but that is unrelated to the dependency hell here.)

Hi @microlinux!

From my point of view, you can temporarily downgrade the NVIDIA packages to the previous version that worked correctly until the repos synchronize with the compatible versions.
I know it’s not exactly the best solution, but in the absence of a better idea. :cowboy_hat_face:

All the best!

1 Like

OK, I managed to get this mess to work.

Switched to multi-user.target.

Removed all the NVidia-related stuff from RPMFusion.

Installed the nvidia-x11-drv package from ELRepo.

Fine-tuned /etc/default/grub.

Now everything works perfectly.

3 Likes

gtx1650 user here also. no issues. what was your final script or work around solution?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.