Bug 111266 - chromium player shows green grid on the right side
Summary: chromium player shows green grid on the right side
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/vc4 (show other bugs)
Version: 19.0
Hardware: Other All
: medium normal
Assignee: Eric Anholt
QA Contact: Eric Anholt
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-31 10:08 UTC by Zhaowei Yuan
Modified: 2019-09-03 07:03 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
chromium playing issue (32.48 KB, image/jpeg)
2019-07-31 10:08 UTC, Zhaowei Yuan
Details

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.