Tumbelweed with Nvidia driver 560.35.03 - Wayland login loop

I just updated the Nvidia driver from the proprietary 550.100 to the open driver 560.35.03 using the run file (NVIDIA-Linux-x86_64-560.35.03.run).
My initial setup was:

inxi -G
Graphics:
  Device-1: NVIDIA GA104GL [RTX A4000] driver: nvidia v: 550.100
  Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,vesa gpu: nvidia resolution: 5120x1440
  API: EGL v: 1.5 drivers: nvidia,swrast,zink
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.100
    renderer: NVIDIA RTX A4000/PCIe/SSE2
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland

and the setup after the driver upgrade is:

inxi -G
Graphics:
  Device-1: NVIDIA GA104GL [RTX A4000] driver: nvidia v: 560.35.03
  Display: x11 server: X.Org v: 21.1.12 with: Xwayland v: 24.1.2 driver: X:
    loaded: nvidia unloaded: fbdev,modesetting,vesa gpu: nvidia
    resolution: 5120x1440~120Hz
  API: EGL v: 1.5 drivers: kms_swrast,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 560.35.03
    renderer: NVIDIA RTX A4000/PCIe/SSE2
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib

Everything is working fine in X11 but I cannot log into a Wayland session, as it loops back to the login screen.

Any pointer as to how to troubleshoot this issue with Wayland.

For me happens something similar, but after logging in wayland, I see only a black screen and the mouse cursor. If I use the terminal I see kwin with 100% cpu utilization. I have modeset in the kernel parameters. In X11 eveything is fine

I had the same issue when I tried it (The black screen).
Seems you need to enable kernel mode setting for it to work.
I followed this guide: [SOLVED] Plasma 6 Wayland+Nvidia black screen and mouse cursor only / Newbie Corner / Arch Linux Forums

However, I guess the way described here should also work: SDB:NVIDIA the hard way - openSUSE Wiki

Thank you for your insights.
I ended up going back to the 550.100 driver which was later upgraded to the current 550-107 during one of the latest snapshots, and everything is working fine now with both X11 and Wayland.
My system now :

inxi -G
Graphics:
  Device-1: NVIDIA GA104GL [RTX A4000] driver: nvidia v: 550.107.02
  Display: wayland server: X.org v: 1.21.1.12 with: Xwayland v: 24.1.2
    compositor: kwin_wayland driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,vesa gpu: nvidia resolution: 5120x1440
  API: EGL v: 1.5 drivers: nvidia,swrast,zink
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 550.107.02
    renderer: NVIDIA RTX A4000/PCIe/SSE2
  API: Vulkan v: 1.3.290 drivers: N/A surfaces: xcb,xlib,wayland

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