GNOME Bugzilla – Bug 779661
Some textures are rendered with wrong colour format
Last modified: 2017-03-07 11:14:04 UTC
From commit 1705a26fc708d142aebe17e76cb0b83ed00aa40c cogl uses GL_texture_swizzle to convert BGRA textures to RGBA. But some BGRA textures are now rendered as RGBA textures without preforming swizzling (or it doesn't work)—this include text in gnome shell (upper panel and overview), text in GDM and all XWayland windows. My GPU is gtx 580 with nvidia's proprietary drivers (v378.13). I have tested that texture swizzling works on nvidia, so probably it's not a driver bug.
The change was made in the internal copy of Cogl inside Mutter, so I'm going to re-assign the bug.
Adding Carlos to the Cc.
Text rendering is fixed by the two remaining patches in bug #779234. Xwayland windows seems strange, but I wonder if it's the same than https://bugzilla.redhat.com/show_bug.cgi?id=1428559, I can reproduce that on gnome-boxes with the anaconda installer and other x11 applications.
I traced the Xwayland problem I see to non-glamor paths and SHM buffers with RGB components. The issue is very similar to the font rendering one, and fixed by the same patches. I can only conclude something similar happens to you, although I have no nvidia hw to try with. I'm closing this bug as a duplicate as the patches fixing it are in the other bug. Please confirm that these patches fix the problem for you and comment/reopen there if that's not the case. *** This bug has been marked as a duplicate of bug 779234 ***