https://bugs.freedesktop.org/show_bug.cgi?id=107530

--- Comment #6 from Lionel Landwerlin <lionel.g.landwer...@linux.intel.com> ---
So I went back and compiled 18.0.5 and unfortunately it doesn't work for me.
All the widgets are black outside the GLArea.

Interestingly if you set LIBGL_DRI3_DISABLE=1 the rendering of the widgets
sometimes appear.

GTK+ tries to be clever by reading back it's front buffer into the back buffer.

What I found is that DRI3 will outright prevent you from reading back the front
buffer of a window :
https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/loader/loader_dri3_helper.c#L1930
That makes the core of Mesa fill the texture unit, that should be used to
sample from the front buffer of the window, use the default that is a 1x1 black
texture.

You can workaround that issue by disabling the texture from pixmap mechanism of
GTK+ by setting GDK_GL=software-draw-surface.

I'm not really experienced enough to tell what part of the stack is broken :(

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to