Closed Bug 1892457 Opened 1 year ago Closed 1 year ago

10 bit RGB AV1 video broken on macOS M3

Categories

(Core :: Audio/Video: Playback, defect)

defect

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox125 --- unaffected
firefox126 --- fixed
firefox127 --- fixed

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Example https://bugzilla.mozilla.org/attachment.cgi?id=9397576

Mostly likely broken by AV1 hardware acceleration.

Set release status flags based on info from the regressing bug 1871796

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.

:jrmuizel what's the impact and priority on fixing this fix Fx126? (Next week is the final week of Fx126 beta)

Flags: needinfo?(jmuizelaar)
Assignee: nobody → jmuizelaar
Flags: needinfo?(jmuizelaar)

It doesn't seem to work. Confirmed by trying with Quicktime.

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
Attachment #9398175 - Flags: approval-mozilla-beta?
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ffa4703b3c60 Don't use the HW AV1 decoder for 12 bit or RGB video. r=padenot

Backed out for causing build bustages in AppleDecoderModule.cpp

Flags: needinfo?(jmuizelaar)

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

Attachment #9398175 - Flags: approval-mozilla-beta? → approval-mozilla-beta-
Pushed by jmuizelaar@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/71fca2c086ca Don't use the HW AV1 decoder for 12 bit or RGB video. r=padenot
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch

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
Flags: needinfo?(jmuizelaar)
Attachment #9398175 - Flags: approval-mozilla-beta- → approval-mozilla-beta?

Comment on attachment 9398175 [details]
Bug 1892457. Don't use the HW AV1 decoder for 12 bit or RGB video.

Approved for 126.0b6

Attachment #9398175 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: