Nvidia & SDDM: black screen, mouse trails almost half the time

Hello,

I am using fedora 38 with a nvidia card and nvidia drivers (535.54.03) from rpm-fusion, on kde-plasma

❯ /sbin/lspci | grep -e VGA
08:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)

❯ /sbin/lspci | grep -e VGA
08:00.0 VGA compatible controller: NVIDIA Corporation GA104 [GeForce RTX 3060 Ti Lite Hash Rate] (rev a1)

❯ dnf list installed sddm
Installed Packages
sddm.x86_64                                                              0.20.0-1.fc38                                                              @updates

I have big lag in Plasma-wayland, but it’ s not an issue as I can switch to X11 instead.

However for SDDM I have a annoying bug: sometimes, after a reboot. instead of displaying the log-in screen, it displays a black screen, only the mouse cursor moves with a trail.
When this happens, I have to go to a terminal (alt-f2) and reboot the machine.
A fun trivia, I have two screens, and when i move the mouse t

  1. How can i fix this?
  2. Can i make SDDM use x11 instead of wayland?

Thank you!