Bug 111266

Summary: chromium player shows green grid on the right side
Product: Mesa Reporter: Zhaowei Yuan <zhaowei.yuan>
Component: Drivers/DRI/vc4Assignee: Eric Anholt <eric>
Status: RESOLVED FIXED QA Contact: Eric Anholt <eric>
Severity: normal    
Priority: medium    
Version: 19.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: chromium playing issue

Description Zhaowei Yuan 2019-07-31 10:08:21 UTC
Created attachment 144917 [details]
chromium playing issue

Hi,

I encountered a video playing issue with chromium, it shows some green grids on the right side of the windows, please check the attachment.

video size information:
resolution: 426 x 240 (size: 155520)
plane 0(Y), offset:0,      size:103680, stride:432,
plane 1(U), offset:103680, size:25920,  stride:216, 
plane 2(V), offset:129600, size:25920,  stride:216,

Because the width(426) is not the same with stride(432), so I think maybe mesa makes a mistake when converting YUV frame to RGB frame.

Anybody can give me suggestion?
Comment 1 Alejandro PiƱeiro (freenode IRC: apinheiro) 2019-09-03 07:03:14 UTC
This should be solved (although I didn't test it) with the following commit:

https://gitlab.freedesktop.org/mesa/mesa/commit/9db06a53500ce8df8683a195d3f0d03c2b8cef85

Closing.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.