Summary: | startplasmacompositor - kwin_wayland - "/usr/lib/startplasma" - hangs at "start_kdeinit_wrapper" | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | James <james> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | bhush94, germano.massullo, kdelibs-bugs |
Priority: | NOR | Flags: | mgraesslin:
ReviewRequest+
|
Version: | 5.5.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://git.reviewboard.kde.org/r/126361/ | ||
Latest Commit: | http://commits.kde.org/kwin/14b9046ad2ae7d4b9e3ffda996b2112fae3690c4 | Version Fixed In: | 5.5.1 |
Sentry Crash Report: |
Description
James
2015-12-13 00:48:12 UTC
Talking with Martin, there seems to have been some misunderstanding that this OOM issue had something to do with a simultaneously running Xorg server. After testing, this is not the case. A KDE Wayland session will run along side a running Xorg server without problem. And even without a simultaneously running Xorg server, start_kdeinit_wrapper, in /usr/lib/startplasma, *will* hang/freeze unless kinit is compiled with KDEINIT_OOM_PROTECT unset. Also, there is an AUR package, kinit-nooom, which only patches src/kdeinit/kinit.cpp, and does not touch src/start_kdeinit/start_kdeinit.c or src/start_kdeinit/start_kdeinit_wrapper.c, which seems to have worked-around the problem with kinit-5.16. I have not tested that myself. Maybe somebody else would like to look at reset_oom_protect(), at about line 445, and see why this will cause /usr/lib/kf5/start_kdeinit_wrapper to hang? Git commit 14b9046ad2ae7d4b9e3ffda996b2112fae3690c4 by Martin Gräßlin. Committed on 15/12/2015 at 12:03. Pushed by graesslin into branch 'Plasma/5.5'. Unblock signals in child processes We need to unblock the signals blocked with pthread_sigmask. This caused kdeinit to block, because it relies on SIGUSR1. FIXED-IN: 5.5.1 REVIEW: 126361 M +4 -4 main_wayland.cpp M +1 -1 rules.cpp M +1 -1 useractions.cpp M +18 -0 utils.cpp M +15 -0 utils.h http://commits.kde.org/kwin/14b9046ad2ae7d4b9e3ffda996b2112fae3690c4 One additional patch is required to gain a functioning desktop. The first issue involves kdeinit5 hanging while waiting on programs in the kwin repository/package: https://git.reviewboard.kde.org/r/126361/diff/1?file=422799 That patch will resolve the hang, allowing /usr/lib/startplasma to start ksmserver. But there will still be a blank and unresponsive desktop with a working mouse cursor. To finally start the desktop, apply the patch from the plasma-framework repository/package: https://git.reviewboard.kde.org/r/126320/ Together, those patches should provide a working desktop. |