External screen either black screen or unresponsive after waking up from sleep

SPECS:

Platform:

OS: Arch Linux
Kernel: 6.11.3-arch1-1
Plasma Version: 6.2.1
Frameworks Version: 6.7.0
Qt Version: 6.8.0
Graphics Platform: Wayland

Hardware

Laptop Model: HP Omen 15.6"
Graphics Processor: AMD iGPU + RTX 3060 (nvidia-open 560.35.03)
CPU: Ryzen 7 5800H
RAM: 16GB

All display output ports are wired to the NVIDIA GPU if it says something.

What happens is that when the system goes to sleep, quite often external screen never wakes fully or isn’t even turning on. There are times when I would just see a black screen and I can move the mouse on the screen, but nothing else. But it doesn’t happen always, if for example, computer just went to sleep and I awake it right away, external screen works properly. But if it’s any longer than for 5-10 min. external screen doesn’t come up.

I’m wondering if it could be related to ddcutil? As the monitor is connected through the Dell WD15 dock and on Hyperland ddcutil wouldn’t even work this way. There’s quite a few issues open on ddcutil’s Github about this problem and it might be something with NVIDIA’s MST implementation. I can’t really still understand, how it works on KDE.

I checked journalctl, but either there’s nothing or I just don’t understand.
If it helps, here’s the output:

spal. 19 19:50:51 archomen kwin_wayland[845]: kwin_scene_opengl: 0x500: GL_INVALID_ENUM error generated. Invalid <face>.
spal. 19 19:50:51 archomen kwin_wayland[845]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT"
spal. 19 19:50:51 archomen kwin_wayland[845]: kwin_scene_opengl: 0x502: GL_INVALID_OPERATION error generated. <image> and <target> are incompatible
spal. 19 19:50:51 archomen kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout
spal. 19 19:50:51 archomen kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Framebuffer memory not appropriate for scanout
spal. 19 19:50:51 archomen kwin_wayland[845]: kwin_scene_opengl: Invalid framebuffer status:  "GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT"
spal. 19 19:50:51 archomen kwin_wayland[845]: kwin_wayland_drm: Failed to create framebuffer: Invalid argument
spal. 19 19:50:51 archomen kwin_wayland[845]: kwin_wayland_drm: Failed to create framebuffer: Invalid argument
spal. 19 19:50:53 archomen systemd[795]: Started System Settings - System Settings.
spal. 19 19:50:53 archomen plasmashell[1110]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
spal. 19 19:50:53 archomen systemsettings[3041]: qt.qpa.wayland: eglSwapBuffers failed with 0x300d, surface: 0x0
spal. 19 19:50:53 archomen plasmashell[1110]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
spal. 19 19:50:55 archomen systemd[795]: Created slice Slice /app/dbus-:1.2-org.kde.LogoutPrompt.
spal. 19 19:50:55 archomen systemd[795]: Started dbus-:1.2-org.kde.LogoutPrompt@0.service.
spal. 19 19:50:56 archomen ksmserver-logout-greeter[3143]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
spal. 19 19:50:56 archomen ksmserver-logout-greeter[3143]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
spal. 19 19:50:56 archomen plasmashell[1110]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.
spal. 19 19:50:56 archomen systemd[795]: Created slice Slice /app/dbus-:1.2-org.kde.Shutdown.
spal. 19 19:50:56 archomen systemd[795]: Started dbus-:1.2-org.kde.Shutdown@0.service.
spal. 19 19:50:56 archomen ksmserver-logout-greeter[3143]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
spal. 19 19:50:56 archomen ksmserver-logout-greeter[3143]: kf.windowsystem: static bool KX11Extras::compositingActive() may only be used on X11
spal. 19 19:50:57 archomen systemd[795]: dbus-:1.2-org.kde.LogoutPrompt@0.service: Consumed 335ms CPU time, 64.9M memory peak.
spal. 19 19:50:58 archomen plasma-fallback-session-save[3209]: org.kde.plasma.libtaskmanager: time out polling for icon of window "{3c88abba-fbcb-40c9-a65f-ac661240cf02}"
spal. 19 19:50:58 archomen plasma-fallback-session-save[3209]: org.kde.plasma.libtaskmanager: time out polling for icon of window "{589849b4-8cfe-4cdf-a1fe-b435af773429}"

It’s definitely not the third-party widgets, as this issue was happening even before I started using them.

I have the same issue, when I log in there is a black screen for 2 minutes or so and when I lock the computer and unlock it the black screen stays forever, and I have to shut down the system. I use the rpmfusion-nonfree-nvidia drives (560.35.03) so the same version as yours. I switched to nouveau kernel module and it works fin.e

My screen goes all black moments after the plasma desktop briefly appears.

I suspect one of the following as my bug started when I upgraded to plasma 6.2

4 extra/plasma-workspace 6.1.5-1 → 6.2.2-1
3 extra/plasma5support 6.1.5-1 → 6.2.2-1
2 extra/polkit-kde-agent 6.1.5-1 → 6.2.2-1
1 extra/powerdevil 6.1.5-1 → 6.2.2-1