addwater icon indicating copy to clipboard operation
addwater copied to clipboard

[BUG] Won't open on Ubuntu 24.10 (Error 71 (Protocol error) dispatching to Wayland display.)

Open Deewens opened this issue 1 year ago • 5 comments

Describe the bug On a fresh Ubuntu install, I installed flatpak and downloaded Add Water. When I open the app, nothing happens. So I tried to run it from the terminal and got some logs as well as an error :

Gdk-Message: 20:01:35.592: Error 71 (Protocol error) dispatching to Wayland display.

To Reproduce Steps to reproduce the behavior:

  1. Open the app
  2. See that nothing happens

Expected behavior The app should opens.

Technical Details (please complete the following information):

 - Distribution: Ubuntu 24.10
 - Add Water version: 1.1.6

 - Browser: (Choose one: Firefox
 - Browser Package: Snap
 - Browser Version: 133

Additional context This is a fresh installation of Ubuntu. I just installed flatpak to install the apps that are not available on Snapcraft (like Add Water).

Attach log file if necessary Log from running command: flatpak run dev.qwery.AddWater Add Water flatpak run.log

Deewens avatar Dec 07 '24 19:12 Deewens

This very much seems like a driver issue especially with the "FINISHME" warnings from Mesa. Are you using an Intel graphics card?

It's not just an Ubuntu thing because I tested it on 24.10 a while back to fix a different bug and had no such issue.

I'll look into it some more. Thanks for reporting.

It seems to be a driver issue from a couple of the issues that have been reported but the actual cause in this case isn't clear. For one, it was an issue with explicit sync, and for another it was due to fractional scaling, but the common motif is driver bugs for the experimental protocols.

Try running this command and post the resulting log file: flatpak run --env=WAYLAND_DEBUG=1 dev.qwery.AddWater &> addwater_wayland.log

Hey,

Thanks for your quick answer! I did what you asked: addwater_wayland.log

Btw, I found out that this is not a problem with only your app, I just tried to install another flatpak, and I have the exact same problem. So the issue seems to be with Ubuntu (as I said, I am on a fresh install, so I haven't done anything unusual with my system). Or maybe this is due to my laptop?

Deewens avatar Dec 08 '24 14:12 Deewens

Took another look and I found an issue that may hold some insight. The details are very similar to your case.

They determined in that case it was an Nvidia driver issue and it gets triggered when using Vulkan as your GSK renderer which is now the default in GNOME 47.

The workaround until an Nvidia fix comes is to set the environment variable GSK_RENDERER=gl or GSK_RENDERER=ngl.

Read the issue, try the workaround, and let me know how it works for you.

Alright, it works with the environment variable, thanks

Deewens avatar Dec 10 '24 20:12 Deewens