GNOME Bugzilla – Bug 787353
cogl-xlib-renderer.c hard coded: output->subpixel_order = COGL_SUBPIXEL_ORDER_HORIZONTAL_RGB
Last modified: 2021-07-05 13:48:25 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 :)
As the best compromise I think SubPixelUnknown should map to COGL_SUBPIXEL_ORDER_HORIZONTAL_RGB. And Wayland needs the equivalent...
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.