| Summary: | Issue with Systemd Watchdog and s2idle | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | snow flurry <snow> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | CC: | briguy992, edtoml, kde, kostadinshishmanov, postix |
| Priority: | VHI | ||
| Version First Reported In: | git-stable-Plasma/6.1 | ||
| Target Milestone: | --- | ||
| Platform: | Gentoo Packages | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/kwin/-/commit/c778c909f1b128ce517678d4666b0d4f78ef69d0 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
journalctl output showing kwin_watchdog being triggered
Additional journalctl output affecting my PC, similar behavior. |
||
|
Description
snow flurry
2024-05-31 20:34:34 UTC
Created attachment 170068 [details]
Additional journalctl output affecting my PC, similar behavior.
Attaching output from my PC that shows the same behavior. Pretty nasty bug since at first I thought something was crashing when trying to wake from sleep since everything gets terminated when the workspace exits.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/5834 This looks to be happening after a hibernate with kwin 6.1-beta. Suspend is working but after a hibernate I see: ```Jun 06 07:47:56 grover kernel: PM: hibernation: hibernation exit Jun 06 07:47:56 grover nut-server[1237]: Data for UPS [opti] is stale - check driver Jun 06 07:47:56 grover nut-server[1237]: UPS [opti] data is no longer stale Jun 06 07:47:56 grover systemd[1272]: plasma-kwin_wayland.service: Watchdog timeout (limit 15s)! Jun 06 07:47:56 grover nut-driver@opti[1040]: nut_libusb_get_interrupt: Input/Output Error Jun 06 07:47:56 grover upsd[1237]: Data for UPS [opti] is stale - check driver Jun 06 07:47:56 grover fan2go[973]: WARNING: PWM of top2 was changed by third party! Last set PWM value was: 170 but is now: 67 Jun 06 07:47:56 grover fan2go[973]: WARNING: PWM of back was changed by third party! Last set PWM value was: 171 but is now: 137 Jun 06 07:47:56 grover fan2go[973]: WARNING: PWM of cpu was changed by third party! Last set PWM value was: 89 but is now: 87 Jun 06 07:47:56 grover systemd[1272]: plasma-kwin_wayland.service: Killing process 1756 (kwin_wayland_wr) with signal SIGHUP. Jun 06 07:47:56 grover upsd[1237]: UPS [opti] data is no longer stale Jun 06 07:47:56 grover fan2go[973]: WARNING: PWM of front was changed by third party! Last set PWM value was: 150 but is now: 67 Jun 06 07:47:56 grover fan2go[973]: WARNING: PWM of top1 was changed by third party! Last set PWM value was: 177 but is now: 67 Jun 06 07:47:56 grover systemd[1272]: plasma-kwin_wayland.service: Killing process 1762 (kwin_wayland) with signal SIGHUP. Jun 06 07:47:56 grover dnscrypt-proxy[964]: Sorted latencies: Jun 06 07:47:56 grover systemd[1272]: plasma-kwin_wayland.service: Killing process 1910 (Xwayland) with signal SIGHUP. Jun 06 07:47:56 grover dnscrypt-proxy[964]: - 14ms google Jun 06 07:47:56 grover systemd[1272]: plasma-kwin_wayland.service: Killing process 90412 (kscreenlocker_g) with signal SIGHUP. Jun 06 07:47:56 grover dnscrypt-proxy[964]: - 33ms cloudflare Jun 06 07:47:56 grover systemd[1272]: Stopped target plasma-workspace-wayland.target. Jun 06 07:47:56 grover dnscrypt-proxy[964]: Server with the lowest initial latency: google (rtt: 14ms) ``` Setting the timeout to 3m also allows hibernate to resume here. Suggest that instead of disabling the watchdog, set the timeout to 3m. Git commit c778c909f1b128ce517678d4666b0d4f78ef69d0 by Vlad Zahorodnii, on behalf of Xaver Hugl. Committed on 06/06/2024 at 16:13. Pushed by vladz into branch 'Plasma/6.1'. disable the systemd watchdog by default It wrongly kills KWin after s2idle on some systems M +5 -4 plasma-kwin_wayland.service.in https://invent.kde.org/plasma/kwin/-/commit/c778c909f1b128ce517678d4666b0d4f78ef69d0 |