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
27 Replies
Zebratic
ZebraticOP8mo 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
nekename
nekename8mo ago
Oh, interesting, does this happen using OpenDeck without any plugins installed?
Zebratic
ZebraticOP8mo ago
i have not checked yet. give me a minute
nekename
nekename8mo 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.
Terrorwolf
Terrorwolf4w ago
@nekename I also have this problem. With and without Plugins.
nekename
nekename4w ago
even not using the flatpak?
Terrorwolf
Terrorwolf4w ago
I have installed the opendeck-git package from AUR. I can try to setup a VM sometime next week to try the flatpak
nekename
nekename4w ago
because from @Zebratic's logs it looks like a flatpak issue for them, so maybe a separate issue for you
Terrorwolf
Terrorwolf4w ago
I don't think its a separate issue since I also always had this problem. Just ignored it and didn't dig further until today. will grab latest logs in the next days to send it here
nekename
nekename4w ago
and you're sure it's related to OpenDeck? because I used to have this problem and it was GNOME-related (one reason why I switched to KDE)
Terrorwolf
Terrorwolf4w ago
I would say so. Let me try something. (Can test something in half an hour)
nekename
nekename4w ago
you can press escape on the shutdown screen to see the systemd logs i had "a stop job is running for user manager uid 1000"
Terrorwolf
Terrorwolf3w ago
will see later when it shuts down for the night. Still about 30 minutes to go until then @nekename just tested two times: Start the pc, log in, wait a few seconds until all user processes started and turned the pc off. One time without doing anything and onetime with shuting down opendeck via the tray icon. The one time i stopped opendeck it didn't occure. Only when opendeck is running. But yeah. Its this message. Its the thing that is listed when user specific background processes are still running and need to be stopped. Its only another message when its in flatpak. This one was fixed a few gnome versions ago if I remember correctly Btw I have it always on. Never bothered with an overlay on the starting and shutdown logs. @Leo The Leopard has the same problem. Devian 12 with Opendeck 2.5.0 installed via .deb from Github.
Leo The Leopard
Its not every time I shut down. Doing it just now skipped it completely, could be with having the opendeck windows open, or a plugin connected to something else thats also running
nekename
nekename2w ago
@Terrorwolf after switching to -git I have it too
Terrorwolf
Terrorwolf2w ago
thats very interresting.
nekename
nekename2w ago
didn't have it with non-git I'll see if it fixes it by switching back tomorrow
Terrorwolf
Terrorwolf2w ago
but in my opinion it doesn't make any sense that it would be the -git version itself
nekename
nekename2w ago
yeah maybe because of the different deps
Terrorwolf
Terrorwolf2w ago
shouldn't be now since its changed. If the packages are installed it makes no difference.
nekename
nekename2w ago
i haven't updated since your change but I meant maybe because of the use of webkit2gtk that maybe has a bug or something
Terrorwolf
Terrorwolf2w ago
On my PC they are both installed so it is if I would have installed it with the new PKGBUILD
nekename
nekename2w ago
although others have it on flatpak and Debian so idk
Terrorwolf
Terrorwolf2w ago
It doesn't work with webkit2gtk but needs webkit2gtk-4.1 The only differences I found is the PKGVer, the PGKVER update, the slightly changed upstream because of the fixed commit and that in the non git version the Update Check is disabled by default.
nekename
nekename2w ago
oh, so everyone using git manually installed 4.1?
Terrorwolf
Terrorwolf2w ago
not neccessary. In my case another package already dependes on it and thats why I have it installed. Its just not linked together for Pacman.
nekename
nekename2w ago
yeah

Did you find this page helpful?