為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

High CPU usage when watching youtube

  • 14 回覆
  • 1 有這個問題
  • 42 次檢視
  • 最近回覆由 uche_uche

more options

I have a Lenovo T460p with 16GB ram, i7 6820HQ cpu and fresh installation of windows. Also dual boot linux mint. When I watch 1080p youtube videos on windows the cpu usage is very high, between 80 and 100%. If I start in safe mode, cpu usage is around 30%. In linux mint cpu usage is about 25-30%. I've tried to disable every extensions in Firefox but whatever I do the cpu usage is very high. Whats going on?

I have a Lenovo T460p with 16GB ram, i7 6820HQ cpu and fresh installation of windows. Also dual boot linux mint. When I watch 1080p youtube videos on windows the cpu usage is very high, between 80 and 100%. If I start in safe mode, cpu usage is around 30%. In linux mint cpu usage is about 25-30%. I've tried to disable every extensions in Firefox but whatever I do the cpu usage is very high. Whats going on?

所有回覆 (14)

more options

Try setting fission.autostart = false on the about:config page to disable Fission. https://hacks.mozilla.org/2021/05/introducing-firefox-new-site-isolation-security-architecture/

WARNING: Changing preferences through this interface not officially supported Hidden settings edited using the about:config tool are explicitly not supported, which means that Mozilla makes no guarantees they will be supported in the future, or that Mozilla will fix them if they break. Mozilla does not test these preferences, and will not in the future. That includes security and performance testing which these preferences may affect.

[Warning added by moderator.]

由 Chris Ilias 於 修改

more options

Tried that but still the same. CPU up to 100% ...

more options

Try going to about:performance to see what's causing it.

more options

Not much to see there. Only the tabs and extensions that was running.

more options

Go into Safe Mode to see if you have the same issues. https://support.mozilla.org/en-US/kb/diagnose-firefox-issues-using-troubleshoot-mode

more options

In safe mode CPU usage is much lower, about 30%

more options

Sounds like a add-on could be causing the issue. Try turning them back on 1 by 1.

I have several YouTube tabs and not seeing that issue. The laptop I'm on dual boots Win7 and openSUSE Tumbleweed.

Operating System: openSUSE Tumbleweed 20211213 KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2 Kernel Version: 5.15.7-1-default (64-bit) Graphics Platform: X11 Processors: 4 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz Memory: 31.0 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600

由 jonzn4SUSE 於 修改

more options

If I disable evey extension its still the same. Its only in safe mode the CPU usage is lower

more options

I forgot, update to 95.0.1. What security software are you running?

more options

I'm already on 95.0.1 I haven't installed any security software, only what windows is providing.

more options

From about:performance, can you tell which tab is using the most memory?

more options

The youtube tab uses most, 76,5MB In linux Mint, CPU usage is only 15-30% when watching youtube 1080p videos.....

more options

And Chrome uses 15-20% CPU on the same videos ......

more options

I recently started encountering such behaviour (fan spinning up on Firefox), WebExtensions process up to 100%. I see the following (see image). The Firefox Task Manager showing hardly any processor load, the WebExtensions process showing 100% load. It appears to start to happen when I have had one or more Video websites open (not only YouTube, also other streaming services).

It appears that it is sort of random whether the WebExtensions process is running "hot" or not. Loading video in multiple tabs seems to worsen the problem, but the 100% load is not always coming up.

In this case I had closed all Video Tabs after playing some YouTube and other videos. The WebExtensions tab was (and currently is) still 100%. Maybe some spinlock or other process quirk?

The only way to get rid of this is either to kill (-s 15) the "hot" process, thereby loosing the Extensions, or to close Firefox and restart, and hope for the best when not running Video... (Normally video decoding takes about 30% of CPU on one core).

I know this is not very precise info, but I hope it may serve to reproduce. Running Firefox on Debian Stable, 91.4.1esr (64-bit).

Best regards,

Tjeerd Pinkert

由 uche_uche 於 修改