Live data from Hacker News

Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

news.ycombinator.com

121–130 of 133 posts

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#121
post #7

Sorry to hijack, but... I have weird issues with YouTube on my home PC. If I have a Chrome window with a YouTube video running to the side of my monitor, it always inevitably ends up freezing up the whole display. Ctrl+Alt+Delete and cancelling back in makes it go away briefly, however sometimes it can just keep freezing the monitor up constantly. The weird thing is, the PC (running Windows 11) has a powerful graphic…

Multimonitor??

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#123

Earlier quoted context omitted.

I believe their point is that people switching to Chrome _is_ turning off their adblocker.

Why would it? uBlock Origin Lite blocks ads on YouTube just fine on Chrome.

Do I hear boiling water?

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#124
post #95

Earlier quoted context omitted.

> You can tell Youtube to prefer AV1 only for low-quality videos ( https://www.youtube.com/account_playback ) What option are you referring to here? I don’t see anything that seems related to that.

What it looks like if it's available (AV1 settings section): https://i.imgur.com/rp6Cvkd.png

The wording is gold dark pattern.

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#125
post #95

Earlier quoted context omitted.

> You can tell Youtube to prefer AV1 only for low-quality videos ( https://www.youtube.com/account_playback ) What option are you referring to here? I don’t see anything that seems related to that.

What it looks like if it's available (AV1 settings section): https://i.imgur.com/rp6Cvkd.png

"auto"

"prefer AV1"

"always prefer AV1"

so... which one turns av1 off?

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#126

Earlier quoted context omitted.

Sometimes it's just browser GPU driver issues.

Very well could be. But with companies like Google I immediately start from a place of light-cynicism until I see evidence to the contrary at this point. I haven't given them the benefit of the doubt in probably a decade, and generally it's a fair way to go about things.

Well, in my case the browser is Google as well, so...

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#127

Earlier quoted context omitted.

What it looks like if it's available (AV1 settings section): https://i.imgur.com/rp6Cvkd.png

"auto" "prefer AV1" "always prefer AV1" so... which one turns av1 off?

None, but "prefer AV1 for SD" will prevent the stuttering due to the changes mentioned above.

If you don't ever want AV1 then it probably makes more sense to not have the browser advertise it as an option to sites. One can configure Firefox as such, I'm not sure about Chrome.

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#128
post #99

Earlier quoted context omitted.

I think the issue is/was that the profiler in chrome never ends. I'll just leave it like this (480s of samples..?): https://imgur.com/a/IgaHOdX and come back in a few hours.

You have to manually stop it before it collects too much data.

I collected about 400s of data and stopped it.

It's been stuck on this page for 18hours now. No increased CPU usage (more than the page spinning at least) and no crazy memory consumption.

https://imgur.com/a/aXNtvQ5

What am I doing wrong?

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#129
post #78

Also: Recently my videos "goes full black" for few milliseconds (not matter which way to see them, but yt is where I noted it more). I'm on M3, and can't pin point a reason.

It happens when you use adblocker

mmm, is possible to workaround?

Re: Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?

#130
post #128

Earlier quoted context omitted.

You have to manually stop it before it collects too much data.

I collected about 400s of data and stopped it. It's been stuck on this page for 18hours now. No increased CPU usage (more than the page spinning at least) and no crazy memory consumption. https://imgur.com/a/aXNtvQ5 What am I doing wrong?

Try with 30s
Post reply on HN