flathub / com.todoist.Todoist

https://flathub.org/apps/details/com.todoist.Todoist
4 stars 3 forks source link

Screen is white on Nvidia wayland unless using --disable-gpu-sandbox #21

Open alvarlagerlof opened 2 years ago

alvarlagerlof commented 2 years ago

Title says it all.

alvarlagerlof commented 2 years ago

This might be a good fix https://github.com/razzeee/im.riot.Riot/commit/2b9214a466669c8a84cbfc7b87ecff2f1cfe8db4

alvarlagerlof commented 2 years ago

Now, even using --disable-gpu-sandbox does not work.

jurf commented 2 years ago

Does this happen also with the (official) Snap version?

alvarlagerlof commented 2 years ago

I cannot test that easily. I am on fedora silverblue.

alvarlagerlof commented 2 years ago

This is my log

[alvar@rehoboam ~]$ flatpak run com.todoist.Todoist 
[3 preload-host-spawn-strategy] Running: /app/bin/zypak-helper child - /app/extra/todoist/todoist --type=zygote --enable-crashpad
Gtk-Message: 14:09:11.675: Failed to load module "canberra-gtk-module"
Gtk-Message: 14:09:11.675: Failed to load module "canberra-gtk-module"
[3:0308/140911.690852:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
14:09:11.742 › APPIMAGE env is not defined, current application is not an AppImage
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3:0308/140911.914747:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[3:0308/140913.765894:ERROR:service_worker_storage.cc(1899)] Failed to delete the database: Database IO error
alvarlagerlof commented 2 years ago

This still consistently happens.

[alvar@rehoboam ~]$ flatpak run com.todoist.Todoist
Gtk-Message: 10:34:52.570: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:34:52.570: Failed to load module "canberra-gtk-module"
[3:0602/103452.591023:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
10:34:52.663 › APPIMAGE env is not defined, current application is not an AppImage
10:34:52.674 › checkForUpdatesAndNotify called, downloadPromise is null
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3:0602/103452.902219:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed

image

[alvar@rehoboam ~]$ flatpak run com.todoist.Todoist  --disable-gpu
Gtk-Message: 10:33:52.917: Failed to load module "canberra-gtk-module"
Gtk-Message: 10:33:52.918: Failed to load module "canberra-gtk-module"
[3:0602/103352.936980:ERROR:bus.cc(393)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
LaunchProcess: failed to execvp:
xdg-settings
10:33:53.030 › APPIMAGE env is not defined, current application is not an AppImage
10:33:53.053 › checkForUpdatesAndNotify called, downloadPromise is null
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[52:0602/103353.070474:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
[3:0602/103353.323991:ERROR:browser_main_loop.cc(269)] Gtk: gtk_widget_add_accelerator: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
[3:0602/103355.148435:ERROR:service_worker_storage.cc(1899)] Failed to delete the database: Database IO error

image

jurf commented 1 year ago

Does this still happen? I now have an Nvidia GPU and it works fine on Wayland.

ludberg commented 1 year ago

Yes, this is still an issue. Version 8.4.3

I have several issues actually. 1) The screen is blank after redirect from todoist.com 2) Upon restart, I need to login again.