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

Issue 617452 link

Starred by 5 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Mac
Pri: 2
Type: Bug



Sign in to add a comment

video playback consumes insane amount of CPU

Reported by teo8...@gmail.com, Jun 5 2016

Issue description

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

Example URL:
youtube.com

Steps to reproduce the problem:
1. play a youtube video
2. open the Task Manager

What is the expected behavior?
The tab playing video should consume a barely observable amount of CPU time

What went wrong?
While the video is playing, CPU usage on the youtube tab oscillates wildly:
- most of the time above 70%
- often above 100% with peaks as high as 300+%
- never below 25% (which is already way too high)

When I pause the video, CPU usage goes down to 0~2%.

Did this work before? Yes like yesterday or very few days ago

Is it a problem with Flash or HTML5? HTML5

Does this work in other browsers? Yes 

Chrome version: 50.0.2661.102  Channel: n/a
OS Version: 
Flash Version: Shockwave Flash 21.0 r0

I seem to remember this issue popping up ages ago and being related to NVidia. I don't remember if it got just fixed or if I had to turn on some flag not turned on by default to get rid of the issue, but one way or another it had disappeared. No idea if this is the same issue, though.
 
Cc: rnimmagadda@chromium.org
Labels: Needs-Feedback
Unable to repro this issue on Ubuntu Trusty (14.04) for Google Chrome Stable Version - 51.0.2704.79

Screen-recording is attached.

@teo8976: Could you please re-test the same on a clean profile [chrome://settings -> Add Person] and let us know your observations, which would help us in triaging it further.

Also, update your Google Chrome to Latest Stable Version - 51.0.2704.79

Thank you.
617452.ogv
12.1 MB Download

Comment 2 by teo8...@gmail.com, Jun 6 2016

Can you try this video in fullscreen? 
https://www.youtube.com/watch?v=xVA76jAzdHg
IMPORTANT: let it play for a few minutes. I observe the CPU usage increasing over time.

I observe higher CPU consumption on this video than others (I guess it's because it has a pretty high resolution). Also, I observe much higher CPU usage in fullscreen (far above 100%) than in non-fullscreen. Which is unexpected, because if the GPU was being used properly, the size at which the video is displayed should have very low impact on CPU usage, shouldn't it?

Also, I see in your screen recording I see you are observing about 20% CPU. What processor do you have? Do you think 20% is normal?? Isn't the GPU supposed to be doing most of the work, including video decoding?


P.S. I have tried the same on a clean profile, same results. Should I also try turning my computer off and on again?
Project Member

Comment 3 by sheriffbot@chromium.org, Jun 6 2016

Labels: -Needs-Feedback Needs-Review
Owner: rnimmagadda@chromium.org
Thank you for providing more feedback. Adding requester "rnimmagadda@chromium.org" for another review and adding "Needs-Review" label for tracking.

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

Comment 4 by teo8...@gmail.com, Jun 8 2016

Here's another one: https://www.youtube.com/watch?v=9noJwoIivV8

Comment 5 by teo8...@gmail.com, Jun 13 2016

It seems that even when a video apparently doesn't seem to reproduce the issue, CPU consumption slowly but steadily increases over time, and if you play it long enough, it will end up being very high.

Comment 6 by teo8...@gmail.com, Jun 16 2016

For god's sake, it has become impossible to watch a f***ing video with Chrome on linux. How can such a regression get so little attention?

You should bisect this, find out when it appeared, and IMMEDIATELY release an update that rolls back to the last version that worked, while you work on fixing it.
Labels: -Needs-Review Performance M-52
Owner: ----
Status: Untriaged (was: Unconfirmed)
Able to repro this issue on Ubuntu Trusty (14.04) for Google Chrome Stable Version - 51.0.2704.103

This is a Non-Regression issue existing from M31 - # 31.0.1600.0

Note: 
1. This issue is observed only on Linux (Verified on - Ubuntu Trusty)
2. On Windows CPU - 10-15% & MAC - 20-25%
3. Screen-recording is attached, on Ubuntu Trusty (14.04) CPU% is spiking to 90% as well. (Upon playing this video for long time)
617452.ogv
10.6 MB View Download
Project Member

Comment 8 by sheriffbot@chromium.org, Jun 17 2016

Labels: -M-52 M-53 MovedFrom-52
Moving this nonessential bug to the next milestone.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Components: -Internals>Media Internals>Media>Video
Labels: -Pri-2 Pri-3
Status: Available (was: Untriaged)
Summary: video playback consumes insane amount of CPU (was: CRITICAL REGRESSION: video playback consumes insane amount of CPU)
I couldn't repro this bug on my ubuntu(13.10)+Chrome 51 desktop device with either of these two videos (comment #2 and #4). 
As per comment #7, this issue may repro on certain version of Ubuntu but is not a regression since it exit in as early as M31. 
downgrade Priority to 3, change status to avaialble. Anybody can take a look?
Project Member

Comment 10 by sheriffbot@chromium.org, Jul 7 2016

Labels: -M-53 MovedFrom-53
This issue has been moved once and is lower than Pri-1. Removing the milestone.

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

Comment 11 by teo8...@gmail.com, Jul 9 2016

> downgrade Priority to 3

WTF!? I wonder how this was even 2 in the first place.

This issue makes it IMPOSSIBLE TO WATCH F***ING VIDEOS on the Internet. 

By the way I am seeing a number of other recent reports that look like the same issue, a few say it IS a regression, and some confirm the issue on OSes other than linux:

https://bugs.chromium.org/p/chromium/issues/detail?id=624674
https://bugs.chromium.org/p/chromium/issues/detail?id=622787
https://bugs.chromium.org/p/chromium/issues/detail?id=617118
https://bugs.chromium.org/p/chromium/issues/detail?id=594005
Labels: -Performance -Pri-3 -Via-Wizard -MovedFrom-52 -MovedFrom-53 Performance-Memory Needs-Investigation OS-Mac Pri-2
If this is still happening, can you please attach a trace (https://www.chromium.org/developers/how-tos/trace-event-profiling-tool/recording-tracing-runs)

It's difficult to investigate.
Hi,

While this may be expected, I have noticed that my 2016 15" MacBook Pro will consume 400% CPU when watching 4K@60FPS video on the Intel HD 530 and 6920HQ. This may be expected given the . Additionally, memory usage goes up throughout the video.

Not sure if this can help, but I took two vmmaps from different points in the video, a sample from the video, and ran Chrome using debug tracing. Video: https://www.youtube.com/watch?v=GRmY-4HKVIk

Because the trace log is too large for a file upload on Chromium, please find it at this link: https://i.succ.in/OA9b9NdS.out
high_cpu_flash_mem.out
186 KB Download
high_cpu_flash_mem2.out
185 KB Download
Sample of Google Chrome Helper.txt
1.5 MB View Download
Project Member

Comment 14 by sheriffbot@chromium.org, Apr 30 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: WontFix (was: Untriaged)

Sign in to add a comment