Splode / pomotroid

:tomato: Simple and visually-pleasing Pomodoro timer
https://splode.github.io/pomotroid/
MIT License
4.36k stars 369 forks source link

Pomotroid failing to launch #207

Open dbolger opened 2 years ago

dbolger commented 2 years ago

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 commented 2 years ago

I should mention, reinstalling Pomotroid did not work.

ZeekoZhu commented 2 years ago

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)
vjousse commented 2 years ago

Same here, using i3 with Xorg.

thepenguinthatwants commented 2 years ago

Same here

StepinSilence commented 2 years ago

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

Update: Related link in r/archlinux.

dsychin commented 2 years ago

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

LadnerJonas commented 2 years ago

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

SYK-08 commented 2 years ago

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

niyumard commented 2 years ago

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.

peterboyer commented 2 years ago

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.

victorz commented 2 years ago

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.

FallCheetah7373 commented 9 months ago

this is still an issue on linux mint 21.2

iamjenechka commented 5 months ago

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?

vjousse commented 5 months ago

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.