Some AV1 video is broken when not using the compositor fastpath with swgl
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: jrmuizel, Assigned: lsalzman)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
This is visible here:
https://www.netflix.com/title/80057281?videoProfiles=av1-main-L30-dash-cbcs-prk
Assignee | ||
Comment 1•3 years ago
|
||
The brush_yuv_image slow path expected a YUV color matrix that applies scaling,
whereas we set up a matrix for SWGL that had no scaling to support the fast path.
To work around the fact that both paths have different scaling requirements, we
pass the matrix with scaling down to the fast path and undo the scaling later
when constructing SWGL's internal YUVMatrix from it. This allows both paths to
just use the same matrix and avoids the footgun.
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Comment 2•3 years ago
|
||
Set release status flags based on info from the regressing bug 1459526
Comment 4•3 years ago
•
|
||
Backed out for causing reftest failures on color_quads/720p.png.bt709.bt709.tv.yuv420p10.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=375545381&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/431286039fcf740db79492339a6d7f1463576cb7
Looks like patch from Bug 1763781 fixes these failures but that was backed out for wpt failures at canvas-display-p3-drawImage-ImageBitmap-video.html.
Assignee | ||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
bugherder |
![]() |
||
Comment 8•3 years ago
|
||
Hey Lee, can we request beta uplift on this? Probably can't get into the RC but it would make a good dot release ride along in 100 if we feel comfortable with doing that.
Updated•3 years ago
|
Updated•3 years ago
|
Comment 9•3 years ago
|
||
I assume we need this on ESR also?
Assignee | ||
Comment 10•3 years ago
|
||
Comment on attachment 9273495 [details]
Bug 1766056 - Fix YUV color matrix for SWGL slow and fast paths. r?jrmuizel
Beta/Release Uplift Approval Request
- User impact if declined: Visual artifacts when display HDR video (i.e. Netflix) on Software WebRender.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Fix is confined to some changes to the Software WebRender shader code. Only impacts HDR video.
- String changes made/needed:
- Is Android affected?: Yes
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration:
- User impact if declined:
- Fix Landed on Version:
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky):
![]() |
||
Comment 11•3 years ago
|
||
Confirming, I was able to reproduce in release, and checking today's nightly was not able to reproduce.
Note to reliably reproduce you need to resize the browser window during the preview video.
Comment 12•3 years ago
|
||
Comment on attachment 9273495 [details]
Bug 1766056 - Fix YUV color matrix for SWGL slow and fast paths. r?jrmuizel
Approved for 100.0rc1
Comment 13•3 years ago
|
||
bugherder uplift |
Comment 14•3 years ago
|
||
Comment on attachment 9273495 [details]
Bug 1766056 - Fix YUV color matrix for SWGL slow and fast paths. r?jrmuizel
Approved for 91.9esr.
Comment 15•3 years ago
|
||
bugherder uplift |
Description
•