为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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于修改