Open Bug 1695401 Opened 3 years ago Updated 3 years ago

Nightly dropping 5% of all frames (SD, HD, or UHD) on any YouTube.com video.

Categories

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

78 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: nycitykpop, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

Steps to reproduce:

Update Nightly.
Go to any YouTube.com video then click play.

Actual results:

YouTube videos play but lose 5% of frames on playback.

Expected results:

Youtube videos generally should not be dropping frames unless adverse conditions i.e network connectivity loss etc... They especially should not be dropping frames on low-definition videos ie 720p 480p 360p.

NOTE: This could be related to the work in progress on bug 1692881

Losing 5% of frames on ABCNews Prime 720p video
See SD video ABCNews Prime on YouTube:
https://www.youtube.com/watch?v=CrunHQq4dPg

I remember when in previous versions of Firefox I could watch YouTube Videos with 0 dropped frames (or on average less than 1%).

I mean 5% is not a big deal, even so, It may need to be looked at what is causing this problem.

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

Would you mind to use Firefox profiler with media preset to profile the issue?
Thank you.

Flags: needinfo?(kpopempire)

Sorry I had an email account issue and had to change my email account. The issue has been resolved and I am now able to continue.

In response to the previous comment:

Ok. How do I do that?

Flags: needinfo?(nycitykpop)

Video used for Firefox Media Profiler Entry. Shows approx 5% of all frames dropping.

Comment on attachment 9220948 [details]
Screenshot_2021-05-08_10-21-37_Firefox_Media_Profiler_video.png

Video is:
https://www.youtube.com/watch?v=h3fUgOKFMNU

The above video is set to 4K @ 60fps on my machine. (My graphics card can't handle 8K @ 60fps. My limit seems to be 8K @30fps).

Hi Jeffrey,

I am not able to open the link you provided. Would you mind capturing the profile again? Here is the tutorial: https://profiler.firefox.com/docs/#/./guide-ui-tour. Thanks!

Severity: -- → S4
Flags: needinfo?(nycitykpop)

I tried to capture the profile but it was too big. I will try again with a smaller snippet of video.

Flags: needinfo?(nycitykpop)

Ok. Here is the permalink for the profile:

https://share.firefox.dev/3y2yKGh

I don't think my GPU is being utilized at all in the playing of Youtube Videos, even though I have the about:config vaapi hardware acceleration settings enabled.

MPV (Celluloid) Player is using my VAAPI Hardware Decoder for playing the same video at less than 3% CPU usage compared to 300% in Firefox Nightly.

I am using the Linux command line HTOP and GLANCES programs.

I estimated in Htop 200% = a single physical core on my AMD Ryzen 7 4800H Processor.

In Htop Nightly is using 300% to play the above video and MPV is using approx 15% (on the fully downloaded version - 4K60fps).

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: