Closed
Bug 1403355
Opened 7 years ago
Closed 2 years ago
High CPU usage while Google Music tab is active
Categories
(Core :: Graphics, defect, P3)
Core
Graphics
Tracking
()
People
(Reporter: matkam, Unassigned)
References
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
13.24 KB,
text/plain
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0
Build ID: 20170926100259
Steps to reproduce:
Play music in Google Music, leave tab active
Actual results:
High CPU usage: https://perfht.ml/2wiy6Er
Expected results:
CPU usage should be lower
Comment 1•7 years ago
|
||
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:58.0) Gecko/20100101 Firefox/58.0; Version: 58.0a1
Build ID: 20170929100122
Hello Matt,
I have tested this issue on latest Firefox release version 56.0, latest Nightly build and could not reproduce it. I have accesed https://play.google.com/music/m/Temm2xjzirmmisscwguzxpql24u?t=Gina_-_Argentine_Tango_Orchestra, played one song and let the tab active. The CPU usage values were normal.
Can you please retest this using latest Firefox release and latest Nightly build (https://nightly.mozilla.org/) and report back the results? When doing this, please use a new clean Firefox profile, maybe even safe mode, to eliminate custom settings as a possible cause (https://goo.gl/AR5o9d).
Mike, can you please take a look on the provided Cleopatra profile and see if it helps to find out what caused the issue?
Flags: needinfo?(mconley)
Flags: needinfo?(matkam)
Comment 2•7 years ago
|
||
Looking at the profile, I certainly see some distress in the content process running Google Music. Seems mostly JS-bound... do you happen to have any add-ons installed and enabled?
Could you post your about:support data, please?
So testing it more, it seems to come from the animations on the site. Specifically I'm seeing it when the glowing play button is active, on the lower right corner of any of the recommended music on the Google Music home page. I do remember previously having issues elsewhere in the app, I think coming from animations on track progress, but maybe Google removed some fancy animation there. This add-on did help, but also caused some issues so I stopped using it: https://addons.mozilla.org/en-US/firefox/addon/speedy-google-music/
I'll attach my my about:support data as a file.
Thanks for looking into this!
Flags: needinfo?(matkam)
Comment 5•7 years ago
|
||
Looking again at the profile, it does seem like there's a very busy animation occurring. Is the tab showing the loading indicator (a back and forth ping pong effect?)
Are you able to take a short screencast of your browser when you're in this state? Something like Jing usually works nicely: https://www.techsmith.com/download/jing/
Flags: needinfo?(mconley) → needinfo?(matkam)
The tab is not showing the loading indicator. Here's a screen cast using Jing (link not tested since I don't have Flash): https://screencast.com/t/qCx9JreM2Br
Playing with this some more, it the tab uses significantly more CPU when active on the built in retina display of my laptop vs active on my external monitor. Could be a graphics acceleration issue? I have an external monitor connected via Thunderbolt, the built in retina display is set to scale differently.
Flags: needinfo?(matkam)
Comment 7•7 years ago
|
||
You're right - there's not much going on there except the play head.
If you disable _all_ of your extensions, does CPU usage improve?
Flags: needinfo?(matkam)
Disabling _all_ plugins has little to no affect. Biggest change still happens when moving the window from the built in display to the external monitor.
Flags: needinfo?(matkam)
Comment 9•7 years ago
|
||
To be clear, the Retina display causes higher CPU usage? That's what I'm getting from comment 6. What is the display resolution on the external display?
Flags: needinfo?(matkam)
Reporter | ||
Comment 10•7 years ago
|
||
Correct, the built-in Retina display causes higher CPU.
Built-in Display is a 13.3 inch, 2560 x 1600.
External is an Apple Thunderbolt Display, 27 inch, 2560 x 1440.
Graphics processor is Intel Iris 1536 MB.
Flags: needinfo?(matkam)
Comment 11•7 years ago
|
||
Huh. I could imagine a difference if the resolution were drastically different, but these are pretty comparable. Hey mstange, any idea why the Retina display might cause an increase in CPU usage over the external display?
Flags: needinfo?(mstange)
Comment 12•7 years ago
|
||
It depends on the window size. If you move a window from the retina display to a non-retina display and don't resize it, then it'll keep its size in logical units, and the actual number of pixels it renders will be smaller (divided by four).
Flags: needinfo?(mstange)
Updated•7 years ago
|
Component: Untriaged → Graphics
Product: Firefox → Core
Updated•7 years ago
|
status-firefox56:
--- → wontfix
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
Priority: -- → P3
Whiteboard: [gfx-noted]
Comment 13•7 years ago
|
||
status-firefox59:
--- → ?
Updated•2 years ago
|
Severity: normal → S3
Comment hidden (obsolete) |
Updated•2 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•