Closed Bug 1817269 Opened 1 year ago Closed 1 year ago

Twitch.tv issue after 110 update

Categories

(Core :: Graphics, defect, P1)

Firefox 110
defect

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox-esr102 --- unaffected
firefox110 + fixed
firefox111 + fixed
firefox112 + fixed

People

(Reporter: attila.suranyi, Assigned: sotaro)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(11 files)

42.57 KB, text/plain
Details
48 bytes, text/x-phabricator-request
Details | Review
55.59 KB, text/plain
Details
30.23 KB, text/plain
Details
52.12 KB, text/plain
Details
30.98 KB, text/plain
Details
29.92 KB, text/plain
Details
30.46 KB, text/plain
Details
30.39 KB, text/plain
Details
30.38 KB, text/plain
Details
30.31 KB, text/plain
Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/110.0

Steps to reproduce:

Update to Firefox 110
Open any stream on https://www.twitch.tv

Actual results:

Low video frame rate
Lots of dropped frames
The bottom and top edges of the video flicker

Expected results:

Fluid video playback, no flicker

(If I disable hardware acceleration the problem disappears.
YouTube works fine with hardware acceleration)

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core

We didn't land anything which might affect hardware decoding in Fx110. Sotaro, do you think if this might be related with bug 1798245, or any gfx side change which you can think of might affect hardware decoding? Thanks.

Flags: needinfo?(sotaro.ikeda.g)

Additional info: Twitch flickering only occurs when the mouse pointer is over the video.

I found some problematic YouTube videos too (dropped frames, flickering progress bar)
Examples:
https://www.youtube.com/watch?v=tox5Dn0k9-E
https://www.youtube.com/watch?v=gJk5QssH0KE

Hi Attila Suranyi , can you check if the following address the problem for you?
-[1] Set pref "gfx.webrender.dcomp-video-yuv-overlay-win" to true in about:config
-[2] Restart Firefox

From about:support RGB overlay type is software.

  • OverlaySupport: NV12=Scaling YUV2=None BGRA8=Software RGB10A2=None

I wonder if Software overlay does not work on AMD GPU.

And the problem seems to be triggered by video overlay usage.
The problem seemed to be addressed by setting pref "gfx.webrender.dcomp-video-overlay-win" to false in about:config.

Flags: needinfo?(attila.suranyi)
Duplicate of this bug: 1817338
Severity: -- → S3
Priority: -- → P1
Component: Audio/Video: Playback → Graphics
Regressed by: 1798245
Assignee: nobody → sotaro.ikeda.g
Flags: needinfo?(sotaro.ikeda.g)

https://bugzilla.mozilla.org/show_bug.cgi?id=1817338
I have the same problem only with all videos online. Disabling hardware acceleration solves the problem, but then Mozilla loads the processor by 70% when playing video (I have an old I3 7100)
The specified parameter did not give any effect.
I generally unloaded AMD Software - no reaction. That is, literally in the morning everything everywhere worked with hardware inclusion, as it was updated to version 110.0, this game began.
I wrote about this error first on Community.Mozilla and there a person resigned with an Nvidia 3050 video card

everything worked before the update(In reply to Vakanata from comment #6)

https://bugzilla.mozilla.org/show_bug.cgi?id=1817338
I have the same problem only with all videos online. Disabling hardware acceleration solves the problem, but then Mozilla loads the processor by 70% when playing video (I have an old I3 7100)
The specified parameter did not give any effect.
I generally unloaded AMD Software - no reaction. That is, literally in the morning everything everywhere worked with hardware inclusion, as it was updated to version 110.0, this game began.
I wrote about this error first on Community.Mozilla and there a person resigned with an Nvidia 3050 video card

still in the morning, before this update everything worked fine with hardware acceleration

Comment on attachment 9318317 [details]
Bug 1817269 - Backout Bug 1798245

Beta/Release Uplift Approval Request

  • User impact if declined: Bug 1817269 could happens with AMD GPUs.
  • Is this code covered by automated tests?: Yes
  • 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): the change is not risky. The patch just backout Bug 1798245.
  • String changes made/needed: none
  • Is Android affected?: No
Attachment #9318317 - Flags: approval-mozilla-release?
Attachment #9318317 - Flags: approval-mozilla-beta?

Ashley has a similar GPU to Attila and is going to try to reproduce locally

I've been trying to reproduce this on a similar setup (Radeon RX 6900 XT, Windows 10 22H2, single 2560x1600@60hz monitor on Displayport) but haven't been able to get it to break so far, I attached my about:support to contrast with the others.

