10 bit RGB AV1 video broken on macOS M3
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox125 | --- | unaffected |
| firefox126 | --- | fixed |
| firefox127 | --- | fixed |
People
(Reporter: jrmuizel, Assigned: jrmuizel)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
|
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
|
Details | Review |
Example https://bugzilla.mozilla.org/attachment.cgi?id=9397576
Mostly likely broken by AV1 hardware acceleration.
Comment 1•1 year ago
|
||
Set release status flags based on info from the regressing bug 1871796
Comment 2•1 year ago
|
||
Jeff says that QuickTime plays 10-bits YUV420 files, so that's likely supported on M3. We want to play all av1 files so we need to parse the seq header in the metadata, and dispatch to libdav1d for 12-bits YUV420, and then 10 and 12-bits RGB (libdav1d supports everything).
Fixing https://bugzilla.mozilla.org/show_bug.cgi?id=1892457 + switching over AV1 decoding with libdav1d to FFmpegVideoDecoder on all platforms seems to be the route that is preferable, to consolidate things a bit.
Comment 3•1 year ago
|
||
:jrmuizel what's the impact and priority on fixing this fix Fx126? (Next week is the final week of Fx126 beta)
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
|
||
It doesn't seem to work. Confirmed by trying with Quicktime.
| Assignee | ||
Comment 5•1 year ago
|
||
Comment on attachment 9398175 [details]
Bug 1892457. Don't use the HW AV1 decoder for 12 bit or RGB video.
Beta/Release Uplift Approval Request
- User impact if declined: 12 bit and RGB AV1 videos won't play for users with M3 macs
- Is this code covered by automated tests?: No
- 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): It just disables using the hardware video decoder when we see videos that won't work.
- String changes made/needed:
- Is Android affected?: No
Comment 7•1 year ago
|
||
Backed out for causing build bustages in AppleDecoderModule.cpp
- Backout link
- Push with failures
- Failure Log
- Failure line: /builds/worker/checkouts/gecko/dom/media/platforms/apple/AppleDecoderModule.cpp:163:35: error: use of undeclared identifier 'YUVColorSpace'
Comment 8•1 year ago
|
||
Comment on attachment 9398175 [details]
Bug 1892457. Don't use the HW AV1 decoder for 12 bit or RGB video.
Rejecting uplift, patched causing issues on autoland
Comment 10•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 11•1 year ago
|
||
Comment on attachment 9398175 [details]
Bug 1892457. Don't use the HW AV1 decoder for 12 bit or RGB video.
Beta/Release Uplift Approval Request
- User impact if declined: 12 bit and RGB AV1 videos won't play for users with M3 macs
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- 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): It just disables using the hardware video decoder when we see videos that won't work.
- String changes made/needed:
- Is Android affected?: No
Comment 12•1 year ago
|
||
Comment on attachment 9398175 [details]
Bug 1892457. Don't use the HW AV1 decoder for 12 bit or RGB video.
Approved for 126.0b6
Comment 13•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Description
•