NVidia drivers vs. SDDM = conflict

Hi,

A few days ago I had some trouble with the NVidia drivers on Rocky Linux 9. The behavior was somewhat erratic and I wondered what happened. I finally found the culprit. It looks like SDDM is causing trouble.

When I remove SDDM and replace it with GDM, everything works perfectly.

Has anyone found a solution to this problem? For some reason I’d like to continue to use SDDM and avoid having to switch to GDM.

Cheers,

Niki