←back to thread

OpenGL 3.1 on Asahi Linux

(asahilinux.org)
512 points simjue | 3 comments | | HN request time: 0s | source
Show context
zamadatix ◴[] No.36213299[source]
From a follow up post on Mastadon https://social.treehouse.systems/@AsahiLinux/110497512340479...:

"Also in this update:

We now have a cpuidle driver, which significantly lowers idle power consumption by enabling deep CPU sleep. You should also get better battery runtime both idle and during sleep, especially on M1 Pro/Max machines.

Thanks to the cpuidle driver, s2idle now works properly, which should fix timekeeping issues causing journald to crash.

Also thanks to the cpuidle driver, CPU boost states are now enabled for single- and low-threaded workloads, noticeably increasing single-core performance.

Thermal throttling is now enabled, which should keep thermals in check on fanless (Air) models. There was never a risk of overheating (as there are hard cutoffs), but the behavior should now more closely match how macOS works, and avoid things getting too toasty on your lap.

Random touchpad instability woes should now finally be gone, thanks to bugfixes in both the M1 (SPI) and M2 (MTP) touchpad drivers.

A bugfix to the audio subsystem that fixes stability issues with the headphone jack codec.

New firmware-based battery charge control, which offers fixed a 75%/80% threshold setting. To use this, you need to update your system firmware to at least version 13.0, which you can do by simply updating your macOS partition to at least that version or newer. This new charge control method also works in sleep mode.

U-Boot now supports the Type A USB ports (and non-TB ports on the iMac), so you can use a keyboard connected to any port to control your bootloader.

And last but not least, this kernel release includes base support for the M2 Pro/Max/Ultra SoCs! We are not enabling installs on these machines yet as we still have some loose ends to tie, but you can expect to see support for this year's new hardware soon."

replies(6): >>36213477 #>>36214241 #>>36215165 #>>36216598 #>>36217305 #>>36226845 #
vanburen ◴[] No.36214241[source]
"New firmware-based battery charge control, which offers fixed a 75%/80% threshold setting. To use this, you need to update your system firmware to at least version 13.0, which you can do by simply updating your macOS partition to at least that version or newer. This new charge control method also works in sleep mode."

This is interesting, am I correct in thinking this a feature implemented by Apple and now supported by the Asahi team? Does that mean that macOS supports this charge control feature?

I really hope Apple brings the same charge limiting to iPhone as well.

replies(3): >>36214505 #>>36215639 #>>36218356 #
GeekyBear ◴[] No.36215639[source]
> I really hope Apple brings the same charge limiting to iPhone as well.

This was added to iPhones in 2019.

> If your iPhone stops charging at 80%, it's most likely due to a feature Apple introduced in iOS 13 called Optimized Battery Charging. It aims to prevent over-stressing the battery and hence extend the battery life of your iPhone by limiting the charge to 80%.

Your iPhone learns your usage patterns and delays 100% charging until moments before you wake up in the morning.

https://www.makeuseof.com/why-your-iphone-stops-charging-at-...

replies(1): >>36217028 #
vladvasiliu ◴[] No.36217028[source]
It's a bit different, though. I don't often need my iphone to last multiple days on end. Yet, if I keep it plugged in as often as I'm sitting at a desk, it'll never go below 80%. If I get it below 80%, sooner or later, it will figure "i want to use it" and will charge it all the way to 100%. The lowest my battery ever got on this phone was 40 something when I was away for a weekend without a charger. It's very rare I use it a lot, so the "intelligence" clearly doesn't care how long the battery needs to last.

The way it's implemented on my mom's android, it always shows 80 or 85% (can't recall which one it is), even if she leaves it plugged in for the whole weekend.

On my HP laptop, if I activate the "battery saver mode" (as opposed to "AI"), it reports the maximum capacity as somewhere around 80% of the design capacity. I don't know whether Linux cooperates with this, but probably not. HP only talks about OS compatibility for the "AI" mode, which not only requires Windows but a specific HP app.

replies(1): >>36217124 #
GeekyBear ◴[] No.36217124[source]
> It's a bit different, though.

Yes.

It learns your normal waking time (if you have one) and gives you a full charge before you wake up.

Which is what I want. A full charge for the working day, without needlessly shortening the batteries functional lifetime.

replies(2): >>36217246 #>>36218491 #
1. lonjil ◴[] No.36218491[source]
My Sony Xperia 10 IV lets you set it to never charge above 90 or 80 %, as an alternative to it learning your habits. I have it set to 80%, and I've been unable to use it up in under 2 days. I've heard that iPhones have similarly good battery life as the 10 IV, so it seems, to me, that get quite far on 80%.
replies(2): >>36219748 #>>36220011 #
2. GeekyBear ◴[] No.36219748[source]
> I've been unable to use it up in under 2 days.

Take up playing a resource intensive game like Genshin Impact and you can very easily drain the battery in a day.

> 60fps highest settings 100% brightness Low sound Home WiFi 3:20 total

https://www.reddit.com/r/SonyXperia/comments/onb3dw/genshin_...

3. pezezin ◴[] No.36220011[source]
I bought the same phone recently, and for my light usage pattern (some texting, the browser, Google Translate, Google Maps, a calculator app, and the camera), the battery lasts almost 5 days!

I had completely forgotten how it is to own a phone that doesn't need to charge everyday...