Differences I notice in about:support on the original poster's system ('op') and my system that can't repro the problem ('me'):
op: OS: Windows_NT 10.0 17763
me: OS: Windows_NT 10.0 19045
op: WebGL 1 Driver Renderer: Google Inc. (AMD) -- ANGLE (AMD, AMD Radeon RX 6700 XT Direct3D11 vs_5_0 ps_5_0, D3D11-31.0.12044.3)
me: WebGL 1 Driver Renderer: Google Inc. (AMD) -- ANGLE (AMD, AMD Radeon RX 6900 XT Direct3D11 vs_5_0 ps_5_0, D3D11-31.0.12027.7000)

So I have a slightly older GPU driver but a newer Windows 10 version, may be a factor but I am not sure.

Vakanata, can you please share your about:support info as well?

Flags: needinfo?(mortal9321)
Flags: needinfo?(mortal9321)

(In reply to Ashley Hale [:ahale] from comment #14)

op: OS: Windows_NT 10.0 17763
me: OS: Windows_NT 10.0 19045

Attila Suranyi , window version seemed old, can you update Windows10 version and can you check if the problem happens after the update?

I tried to make a clean profile, the problem persisted there
Everything Works in safe mode everywhere without glitches with hardware acceleration.
I also wanted to record as the author of the topic a video with cursor and video brakes, and when recording was turned on, glitches and brakes disappeared, and when turned off they returned without restarting the browser (fiction in Bandicam and AMD Software) In Windows Xbox Live, when recording, glitches did not disappear, but on recording the video is smooth without jerks

See Also: → 1816026
Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch

Comment on attachment 9318317 [details]
Bug 1817269 - Backout Bug 1798245

Approved for 111.0b3

Attachment #9318317 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

SV QA does not have any hardware similar with the ones from this bug, we only have two machines with AMD Graphics cards (AMD Rx550 and Radeon HD5450) which are very old. Though we tried to reproduce the issue from comment 0 but without success. We will also not be able to verify this fix on latest builds due to the above so our best bet will be the reporter and the other people who reproduced this in the first place.

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

Hi Attila Suranyi , can you check if the following address the problem for you?
-[1] Set pref "gfx.webrender.dcomp-video-yuv-overlay-win" to true in about:config
-[2] Restart Firefox

I changed the setting "gfx.webrender.dcomp-video-yuv-overlay-win" to true, but there was no visible change.

I am using Windows 10 LTSC 2019, I will see if it is possible to upgrade to LTSC 2021.
I am using AMD Pro Edition 22.Q4 driver for the video card.

(Sorry for the late reply, I was at work.)

Flags: needinfo?(attila.suranyi)

Upgrade to Win 10 LTSC 2021 (21H2) solved the problems for me

Duplicate of this bug: 1817504

(In reply to Attila Suranyi from comment #24)

Upgrade to Win 10 LTSC 2021 (21H2) solved the problems for me

Great! Thank you for the confirmation!

Updating to newer AMD driver 31.0.14001.45012 ( https://www.amd.com/en/support/kb/release-notes/rn-rad-win-23-2-1 ) fixed the problem as far as I can tell.

Version pairs (Windows, AMD driver) we know work or don't work:

  • Comment #0 - Windows_NT 10.0 17763 - 31.0.12044.3 - BAD
  • Comment #13 - Windows_NT 10.0 19045 - 31.0.12027.7000 - OK
  • Comment #16 - Windows_NT 6.1 7600 - 31.0.12029.10015 - BAD
  • Comment #26 - Windows_NT 10.0 18362 - 27.20.14501.28009 - OK
  • Comment #28 - Windows_NT 10.0 18362 - 31.0.12029.10015 - BAD
  • Comment #29 - Windows_NT 10.0 18362 - 31.0.14001.45012 - OK

Hypothesis - driver version has some broken range:

  • 27.20.14501.28009 - OK
  • 31.0.12027.7000 - OK
  • 31.0.12029.10015 - BAD
  • 31.0.12044.3 - BAD
  • 31.0.14001.45012 - OK

Downloadable blocklist rule is live.

Blocklist was not picked up on first run of Firefox today (and this led to a TDR which AMD bug reporter asked for a report about), but after restarting Firefox the blocklist is active and video works fine.

It seems the blocklist does not clear itself after driver update, so I've manually cleared the prefs, attached about:support.

It seems bad if this blocklist sticks around after driver update?

See Also: → 1817617
See Also: → 1817709

:ahale, can you take Firefox Profiler with "Graphics" settings and "Media" settings when the problem happens?

Flags: needinfo?(ahale)

Comment on attachment 9318317 [details]
Bug 1817269 - Backout Bug 1798245

110 regression, uplift approved for 110.0.1, thanks.

Attachment #9318317 - Flags: approval-mozilla-release? → approval-mozilla-release+
See Also: → 1778560, 1773872
Flags: needinfo?(ahale)
Blocks: 1769643
See Also: → 1851625
See Also: → 1851630
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: