Multiple Monitor issues since 26 Feb

OK this is partly my fault for running a crazy setup but it was bugging me to the point where I thought I would start investigating and make a post just in case anyone had seen anything like this before.

Firstly lets do the formalities…

Operating System: KDE neon 6.3
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.11.0-19-generic (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 9950X 16-Core Processor
Memory: 30.4 GiB of RAM
Graphics Processor 1: Mesa Intel® Arc
Graphics Processor 2: AMD Radeon Graphics
Graphics Processor 3: Mesa Intel® Arc
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D69
System Version: 1.0

A quick description of my setup…
I have two Arc A580’s running 7 display port monitors (one on MST passthrough)

I have two issues I have which suddenly appeared on the 26th Feb are…

  1. I can no longer login with all 7 monitors connected. The screen flashes multiple times then it drops back to the login screen. Unplugging one of the monitors resolves the issue and I can log in fine. Interestingly if I select X instead of Wayland I can login but then only one GPU works anyway so its the same as disconnecting the 7th monitor.
  2. Even with only 6 screens connected I can no longer sleep the computer. When I wake it I am greeted by all black screens one of which has a stationary mouse cursor on it. It seems like some kind of hard lock as I cant even ctrl-alt-F# to get to a terminal. Nothing seems to work except hitting the power button.

I was just about to start investigating and I noticed my syslog appears to have quite a few instances of this:

2025-03-07T16:56:29.954165+00:00 Limo kernel: i915 0000:08:00.0: [drm] *ERROR* Atomic update failure on pipe B (start=631241 end=631242) time 659 us, min 1431, max 1439, scanline start 1385, end 1443
2025-03-07T16:56:30.071159+00:00 Limo kernel: i915 0000:08:00.0: [drm] *ERROR* Atomic update failure on pipe A (start=631748 end=631749) time 401 us, min 1093, max 1099, scanline start 1072, end 1100

However its currently functioning fine as I’m writing this post on it.

Let me plug in the 7th monitor (which will kick me out and see if theres anything else interesting in the logs).

Looks like this might be the forced logout on 7th monitor issue…

2025-03-07T17:02:39.101421+00:00 Limo kernel: i915 0000:03:00.0: [drm] *ERROR* Failed to read DPCD register 0x92
2025-03-07T17:02:42.298534+00:00 Limo kwin_wayland[2204]: kwin_core: Applying output config failed!
2025-03-07T17:02:42.299814+00:00 Limo kwin_wayland[2204]: ASSERT: "m_pending.crtc" in file ./src/backends/drm/drm_pipeline.cpp, line 53
2025-03-07T17:02:42.299937+00:00 Limo kwin_wayland_wrapper[2204]: KCrash: Application 'kwin_wayland' crashing... crashRecursionCounter = 2
2025-03-07T17:02:42.330394+00:00 Limo systemd[1]: Started systemd-coredump@8-40449-0.service - Process Core Dump (PID 40449/UID 0).
2025-03-07T17:02:42.331936+00:00 Limo systemd[1]: Started drkonqi-coredump-processor@8-40449-0.service - Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling.
2025-03-07T17:02:42.824730+00:00 Limo systemd-coredump[40450]: Process 2204 (kwin_wayland) of user 1000 dumped core.#012#012Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64#012Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64#012Module ...... (very long line)
2025-03-07T17:02:42.866466+00:00 Limo systemd[1]: systemd-coredump@8-40449-0.service: Deactivated successfully.
2025-03-07T17:02:42.873129+00:00 Limo baloorunner[38936]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.874907+00:00 Limo flatpak[3082]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.874936+00:00 Limo flatpak[3082]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875005+00:00 Limo kwin_wayland_wrapper[2412]: (EE) failed to read Wayland events: Broken pipe
2025-03-07T17:02:42.875032+00:00 Limo baloorunner[38936]: qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875084+00:00 Limo konsole[3163]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875099+00:00 Limo konsole[3163]: qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875146+00:00 Limo evolution-alarm[4215]: Error reading events from display: Broken pipe
2025-03-07T17:02:42.875194+00:00 Limo ckb-next[2961]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875213+00:00 Limo ckb-next[2961]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875254+00:00 Limo org_kde_powerdevil[4522]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875296+00:00 Limo xdg-desktop-portal-kde[2584]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875339+00:00 Limo kactivitymanagerd[2574]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875383+00:00 Limo kdeconnectd[2763]: 2025-03-07T17:02:42 default: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875399+00:00 Limo org_kde_powerdevil[4522]: qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875407+00:00 Limo kdeconnectd[2763]: 2025-03-07T17:02:42 qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875418+00:00 Limo baloorunner[38936]: Failed to write to the pipe: Bad file descriptor.
2025-03-07T17:02:42.875465+00:00 Limo solaar[2981]: Error reading events from display: Broken pipe
2025-03-07T17:02:42.875513+00:00 Limo xdg-desktop-por[2239]: Error reading events from display: Broken pipe
2025-03-07T17:02:42.875572+00:00 Limo kded6[2514]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875586+00:00 Limo kded6[2514]: qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875597+00:00 Limo org_kde_powerdevil[4522]: Failed to write to the pipe: Bad file descriptor.
2025-03-07T17:02:42.875609+00:00 Limo baloorunner[38936]: qt.qpa.wayland: There are no outputs - creating placeholder screen
2025-03-07T17:02:42.875670+00:00 Limo polkit-kde-authentication-agent-1[2582]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875699+00:00 Limo org_kde_powerdevil[4522]: qt.qpa.wayland: There are no outputs - creating placeholder screen
2025-03-07T17:02:42.875710+00:00 Limo polkit-kde-authentication-agent-1[2582]: qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875754+00:00 Limo plasmashell[2543]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875771+00:00 Limo kactivitymanagerd[2574]: qt.qpa.wayland: Attempting wayland reconnect
2025-03-07T17:02:42.875784+00:00 Limo kdeconnectd[2763]: 2025-03-07T17:02:42 default: Failed to write to the pipe: Bad file descriptor.
2025-03-07T17:02:42.875869+00:00 Limo kwalletd6[2161]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875950+00:00 Limo DiscoverNotifier[3004]: The Wayland connection broke. Did the Wayland compositor die?
2025-03-07T17:02:42.875969+00:00 Limo konsole[3163]: Failed to write to the pipe: Bad file descriptor.
2025-03-07T17:02:42.875979+00:00 Limo kwalletd6[2161]: qt.qpa.wayland: Attempting wayland reconnect

That goes on for quite a bit…

The only other thing I’m seeing quite a lot which looks like it might be relevant is this…

2025-03-07T17:04:55.644360+00:00 Limo plasmashell[43420]: The cached device pixel ratio value was stale on window update.  Please file a QTBUG which explains how to reproduce.

But it could be completely unrelated.

That looks like a kwin_wayland crash.

coredumpctl -1 info kwin_wayland

Should give a stack trace, that is very useful information to understand the issue.

What did you update then ?

Plasma 6.3.2 or 6.2.* to 6.3.2 ?
Did the kernel change ?

You could check the syslog for kwin_wayland.

If you use sddm (should be the case for Neon), the session logs should be in ~/.local/share/sddm/wayland-session.log

Does it does the same for any monitor, and any GPU ?

Once you have all those traces and details, the next step would be report a bug for kwin.

You can share those here first.

Your bug might be already reported or even fixed with Plasma 6.3.3. But we can’t know without the traces.

Thanks for steering me in the right direction…

coredumpctl -1 info kwin_wayland

           PID: 41504 (kwin_wayland)
           UID: 1000 (daniel)
           GID: 1000 (daniel)
        Signal: 6 (ABRT)
     Timestamp: Fri 2025-03-07 17:02:51 GMT (15min ago)
  Command Line: /usr/bin/kwin_wayland --wayland-fd 7 --socket wayland-0 --xwayland-fd 8 --xwayland-fd 9 --xwayland-display :1 --xwayland-xauthority /run/user/1000/xauth_jLvdSz --xwayland
    Executable: /usr/bin/kwin_wayland
 Control Group: /user.slice/user-1000.slice/user@1000.service/session.slice/plasma-kwin_wayland.service
          Unit: user@1000.service
     User Unit: plasma-kwin_wayland.service
         Slice: user-1000.slice
     Owner UID: 1000 (daniel)
       Boot ID: ebd186c6c50347eb8dddeb8e0306e63f
    Machine ID: 58cb5763b0c14d1ba65fa14a9b9a25df
      Hostname: Limo
       Storage: /var/lib/systemd/coredump/core.kwin_wayland.1000.ebd186c6c50347eb8dddeb8e0306e63f.41504.1741366971000000.zst (inaccessible)
       Message: Process 41504 (kwin_wayland) of user 1000 dumped core.

                Module libgomp.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libgcc_s.so.1 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libudev.so.1 from deb systemd-255.4-1ubuntu8.5.amd64
                Module libzstd.so.1 from deb libzstd-1.5.5+dfsg2-2build1.1.amd64
                Module libstdc++.so.6 from deb gcc-14-14.2.0-4ubuntu2~24.04.amd64
                Module libsystemd.so.0 from deb systemd-255.4-1ubuntu8.5.amd64
                Stack trace of thread 41504:
                #0  0x00007b6a2c09eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c)
                #1  0x00007b6a2c04527e __GI_raise (libc.so.6 + 0x4527e)
                #2  0x00007b6a2fa3b2ab _ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x92ab)
                #3  0x00007b6a2c045330 __restore_rt (libc.so.6 + 0x45330)
                #4  0x00007b6a2c09eb2c __pthread_kill_implementation (libc.so.6 + 0x9eb2c)
                #5  0x00007b6a2c04527e __GI_raise (libc.so.6 + 0x4527e)
                #6  0x00007b6a2c0288ff __GI_abort (libc.so.6 + 0x288ff)
                #7  0x00007b6a2cd0c1ac n/a (libQt6Core.so.6 + 0x50c1ac)
                #8  0x00007b6a2cd0d089 _ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x50d089)
                #9  0x00007b6a2cd0d100 _Z9qt_assertPKcS0_i (libQt6Core.so.6 + 0x50d100)
                #10 0x00007b6a2f1dc130 n/a (libkwin.so.6 + 0x1dc130)
                #11 0x00007b6a2f4c6e89 _ZN4KWin9DrmOutput7presentERKSt10shared_ptrINS_11OutputFrameEE (libkwin.so.6 + 0x4c6e89)
                #12 0x00007b6a2f20c90a _ZN4KWin17WaylandCompositor9compositeEPNS_10RenderLoopE (libkwin.so.6 + 0x20c90a)
                #13 0x00007b6a2cc763e9 n/a (libQt6Core.so.6 + 0x4763e9)
                #14 0x00007b6a2f22d7c4 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.6 + 0x22d7c4)
                #15 0x00007b6a2f22e652 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.6 + 0x22e652)
                #16 0x00007b6a2cc763e9 n/a (libQt6Core.so.6 + 0x4763e9)
                #17 0x00007b6a2cc2025d _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt6Core.so.6 + 0x42025d)
                #18 0x00007b6a2cc03806 _ZN7QObject5eventEP6QEvent (libQt6Core.so.6 + 0x403806)
                #19 0x00007b6a2de01158 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt6Widgets.so.6 + 0x601158)
                #20 0x00007b6a2ccaefa0 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt6Core.so.6 + 0x4aefa0)
                #21 0x00007b6a2cb85f58 _ZN14QTimerInfoList14activateTimersEv (libQt6Core.so.6 + 0x385f58)
                #22 0x00007b6a2cb88fba _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Core.so.6 + 0x388fba)
                #23 0x00007b6a2d55a7b2 _ZN23QUnixEventDispatcherQPA13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt6Gui.so.6 + 0x75a7b2)
                #24 0x00007b6a2ccb14d3 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt6Core.so.6 + 0x4b14d3)
                #25 0x00007b6a2ccb2ffd _ZN16QCoreApplication4execEv (libQt6Core.so.6 + 0x4b2ffd)
                #26 0x00005a05c23d9384 n/a (kwin_wayland + 0x66384)
                #27 0x00007b6a2c02a1ca __libc_start_call_main (libc.so.6 + 0x2a1ca)
                #28 0x00007b6a2c02a28b __libc_start_main_impl (libc.so.6 + 0x2a28b)
                #29 0x00005a05c23df665 n/a (kwin_wayland + 0x6c665)

                Stack trace of thread 41531:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41527:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41528:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41529:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41532:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41530:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41517:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41519:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41526:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41518:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41576:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41541:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41582:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09bc8e __pthread_cond_wait_common (libc.so.6 + 0x9bc8e)
                #2  0x00007b6a2cb8d058 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt6Core.so.6 + 0x38d058)
                #3  0x00007b6a2cb87a36 n/a (libQt6Core.so.6 + 0x387a36)
                #4  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41573:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41581:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41535:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41534:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41543:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41533:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41574:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41537:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41516:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a27d5040d n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15040d)
                #3  0x00007b6a27d2ed0b n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x12ed0b)
                #4  0x00007b6a27d5033c n/a (libgallium-24.2.8-1ubuntu1~24.04.1.so + 0x15033c)
                #5  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #6  0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41536:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

                Stack trace of thread 41540:
                #0  0x00007b6a2c098d71 __futex_abstimed_wait_common64 (libc.so.6 + 0x98d71)
                #1  0x00007b6a2c09b7ed __pthread_cond_wait_common (libc.so.6 + 0x9b7ed)
                #2  0x00007b6a2f4aa08b n/a (libkwin.so.6 + 0x4aa08b)
                #3  0x00007b6a2f4aa40a n/a (libkwin.so.6 + 0x4aa40a)
                #4  0x00007b6a2f4a2452 n/a (libkwin.so.6 + 0x4a2452)
                #5  0x00007b6a2c0a1ed3 __pthread_once_slow (libc.so.6 + 0xa1ed3)
                #6  0x00007b6a2f4a26f5 n/a (libkwin.so.6 + 0x4a26f5)
                #7  0x00007b6a2cbc1e4a n/a (libQt6Core.so.6 + 0x3c1e4a)
                #8  0x00007b6a2cb86915 n/a (libQt6Core.so.6 + 0x386915)
                #9  0x00007b6a2c09caa4 start_thread (libc.so.6 + 0x9caa4)
                #10 0x00007b6a2c129c3c __clone3 (libc.so.6 + 0x129c3c)

I’ve had to trim that short due to forum limitations hopefully thats enough.

The kwin_wayland section of syslog log was:

2025-03-07T17:02:39.101421+00:00 Limo kernel: i915 0000:03:00.0: [drm] *ERROR* Failed to read DPCD register 0x92
2025-03-07T17:02:42.298534+00:00 Limo kwin_wayland[2204]: kwin_core: Applying output config failed!
2025-03-07T17:02:42.299814+00:00 Limo kwin_wayland[2204]: ASSERT: "m_pending.crtc" in file ./src/backends/drm/drm_pipeline.cpp, line 53
2025-03-07T17:02:42.299937+00:00 Limo kwin_wayland_wrapper[2204]: KCrash: Application 'kwin_wayland' crashing... crashRecursionCounter = 2

wayland-session.log appears to be blank but that may be because I disconnected the monitor and logged in again.

I’ll investigate a way to find out what was updated on that date and experiment with monitors.

To have a better output:

coredumpctl -1 gdb kwin_wayland

And hit enter until you have (gdb) then type bt and hit enter. It should download a bunch of things, (if not you need to enable debuginfod).

The output then should tell us more.

And to quit ctrl+D or type in exit + enter.

This is hitting this assert:

Now we have material for a bug report.
Please report it.

2025-03-07T17:02:39.101421+00:00 Limo kernel: i915 0000:03:00.0: [drm] *ERROR* Failed to read DPCD register 0x92
2025-03-07T17:02:42.298534+00:00 Limo kwin_wayland[2204]: kwin_core: Applying output config failed!

Because of a driver failure it seems.

OK after much pain and crashes I can say 100% this isn’t tied to a GPU or monitor. I’ve managed to get all the monitors working in different combinations (just not all at once) and the crash can happen on plugging a monitor into either GPU.

coredumpctl -1 gdb kwin_wayland

#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#1  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#2  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3  0x00007908f884527e in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#4  0x00007908fc3942ab in KCrash::defaultCrashHandler(int) () from /lib/x86_64-linux-gnu/libKF6Crash.so.6
#5  <signal handler called>
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007908f884527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007908f88288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007908f950c1ac in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#12 0x00007908f950d089 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#13 0x00007908f950d100 in qt_assert(char const*, char const*, int) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#14 0x00007908fbbdc130 in ?? () from /lib/x86_64-linux-gnu/libkwin.so.6
#15 0x00007908fbec6e89 in KWin::DrmOutput::present(std::shared_ptr<KWin::OutputFrame> const&) () from /lib/x86_64-linux-gnu/libkwin.so.6
#16 0x00007908fbc0c90a in KWin::WaylandCompositor::composite(KWin::RenderLoop*) () from /lib/x86_64-linux-gnu/libkwin.so.6
#17 0x00007908f94763e9 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#18 0x00007908fbc2d7c4 in KWin::RenderLoop::frameRequested(KWin::RenderLoop*) () from /lib/x86_64-linux-gnu/libkwin.so.6
#19 0x00007908fbc2e652 in KWin::RenderLoopPrivate::dispatch() () from /lib/x86_64-linux-gnu/libkwin.so.6
#20 0x00007908f94763e9 in ?? () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#21 0x00007908f942025d in QTimer::timeout(QTimer::QPrivateSignal) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#22 0x00007908f9403806 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#23 0x00007908fa801158 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#24 0x00007908f94aefa0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#25 0x00007908f9385f58 in QTimerInfoList::activateTimers() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#26 0x00007908f9388fba in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#27 0x00007908f9f5a7b2 in QUnixEventDispatcherQPA::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt6Gui.so.6
#28 0x00007908f94b14d3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#29 0x00007908f94b2ffd in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
#30 0x0000629c87950384 in ?? ()
#31 0x00007908f882a1ca in __libc_start_call_main (main=main@entry=0x629c8794e4a0, argc=argc@entry=14, argv=argv@entry=0x7ffebc1e7eb8) at ../sysdeps/nptl/libc_start_call_main.h:58
#32 0x00007908f882a28b in __libc_start_main_impl (main=0x629c8794e4a0, argc=14, argv=0x7ffebc1e7eb8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffebc1e7ea8) at ../csu/libc-start.c:360
#33 0x0000629c87956665 in ?? ()
1 Like

At this point I’m wondering if its worth trying a newer kernel…

Can you advise the best place to report this and I’ll give it a go?

I gave you the link earlier:

Once you have all those traces and details, the next step would be report a bug for kwin.

With the stack details and logs and so on.

Your discuss credentials should work on bug.kde.org.

Doh sorry… I’ll get that sorted

Plasma 6.3.3 may have fixes for this.

Fixed two serious issues that could make KWin crash on login or fail to allow login at all on systems with certain types of monitor arrangements, on distros that ship user software with asserts turned on. (Xaver Hugl, link 1 and link 2)

I have marked your bug as duplicate.
But if Plasma 6.3.3 doesn’t fix it, please reopen and if necessary update the details if they have changed.

I was literally just reading that :slight_smile:
I look forward to 6.3.3, thanks again for your help!

Just to update this.
6.3.3 did indeed fix the 7th monitor problem. However it didn’t resolve the black screens with frozen mouse pointer issue I get when waking from sleep, unlocking the screen after they have gone into powersaving or sometimes even just logging in after power up. I’ll see if I can get some debug on this as its obviously unrelated.