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 787353 - cogl-xlib-renderer.c hard coded: output->subpixel_order = COGL_SUBPIXEL_ORDER_HORIZONTAL_RGB
cogl-xlib-renderer.c hard coded: output->subpixel_order = COGL_SUBPIXEL_ORDER...
Status: RESOLVED OBSOLETE
Product: mutter
Classification: Core
Component: general
git master
Other Linux
: Normal normal
: ---
Assigned To: mutter-maint
mutter-maint
Depends on:
Blocks:
 
 
Reported: 2017-09-06 10:30 UTC by Daniel van Vugt
Modified: 2021-07-05 13:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Daniel van Vugt 2017-09-06 10:30:18 UTC
cogl-xlib-renderer.c has hardcoded HRGB subpixel order (ignores what the hardware reports):

https://git.gnome.org/browse/mutter/tree/cogl/cogl/cogl-xlib-renderer.c#n306
https://git.gnome.org/browse/cogl/tree/cogl/cogl-xlib-renderer.c#n301

That said, this mistake is useful as a feature too. Many ouputs will only be able to detect DRM_MODE_SUBPIXEL_UNKNOWN, so hardcoding HRGB instead will actually make it right in most cases :)
Comment 1 Daniel van Vugt 2017-09-06 10:33:28 UTC
As the best compromise I think SubPixelUnknown should map to COGL_SUBPIXEL_ORDER_HORIZONTAL_RGB. And Wayland needs the equivalent...
Comment 2 GNOME Infrastructure Team 2021-07-05 13:48:25 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/mutter/-/issues/

Thank you for your understanding and your help.