KDE Wayland loses outputs after S3 resume on RTX 4080 SUPER / 580.159.03; SSH works, display-manager restart recovers

I’m seeing a suspend/resume failure that looks related to KWin/NVIDIA. This is not a full system hang: after resume the machine is reachable over SSH, and restarting the display manager restores video output.

System:

  • Ubuntu 26.04 LTS

  • Kernel: 6.17.0-23-generic

  • GPU: RTX 4080 SUPER / AD103

  • NVIDIA driver: 580.159.03

  • KDE Plasma Wayland via SDDM

  • Motherboard: Gigabyte Z790 GAMING X AX, BIOS F9

  • Suspend mode: S3/deep

  • /sys/power/mem_sleep: s2idle [deep]

Symptom:
Sometimes (25% of the cases?) when resuming from suspend, video output does not come back. The system is otherwise alive and reachable via SSH. Running:

sudo systemctl restart display-manager

brings back the KDE/SDDM login screen.

Relevant resume log excerpt:

May 27 08:49:46.644889 systemd[1]: Starting nvidia-resume.service - NVIDIA system resume actions…
May 27 08:49:46.651049 kwin_wayland_wrapper[3223]: kwin_wayland_drm: Atomic modeset test failed! Permission denied
May 27 08:49:46.658784 kwin_wayland_wrapper[3223]: kwin_core: Failed to open /dev/dri/renderD128 device (No such device)
May 27 08:49:46.658784 kwin_wayland_wrapper[3223]: kwin_wayland_drm: Failed to open drm device /dev/dri/renderD128
May 27 08:49:46.663644 suspend[96478]: nvidia-resume.service
May 27 08:49:46.667957 systemd[1]: nvidia-resume.service: Deactivated successfully.

Afterward KDE/Qt processes report:

qt.qpa.wayland: There are no outputs - creating placeholder screen

A similar pattern also appears during suspend while nvidia-suspend.service is active:

kwin_wayland_drm: atomic commit failed: Permission denied
kwin_core: Failed to open /dev/dri/renderD128 device (No such device)
kwin_wayland_drm: Failed to open drm device /dev/dri/renderD128

nvidia-bug-report.log.gz (734.0 KB)

Note: I had to set grub to use kernel version 6.17 because of a different suspend bug. Maybe this one: Bug #2149963 “kernel 7.0.0-14 hangs on s2idle resume with nvid...” : Bugs : linux package : Ubuntu