Ubuntu: Chrome using more than 100% CPU on YouTube?



Question:

I'am new to Ubuntu and I'am trying the 14.04 LTS version.

When I am seeing any video on Chrome, my computer suddenly gets real slow, so I opened Chrome's task manager...

Task manager 1

Task manager 2

Why is this happening?

EDIT: I am using the HTML5 player

EDIT 2: lspci -k | grep -EA2 'VGA|3D' output:

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)  Subsystem: Hewlett-Packard Company Device 181b  Kernel driver in use: i915  --  01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 650M] (rev ff)  08:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229    PCI Express Card Reader (rev 01)  Subsystem: Hewlett-Packard Company Device 1818  


Solution:1

  1. Edit /etc/modprobe.d/local.conf
  2. Add the following line:

    options drm_kms_helper poll=N

  3. Restart and problems are gone (at least for me with Ubuntu 14.04 LTS).

Credits to this link.


Solution:2

Playing heavy videos requires a lot of CPU resources.

The CPU utilization percentage is shown per core in the task manager.

So if you have more that one CPU core, it is not a surprise that some process uses more than 100%. E.g if you have 8 cores, you can get up to 800%.

It looks like you have weak hardware. But the situation can probably improved if you install some graphics drivers. They may be available for your hardware or not. If they are, there is a chance to load part of the task on GPU instead of CPU.

Your problem is that you did not install a video driver. Run in terminal

sudo apt-get update  sudo apt-get install nvidia-346 nvidia-prime  

then reboot.

The problem should be solved.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »