New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 656896 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Dec 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Google Play Music tab consumes too much CPU

Reported by liskni...@gmail.com, Oct 18 2016

Issue description

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

Example URL:
https://play.google.com/music/listen

Steps to reproduce the problem:
1. open pavucontrol (pulseaudio volume settings)
2. open Google Play Music tab
3. observe that pavucontrol shows one client: Chrome, even though no music is playing
4. observe in top that pulseaudio consumes CPU (6 % on my laptop)
5. start playing music
6. observe that pavucontrol now shows two Chrome clients even though just one tab is playing music

What is the expected behavior?
I expect Chrome to have no open connection with pulseaudio when no music is playing to save watts and have more time on battery. Chrome 53 did just that, if I remember correctly.

What went wrong?
I upgraded to Chrome 54 and this started happening.

Did this work before? Yes probably chrome 53.0.2785.143-1, although not entirely sure

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? N/A

Chrome version: 54.0.2840.59  Channel: stable
OS Version: Debian testing
Flash Version: Shockwave Flash 23.0 r0

When I right-click the tab and click mute this tab, even the second connection goes away and pulseaudio is back to 0 CPU usage. But this is very inconveniet, I usually just press the multimedia keys on my keyboard; having to find the the tab and mute/unmute it makes the whole Google Play Music experience rather intolerable.

top also shows the nacl_helper consuming cca 2 % CPU, even if no music is playing and I'm not interacting with the tab. This has been happening ever since I started using Google Play Music. Wouldn't mind if someone looked into that, too.
 
Cc: ligim...@chromium.org bustamante@chromium.org
Labels: pre-stable-54.0.2840.59 Needs-Bisect M-54
Labels: TE-NeedsTraigeFromMTV
We are unable to play Google play music due to lack of Card with chrome HYD TE team.

Requesting someone from MTV team to look in to this issue for further triaging.  
liskni.si@gmail.com, what pavucontrol means? 
this: https://freedesktop.org/software/pulseaudio/pavucontrol/
(Is there some other pulseaudio mixer that people use?)
Cc: dalecur...@chromium.org
dale, should this bug go to Google Play team? OP claimed this NOT repro on Chrome 53.
Yes, you'll need to file a buganizer bug. It seems surprising that a nacl plugin is eating cpu when playback isn't ongoing.

Comment 7 by liskni...@gmail.com, Nov 17 2016

Do note that nacl plugin has been eating CPU since forever -- that's not a Chrome 53 regression. The regression is just that it's playing silence and this causes pulseaudio to eat CPU, too.
Hmm, maybe they started using WebAudio and are not suspending the context.
Status: WontFix (was: Unconfirmed)
this bug is ported to b/32981963
What is b/32981963 and how do I watch the progress of that?
ping
Sorry that's an internal Google bug, so we can't provide more context on it. I'd expect to see this resolve itself in the next couple weeks.

Sign in to add a comment