SUMMARY If kwin_x11 crashes, It restarts and session is not crashed. If I manually kill it, I can just easily restart it from terminal and all my running apps are not affected which is life saver but when kwin_wayland crashes, entire session crashes which terminates all running applications. STEPS TO REPRODUCE 1. start plasma in wayland mode 2. somehow crash kwin_wayland OBSERVED RESULT Entire session crashes and all running (GUI)apps are closed EXPECTED RESULT kwin_wayland restarts without closing any running app like kwin_x11 SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.1
I'm not sure if it's possible to fix this due to Wayland's inherent architecture. It sure would be nice to if it's possible though.
Well, some work is being done to make apps survive wayland compositor crashes.
Can this be closed now that https://invent.kde.org/plasma/kwin/-/merge_requests/483 has landed?
(In reply to Jan Blackquill (Carson Black) from comment #3) > Can this be closed now that > https://invent.kde.org/plasma/kwin/-/merge_requests/483 has landed? I'm afraid not. That fix was merged three weeks ago and I updated my git installation today: while SIGSEV applied to KWin does not crash kwin_wayland, SIGKILL still causes this issue, sending the user back to the login screen. This occurs even when not manually triggered, for instance bug 428268 is still easily reproducible and takes the whole session with it.
Sorry, I misread, it was merged 5 days ago. And for the testing I used killall kwin_wayland, sudo kill -SIGSEGV <pid> and sudo kill -SIGKILL <pid>.
This is the expected behaviour at the current point in time.
To clarify, we are working to improve this incrementally.