lakoliu / Furtherance

Track your time without being tracked
GNU General Public License v3.0
247 stars 23 forks source link

[Wayland] Gdk-Message: Error flushing display: Protocol error #60

Closed gapplef closed 9 months ago

gapplef commented 2 years ago

Ubuntu 22.04 + Gnome 42.1 + NVIDIA GeForce 940MX

After compiled from source, furtherance can't start under wayland: Gdk-Message: Error flushing display: Protocol error The problems can be fixed with set GDK_BACKEND=x11, so it should relate to wayland (and NVIDIA)

Similar issues I have encountered for other apps (may or may not helpful)

lakoliu commented 2 years ago

This is interesting because I created Furtherance on a computer using Wayland and an NVIDIA card and haven't had any issues. I've looked into those links you sent and it looks like some people have this issue and others don't. It seems like it could be an overall issue with GTK 4 and libadwaita. I don't think there is anything I can do to resolve it for now. If anyone else is facing this issue (or is using NVIDIA and Wayland and not having any issues), please let us know.

BlackJohnny commented 2 years ago

I am using Ubuntu 22.04 + Gnome 42.2 + Nvidia GTX 1650 Ti on Wayland and i get the same error:

Gdk-Message: 22:24:18.440: Error flushing display: Protocol error

and the GDK_BACKEND=x11 avoids the issue

BlackJohnny commented 2 years ago

I am using Ubuntu 22.04 + Gnome 42.2 + Nvidia GTX 1650 Ti on Wayland and i get the same error:

Gdk-Message: 22:24:18.440: Error flushing display: Protocol error

and the GDK_BACKEND=x11 avoids the issue

Actually the env variable only allows it to open the main window ... the rest of the functionality is broken

lakoliu commented 2 years ago

This is very strange. I also have an Nvidia GTX 1650 Ti. Are you running it in a container or VM? If not, did you install Furtherance via Flathub?

mkrupczak3 commented 1 year ago

Same issue with a different, also on a laptop with a 940MX. Appears to be an issue with Wayland. Might be device driver errata, coincidence is to great to discount this possibility

lakoliu commented 1 year ago

@mkrupczak3 did you install Furtherance via Flatpak/Flathub?

lakoliu commented 1 year ago

Is anyone still having this issue in Gnome 43/44? I still haven't been able to replicate it or find out what the issue may be, so I'm wondering if it was a Wayland issue that is fixed now. If so, I'll close this issue. Thanks!

rickykresslein commented 9 months ago

Closing since this no longer seems to be an issue.