100% CPU usage when playing youtube video, all cores used - windows 11
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
People
(Reporter: loisrajaonson, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0
Steps to reproduce:
I'm on windows 11.
I have uBlock origin, DeArrow and Youtube nonstop. I have used these on firefox for years without issues, this is fairly recent.
Open Youtube and start playing a video
(this page for ex: https://www.youtube.com/watch?v=YyC7j-O1gDg&list=RDYyC7j-O1gDg&start_radio=1)
This is not consistent, sometimes I will close firefox, open it again and it will be fine.
I have pretty capable hardware:
CPU - Ryzen 5 5600X
RAM: 64GB DDR4
GPU: Radeon 7900XTX
Video is playing on a secondary monitor (4k). It does NOT have fancy features, but my main monitor does. (HDR, 240hz variable refresh rate, honestly not sure everything thats enabled).
Actual results:
I observe 100% CPU usage on all 12 logical cores of my ryzen 5600X. CPU Fan starts spinning at max speed. The entire browser starts lagging (for example, takes a second or 2 for UI elements to react to hovering). The rest of my computer remains surprisingly responsive, but it is noticeable in some places (ex: very low framerate in games) also slows down, especially noticeable while in game.
Important notes:
Switching tabs while the video is playing stops the crazy CPU usage.
Pausing the video also stops crazy CPU usage. When resuming playback, the issue persists.
Profiler result: https://share.firefox.dev/4rHAUX1
Expected results:
I would expect like 0-5% usage tops on this kind of hardware, nothing noticeable.
looks like this is not unique to youtube. CPU usage is surprisingly high when scrolling reddit, or just scrolling back and forth on youtube while the video is paused
Comment 2•1 day ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•