100% cpu usage in youtube

Hi Iḿ new using manjaro and i have problems with web browsers, when im using facebook, youtube or i try to watch online videos the cpu is 100% usage

Hello there!

Can you provide a little more info on your system? Please send output of inxi -Fxzc0

this is the output

  Host: DACC Kernel: 4.19.69-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 9.1.0 Desktop: Xfce 4.14.1 Distro: Manjaro Linux 
  Type: Laptop System: Dell product: Inspiron 3558 v: N/A serial: <filter> 
  Mobo: Dell model: 0Y44X8 v: A00 serial: <filter> UEFI: Dell v: A13 
  date: 06/23/2017 
  Topology: Dual Core model: Intel Core i3-5005U bits: 64 type: MT MCP 
  arch: Broadwell rev: 4 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 15971 
  Speed: 499 MHz min/max: 500/1900 MHz Core speeds (MHz): 1: 500 2: 499 
  3: 499 4: 500 
  Device-1: Intel HD Graphics 5500 vendor: Dell driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.20.5 driver: intel unloaded: modesetting 
  resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 5500 (Broadwell GT2) 
  v: 4.5 Mesa 19.1.5 direct render: Yes 
  Device-1: Intel Broadwell-U Audio vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 00:03.0 
  Device-2: Intel Wildcat Point-LP High Definition Audio vendor: Dell 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k4.19.69-1-MANJARO 
  Device-1: Intel Wireless 3160 driver: iwlwifi v: kernel port: 4040 
  bus ID: 06:00.0 
  IF: wlp6s0 state: up mac: <filter> 
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell 
  driver: r8169 v: kernel port: 3000 bus ID: 07:00.0 
  IF: enp7s0 state: down mac: <filter> 
  Local Storage: total: 111.79 GiB used: 61.39 GiB (54.9%) 
  ID-1: /dev/sda vendor: Kingston model: SA400S37120G size: 111.79 GiB 
  ID-1: / size: 100.58 GiB used: 61.39 GiB (61.0%) fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 8.80 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
  System Temperatures: cpu: 49.0 C mobo: 48.0 C 
  Fan Speeds (RPM): cpu: 0 
  Processes: 193 Uptime: 2m Memory: 7.70 GiB used: 1.07 GiB (13.9%) 
  Init: systemd Compilers: gcc: 9.1.0 Shell: bash v: 5.0.9 inxi: 3.0.36

Can you provide a comparison to what you think should be normal? What prompted you to check the cpu usage now? Is playback stuttering?

Is it the same in different browsers? 1080p? 4K? 60fps?

I can only suggest you give this a read

thanks i will take a look

before that when im using youtube at most i get 40% of cpu using at least 3 tabs in google chrome with videos at 1080p now i only use 1 tab and i get 100% even in mozilla, it's like i have 1 mega internet connection the playback is stuttering and i can see the loader animation of de video, i check the cpu usage now because it can not let me do nothing in the browser, i recorded a little video of what happening, when i stop youtube video the CPU stabilizes again

Maybe you can try to create /etc/modprobe.d/i915.conf file and add this line to it:
options i915 enable_guc=3
reboot after that.
Also you can add:
options i915 enable_fbc=1

Hints indicate that you could use intel_pstate=skylake_hwp as kernel boot parameter. Also, is CSM enabled in BIOS? Maybe disable it ...

Use chromium-vaapi from the AUR instead, it uses the graphical chip in your computer instead of just the CPU to show videos.

How long ago was this? What has changed since then? Other than the obvious. What packages updated? What system changes have you made? Added any browser plugins recently?

1 Like

I try it with this hints but now I cannot star manjaro I get a black screen

Using chromium the CPU usage improve to 60%, but I remember that the normal usage is around 20 - 30 %

I have this problem about 1 month ago since that I use another computer and 3 days ago I turn on the computer and I update with this command sudo pacman - Syu, I have not change made in the system and no added new plugins

What do you mean? You can't boot into Manjaro anymore?

Always try first by adding custom kernel boot parameters at grub, so in case something is not working you simply restart and have it back as it was; then if works you add them in /etc/default/grub and run sudo update-grub ... Also careful with typos, double check always.

sudo pacman-mirrors -f5 && sudo pacman -Syyu
See the difference?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by