RetroDECK
RetroDECK copied to clipboard
Flatpak Permission: Background permissions is set to "no": Configurator crashes on Linux desktop
When starting RetroDECK for the first time or launching Configurator from shortcut -- it crashes after some time (from almost instant to couple of seconds)
Machine: Lenovo Thinkpad T590, i7-8565U, Intel UHD 620 OS: Debian 12, Plasma on Wayland
STR:
- Launch Configurator
- Observe
OR
- Launch fresh install of RetroDECK
- Choose storage
- Click OK on the next popup
- Observe
Notes:
Here's the end of strace for RetroDECK launch (on Wayland):
poll([{fd=3, events=POLLIN}, {fd=6, events=POLLIN}], 2, -1Found RetroDECK config file in /var/config/retrodeck/retrodeck.cfg
Loading it
Lockfile not found
Executing finit
Choice is Internal Storage
Internal selected
) = 1 ([{fd=3, revents=POLLIN}])
read(6, 0x7fff79bcdcd0, 8) = -1 EAGAIN (Resource temporarily unavailable)
read(3, "\21\0\0\0\0\0\0\0\2\0\0\0\10R\0\0\350\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], WNOHANG, NULL) = 21000
exit_group(137) = ?
+++ exited with 137 +++
Configurator launch (on X11)
Loading it
Lockfile not found
Executing finit
Gtk-Message: 14:43:36.440: Failed to load module "colorreload-gtk-module"
Gtk-Message: 14:43:36.440: Failed to load module "window-decorations-gtk-module"
Choice is Internal Storage
Internal selected
Gtk-Message: 14:43:45.652: Failed to load module "colorreload-gtk-module"
Gtk-Message: 14:43:45.652: Failed to load module "window-decorations-gtk-module"
) = 1 ([{fd=3, revents=POLLIN}])
read(4, 0x7fff187c00f0, 8) = -1 EAGAIN (Resource temporarily unavailable)
read(3, "\21\0\0\0\0\0\0\0\2\0\0\0\266\f\0\0\350\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 128) = 128
wait4(-1, [{WIFSIGNALED(s) && WTERMSIG(s) == SIGKILL}], WNOHANG, NULL) = 3254
exit_group(137) = ?
+++ exited with 137 +++
Here's a full strace -f output https://paste.c-net.org/KnucklesHoped
Another STR
- Launch RetroDECK for the first time (or never finish first time setup)
- Wait for about 10 seconds
- Observe
After trying to audit all the kill signals and not getting any hits -- I've found out it's a permission issue
$ flatpak permission-show net.retrodeck.retrodeck
Table Object App Permissions Data
background background net.retrodeck.retrodeck no 0x00
Doing $ flatpak permission-remove background background fixes it
You could get a notification and allow background running, or just leave without background permission set
I would keep open this issue as if we will have other cases we should consider adding this background and its implications.
When there's no background permission -- it works fine It should be other set to yes or not set at all