Corruption seen in GPU composed output

Friedrich Eugen (XC-CP/ESA2) Eugen.Friedrich at bosch.com
Wed Apr 10 11:47:26 UTC 2024


Hello Pritima,

One possible explanation from my site:

[cid:image001.png at 01DA8B4D.9D8A7350]For me it looks like the buffer you send to compositor has a content below
[cid:image005.png at 01DA8B4D.0BE59970]
And the red area has some alpha value which is wrongly interpreted by the display unit during the composition.
If GPU composition is enforced the GPU can interpret the values correctly and provide expected results..

From: wayland-devel <wayland-devel-bounces at lists.freedesktop.org> On Behalf Of Pritama Biswas (QUIC)
Sent: Monday, April 8, 2024 3:31 PM
To: wayland-devel at lists.freedesktop.org
Cc: Namit Solanki (QUIC) <quic_nsolanki at quicinc.com>
Subject: RE: Corruption seen in GPU composed output

Hi Team,

Please find the comparison between working and non-working use-cases.

Issue case: When status bar and camera layer are GPU composed and video layer is composed by Display Processing Unit.
[cid:image006.png at 01DA8B4D.0BE59970]

Working case: When all layers are sent to gl-renderer for GPU composition.
[A person posing for a picture  Description automatically generated]

Thanks and Regards,
Pritama Biswas

From: Pritama Biswas (QUIC)
Sent: Monday, April 8, 2024 6:28 PM
To: 'wayland-devel at lists.freedesktop.org' <wayland-devel at lists.freedesktop.org<mailto:wayland-devel at lists.freedesktop.org>>
Cc: Namit Solanki (QUIC) <quic_nsolanki at quicinc.com<mailto:quic_nsolanki at quicinc.com>>
Subject: Corruption seen in GPU composed output

Hi Weston team,

We are seeing corruption when running video playback in fullscreen (1080p) + camera in non-fullscreen mode (480x270) in Weston 10.
[A person standing in front of a painting  Description automatically generated]

Here, the status bar and the camera layer is sent for GPU composition via gl-renderer and the video layer is sent to Display processing unit for composition.

We took layer buffer dump for GPU composer layer and confirmed that the GPU composed output is corrupted as shown below:
[cid:image009.png at 01DA8B4D.0BE59970]

When we force all the layers (camera + Video + Status bar) to go to GPU composition, issue is not seen.

Any pointers to debug or fix this issue will be helpful.

Thanks and Regards,
Pritama Biswas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image005.png
Type: image/png
Size: 20961 bytes
Desc: image005.png
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image006.png
Type: image/png
Size: 984090 bytes
Desc: image006.png
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image007.jpg
Type: image/jpeg
Size: 465970 bytes
Desc: image007.jpg
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0002.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image008.jpg
Type: image/jpeg
Size: 364956 bytes
Desc: image008.jpg
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0003.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image009.png
Type: image/png
Size: 642543 bytes
Desc: image009.png
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 223 bytes
Desc: image001.png
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20240410/0f1e97cc/attachment-0007.png>


More information about the wayland-devel mailing list