Splode/pomotroid

Pomotroid failing to launch

dbolger opened this issue ยท 14 comments

uname -r : 5.16.10-arch1-1
Using SwayWM with Wayland.

When launching pomotroid from the command line, this error is showing up:
[25143:0220/150706.660543:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.

If there's any other info needed, please let me know.

I should mention, reinstalling Pomotroid did not work.

Same problem here, I'm using KDE with X11, installing from aur/pomotroid-bin

[48732:0221/162157.138893:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
yafish: Job 1, 'pomotroid' terminated by signal SIGTRAP (Trace or breakpoint trap)

Same here, using i3 with Xorg.

Same here

For me, Pomotroid-bin works again with --no-sandbox.

Update:
Related link in r/archlinux.

Same here on Fedora 35. Tried both the tar.gz release and the appimage.

--disable-gpu-sandbox did the trick for me. Seems to be a electron bug

For me, Pomotroid-bin works again with --no-sandbox.

Update: Related link in r/archlinux.
Thanks a lot! It's working on my machine again

I can verify that this bug happens on Wayland too, in both AppImage and compiled binary versions.

Passing --no-sandbox and/or --disable-gpu-sandbox to the AppImage solves the problem as well.

For those on Arch, after installing from AUR pomotroid-bin you can modify Pomotroid's .desktop file by adding the --disable-gpu-sandbox flag to the Exec config property. Here's an imdepotent [1] command you can use to apply the fix:

sudo sed -i 's|Exec=/usr/bin/pomotroid|Exec=/usr/bin/pomotroid --disable-gpu-sandbox|g' /usr/share/applications/pomotroid.desktop

[1] Edit: I realise this ain't imdepotent. TODO: Add an end-of-string regex character to the matcher Exec=/usr/bin/pomotroid to prevent repeated runs adding the flag over and over.

For those on Arch, after installing from AUR pomotroid-bin you can modify Pomotroid's .desktop file by adding the --disable-gpu-sandbox flag to the Exec config property. Here's an [idempotent] command you can use to apply the fix:

sudo sed -i 's|Exec=/usr/bin/pomotroid|Exec=/usr/bin/pomotroid --disable-gpu-sandbox|g' /usr/share/applications/pomotroid.desktop

Depending on your setup, you could also first copy the file to your home directory if you want to avoid modifying the system desktop entry:

cp /usr/share/applications/pomotroid.desktop ~/.local/share/applications/
sed -i -r 's|Exec=(/usr/bin/pomotroid)|Exec=\1 --disable-gpu-sandbox|' ~/.local/share/applications/pomotroid.desktop

Btw, these are not strictly idempotent as they keep adding the flag to the start of the command if run multiple times on the same file. But having multiples of the same flag is probably not an issue unless it's a crazy amount of times.

this is still an issue on linux mint 21.2

For those on Arch, after installing from AUR pomotroid-bin you can modify Pomotroid's .desktop file by adding the --disable-gpu-sandbox flag to the Exec config property. Here's an [idempotent] command you can use to apply the fix:

sudo sed -i 's|Exec=/usr/bin/pomotroid|Exec=/usr/bin/pomotroid --disable-gpu-sandbox|g' /usr/share/applications/pomotroid.desktop

Depending on your setup, you could also first copy the file to your home directory if you want to avoid modifying the system desktop entry:

cp /usr/share/applications/pomotroid.desktop ~/.local/share/applications/
sed -i -r 's|Exec=(/usr/bin/pomotroid)|Exec=\1 --disable-gpu-sandbox|' ~/.local/share/applications/pomotroid.desktop

Btw, these are not strictly idempotent as they keep adding the flag to the start of the command if run multiple times on the same file. But having multiples of the same flag is probably not an issue unless it's a crazy amount of times.

I update the file as you suggested

when I try to open pomotroid again, using special_key+p on my awesome, the app stills goes down.

what to do next?

I update the file as you suggested

when I try to open pomotroid again, using special_key+p on my awesome, the app stills goes down.

what to do next?

You can give https://github.com/vjousse/pomodorolm a try if you want, it's a pomotroid clone. The archlinux package name is pomodorolm-bin. I wrote it to have an up to date version of pomotroid running on my system and compatible with Wayland as pomotroid seems unmaintained.