video playback consumes insane amount of CPU
Reported by
teo8...@gmail.com,
Jun 5 2016
|
|||||||||
Issue descriptionUserAgent: 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.
,
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?
,
Jun 6 2016
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
,
Jun 8 2016
Here's another one: https://www.youtube.com/watch?v=9noJwoIivV8
,
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.
,
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.
,
Jun 17 2016
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)
,
Jun 17 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 24 2016
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?
,
Jul 7 2016
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
,
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
,
Apr 29 2017
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.
,
Apr 29 2017
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
,
Apr 30 2018
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
,
Apr 30 2018
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by rnimmagadda@chromium.org
, Jun 6 2016Labels: Needs-Feedback
12.1 MB
12.1 MB Download