Remix.run Logo
Ask HN: Does anyone else notice YouTube causing 100% CPU usage and stattering?
112 points by NooneAtAll3 a day ago | 121 comments

Pretty much becomes unusable

camhart a day ago | parent | next [-]

If the video is encoded using a codec your hardware doesn't handle, it would be left up to the CPU to decode. Av1 can slow everything down to a crawl over CPU. You'd think the browser would be smart about the stream selection though.

jsheard a day ago | parent | next [-]

That's intentional on YouTubes end, they aim to serve more bitrate-efficient codecs wherever possible, even if it's a high burden on the client due to a lack of hardware acceleration. They'll only fall back to older codecs if the client is completely incapable of handling the modern ones. It's annoying but at their scale it no doubt saves them a shitload of bandwidth.

cwillu a day ago | parent | next [-]

Classic externality: at their scale, the power costs offloaded to their clients will also be enormous.

csdreamer7 a day ago | parent | prev [-]

It also encourages users to upgrade to newer hardware since older devices are known to get slower as they age due to software increasing complexity and hardware mitigations (yes, they are also for phones). Most users will just blame the device.

Not saying that is the cause of this slow down, but since the mpeg4 patents don't expire till 2027(?) (and one of those patents prevents hardware decode on Linux) we as a society have given Google every incentive to do this and I welcome them to make mpeg4 irrelevant.

Gud a day ago | parent [-]

My laptop is held together by Gaffe tape. There ain’t no upgrade in sight

lxgr a day ago | parent | prev | next [-]

I believe Youtube's player is driving codec selection, not the browser (i.e. the player requests a list of supported codecs and then picks the one most beneficial for Google, not the other way around).

That said, I've solved this problem for myself on macOS and Firefox by setting media.webrtc.codec.video.av1.enabled to false on about:config, as all other codecs used by Youtube are hardware accelerated on my Mac.

zamadatix a day ago | parent [-]

> I believe Youtube's player is driving codec selection, not the browser (i.e. the player requests a list of supported codecs and then picks the one most beneficial for Google, not the other way around).

The way the browser can still participate in choosing is by e.g. not listing AV1 as supported when there is no hardware decoder on the local system. Both Safari and Edge took (approximately) that style of approach, but it comes with the downside that if the server only has AV1 video then the client gets nothing.

Practically, that downside isn't a big deal until codec support is high enough sites start assuming the codec is just supported and they don't need to host alternative options.

lxgr a day ago | parent [-]

Yes, I think Safari even did so dynamically based on the mac being plugged into external power or not for a while, which I think is a nice compromise.

Apparently, there's even an API attribute that indicates whether a given codec is power efficient (https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabi...), which Google must also be ignoring – not their problem, after all. (I wonder if anybody did the math of the opportunity cost of losing a few ad impressions due to the user's battery dying early vs. the incremental bandwidth cost?)

nine_k a day ago | parent | prev [-]

I run an extension that allows to automatically request h.264 streams from YouTube even when av1 is also available. Saves a lot of CPU, at the cost of some bandwidth.

cosmic_cheese a day ago | parent | next [-]

It’s funny that this kind of browser extension has recurred over the years. Originally it was to replace the awful CPU hog flash player with an HTML5 h.264 player[1], then it was to sidestep YouTube’s insistence on VP* codecs, and now it’s to sidestep AV1.

[1]: https://web.archive.org/web/20110302145602/http://www.vertic...

ryandrake a day ago | parent [-]

In a beautiful world, there would be a link to each codec to let the user decide, or the browser itself would override the web site's preference and provide such links. It's sad that we keep having to resort to browser extensions to circumvent terrible web site and browser software.

alex_duf a day ago | parent [-]

I guess in a beautiful world we'd have hardware accelerated, patent free codecs.

Which is almost what AV1 is, native hardware decoding is slowly slowly progressing

lxgr a day ago | parent | prev | next [-]

