Not 100% sure this is a problem from here, or upstream.

I have used various versions of OpenDeck for some time. And ive recently (for about 3 months) i've always had a timeout of 2 minutes when shutting down my system. With me being annoyed too much recently, i looked into it. And i found out that this is caused by the OpenDeck flatpak. OpenDeck is the only application that i am currently using with flatpak. And after uninstalling it, my system shuts down just fine.
zebratic@archlinux ~
flatpak ps
Instance PID Application Runtime
3897134577 2844 me.amankhanna.opendeck org.gnome.Platform
zebratic@archlinux ~
flatpak ps
Instance PID Application Runtime
3897134577 2844 me.amankhanna.opendeck org.gnome.Platform
Would love this to be fixed if thats the case.
No description
4 Replies
Zebratic
ZebraticOP2w ago
Some shutdown logs:
Jan 17 00:34:12 archlinux systemd[1]: mullvad-daemon.service: Deactivated successfully.
Jan 17 00:34:12 archlinux systemd[1]: Stopped Mullvad VPN daemon.
Jan 17 00:34:12 archlinux systemd[1]: mullvad-daemon.service: Consumed 2.674s CPU time, 16.7M memory peak.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: State 'final-sigterm' timed out. Killing.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3917 (winedevice.exe) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3936 (wine_sechost_se) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3948 (n/a) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3961 (n/a) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 4072 (n/a) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Failed with result 'timeout'.
Jan 17 00:35:41 archlinux systemd[2060]: Stopped flatpak session helper.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Consumed 27min 27.948s CPU time, 681M memory peak.
Jan 17 00:34:12 archlinux systemd[1]: mullvad-daemon.service: Deactivated successfully.
Jan 17 00:34:12 archlinux systemd[1]: Stopped Mullvad VPN daemon.
Jan 17 00:34:12 archlinux systemd[1]: mullvad-daemon.service: Consumed 2.674s CPU time, 16.7M memory peak.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: State 'final-sigterm' timed out. Killing.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3917 (winedevice.exe) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3936 (wine_sechost_se) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3948 (n/a) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 3961 (n/a) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Killing process 4072 (n/a) with signal SIGKILL.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Failed with result 'timeout'.
Jan 17 00:35:41 archlinux systemd[2060]: Stopped flatpak session helper.
Jan 17 00:35:41 archlinux systemd[2060]: flatpak-session-helper.service: Consumed 27min 27.948s CPU time, 681M memory peak.
Notice the 1 minute and 29 seconds wait time between stopping Mullvad VPN, and flatpak-session-helper.service
ninjadev64
ninjadev642w ago
Oh, interesting, does this happen using OpenDeck without any plugins installed?
Zebratic
ZebraticOP2w ago
i have not checked yet. give me a minute
ninjadev64
ninjadev642w ago
Anything interesting? If it is an issue with OpenDeck, it isn’t likely this will make it in to 2.4.0 as that’s planned for Sunday and I don’t have time to work on things in between, unless you submit a PR.

Did you find this page helpful?