Closed Bug 1688783 Opened 4 years ago Closed 4 years ago

youtube.com - Framerate drop is quite high

Categories

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

Firefox 86
Unspecified
Android
defect

Tracking

()

RESOLVED FIXED
87 Branch
Webcompat Priority P2
Tracking Status
firefox-esr78 --- unaffected
firefox84 --- unaffected
firefox85 + fixed
firefox86 + fixed
firefox87 + fixed

People

(Reporter: karlcow, Assigned: padenot)

References

(Blocks 1 open bug, Regression, )

Details

(Keywords: regression)

Attachments

(1 file, 1 obsolete file)

  1. With Firefox Android Nightly 87 on Android 11
  2. Go to https://m.youtube.com/watch?v=QvkE9n9eiIM
  3. Set fullscreen
  4. Activate the Top right gear
  5. Select stats for nerds
  6. Check the second line, the value for frames

Expected:
minimal dropped frame rate

Actual
A lot of frames are being dropped. (around 17% on my tests)

The initial reporter on webcompat created a profile.
https://share.firefox.dev/3qESWtc

Chrome doesn't show that many frames dropped.

Is this Fenix-specific? I'm just wondering if this should be filed against https://github.com/mozilla-mobile/fenix/, or if we think this is a Gecko issue.

Flags: needinfo?(kdubost)

It seems to be fenix on Android 11.
I can't reproduce on mac with rdm with firefox android ua.

Flags: needinfo?(kdubost)

Caused by the new aaudio backend on android 11.

Assignee: nobody → padenot
Severity: -- → S1
Component: Audio/Video → Audio/Video: cubeb
Priority: -- → P1
Has Regression Range: --- → yes
Regressed by: 1674832

This was reported as being Android 11 only, but I can repro on Android 9.

Should we also land this for 86?

Flags: needinfo?(padenot)

Yes thanks, I have a fix that works, but using AAudio a bit later this year sounds like the right path to make sure everything works.

The patch should apply cleanly to all branches.

Flags: needinfo?(padenot)
Blocks: 1692584
Pushed by padenot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4bf24893b7bc Don't use AAudio by default for now. r=kinetik
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 87 Branch
Attachment #9199579 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: