[mythtv-users] Raspberry 5 colorspace issues on wayland

Martin Bene Martin.Bene at icomedias.com
Fri Feb 2 22:50:09 UTC 2024

When running mythfrontend (master) on a raspi5 (raspi os bookwormon with wayland), both menu and playback show banding on gradients.

Same config but using X11 does not have the same problem (but does have tearing, especially on horizontal pans).

I’ve now compared mythfrontend -v playback output x11 to wayland and it confirms an issue with color depth on the display surface:

CoreContext mythrenderopengl.cpp:430 (DebugFeatures) - OpenGL: Qt OpenGL surface    : RGBA: 8:8:8:0 Depth: 0 Stencil: 0

CoreContext mythrenderopengl.cpp:430 (DebugFeatures) - OpenGL: Qt OpenGL surface    : RGBA: 5:6:6:0 Depth: 0 Stencil: 0

So the obvious question is: How do I get mythfrontend/qt/opengl/wayland to use 8:8:8 mode instead of 5:6:5? The naïve approach of changing MythRenderOpenGL::Create to request a 24 bit surcace unfortunately failed.


fails under wayland with eglError 3009

Thanks for any hints,
Martin Bene,

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20240202/0bf967c6/attachment.htm>

More information about the mythtv-users mailing list