Gdk-Message: Error 71 (Protocol error) dispatching to Wayland display

I’ve been using Rawhide these last couple of weeks for an early look for GNOME 47, and while things have been working quite solid, from a couple of days back to today’s build I’ve been facing this issue while trying to open any non-Flatpak GNOME app (in my case, the only ones I have installed like this are Nautilus and Software). It also breaks opening the file portal on Firefox. I suspect it was due to the latest NVIDIA drivers, as it started as soon as the switch from the 555 to 560 drivers happened (and I have a GTX1050Ti).

Here are the complete logs trying to run Nautilus with WAYLAND_DEBUG=1, the main focus seem to be on this part, right at the end:

[2776872.095] {Display Queue} wl_display#1.error(wl_surface#41, 0, "DRM Syncobj surface object already created for surface 41")

Things are working fine on Rawhide.20240725.n.0 (2024-07-25T06:09:06Z) and aren’t on Rawhide.20240805.n.0 (2024-08-05T06:08:01Z).

I’d love some help on how to debug this and help find the issue.

5 Likes

This worked for me as well, I’m on amd+nvidia hybrid graphics.
The only change I made was that I went with the new OpenGL renderer instead and it works for me.

I’m assuming the default is vulkan now, which might be the problem, can anyone verify this?

so basically I did this
mkdir -p ~/.config/environment.d
echo "GSK_RENDERER=ngl" >> ~/.config/environment.d/gsk.conf

6 Likes

I’m affected by this issue still (Intel/Nvidia hybrid graphics laptop on Gnome Wayland) and if I use GSK_RENDERER=ngl or GSK_RENDERER=gl they both allow for a fix so that my flatpaks open again, so in my case either option works.

thanks worked

While it works, it seems like everything’s slower now. Not unexpected though, and I’m just happy that I can update stuff again. (This feels like a release blocker. I’m hoping that the QA team notices.)

I got this error right after I updated to F41, but executing these commands fixed the problem!

mkdir -p ~/.config/environment.d
echo "GSK_RENDERER=ngl" >> ~/.config/environment.d/gsk.conf

:ballot_box_with_check:

Thanks!

3 Likes

I’m still on Fedora 40 Kinoite and I noticed GTK Flatpak apps failing at launch since two days ago. This fixed the issue. Thank you!