Closed Bug 1974881 Opened 1 month ago Closed 1 month ago

Windows video hardware decoding is broken

Categories

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

defect

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox140 --- unaffected
firefox141 --- unaffected
firefox142 --- fixed

People

(Reporter: alwu, Assigned: aosmond)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: perf-alert, regression)

Attachments

(2 files)

My device is capable to perform HW decoding, but HW decoding fails to work on the latest Nightly. The about:support shows the message Blocklisted; failure code FEATURE_FAILURE_BROKEN_TEXTURE_SHARING.

Attached file about:support
Assignee: nobody → aosmond
Status: NEW → ASSIGNED

When the GPU process finishes initializing, it provides an update over
IPDL to the parent process about our D2D state, including texture
sharing. We need to fully reinitialize the hardware video decoding and
encoding features when this happens, not just disable them if the
features are broken, to allow for recovery.

Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Duplicate of this bug: 1974577
Regressions: 1976222
Regressions: 1976230

(In reply to Pulsebot from comment #3)

Pushed by aosmond@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/0842a34ec236
https://hg.mozilla.org/integration/autoland/rev/de3a0dfa2fb9
Fix hardware video detection with GPU process. r=alwu

Perfherder has detected a browsertime performance change from push d7b23a92d73b417548ba88da8108c5476d55b6fd.

If you have any questions, please reach out to a performance sheriff. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.

Improvements:

Ratio Test Platform Options Absolute values (old vs new) Performance Profiles
34% tumblr loadtime windows11-64-24h2-shippable fission warm webrender 386.66 -> 254.21 Before/After
27% tumblr ContentfulSpeedIndex windows11-64-24h2-shippable fission warm webrender 177.23 -> 129.19 Before/After
25% tumblr SpeedIndex windows11-64-24h2-shippable fission warm webrender 163.05 -> 122.82 Before/After
21% tumblr PerceptualSpeedIndex windows11-64-24h2-shippable fission warm webrender 131.32 -> 103.36 Before/After
21% tumblr largestContentfulPaint windows11-64-24h2-shippable fission warm webrender 405.58 -> 321.09 Before/After
... ... ... ... ... ...
5% tumblr PerceptualSpeedIndex windows11-64-24h2-shippable cold fission webrender 423.93 -> 401.65 Before/After

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a performance sheriff to do that for you.

You can run all of these tests on try with ./mach try perf --alert 45866

The following documentation link provides more information about this command.

Keywords: perf-alert
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: