SGX530 ARGB8888 Support

Hi jduchniewicz,

I had a chat with our internal teams and it appears that the TI DRM/KMS display driver advertises encoding using ARGB8888 pixel format in drmModeGetPlaneResources(). However, while creating an EGL window surface, it fails to drive the requested mode on the connected display (HDMI ghost) in drmModeSetCrtc().

Our suggestion would be to use eglCreatePbufferSurface() (instead of eglCreateWindowSurface()) with EGL_TEXTURE_FORMAT=EGL_TEXTURE_RGBA. This will render to an offscreen ARGB8888 framebuffer regardless of what the TI DRM/KMS display driver or the connected display supports.

Do let me know if this helps you out with your issue.

Best regards,
Omar.

2 Likes