Open Bug 1835986 Opened 1 year ago Updated 21 days ago

Firefox 113.2.0 at Android 13. Audio and video stutter when using bluetooth output.

Categories

(Fenix :: Performance, defect)

Firefox 113
All
Android
defect

Tracking

(Performance Impact:low)

UNCONFIRMED
Performance Impact low

People

(Reporter: fallouter245, Unassigned, NeedInfo)

References

(Blocks 2 open bugs)

Details

User Agent: Mozilla/5.0 (Android 13; Mobile; rv:109.0) Gecko/113.0 Firefox/113.0

Steps to reproduce:

Start play a video at any site with bluetooth audio output.

Actual results:

Audio and video stutter.

Expected results:

Audio ans video should run smoothly.

Hey Ilya! I'm running firefox 113.2.0 right now and I'm not getting any stutter on my videos / sound when using my bluetooth headphones. I tried both reddit and youtube videos. Would you mind expanding on a few details for me?

  1. Are you running any extensions? If so, which one?
  2. What phone are you using?
  3. If its not too much trouble, would you mind grabbing a profile for us? You could either do it with a USB cable or through the app itself.

Thanks!

  1. Normaly I use Ublock origin. But I tested without extensions – same result.
  2. Xiaomi Mi 10, MIUI 14.0.2(Android 13)

The severity field is not set for this bug.
:amejia, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(amejiamarmol)
Severity: -- → S4
Flags: needinfo?(amejiamarmol)
Priority: -- → P5
Performance Impact: --- → low

(In reply to Ilya from comment #2)

  1. Normaly I use Ublock origin. But I tested without extensions – same result.
  2. Xiaomi Mi 10, MIUI 14.0.2(Android 13)

Sorry, I could've sworn I answered this. Thanks for taking the time to answer me! I was just wondering, did you have the chance to try to grab a profile of the problem happening?

The Performance Impact Calculator has determined this bug's performance impact to be low. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.

Platforms: Android
Impact on site: Causes noticeable jank

I'm experiencing the same problem. Looking around internet, it seems something that affect only MIUI phone.

I'm using a Redmi Note 12 MIUI 14, Firefox 116.3.0

Viewing a video with jack headphone do not give problem, switching on Bluetooth audio and video
Using chrome, viewing the same video do not give problem.

Here follow a list of the test I made with firefox without result
different Bluetooth settings
firefox in anonymous session and all extensions disable
same clutter in firefox focus 116.3.0

Experiencing the same problem in MIUI 14 on Xiaomi 13 Pro with Liberty Air 2 Bluetooth headphones. Tried different Bluetooth settings in Android Developer Options to no avail. No audio crackling in Chrome, Spotify etc, so far just Firefox seems to be affected (both 116.3.0 and Nightly 118.0a1).

I have the same issue on any audio played on Firefox 120.0.1 (Android 13).
Tested also with Firefox Klar and Firefox Beta, same problem.
In latest nightly 122.20231123050305 the issue with audio ist better, but complete solved.

Blocks: perf-android
Blocks: 1894804

Jamie, do you have a phone like this that you can try to reproduce on?

Flags: needinfo?(jnicol)

I have a Redmi Note 13 Pro+ which I can kind of reproduce on. I don't get any audio stutter, but I do get the video freezing fairly frequently for sometimes up to a second in length.

However, I don't see this on builds as far back as when this bug was filed. For me I start getting the video stutter with this regression range. Bug 1846706 sticks out, and sure enough setting media.cubeb.sandbox to false fixes the issue. Weirdly though I only get the stutter in Fenix, not geckoview_example.

Clearly this cannot be the source of the original reporter's issue, as it landed 5 months later. But perhaps it could point us in the right direction. Matthew, do you have any ideas on why cubeb remoteing could be causing video to stutter? Here is a profile: https://share.firefox.dev/4fgRZBP Are there any useful logs or anything else I can provide?

Flags: needinfo?(jnicol) → needinfo?(kinetik)

same bug here ! since one year...
only on bluetooth
i have a xiaomi mi 10 on android 13 and with miui 14.0.5
and all version of firefox android do this to me since one year and after many test (normal version, nightly, and without any extension (all disabled and clean install of the app for trying)

i'm always on bluetooth it's so annoying ...

I believe I can reproduce this - NI myself to test

Flags: needinfo?(fdoty)
Severity: S4 → --
Priority: P5 → --

Update on comment 12 - I've attempted to reproduce this but am no longer running into this issue. If that changes I'll update this ticket.

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