pomotroid icon indicating copy to clipboard operation
pomotroid copied to clipboard

Pomotroid failing to launch

Open dbolger opened this issue 2 years ago • 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.

dbolger avatar Feb 20 '22 21:02 dbolger

I should mention, reinstalling Pomotroid did not work.

dbolger avatar Feb 20 '22 21:02 dbolger

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)

ZeekoZhu avatar Feb 21 '22 08:02 ZeekoZhu

Same here, using i3 with Xorg.

vjousse avatar Feb 21 '22 10:02 vjousse

Same here

thepenguinthatwants avatar Feb 21 '22 17:02 thepenguinthatwants

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

Update: Related link in r/archlinux.

StepinSilence avatar Feb 22 '22 03:02 StepinSilence

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

dsychin avatar Feb 26 '22 02:02 dsychin

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

LadnerJonas avatar Feb 27 '22 19:02 LadnerJonas

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

SYK-08 avatar Mar 17 '22 13:03 SYK-08

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.

niyumard avatar Mar 29 '22 06:03 niyumard

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.

peterboyer avatar May 10 '22 02:05 peterboyer

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.

victorz avatar May 10 '22 05:05 victorz

this is still an issue on linux mint 21.2

FallCheetah7373 avatar Dec 26 '23 03:12 FallCheetah7373

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?

iamjenechka avatar May 07 '24 10:05 iamjenechka

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.

vjousse avatar May 07 '24 18:05 vjousse