as a data point youtube is unusable on raspberry pi 3. This happened within the last year, because prior to that you could "watch" videos at about 10-15FPS which is enough, for instance, to get repair videos in a shop setting (ask me how i know). When the raspberry pi model B - the first one released - came out, you could play 1080p video from storage, watch youtube, play games.
I'm not sure what youtube is doing (or everyone else for that matter.)
If we're serious about this climate crisis/change business, someone needs to cast a very hard look at google and meta for these sorts of shenanigans. eating CPU cycles for profit (ad-tech would be my off the cuff guess for why youtube sucks on these low power devices) should be loudly derided in the media and people should use more efficient services, even if the overall UX is worse.
I have no idea if it still works, but the "h264ify" browser extension used to be great for working around this issue (by forcing youtube to serve h264) https://github.com/erkserkserks/h264ify
i did a full apt dist-upgrade to try and get the h264ify plugin to install and if i remember correctly i never was able to get it to install. I upgraded from "chromium" to "chromium-browser" and set all the compositing and other settings recommended for the RPI.
and to reply to another sibling, "yt-dlp" isn't workable, this is for a senior citizen that does small motor repairs.
I got an HP elitedesk that's a few years old coming in monday to replace the RPI; hopefully that will last another 3 years before google et al decide to "optimize" again.
Probably. I remember when YouTube switched to H.264 (it might have been some Flash-based video before that). I had an older Mac mini hooked up to my TV at the time and suddenly video framerates dropped to an unwatchable level because they saved their bandwidth (and mine but I didn't have to care about my Internet service was not metered) at the expense of client-side processing.
They encode videos ahead of time and they likely decided that whatever hardware you’re judging them by is only .9% of the market so fuck those guys.
Big companies use percentages in places they shouldn’t and it gets them in trouble. .1% when you have a billion users is a million people you’re shitting on.
For me that might be a dozen people. Very different.
Supposedly, the whole point of Google financing “open codecs” was for them to break free from MPEG codec licensing. I imagine the total amount of fees had a lot of zeros. So, yes, each time they don't serve H.264 (unless absolutely required) results in saving a lot of money.
YouTube is definitely getting heavier. My early 2021 MacBook Air (Intel) now gets random video pauses under moderate load, something that never used to happen.
>If we're serious about this climate crisis/change business, someone needs to cast a very hard look at google and meta for these sorts of shenanigans
By all accounts client devices' energy consumption is a rounding error in terms of contribution to climate change. Going after them to solve climate change makes as much sense as plastic straw or bag bans.
IT is emitting around as much as aviation, and that was a surprise to me, most of it are due to client devices. Don’t have the source at hand at the moment though. And of that, most emissions are upfront until you buy it. Buying a new device because it’s not fast anymore causes emissions, not running it. Think about e-waste as well.
It has a cumulative effect and drives the continual "upgrade" cycle. When you consider the life-time of an average mobile device, and the resources required to manufacture and ship them, it's a not insignificant problem.
>Berners-Lee writes that in 2020, there were 7.7 billion mobile phones in use, with a footprint of roughly 580 million tonnes of CO2e. This equates to approximately 1% of all global emissions
Of course, not everyone is replacing their phones yearly. Another source[2] says the average consumer phone is 3 years old. That works out to 0.33% of global emissions, assuming the phones aren't recycled/reused to developing countries. Even if assume people are upgrading their phones for app/web performance reasons, the impact is far less than 1%.
To be clear, these emissions include the manufacturing cost, which for reasonable users seems to make up ~80-90% of the carbon footprint. The power usage of the phone itself and associated data centres etc is only a small portion.
It's still somewhat surprising that one could attribute 0.2% of global emissions solely to phone power consumption... I would have expected it to be lower.
Compared to a single person's emissions? Yeah sure, but that's because anything multiplied by 8 billion people is going to be huge. The same could be said for plastic bags and/or straws. In relative terms it's absolutely minuscule, and in terms of low hanging fruit it's definitely not the top. You'd be far better off figuring out ways to decarbonize the electricity grid (40%) or the transport system (20%)
I would imagine for phones and laptops the extraction of materials (rare earth metals to make fancy new chips, lithium for batteries,etc) is probably the bigger issue.
Having gotten away from 500+ watt desktops as the standard for light non-gaming computing has been a win in the energy consumption court.
I think there are lots of good reasons to avoid the upgrade cycle but energy consumption of the end device itself probably isn't it. (Embodied energy of the devices, environmental impacts of mining, no good EOL story for ewaste, etc)
The customer doesn't care either because a page that takes 5s longer to load on a 1W TDP SoC costs them around one-millionth of a penny. Even if you're refreshing 100 times per day it's only around 0.05 kWh per year, which at any reasonable electricity prices is a sum that's simply not worth worrying about. You'd get more savings from getting people to turn off their led light bulbs for a few minutes.
Also, it's not just your site. It's every site. And the customer pays all those millionths of a penny added up out of their pocket. And all those 5 second delays out of their lifetime.
Edit: btw at a quick glance you underestimated cell phone soc TDP by a 2-4 factor.
A single use of an electric kettle sounds like it would completely dominate this consumption.
The time cost is certainly the greatest expense here, power is cheap in consumer computing contexts, generally speaking (at least nowadays with most things racing to sleep), and is mostly relevant because of battery life, not power cost.
I use Invidious for browsing the site, and watch the actual videos via a script that deobfuscates and gets the actual stream URL and then passes that to VLC.
As another data point, YouTube a decade ago would've been perfectly fine on that hardware too. The culprit is web bloat in general, and more specifically the monstrosities of abstraction that have become common in JS.
Even for those who don't believe at all in "climate crisis", there is something to be said for the loss of craftsmanship and quality over time that's caused this mess, so I think it's something everyone across the whole political spectrum can agree with.
Its worth trying out different browsers. In my experience Chromium based browsers are a bit faster than Firefox on really low end devices (Pinephone, ...) as long as you have enough ram (>1Gb?).
E.g. On the OG Pinephone a 720p video on Youtube is running smoothly in Chromium, but not Firefox.
I used a 12" Macbook as my main development machine. It ran IntelliJ with Python/Django applications, Postgres & Redis running in parallel (along with Safari, Mail, etc) around 2018-2020 just fine.
Tried it somewhat recently around Ventura and the machine clearly appeared to be struggling with the OS alone. So we had a machine that used to be capable of actual, productive work, and is now seemingly struggling at idle? It doesn't look like the new OS brought anything new or useful to the table (besides copious amounts of whitespace) either.
That's absurd. I remember using winamp (and the skin compatible Linux clone, I forgot it's name) streaming internet radios while programing a toy OS in 2004. I could listen to music while compiling and running the BOSHS emulator on my AMD Atlon CPU with a whooping 256MiB of RAM.
I'm not sure what youtube is doing (or everyone else for that matter.)
If we're serious about this climate crisis/change business, someone needs to cast a very hard look at google and meta for these sorts of shenanigans. eating CPU cycles for profit (ad-tech would be my off the cuff guess for why youtube sucks on these low power devices) should be loudly derided in the media and people should use more efficient services, even if the overall UX is worse.