Closed Bug 1960950 Opened 29 days ago Closed 27 days ago

Stuttering in Firefox 139.0a1 (2025-04-16) (64-bit) when watching videos

Categories

(Core :: Graphics, defect)

Firefox 139
defect

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr128 --- unaffected
firefox137 --- unaffected
firefox138 --- unaffected
firefox139 + fixed

People

(Reporter: teleter, Assigned: sotaro)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files)

My firefox nightly 139.0a1 (2025-04-16) (64-bit) on Windows 11 24H2 is stuttering when watching videos on youtube, linkedin etc

I'm seeing the same effect and MozRegression points me to Bug 1959856

Component: General → Graphics
Keywords: regression
Product: Firefox → Core
Regressed by: 1959856

Per comment2, Sotaro, could you take a look on this? Thanks!

Flags: needinfo?(sotaro.ikeda.g)

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

See Also: → 1960907
Assignee: nobody → sotaro.ikeda.g
Flags: needinfo?(sotaro.ikeda.g)

Hi :Tarek, can you attach about:support to this bug?

Flags: needinfo?(teleter)

With pref media.wmf.zero-copy-nv12-textures = false, I could easier to reproduce the problem with the following STR with Win11 PC with NVIDIA GPU. I could not reproduce the problem with Win PCs with Intel GPU.

https://bugzilla.mozilla.org/show_bug.cgi?id=1817617#c22

See Also: → 1817617
See Also: → 1957528
Attached file ok

(In reply to Sotaro Ikeda [:sotaro] from comment #6)

With pref media.wmf.zero-copy-nv12-textures = false, I could easier to reproduce the problem with the following STR with Win11 PC with NVIDIA GPU. I could not reproduce the problem with Win PCs with Intel GPU.

https://bugzilla.mozilla.org/show_bug.cgi?id=1817617#c22

It seemed that recent change to WebRender seemed to block to use video overlay. can_promote_to_surface() was failed.

I am seeing the same visual problem with integrated Intel graphics. about:support attached.

Duplicate of this bug: 1960907

FWIW, I'm only able to repro this bug when using gfx.webrender.software pref = true (SW-WR).``

See Also: 1960907

I'm seeing stuttering on AV1, H264, H265, but not having issues on VP8, VP9. Seeing in both video playback and WebRTC scenarios. On Intel 12th Gen integrated graphics. Can we consider a backout of the offending patch?

Duplicate of this bug: 1961098

OK, I am going to create a patch to disable it.

On intel gen12, blocking nsIGfxInfo::FEATURE_REUSE_DECODER_DEVICE seemed to affect to the problem.

https://searchfox.org/mozilla-central/rev/0383ce6fe9579f345529b06170caaeb386ebc7c2/widget/windows/GfxInfo.cpp#1804

Pushed by sikeda.birchill@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/48cf37821c67 Disable FenceD3D11 handling to hardware decoded video r=gfx-reviewers,lsalzman
Duplicate of this bug: 1961160

Confirming that the current Windows Shippable builds on autoland that include this patch resolve my Intel 12th Gen issues. Thanks!

See Also: → 1957732
See Also: → 1960847
Status: NEW → RESOLVED
Closed: 27 days ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
See Also: → 1960100
Duplicate of this bug: 1960847
Duplicate of this bug: 1960100
Regressions: 1962147
QA Whiteboard: [qa-triage-done-c140/b139]

(In reply to Sotaro Ikeda [:sotaro] from comment #5)

Hi :Tarek, can you attach about:support to this bug?

Replying to disable needinfo alerts

Flags: needinfo?(teleter)

I found the problem of fence handling in the following functions during Bug 1964219.

  • D3D11TextureData::Unlock()
  • D3D11TextureData::IncrementAndSignalWriteFence()
See Also: → 1964219
See Also: 1957732
See Also: → 1965157
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: