Most active commenters

    ←back to thread

    OpenGL 3.1 on Asahi Linux

    (asahilinux.org)
    512 points simjue | 12 comments | | HN request time: 0.001s | source | bottom
    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 #
    1. 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 #
    2. londons_explore ◴[] No.36215114[source]
    If your laptop firmware doesn't support it, here is one trick if you have a removable battery:

    Put a piece of paper over one of the batteries middle contacts. That will make the firmware think the battery is overheating. It will then refuse to charge, but will still happily discharge.

    You can do that to keep your battery at 80% while still on AC power. Handy if you operate from AC power 99% of the time, yet don't want your battery to die from being stored at 100% charge and hot for many years.

    replies(1): >>36217476 #
    3. Thews ◴[] No.36215140[source]
    I am on macos 13.3.1 and have noticed this feature for at least a couple of months, maybe longer. It says Charging On Hold (Rarely Used On Battery)
    replies(2): >>36217275 #>>36220004 #
    4. eisa01 ◴[] No.36217275[source]
    I can never get that to activate, even though I use my MBP 14" 100% at home...
    replies(2): >>36222992 #>>36243992 #
    5. mschuster91 ◴[] No.36217476[source]
    > Put a piece of paper over one of the batteries middle contacts.

    Bad, very bad idea if you don't know what you are doing - depending on where the "smarts" in the BMS are, you may damage your battery or make your BMS think the pack is broken or prevent your BMS from recognizing a charge state mismatch (and in the worst case, a cell going undervoltage or reverse polarity) as you have a good chance that you cut off one of the cell balancer contacts. This trick only works with removable phone batteries.

    replies(1): >>36220992 #
    6. windowsrookie ◴[] No.36220004[source]
    Optimized Battery charging has been available since Mac OS 11. Works on intel MacBooks too.

    https://www.macworld.com/article/235001/macos-big-surs-batte...

    7. londons_explore ◴[] No.36220992{3}[source]
    Would an engineer really make a consumer design where a sliding contact failing open led to a safety incident?

    Every laptop since the 90's has the balancing and protection circuitry inside the battery, not inside the laptop.

    replies(1): >>36222961 #
    8. 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...

    9. userbinator ◴[] No.36222961{4}[source]
    Indeed, at worst you'll get a "no battery installed" and the laptop might not even try to discharge it.

    The comment you're replying to is just paranoic FUD. Which removable laptop battery has external balancing contacts!?!? They're all +/-/data.

    replies(1): >>36223399 #
    10. MobiusHorizons ◴[] No.36222992{3}[source]
    It’s in settings under battery
    11. mschuster91 ◴[] No.36223399{5}[source]
    I'm a corporate firefighter assistant. If there's one thing people should not be messing around with, it's Li-Ion batteries. These things are dangerous enough even without people messing around with their control and management systems.
    12. hedgehog ◴[] No.36243992{3}[source]
    In my experience for it to take effect you need either a predictable window of plugged in time (it will delay charging until it needs to to hit 100% by when you normally unplug) or just to use your compute almost exclusively plugged in (at which point it will start letting the battery drift down to 80%). If you regularly unplug to work on the couch or whatever you may not ever see the effect directly unless you wake up an hour early to check the charge state of your laptop.