After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 779661 - Some textures are rendered with wrong colour format
Some textures are rendered with wrong colour format
Status: RESOLVED DUPLICATE of bug 779234
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-03-06 18:31 UTC by Mateusz Sieczko
Modified: 2017-03-07 11:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mateusz Sieczko 2017-03-06 18:31:06 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.
Comment 1 Emmanuele Bassi (:ebassi) 2017-03-06 23:46:36 UTC
The change was made in the internal copy of Cogl inside Mutter, so I'm going to re-assign the bug.
Comment 2 Emmanuele Bassi (:ebassi) 2017-03-06 23:47:08 UTC
Adding Carlos to the Cc.
Comment 3 Carlos Garnacho 2017-03-07 01:10:36 UTC
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.
Comment 4 Carlos Garnacho 2017-03-07 11:14:04 UTC
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 ***