- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
P2: Important
 - 
    None
 - 
    6.2.12
 - 
    None
 
I developed a Wayland compositor and attempted to display a YUV buffer via DMA Buffer on my Renesas R-Car M3 board. My Wayland client uses GStreamer for streaming content.
However, the egl_create_image function in LinuxDmabufClientBufferIntegration::initYuvTexture failed because the EGL doesn't support the GR88 format.
The conversion rules are defined here.
The supported formats on the R-Car M3 are:
- AB30
 - AR24
 - AB24
 - XR24
 - XB24
 - RG16
 - NV12
 - NV21
 - YV12
 - YU12
 - YUYV
 - NV16
 - IMG2
 - YU24
 - IMG3
 - IMG4
 
As a workaround, I modified the conversion rule to use the YUYV format, which is supported by the R-Car, and it worked successfully. Please see the attached patch for details.
| For Gerrit Dashboard: QTBUG-128410 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 586795,1 | Compositor: Adjust YUYV conversion rule in linux-dmabuf-unstable-v1 | dev | qt/qtwayland | Status: NEW | 0 | 0 |