Closed Bug 1735302 Opened 3 years ago Closed 3 years ago

Youtube Dropping Frames

Categories

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

Firefox 93
defect

Tracking

()

RESOLVED DUPLICATE of bug 1722171

People

(Reporter: sockeater22, Unassigned)

Details

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

Steps to reproduce:

Youtube is dropping frames roughly a few hundred frames per 10 thousand frames.

I've done extensive testing with my own hardware and friend's hardware to confirm the issue. Its important to note here that hardware configuration is most likely the cause of the problem.

Actual results:

Hardware notes
-3900X on a Gigabyte X570 AORUS Elite Wifi with a PNY RTX 3070 Uprising.
-The RTX 3070 is connected to triple 1440p 165Hz monitors. The issue is present no matter which monitor is the one displaying youtube with firefox
-Internet is hardwired, this problem has persisted across 3 ISPs, one from a 4G internet connection and 2 separate ISP networks based off HFC

The Issue
Youtube has started dropping frames since the update to Firefox 92.
Frames dropped are around a few hundred to a few thousand over 10k frames
There is no rhythmic pattern to when the frames drop it seems fairly random.

Testing and observations
-Friends PC systems confirmed not to have issues (tested on 5800X + RX6800 and i5 4750 + GTX 1080)
-This issue has persisted since Windows 10 over to Windows 11
-Audio continued to play despite frame drop stuttering, when frame dropping stopped it would cut immediately to the frame it was meant to be on. If you were purely listening to youtube you wouldn't notice frames dropping.
-This issue has persisted across the range of Nvidia Drivers available concurrently alongside Firefox 92-93
-Firefox versions were confirmed to be hardware accelerated
-acceleration.force-enabled was tried to no success
-forcing youtube to h264 with extension did not solve the issue
-hardware does not appear to spike in usage during dropped frames (observed via task manager)
-On the same system at any point in time from FF92-93 both chrome and Edge were used and did not produce dropped frames
-Firefox 93 for ubuntu was tried through Windows 11 WSLg and did not drop frames
-Reinstalling Firefox, Reinstalling Graphics drivers and reinstalling windows did not solve the issue.

The most important point here is the last one which is
A Radeon RX580 2048SP GPU was put in the system in stead of the RTX 3070 and all frame dropping immediately ceased.
I can only assume that there is some issue related to specifically Nvidia Ampere 3000 series GPUs and possible on top of that, mated with this specific set of hardware. However it was very apparent that switching out the 3070 with an AMD gpu solved the issue entirely.

Expected results:

Youtube drops almost no frames

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

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

To add more detail, Videos on stutter and drop frames only on youtube. This does not occur for other video sharing sites such as Twitch, Vimeo, Streamable, Twitch, Twitter or Reddit.

I believe this is the same as bug 1722171, would you mind to try the latest Nightly to see if this issue still exists or not? Thank you.

Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Flags: needinfo?(sockeater22)
Resolution: --- → DUPLICATE

(In reply to Alastor Wu [:alwu] from comment #3)

I believe this is the same as bug 1722171, would you mind to try the latest Nightly to see if this issue still exists or not? Thank you.

*** This bug has been marked as a duplicate of bug 1722171 ***

I've tested Nightly 95.0a1 extensively for a few days and can confirm the issue has been fixed. Frames were still dropped (around 5 over 40k frames) however I didn't notice any observable stutter in playback.

Flags: needinfo?(sockeater22)
You need to log in before you can comment on or make changes to this bug.