High cpu usage watching youtube
-
l33t4opera last edited by l33t4opera
Hi guys, @johnd78 yes I was already aware about the issue with "lagging" audio indicator since the beginning.
@andrew84 Thanks for the screenshot. Are you sure it's only about that? , it states in general "High CPU usage watching YouTube".
Also, are you completely sure that the lagging is caused by this indicator? As I remember it the indicator was causing a much more CPU use than 40%.
For example, when I'm listening to only music (without video) on some websites, the indicator is active, but it seems not to use much more CPU resources in this case. -
l33t4opera last edited by l33t4opera
@marjang Can you re-check it in the latest Opera stable 76.0.4017.94, please?
-
andrew84 last edited by
@l33t4opera I can't say for sure, but I'd say that I don't see much difference when I compare the same video (and same resolution) in Chrome/Edge vs Opera with muted tab.
-
burnout426 Volunteer last edited by
@l33t4opera said in High cpu usage watching youtube:
As I remember it the indicator was causing a much more CPU use than 40%
Yeah, Opera was fixed to lower the CPU usage. But, it can still be high enough (as much as 17% in some cases) to cause performance issues.
DNA-82936 is an unresolved bug for this to make things even better. However, users ultimately want an option to disable the thing completely.
-
marjang last edited by marjang
@l33t4opera I tried in v.76 and it is the same with your mentioned flags enabled or disabled. Cpu power goes to about +40% when the sound favicon on a tab is animated. Causing cpu temperature rise over acceptable values.
My "solution" is to watch videos in fullscreen or hover mouse cursor over tab.
Spec: win8.1, fanless cpu i5 4570T, internal gpu.
-
l33t4opera last edited by l33t4opera
@marjang I see. Start watching a video, and check two things:
1. Right click on it, select "Stats for nerds", and see which codec it displays "avc" (h.264), vp9 or any other,
2. Open "chrome:media-internals", and click on the item below "Recent Players" which contains "kPlay", press "Ctrl+F" and search for "videodecodername". What it shows on the right of it, "FFmpeg..." or something else? -
l33t4opera last edited by l33t4opera
@marjang Ah, so that could be also the cause of some additional using of the CPU.
Can you install the h264ify extension, and check if the browser uses less CPU resources when you replaying videos?
(you can see that it forces replaying videos with H.264 codec, when it displays "avc1... /mp4a..." under "Stats for nerds")
You can install the extension under a fresh profile, if you don't want to clutter the current one as follows:
"Path\to\launcher.exe" --user-data-dir=\Path\to\writable_dir\fresh_profile"
. -
marjang last edited by
@l33t4opera Interesting, it definitely is better with the extension. Animated icon raises cpu for about 25% now.
-
l33t4opera last edited by l33t4opera
@marjang Nice, so at least that helped to reduce the CPU use in your case
;-)
By the way: it should now also use less CPU resources on most of the other website where you watch videos, not only on YT.What it's displaying now in "chrome:media-internals" on the right of "videodecodername" ?
-
andrew84 last edited by
@l33t4opera said in High cpu usage watching youtube:
videodecodername
"MojoVideoDecoder" in my case
-
sstevemmitchell last edited by
@l33t4opera said in High cpu usage watching youtube:
@marjang Ah, so that could be also the cause of some additional using of the CPU.
Can you install the h264ify extension, and check if the browser uses less CPU resources when you replaying videos?
(you can see that it forces replaying videos with H.264 codec. when it displays "avc1... /mp4a..." under "Stats for nerds")
You can install the extension under a fresh profile, if you don't want to clutter the current one as follows:
"Path\to\launcher.exe" --user-data-dir=\Path\to\writable_dir\fresh_profile"
.Thanks @l33t4opera , it work for me!
-
l33t4opera last edited by l33t4opera
@andrew84 That's good, so it looks like it's hardware accelerated
;-)
-
marjang last edited by
@l33t4opera
If i disable "Hardware-accelerated video decode" it changes to "WMFVideoDecoder". -
marjang last edited by
@leocg said in High cpu usage watching youtube:
@marjang What is the codec?
Youtube: avc1 / mp4a