High CPU on twitch TV stream
Categories
(Core :: Audio/Video: Playback, defect, P3)
Tracking
()
People
(Reporter: karlcow, Unassigned)
References
()
Details
(Keywords: perf:resource-use, Whiteboard: [platform-rel-Twitch])
Attachments
(1 file)
|
14.82 KB,
image/jpeg
|
Details |
Comment 1•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Updated•8 years ago
|
Comment 4•8 years ago
|
||
Comment 5•8 years ago
|
||
Comment 6•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Updated•8 years ago
|
Comment 8•8 years ago
|
||
Comment 10•8 years ago
|
||
Updated•8 years ago
|
Updated•8 years ago
|
Comment 11•8 years ago
|
||
Updated•7 years ago
|
Updated•7 years ago
|
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
Updated•7 years ago
|
Comment 17•7 years ago
|
||
A reddit user bumped into this issue recently:
https://bugzilla.mozilla.org/show_bug.cgi?id=1403823
On the reference laptop I'm not see evidence of a leak but certainly the CPU usage is consistently high.
~35-45% with three tabs streaming twitch.
Comment 18•7 years ago
|
||
I've to add an information about the bug occurence on my end.
I disconnected and uninstalled the Linux DisplayLink drivers on my machine, since they are causing a bunch of other problems and it seems that the performance issues are gone now.
Comment 20•6 years ago
|
||
(In reply to WhatsUpDoc? from comment #16)
1.Go to your favorite streamer.
2.Check the channel description, is the Leaderboard panel extension
installed?
3.Block this extension with AdBlock or uBlock origin.In Google Chrome, the CPU load is only when you see this extension, in the
Firefox the load is always.
This instantly dropped the CPU usage for me. Thanks!
Comment 21•5 years ago
|
||
I'm having the same problem (even worse on playback of VODs).
Collapsing the chat helps a bit, but not always and it's still using a lot of RAM. The streamers I tested it with don't have the Leaderboard panel extension installed, so I can't try that.
Comment 22•5 years ago
|
||
Since Firefox 78, I get this problem again. Hovering between 10 and 20% usage on a Core i7 950 with Hardware Acceleration depending on the stream resolution. So, yeah.
It's a mirror of the comment I made on April 23, 2018 above.
Comment 23•5 years ago
|
||
I have Firefox 78.0.2 (64-Bit) and I just noticed the same problem. I had up to 40% of CPU usage coming from the Twitch tab (no matter if active or not). I have a Core i5-3350. I had the stream as a normal sized window with chat being visible. Hardware Acceleration was turned off.
Comment 24•5 years ago
|
||
The same issue occurs in the newest nightly I am on, which is 82.0a1 (2020-09-08) (64-bit). Web render is on and it buffers and freezes a lot. I am using an Intel i7 4790k, 32gb ram, and a GeForce GTX 770.
Comment 26•4 years ago
|
||
I am also experiencing this bug. I'm running Firefox 91.0 on macOS 11.5.1
Comment 27•4 years ago
|
||
I had a similar problem (not sure if the same) on Manjaro linux.
After digging a bit I found out that:
- After watching a video for a longer period of time it starts using 100% CPU and playback stops (audio still plays, but video is frozen).
- I analysed my netdata information and found out that high CPU usage starts the moment the CPU reaches 95 degrees, which is the value for thermal throttling for most CPUs.
- Reading this thread seems that most people experiencing high CPU usage are using either a laptop or MacOS. Both laptops and macs are known for having terrible cooling and often running hot.
Looking at that I think there is some weird interaction between Firefox and the thermal throttling process of the OS,
that causes FF to use much more resources when thermal throttling starts.
I am aware that when a CPU throttles down there is less power so a higher percentage is expected, but a jump from 10% to over 100% CPU is not normal. I would expect that even if my CPU drops from 2.4 GHz to 1.2GHz, then its usage would go up twice, not 10 times.
I suspect there might be a problem with racing for resources: if FF wont get something calculated fast enough it tries to do the calculation again, and again cannot get the answer in time, so it tries it again, etc. causing CPU usage to go mad.
Cannot confirm that though, that is something a FF developer would need to check.
I hope that will help pinpoint the source of the problems.
Updated•4 years ago
|
Updated•3 years ago
|
Comment 28•3 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 3 duplicates.
:jimm, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Comment 29•3 years ago
|
||
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
Comment 30•3 years ago
|
||
(In reply to Release mgmt bot (nomail) [:suhaib / :marco/ :calixte] from comment #29)
The last needinfo from me was triggered in error by recent activity on the bug. I'm clearing the needinfo since this is a very old bug and I don't know if it's still relevant.
yes this is old bug, if not fixed for a long time bugs tend to become the old ones.
I see this bug using 91.13.0esr (32bit) under windows 7
Comment 31•2 years ago
|
||
this is still an issue, and it keeps getting worse. on the same hardware, i used to be able to watch 2 streams consecutively without much trouble a year or two ago. now my fans get really loud with just 1 twitch stream open in firefox + the emote extension, but they're dead silent with 3 streams playing simultaneously in chrome - with chat, sound, and extensions on, and even a game in another window. it's clearly a firefox problem, and not hardware or twitch.
as per advice i've seen out there, i've tried tweaking codecs and hardware acceleration, and it has made no difference in performance.
i wonder if it's something that can be fixed even, or if it's just something the users will have to deal with.
(windows 10, firefox 116.0.3 (64-bit))
Comment 32•2 years ago
|
||
(In reply to dymorf from comment #31)
this is still an issue, and it keeps getting worse. on the same hardware, i used to be able to watch 2 streams consecutively without much trouble a year or two ago. now my fans get really loud with just 1 twitch stream open in firefox + the emote extension, but they're dead silent with 3 streams playing simultaneously in chrome - with chat, sound, and extensions on, and even a game in another window. it's clearly a firefox problem, and not hardware or twitch.
as per advice i've seen out there, i've tried tweaking codecs and hardware acceleration, and it has made no difference in performance.
i wonder if it's something that can be fixed even, or if it's just something the users will have to deal with.
(windows 10, firefox 116.0.3 (64-bit))
dymorf, can you file a separate bug and link to it from here? There's a lot of different reports and there could be different causes so it's easier to keep things separate. Please include the graphics section of about:support in the new bug.
Comment 33•2 years ago
|
||
Clear a needinfo that is pending on an inactive user.
Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.
For more information, please visit BugBot documentation.
Comment 34•2 years ago
|
||
Looking at this, I think there's some weird interaction between Firefox and the OS's thermal throttling,
this causes ff to use much more resources when it starts thermal throttling. check it
https://www.twitch.tv/fixoyunnet
Description
•