New issue
Advanced search Search tips

Issue 749399 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Jan 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Web Audio API - Choppy/Stuttering/Buffer Underflow when playing MP3 files

Reported by zy6...@gmail.com, Jul 27 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36

Steps to reproduce the problem:
1. Open Chromium 60.0.3112.78-1
2. Navigate to https://chordch.art
3. Press Play Button or Spacebar

What is the expected behavior?
Piano and metronome can be heard. No stuttering/buffer underflow can be heard. 

What went wrong?
Piano is stuttering when the play button is pressed. This sounds like buffer underflow.

Did this work before? Yes 59.0.3071.115-1

Does this work in other browsers? Yes

Chrome version: 60.0.3112.78-1  Channel: stable
OS Version: Arch
Flash Version: 

The website and code at chordch.art doesn't appear to be the problem as the issue can be replicated when navigating to https://www.html5rocks.com/en/tutorials/webaudio/intro/ and playing any of the single MP3 files within the page.

This bug is also apparent on Windows 7 x64.
 
Labels: Needs-Triage-M60 Needs-Bisect
This is also related the user input, so I am suspecting the issue 745898 as well.
Cc: pbomm...@chromium.org
Labels: TE-NeedsTriageFromMTV
Unable to reproduce the issue using #60.0.3112.78 on Linux Ubuntu 14.04, Fedora 25 as per the steps mentioned in comment #0.

Please find the attached screen cast for the reference.

Unable to test the issue using Linux Arch as we don't have the specific mentioned OS here. Hence requesting MTV team to look into this issue.

Thanks!!
Jul 28 2017 10-47 AM.webm
3.2 MB View Download
Was able to reproduce this issue in 60.0.3112.40 under Ubuntu 16.04, but after updating to 60.0.3112.78 everything became fine. It seems that it was already fixed.

Comment 5 by rtoy@chromium.org, Jul 28 2017

Labels: Needs-Feedback
I also cannot reproduce with Chrome 60.0.3112.78 (beta)

zy6str@ what kind of machine are you running this on?  I'm testing on a pretty high-powered Z840.

Comment 6 by zy6...@gmail.com, Jul 28 2017

### Machine 1 - Sager N5130 - Arch Linux Kernel 4.11.9
lspci -vvnn https://pastebin.com/PaG0Waq6
* Not working when using external M-Audio Profire 610. Also not working under Windows. 7 when using external M-Audio Profire 610.
* Working when using internal HDA Intel PCH audio.

### Machine 2 - Acer 14 CB3-431 (EDGAR) - Arch Linux Kernel 4.10.5
lspci -vvnn https://pastebin.com/95NuALpe
* Not working when using internal Intel audio under Arch Linux.
* Working under ChromeOS 59.0.3071.134

### Machine 3 - Custom Build - Arch Linux kernel 4.12.3
lspci -vvnn https://pastebin.com/pa9uLQy0
* Not working when using internal Intel audio

It's hard to determine the common factor between these machines. It first appears to be something to do with a package in Arch Linux. But it works with internal audio on machine 1. Then it doesn't work with internal audio on machine 2 or 3. 

Project Member

Comment 7 by sheriffbot@chromium.org, Jul 28 2017

Cc: rtoy@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "rtoy@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Comment 8 by rtoy@chromium.org, Jul 31 2017

Cc: dgreid@chromium.org
+dgreid: Any known audio issues with an Acer Chromebook 14 CB3-431-C5FM?

zy6str@ What kind of machine is machine 3?  Is it you Sager N5130 running a custom build? And by custom build, do you mean a custom Arch Linux build?

Comment 9 by zy6...@gmail.com, Jul 31 2017

I used "custom build" in the context of hardware not software. So Machine 3 is a custom built machine. Meaning the parts (motherboard, cpu, etc...) are sourced from various manufacturers and retailers and assembled by the end user. You can find the various components at the pastebin link.

This means the Sager is not a custom build nor did I mean a custom Arch Linux build when I used "custom build".

Hope this answers your questions.

Comment 10 by dgreid@google.com, Aug 1 2017

I'm not sure what the state of Edgar braswell audio drivers were in 4.10.  It could be that chrome OS has a bunch of audio patches on top of 3.18 for that board.  Note that getting low latency web audio to work is very tricky on linux and requires careful manipulation of thread priorities.
Labels: -TE-NeedsTriageFromMTV -Needs-Triage-M60 Needs-Feedback
zy6str@gmail.com

Could you try your example with M62+? (the latest Canary)

Comment 12 by zy6...@gmail.com, Sep 7 2017

Compiled and tested wit Chromium Version 62.0.3192.0 (Developer Build) (64-bit)

No symptoms with internal Intel Audio. Symptoms apparent (stuttering) with external Firewire device.
Project Member

Comment 13 by sheriffbot@chromium.org, Sep 7 2017

Cc: hongchan@chromium.org
Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "hongchan@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: Internals>Media>Audio
re #12:

It sounds like a audio infra problem since you're having an issue only with Firewire device. 
Labels: -Needs-Bisect TE-NeedsTriageFromMTV TE-Hardware-Dependency
Unable to reproduce the issue on ubuntu 14.04, Fedora 25 using chrome latest stable M61 #61.0.3163.79 as per the steps mentioned in comment #0.

Removing Needs-Bisect label for now , and marking it for MTV for further traiging.

@MTV Team -- Could someone look into this , as inhouse doesn't have the required OS configuration.

Thanks!
ping @MTV team. this bug has been waiting for 3 months.
Status: WontFix (was: Unconfirmed)
as per c#14, this seems external hardware related.

Sign in to add a comment