Assuming you have hardware support for VP9 as well, setting media.webrtc.codec.video.av1.enabled to false on about:config achieves the same outcome without an extension.

yonatan8070 a day ago | parent | prev [-]

What's the name of the addon?

I recall h264ify but not sure about it

wing-_-nuts a day ago | parent | next [-]

Yep, that's what I use. It took youtube from using 100% cpu, to the point where my little xps13 was thermal throttling, to 50% cpu running 1080p at 2-3x speed.

yonatan8070 a day ago | parent [-]

Out of curiousity, what CPU do you have in that XPS 13?

nine_k a day ago | parent | prev [-]

What I run is https://github.com/alextrv/enhanced-h264ify

I looked now and noticed that I actually reject VP8 and VP9 and accept AV1. I run Linux on a Ryzen 4750U, for the record. It did not have trouble chewing through VP8 / VP9 without skipping frames, but it ran unpleasantly hot.

jeroenhd a day ago | parent | prev | next [-]

Youtube has been turning on AV1 for 1080p content for me. My phone is the only device with an AV1 hardware decoder. The impact on battery life and CPU usage has been extreme.

You can tell Youtube to prefer AV1 only for low-quality videos (https://www.youtube.com/account_playback) or you can install an extension that will force h264 playback where supported.

Other playback features such as ambient mode and volume equalisation can also impact performance, though that kind of depends on how fast your web browser is at executing Javascript, and to a much smaller extent.

The substantial bandwidth savings are here to stay, though, so in time I think Youtube will move to AV1 more often.

jccc a day ago | parent | next [-]

> 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.

zamadatix a day ago | parent | next [-]

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

NooneAtAll3 10 hours ago | parent | next [-]

"auto"

"prefer AV1"

"always prefer AV1"

so... which one turns av1 off?

zamadatix 7 hours ago | parent [-]

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.

bombela 18 hours ago | parent | prev [-]

The wording is gold dark pattern.

squigz a day ago | parent | prev [-]

There is an "AV1 settings" below "Subtitles and Closed Captions" for me. If you don't see it perhaps it's not available for you yet.

tantalor a day ago | parent | prev | next [-]

> impact on battery life and CPU

Well, is it higher or lower?

zamadatix a day ago | parent [-]

For devices with the hardware decoder it'll be in the same ballpark as before. For devices without the hardware decoder the CPU will use significantly more power to decode the video than a hardware decoder would.

jshier a day ago | parent | prev [-]

How much power does hardware accelerated AV1 consume vs. hardware accelerated H.264? I would think they'd be relatively similar.

bArray a day ago | parent | prev | next [-]

I have noticed Google sites showing what looks like some form of memory leak. Typically it's only Microsoft websites doing this.

burgerrito a day ago | parent [-]

This memory leak happens very often to me in GitHub, not sure why, and not sure if it's Microsoft's fault, or Firefox's. I actually have no idea at all on how to debug this...

snickerdoodle14 a day ago | parent [-]

Firefox Console > Memory > Enable record call stacks, reload the page, take a snapshot, wait until you notice memory grows, take another snapshot. Then compare the two: https://firefox-source-docs.mozilla.org/devtools-user/memory.... You can also try a performance recording.

But you probably won't be able to make much sense of the results without a lot of effort because of all the minimization/obfuscation.

dijit a day ago | parent | prev | next [-]

Tangially related; imgur uses (and used) 100% CPU for me; I was never quite sure how or why.

The reason I bring it up is because I tried to actually profile it a handful of times, but my C++/Rust/Python knowledge was completely useless in the face of a browser development toolchain.

Did I miss something, or is it not possible to easily see what functions take the meat of javascript execution time?

(it feels really absurd if it's not easy, given that people can essentially serve whatever arbitrary script they want and my computer pretty much has to deal with it if I want to use whatever site)

cluckindan a day ago | parent [-]

Run the profiler in the browser’s developer tools and you get a flame graph.

dijit a day ago | parent [-]

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.

cluckindan a day ago | parent [-]

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

liquidise a day ago | parent | prev | next [-]

Disabling “Ambient Mode” in the settings helps cpu usage a lot on my intel MBA.

WASDx a day ago | parent [-]

Same. I recall the "stable volume" setting also eating cpu.

RisingFusion a day ago | parent | prev | next [-]

If you have an adblocker it might be intentional.

crazygringo a day ago | parent | next [-]

That's not plausible.

If someone sees, oh YouTube is making my computer hot, the last thing that's going to occur to them is, "wait let me try turning off my adblocker."

When corporations try to change people's incentives, they are obvious about it, so people know what to change.

In contrast, changing CPU usage on video playback for people who use adblockers and then not telling anyone is... just not a strategy that makes any sense at all.

glenstein a day ago | parent | next [-]

I find it fascinating that people think 12 seconds armchair psychology is enough to definitively rule out phenomena that hinge on complex tech and complex human deliberations about policy. That works on campy monster of the week TV shows but it catastrophically underestimates real world complexity.

We've got documented cases in the wild of youtube adding 5 second timer, as well as experimenting with 3 video limits for adblock users, not to mention the cat and mouse game of breaking scraper-oriented tools like Newpipe. So it's happened before, and on-the-ground evidence of historical precedent and a straight look at incentives tell us more than assumed psychological states.

crazygringo a day ago | parent [-]

Did you mean to reply to a different comment? Mine didn't say anything about psychology.

But you do seem to be strengthening my comment -- when YouTube was implementing a 3 video limit for users blocking ads, they were doing so with a big huge message: "It looks like you may be using an ad blocker. Video playback will be blocked unless YouTube is allowlisted or the ad blocker is disabled."

That makes sense as a strategy, telling the user what to change. Silently using up more CPU doesn't.

glenstein a day ago | parent [-]

Musing on how a message will be subjectively experienced by users to the point of ruling out explanations based on an assumed subjective reaction, and assuming complex software development outcomes are tied to that specific strategy, is in fact about psychology on multiple levels, despite your protestation to the contrary. Specifically it's armchair psychology that underestimates complexity.

Most of my examples cut against your interpretation rather than in favor of. The 5 second delay was discovered rather than announced, and same with Newpipe breaking, and I don't even agree that the video message had anything to do with a broad principle of always tying communications to user experience. If anything the history is the opposite, rotating through various forms of obstruction all of which nudge user behavior in various ways, perfectly agnostic to any principle of how it gets communicated.

crazygringo a day ago | parent [-]

Not really.

It's pretty common sense to say that YouTube CPU usage will not be linked to adblocking for most people. Any more than a sunny day is linked to what you ate for dinner last night.

It's not psychology. It's just straightforward common sense.

You seem to be trying to obfuscate something here that is really quite simple.

hedora a day ago | parent | prev | next [-]

Sure it is. They’ve done crap like make firefox or safari run hot on other Google properties in the past.

Is it incompetence or sabotage? Who knows. The first rule of sabotage is to be indistinguishable from incompetence.

https://www.gutenberg.org/ebooks/26184

crazygringo a day ago | parent [-]

Incompetence is by definition not intentional, and sabotage is the action of a rogue employee, not corporate strategy. A corporation can't intentionally sabotage itself, by definition.

kevin_thibedeau a day ago | parent [-]

They're sabotaging non-Chrome browsers to drive people toward their platform with the strategically weakened extension API.

crazygringo a day ago | parent [-]

I don't think that has any connection to the subject under discussion, which is about whether YouTube CPU performance would lead people to turn off adblockers. Not about getting people to switch to Chrome.

Shared404 a day ago | parent [-]

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

crazygringo a day ago | parent [-]

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

kevin_thibedeau 20 hours ago | parent [-]

Do I hear boiling water?

j45 a day ago | parent | prev | next [-]

It might be worth finding out what codec might be coming down the pipe in any case.

ChocoStarQuest9 21 hours ago | parent | prev [-]

You part of the Armchair Psycholologist Masterrace?

vdnkh a day ago | parent | prev | next [-]

I work for another large streaming site where people like to use adblockers. These adblockers also cause similar performance issues that are entirely caused by awful code in these blockers. I've studied the code for all of these blockers and they do stuff like:

- Constantly hammering the playlist endpoint to try and get something without an ad stitched in

- Constantly tearing down and remaking the player

- During an ad, requesting the playlist for every other quality to see if those do not have any stitched ads

- Proxying all traffic to servers the adblocker people own in countries where ads are not typically served (eg Russia)

- Intercepting playlist requests and simply deleting segments that they believe are ads (oh no why is my stream broken!!! stupid streaming website!!)

Youtube _could_ be doing something here, but there is also a very real chance your adblocker code is simply bad.

jamesnorden a day ago | parent [-]

None of what you're mentioning applies to uBlock interacting with YouTube, I suspect you're talking about Twitch, which bakes the ad breaks into the stream so you still get the stream interrupted even you manage to block the ads, making people resort to hacky things like using the homepage player when an ad would be played.

itissid a day ago | parent | prev | next [-]

Possibly You are conflating CPU usage with halting of video for length of the ad? ad blocker halts the video i.e.spinner widget appears for length of the ad.

mwkaufma a day ago | parent | prev [-]

Hanlon's Razor: https://en.m.wikipedia.org/wiki/Hanlon%27s_razor

slacktivism123 a day ago | parent | next [-]

>Hanlon's Razor

Sorry, but drive-by philosophy is not applicable here.

YouTube developers single out adblocker users and taunt them with an "Experiencing interruptions" toast prompt that locks the video stream for ~5 seconds. Curiously, it contains a link to the YouTube Help Center, to the section fragment "#check_ad_blockers". In other words: "yeah, we know you've got uBlock Origin enabled, enjoy the speedbump".

Player base.js:

    api.XL("innertubeCommand",{openPopupAction:{popup:{notificationActionRenderer:{responseText:{runs:[{text:"Experiencing interruptions?"}]},actionButton:{buttonRenderer:{style:"STYLE_OVERLAY",size:"SIZE_DEFAULT", text:{runs:[{text:"Find out why"}]},navigationEndpoint:{commandMetadata:{webCommandMetadata:{url:"https://support.google.com/youtube/answer/3037019#check_ad_blockers
User reports: https://old.reddit.com/r/youtube/comments/1la6tkm/anybody_no...
y-c-o-m-b a day ago | parent | next [-]

So that's what it is! I've never seen the toast message, but I had a suspicion it was intentional on YouTube's side considering it doesn't occur in Chrome. Sadly I don't see a work-around in that reddit thread. I wonder if someone has a violentmonkey script for it.

josefritzishere a day ago | parent | prev [-]

I have noticed this but have been unable to explain it until now.

ses1984 a day ago | parent | prev | next [-]

I’m sorry but big tech doesn’t get the benefit of the doubt.

mwkaufma a day ago | parent | next [-]

The benefit of the doubt... that corps _don't_ write clunky, slow software?

jamesnorden a day ago | parent [-]

When the supposed to bug happens to conveniently cause issues for adblocker users, yeah.

mwkaufma a day ago | parent [-]

Possible, but still just an assumption.

jitix a day ago | parent | prev [-]

Google does - Google search and maps have gotten objectively worse over the past 2 years. At least in Canada.

I have 38 locations in my (huge) city saved in Google maps and it breaks when I ask it to find a way from point A to point B. Works fine when logged out.

Maps also put traffic signals where there are none, and while finding shortest path it stopped putting weights to traffic signals. So you could have it route you via a city's main street instead of the freeway because it's 2km shorter but it ignores the 9 traffic signals that wastes 15 mins. Apple maps works fine.

Google search on web has adopted bad UX, and clicking a map or a shopping item has a noticeable delay between. Also right click "Open in new tab" options are gone.

Are you saying all these "enshittification" changes are deliberate?

ChocoStarQuest9 21 hours ago | parent [-]

Have you told them yet?

izzydata a day ago | parent | prev [-]

Programmers are usually pretty smart though.

mwkaufma a day ago | parent [-]

Their middle mgmt though?

lioeters a day ago | parent [-]

Malicious and incompetent.

binaryturtle a day ago | parent | prev | next [-]

Worth checking the browser console. If you use a content blocker (e.g. uBlock Origin) it may block things the site really, really "wants". It then goes into an extreme busy loop and throws exceptions to the console like a berserker on a nightly rampage.

Once you carefully whitelist the resource it wants the CPU usage goes down again. At least that fixed it for me (I was mistakenly checking various codec related settings in Firefox first too to find a solution.)

DrNosferatu a day ago | parent | prev | next [-]

A great (free and O.S.) Android client with ad blocker is

https://github.com/polymorphicshade/Tubular

it also integrates SponsorBlock!

eXpl0it3r a day ago | parent [-]

Will Google ban your account if you login?

kyriakos a day ago | parent [-]

Just load your channel list from YouTube. No need to login.

zarzavat a day ago | parent | prev | next [-]

Thought it was just me! This started happening just today.

jjbinx007 a day ago | parent | prev | next [-]

YouTube is pretty shocking in Firefox, even worse with an ad blocker.

shakna a day ago | parent | next [-]

The experience suddenly gets mysteriously better if you switch your user agent to Chrome's, though.

jeroenhd a day ago | parent | next [-]

That's not my experience at all. Switching off AV1 encoded videos has made a huge difference, though.

cosmic_cheese a day ago | parent | prev [-]

Sounds like an unnecessary polyfill.

WD-42 a day ago | parent | prev [-]

I like imagine the stuttering and jagged reflows are the result of uBlock origin violently battling the page and destroying all the ads.

iLemming a day ago | parent | prev | next [-]

Somewhat relevant: can somebody share good mpv defaults (or some other interesting technique) for playing YT videos? I have managed to get it to work, but it still pauses a lot for bufferring. I wonder if there's maybe some yt-dlp, ffmpeg, etc. trick to pre-cache some segments or something like that. The reason to play it in mpv is not to avoid commercials (I have a paid account), but because I can then play it from my editor while fully controlling the playback - it works great for watching lectures and taking notes.

namibj a day ago | parent [-]

Either download ahead, or turn down the bitrate via ytdl format expressions; see the latter's docs for how to express your desires.

acheong08 a day ago | parent | prev | next [-]

Tried [Invidious](https://github.com/iv-org/invidious)? It's really lightweight. I host my own instance: https://iv.duti.dev and it works wonders (Librewolf with strictest fingerprint resist)

sjw987 a day ago | parent | prev | next [-]

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 graphics card which can handle AAA games (as of earlier this year at least), graphics drivers are all up to date, and YouTube works fine in fullscreen across the whole ultra-wide monitor.

I just can't work out what's causing it. It makes running YouTube side-by-side with other programs a real pain in the ass. It's been like this for months now. Checked browser HWA settings, and they're all as they should be.

okwhateverdude a day ago | parent | next [-]

Do you have an iGPU+dGPU combo like in a gaming laptop? For my 2019 gaming laptop with a i915+RTX2060, if I leave the switchable option on in the hardware settings (meaning the OS can choose which GPU to use ie. iGPU for low power), I end up with similar behavior in Linux/Win10. The external port actually uses the dGPU so rendering must go through it but it will struggle with the switchable option and I end up with freezing or stutters. In Linux, I explicitly configure Xorg to only use the iGPU and reserve the dGPU for model inference which fixes the stuttering issue. When booting into Win10, I explicitly disable the iGPU and turn off the external monitor so my VR playing doesn't stutter or youtube doesn't freeze or stutter.

ChocoStarQuest9 21 hours ago | parent | prev [-]

Multimonitor??

cpncrunch a day ago | parent | prev | next [-]

As others have noted, if you don't have hardware decoding for the codec being used, it will suck up a huge amount of cpu. Last year I got a new Macbook Pro with M3 Pro cpu, and it's amazing how little cpu it uses for video playback. After watching an hour of Youtube, the battery is down only about 5 or 10%.

kmfrk a day ago | parent | prev | next [-]

Livechats are particularly bad.

For desktop, the extension HyperChat was made to address whatever programming is leading the livechat system to blowing up your CPU.

https://livetl.app/hyperchat

orsev a day ago | parent | prev | next [-]

Have only noticed this on my Windows machine, not any of my Macs. The windows machine has enough horsepower to use most of it's 2000w power supply, so I don't think it's a hardware issue. Using firefox engine & an adblocker fwiw.

jeroenhd a day ago | parent | next [-]

Does your PC have hardware-accelerated AV1 video decoding enabled in Firefox? And does your Mac? (you can check in about:support)

My PC plays videos just fine, but it started sucking down 50W more than it used to, and AV1 was the culprit. Now that I've switched YT back to hardware-accelerated h264 playback, everything is back to normal.

IAmBroom a day ago | parent | prev [-]

"Uses a lot of power" is not a very exact proxy for "has all the tools".

Aldipower a day ago | parent | prev | next [-]

When I open the "My Videos" tab, then I get this problem, otherwise it works.

mamcx a day ago | parent | prev | next [-]

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.

malakai521 a day ago | parent [-]

It happens when you use adblocker

cosmotic a day ago | parent | prev | next [-]

Edge has been freezing on me for months with over 100% CPU usage. I finally figured out it was a youtube downloader extension. I disabled it and the problem went away.

IAmBroom a day ago | parent [-]

Firefox just began doing this to me recently.

Might be YT, all along.

Am4TIfIsER0ppos a day ago | parent | prev | next [-]

On the few occasions I visit I noticed excessive CPU usage with their crappy "ambient" mode.

magackame a day ago | parent [-]

Also had some funky stuff with ambient mode. The whole page renders, video and audio plays, but nothing is interactive. Can't push buttons, can't select text etc etc. Like it renders the page to a png and shows it.

jjallen a day ago | parent | prev | next [-]

I have not and don’t run an adblocker fwiw.

bak3y a day ago | parent | next [-]

Just out here raw-dogging the internet...

IAmBroom a day ago | parent [-]

Try new and improved Bongo Buddy(tm)!

PlotCitizen a day ago | parent | prev [-]

And do you notice high CPU usage or stuttering?

gatane a day ago | parent | prev | next [-]

Also happens with Github and anything that uses ads lately. A 2 core PC dies while trying to render those pages.

gatane a day ago | parent | next [-]

Hell, I have to use my phone instead if I want to go to any of those pages nowadays. And even my phone now gets a random crash from chrome or the page itself.

hedora a day ago | parent | prev | next [-]

I wonder if it’s proof of work bullshit. For those to be effective, they have to slow down whatever machine is running in an LLM farm.

That generally means they have to peg a desktop GPU for long enough to make a dent larger than LLM inference time.

Browsing with a 2 core box is like using a musket to blow a hole in a wall that’s optimized for armor piercing rounds.

Is this dumb? Of course. Your best recourse is probably to work around the anti-LLM blocks by having an agent read and summarize the page for you.

Are there any decent cloud based web renderers yet? Something like vnc or rdp backed by a shared 4090 could solve the problem. For static content, it’d only have to run proof of work once, then serve the result from cache.

ndriscoll a day ago | parent [-]

That makes no sense. You require PoW before providing the information, not when the page is already sent. For a large code repository like GitHub for LLM training, it's also trivial to just git fetch to scrape. The simpler explanation is that modern web devs are frequently incompetent and can't get static text to appear on an idle page without pegging cores, can't get subsecond server page generation for simple CRUD, etc. This was the trend before LLMs were ever a thing.

asimovDev a day ago | parent | prev [-]

I absolutely despise what they did to GitHub's website. It used to be smooth and slick. But now a lot of things like reviewing PRs or just searching through a repo are painfully slow.

paol a day ago | parent | prev | next [-]

I've had something similar happen starting maybe a year ago, and varying in intensity from "no problem" up to "pegged CPU in the youtube tab and UI actions can lag up to several seconds". It doesn't affect video playback though.

This behavior comes and goes over time, for example it's been fine for several weeks in a row now. I assume it's punishment for running an ad-blocker.

snickerdoodle14 a day ago | parent | prev | next [-]

If you have an adblocker and it happens at the start of a video then this is intentional

barrenko a day ago | parent | prev | next [-]

I have like 4 simple tabs and my Chrome is hogging 1.8GBs of RAM.

geor9e a day ago | parent | prev | next [-]

No other context, huh? Not even browser and OS? If youtube itself was stuttering, 100M daily users would flip out. So narrow it down. For example if you add the word Edge to your search you might find settings like Video SuperResolution that can tax your CPU https://www.reddit.com/r/LinusTechTips/comments/1bcmmdo/micr...

SoftTalker a day ago | parent | prev | next [-]

I pretty much only watch YouTube via the app on my phone, rarely in a browser. I also pay for Premium. Have not noticed any recent/new issues.

ChocoStarQuest9 21 hours ago | parent [-]

How do I downvote comments here?

buckle8017 a day ago | parent | prev | next [-]

Disable ambient mode.

It can use a ridiculous amount of CPU.

It seems hardware accelerated only on windows chrome.

busterarm a day ago | parent | prev | next [-]

This started happening on one of my older computers recently and I had to actually disable hardware acceleration to get the audio to stop being out of sync. The tradeoff for that has been noticeable frame dropping. I even added an extension to force h264 but there's no difference.

It can play video no problem on other sites or in VLC. It's just YouTube and just on that PC...That PC can run Doom Eternal. Video content shouldn't be a problem.

jeroenhd a day ago | parent | next [-]

Many youtube videos consist of silent video streams combined with separate audio streams. Youtube-dl can list them. Often, the lower-quality and some medium-quality video stream will also contain audio, but the higher-quality videos are often silent with a second audio stream mixed in.

I can imagine that your older computer might have native support for decoding the high-res h264 video, but not for the high-quality OPUS audio stream, causing them to decode at different speeds.

I don't think there's a solution to that problem that doesn't involve running a dedicated video player such as VLC.

That said, I've also heard a lot of complaints from people still using Adblock Plus. I don't know what rules ABP has implemented, but they seem to affect Youtube performance much worse than uBlock whenever Youtube changes something.

BolexNOLA a day ago | parent | prev [-]

Given their actions the last two years or so unfortunately the default assumption is (reasonably) “probably something intentional to get people to stop doing something they don’t want, like using ad blockers.”

imcritic a day ago | parent [-]

Sometimes it's just browser<>GPU driver issues.

BolexNOLA a day ago | parent | next [-]

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.

imcritic 7 hours ago | parent [-]

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

busterarm a day ago | parent | prev [-]

Except it's still a problem with hardware acceleration disabled.

Gud a day ago | parent | prev | next [-]

Yes, happens to me in the last few days.

I thought it was Firefox going bananas after some update, but I’m glad to find out it’s just another user hostile ploy from the owning class

2OEH8eoCRo0 a day ago | parent | prev | next [-]

It's probably the special Google hardware obsoleting sauce called AV1. Without hardware acceleration your computer will struggle to decode their videos.

SigmundA a day ago | parent | prev [-]

I keep getting the video restarting after a few seconds randomly, very annoying even more so when it's the ad that restarts from the beginning, which almost seems intentional. Like a bug that nobody is in a hurry to fix.