embear-engineering / drm-framebuffer

A simple application which can be used to test a Linux DRM device
GNU General Public License v3.0
55 stars 21 forks source link

Is it possible to force pixel format other than BGRA through output connectors #9

Open akhilxavi opened 1 month ago

akhilxavi commented 1 month ago

I am looking to force pixel format other than BGRA through output connectors to sink display if it supports. If my sink display support YUV420 or YUV444 I want to force that pixel format. Is it possible to do so?

I am looking for the possibility to preserve pixel format from my decoder to the sink display. If my decoder decodes in YUV444 format I want to display that on sink with out a format conversion to BRGA/other RGB.

I got a Intel atom based ADL-N platform powered by Ubuntu 24.04 with 6.8 kernel.

eichenberger commented 1 month ago

Hi @akhilxavi

Unfortunately, it is not supported to force the pixel format at the moment. It is always expected to be BRGA.

Regards, Stefan

akhilxavi commented 1 month ago

Thank you for the reply. Is that because the Linux intel DRM driver not supporting or DRM API's not exposing the capability to specify output pixel format?