Summary: | kwin_wayland and kamd dead locks on startup | ||
---|---|---|---|
Product: | [Unmaintained] kactivitymanagerd | Reporter: | Martin Flöser <mgraesslin> |
Component: | general | Assignee: | Ivan Čukić <ivan.cukic> |
Status: | RESOLVED FIXED | ||
Severity: | grave | CC: | jpsutton, plasma-bugs-null |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Martin Flöser
2015-07-07 09:12:42 UTC
Git commit a1a89d3d1efcf863c33a827a5a5d917f839dbb02 by Martin Gräßlin. Committed on 07/07/2015 at 09:48. Pushed by graesslin into branch 'master'. Disable Activities support on Wayland This is a temporary workaround for bug 349992 which causes freezes during startup as kwin and kamd dead lock each other on DBus. To workaround we don't call Activities::create and check in every usage of Activities::self() whether the pointer is valid. As a result kwin_wayland now starts pretty fast. M +7 -1 client.cpp M +6 -0 dbusinterface.cpp M +8 -4 effects.cpp M +1 -1 manage.cpp M +13 -10 scripting/scripting_model.cpp M +13 -6 scripting/workspace_wrapper.cpp M +3 -1 tabbox/tabbox.cpp M +3 -0 toplevel.cpp M +9 -0 useractions.cpp M +15 -2 workspace.cpp http://commits.kde.org/kwin/a1a89d3d1efcf863c33a827a5a5d917f839dbb02 Can you check whether this happens on clean sessions as well, not only in nested ones? (or do a 'kactivitymanagerd stop' in the main session before starting the nested one) When testing, wait a bit to make sure that it is dead-locked and not only slow to start. yes that clearly affected clean sessions as well. I always do a export $(dbus-launch) before starting kwin_wayland to have an independent session. When I say clean session, I meant a session where kamd is not running at all under the user. Not a clean d-bus session. all right, also that used to be the case. During the phone development we always had to wait half a minute during startup for kamd to start. It looks like this problem also happens on X11, see https://github.com/lxde/lxqt/issues/836 Can you check whether this solves the issue: https://phabricator.kde.org/D544 Was an issue in QDBusInterface. Fixed now. At least, it ought to be. |