gtk3: Does not sync gl context causing Totem render issue with AMD Mesa / mesa_glthread=true
This is a duplicate for mesa reported issue, Mesa AMD driver have now enabled mesa_glthread which, according to the comment [1] triggered a bug in GTK. This issue cause Totem to render fully black on Wayland and only a top left Triangle on Xorg.
https://gitlab.freedesktop.org/mesa/mesa/-/issues/7948#note_1718613
Pierre-Eric Pelloux-Prayer @pepp
IMHO the bug is in gtk3: it cannot expect to be able to draw from the context created by the widget before making sure the work is complete.>
ie: somewhere before https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gdk/gdkgl.c#L369 it should sync with the context that was used to draw to source.
This can be reproduce using GStreamer widget alone too, it has not yet been fully rulled out to be GTK issue, thisis @pepp "humble" opinion, I'm filling this issue so that relevant devs can comment back. Totem is currently broken for AMD users in Fedora 37.