SUMMARY When using Wayland, all applications get killed when the computer screen is disconnected or turned off STEPS TO REPRODUCE 1. Use Wayland 2. Open some apps 3. Unplug the monitor or turn it off OBSERVED RESULT Both wayland and xwayland applications get killed. EXPECTED RESULT Applications should remain opened SOFTWARE/OS VERSIONS KDE Plasma Version: 5.27.6 KDE Frameworks Version: 5.107.0 Qt Version: 5.15.10 ADDITIONAL INFORMATION I'm running an AMD 6600 XT GPU
That sounds more like kwin crashed and restarted. Please check for crashlogs of kwin (coredumpctl gbd kwin_wayland) and upload a trace.
(In reply to David Edmundson from comment #1) I can confirm it's kwin_wayland that crashes > That sounds more like kwin crashed and restarted. Please check for crashlogs > of kwin (coredumpctl gbd kwin_wayland) and upload a trace. Message: Process 14039 (kwin_wayland) of user 1000 dumped core. Stack trace of thread 14039: #0 0x00007fb71aa18954 _ZNK7QRegion7isEmptyEv (libQt5Gui.so.5 + 0x418954) #1 0x00007fb71aa18ade _ZNK7QRegion12boundingRectEv (libQt5Gui.so.5 + 0x418ade) #2 0x00007fb70402718b _ZN4KWin20LightlyShadersEffect14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (kwin4_effect_lightlyshaders.so + 0xb18b) #3 0x00007fb71bbfaebe _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x1faebe) #4 0x000055b58bceb0e6 n/a (kwin_wayland + 0xa50e6) #5 0x00007fb71bbfaebe _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x1faebe) #6 0x000055b58bd070e9 n/a (kwin_wayland + 0xc10e9) #7 0x00007fb71bbfaebe _ZN4KWin18EffectsHandlerImpl14prePaintWindowEPNS_12EffectWindowERNS_18WindowPrePaintDataENSt6chrono8durationIlSt5ratioILl1ELl1000EEEE (libkwin.so.5 + 0x1faebe) #8 0x00007fb71bc81a53 _ZN4KWin14WorkspaceScene24preparePaintSimpleScreenEv (libkwin.so.5 + 0x281a53) #9 0x00007fb71bc8460e _ZN4KWin14WorkspaceScene8prePaintEPNS_13SceneDelegateE (libkwin.so.5 + 0x28460e) #10 0x00007fb71bbbd844 _ZN4KWin10Compositor12prePaintPassEPNS_11RenderLayerE (libkwin.so.5 + 0x1bd844) #11 0x00007fb71bbc1ea0 _ZN4KWin10Compositor9compositeEPNS_10RenderLoopE (libkwin.so.5 + 0x1c1ea0) #12 0x00007fb71a2d06a7 n/a (libQt5Core.so.5 + 0x2d06a7) #13 0x00007fb71bb716f7 _ZN4KWin10RenderLoop14frameRequestedEPS0_ (libkwin.so.5 + 0x1716f7) #14 0x00007fb71bbc85a8 _ZN4KWin17RenderLoopPrivate8dispatchEv (libkwin.so.5 + 0x1c85a8) #15 0x00007fb71a2d06a7 n/a (libQt5Core.so.5 + 0x2d06a7) #16 0x00007fb71a2d21df _ZN6QTimer7timeoutENS_14QPrivateSignalE (libQt5Core.so.5 + 0x2d21df) #17 0x00007fb71a2c315e _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2c315e) #18 0x00007fb71997893f _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x17893f) #19 0x00007fb71a29b778 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x29b778) #20 0x00007fb71a2e9e2b _ZN14QTimerInfoList14activateTimersEv (libQt5Core.so.5 + 0x2e9e2b) #21 0x00007fb71a2ea301 _ZN20QEventDispatcherUNIX13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea301) #22 0x000055b58bd7a502 n/a (kwin_wayland + 0x134502) #23 0x00007fb71a29a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #24 0x00007fb71a29b923 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x29b923) #25 0x000055b58bc962fb n/a (kwin_wayland + 0x502fb) #26 0x00007fb719239850 n/a (libc.so.6 + 0x23850) #27 0x00007fb71923990a __libc_start_main (libc.so.6 + 0x2390a) #28 0x000055b58bc97ed5 n/a (kwin_wayland + 0x51ed5) Stack trace of thread 14064: #0 0x00007fb719299f0e n/a (libc.so.6 + 0x83f0e) #1 0x00007fb71929c7a0 pthread_cond_wait (libc.so.6 + 0x867a0) #2 0x00007fb7112c7a4c n/a (radeonsi_dri.so + 0xc7a4c) #3 0x00007fb71131495c n/a (radeonsi_dri.so + 0x11495c) #4 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #5 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14065: #0 0x00007fb719299f0e n/a (libc.so.6 + 0x83f0e) #1 0x00007fb71929c7a0 pthread_cond_wait (libc.so.6 + 0x867a0) #2 0x00007fb7112c7a4c n/a (radeonsi_dri.so + 0xc7a4c) #3 0x00007fb71131495c n/a (radeonsi_dri.so + 0x11495c) #4 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #5 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14069: #0 0x00007fb719299f0e n/a (libc.so.6 + 0x83f0e) #1 0x00007fb71929c7a0 pthread_cond_wait (libc.so.6 + 0x867a0) #2 0x00007fb7112c7a4c n/a (radeonsi_dri.so + 0xc7a4c) #3 0x00007fb71131495c n/a (radeonsi_dri.so + 0x11495c) #4 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #5 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14066: #0 0x00007fb719299f0e n/a (libc.so.6 + 0x83f0e) #1 0x00007fb71929c7a0 pthread_cond_wait (libc.so.6 + 0x867a0) #2 0x00007fb7112c7a4c n/a (radeonsi_dri.so + 0xc7a4c) #3 0x00007fb71131495c n/a (radeonsi_dri.so + 0x11495c) #4 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #5 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14046: #0 0x00007fb719313c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fb717f6da9f n/a (libglib-2.0.so.0 + 0xb7a9f) #2 0x00007fb717f0e032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032) #3 0x00007fb71a2ea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fb71a29a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fb71a0f72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fb71c151a9a n/a (libQt5DBus.so.5 + 0x18a9a) #7 0x00007fb71a0f34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #9 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14072: #0 0x00007fb719313c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fb717f6da9f n/a (libglib-2.0.so.0 + 0xb7a9f) #2 0x00007fb717f0e032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032) #3 0x00007fb71a2ea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fb71a29a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fb71a0f72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fb71b0c2ab0 n/a (libQt5Qml.so.5 + 0x2c2ab0) #7 0x00007fb71a0f34da n/a (libQt5Core.so.5 + 0xf34da) #8 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #9 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14067: #0 0x00007fb719299f0e n/a (libc.so.6 + 0x83f0e) #1 0x00007fb71929c7a0 pthread_cond_wait (libc.so.6 + 0x867a0) #2 0x00007fb7112c7a4c n/a (radeonsi_dri.so + 0xc7a4c) #3 0x00007fb71131495c n/a (radeonsi_dri.so + 0x11495c) #4 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #5 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14070: #0 0x00007fb719299f0e n/a (libc.so.6 + 0x83f0e) #1 0x00007fb71929c7a0 pthread_cond_wait (libc.so.6 + 0x867a0) #2 0x00007fb7112c7a4c n/a (radeonsi_dri.so + 0xc7a4c) #3 0x00007fb71131495c n/a (radeonsi_dri.so + 0x11495c) #4 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #5 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) Stack trace of thread 14068: #0 0x00007fb719313c0f __poll (libc.so.6 + 0xfdc0f) #1 0x00007fb717f6da9f n/a (libglib-2.0.so.0 + 0xb7a9f) #2 0x00007fb717f0e032 g_main_context_iteration (libglib-2.0.so.0 + 0x58032) #3 0x00007fb71a2ea5cc _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2ea5cc) #4 0x00007fb71a29a484 _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x29a484) #5 0x00007fb71a0f72b6 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf72b6) #6 0x00007fb71a0f34da n/a (libQt5Core.so.5 + 0xf34da) #7 0x00007fb71929d44b n/a (libc.so.6 + 0x8744b) #8 0x00007fb719320e40 n/a (libc.so.6 + 0x10ae40) ELF object binary architecture: AMD x86-64
(In reply to David Edmundson from comment #1) > That sounds more like kwin crashed and restarted. Please check for crashlogs > of kwin (coredumpctl gbd kwin_wayland) and upload a trace. Nvm, I found the culprit, turns out a 3rd party desktop effect was causing the crash