←back to thread

OpenGL 3.1 on Asahi Linux

(asahilinux.org)
512 points simjue | 1 comments | | HN request time: 0.221s | 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 #
brynet ◴[] No.36214505[source]
> This is interesting, am I correct in thinking this a feature implemented by Apple

Yes, battery charge control is a hardware(/firmware) feature supported on other modern laptops as well, such as the Lenovo ThinkPads, but it's not a standard so it requires explicit driver and OS support.

OpenBSD recently added support for this as well for both of these implementations (Apple silicon and ThinkPads).

https://marc.info/?l=openbsd-cvs&m=168436150408382&w=2

https://marc.info/?l=openbsd-cvs&m=168458409622780&w=2

https://marc.info/?l=openbsd-cvs&m=168521616605492&w=2

I know certain Android/Samsung phones support this as well, not sure about iOS/macOS.

replies(3): >>36215114 #>>36215140 #>>36221992 #
1. ficklepickle ◴[] No.36221992[source]
I really want to try this out on my work ThinkPad since it stays plugged in effectively all the time. It requires a kernel module though, I'd need to get that approved first and I haven't got around to it.

Naïve me doesn't understand why it can't be done from userspace, but I'm sure there is a good reason...