Asahi Linux Progress Linux 7.0

(asahilinux.org)

218 points | by elisaado 3 hours ago

11 comments

  • brynet 1 hour ago
    >.. macOS only ever programs CS42L84 to operate at either 48 or 96 kHz, we could only add support for those two sample rates to the Linux driver ..

    > However, CS42L42 supports all the other common sample rates, and while the register layout and programming sequence is different, the actual values programmed in for 48 and 96 kHz are the same across both chips. What would happen if we simply took the values for all other sample rates from the CS42L42 datasheet and added those to the CS42L84 driver? As it turns out, you get support for those sample rates!

    > The patch to enable hardware support for 44.1, 88.2, 176.4 and 192 kHz sample rates on both the input and output of the headphone jack was submitted directly upstream, and has been merged for 7.1. We also backported this to Asahi kernel 6.19.9, allowing users to take advantage of this immediately.

    Nice bit of chip sleuthing and reverse engineering from the Asahi team!

    • functionmouse 58 minutes ago
      whoa, bit perfect CD/flac playback in 44.1, that's a killer feature.
  • georgeburdell 21 minutes ago
    I really hope this project continues to gain momentum. Apple Hardware + Linux is the least fscked OS running on the best hardware. MacOS continues to be a tire fire with endless bugs and churn between versions.
    • mapleleaf1921 7 minutes ago
      I've run all 3 major OSes before. MacOS by far has the least bugs and kinda just works.

      My variosu Linux adventures have always resulted in doing random patches for audio or screen incompatibility.

      My windows days were plagued with battery issues.

      I feel like most Linux ricers wises for a MacOS-like experience, except with more customisation. (Which is entirely possible now with the ricing on Mac)

  • jwr 1 hour ago
    When I think about it, I don't understand why Apple wouldn't want to help this effort and just provide all the documentation.

    All the classic reasons ("competitive advantage", "secrets", etc) do not hold water in this day and age.

    • aurareturn 16 minutes ago
      Little to no monetary benefit, hardware changes now need to be documented for Linux, loudest and most critical users but smallest volume.
      • joelthelion 2 minutes ago
        And risk of loss of control on the software ecosystem.
    • ansgri 45 minutes ago
      One of the reasons I can see is it’s much easier to say “we don’t play this game” than get a lot of negative press for selective openness and breaking compatibility of non-public interfaces. Maybe it’s even more important internally, as it enables new kind of internal discussions distracting from priority work.
      • kevin_thibedeau 20 minutes ago
        They are operating under a patchwork of NDAs. It would take some effort to determine what they can disclose.
    • mmcnl 35 minutes ago
      I was trying to come up with a response but you're right. It would be easy for Apple and Apple would get so much goodwill from the community in return.
      • gjsman-1000 31 minutes ago
        They get more public goodwill from a single ad. The chronically online Linux-using engineer community is too small to matter.
        • bjelkeman-again 18 minutes ago
          Developers build many of the applications that make the platform desirable. Steve Ballmer at least seem to get that part. ;)
        • huflungdung 20 minutes ago
          [dead]
    • u_fucking_dork 1 hour ago
      The cynical take is that they make a shit ton of money from services and Linux running on a MacBook won’t help them do that.
      • deaddodo 42 minutes ago
        The vast majority of people that buy Macs for the ecosystem aren't going to switch to Linux. That market will remain untouched. Outside of a few gamers who might want to put up with the x86-to-ARM translation layer and (for most A to AAA games) Proton to run some non-Mac games. And even they'll probably still dual-boot.

        There's a portion of another market: people who want to run Linux and want a powerful laptop who buy x86 Laptops right now. Apple could expend very little relative effort while offering no official support by helping Asahi get that to a first class platform. They won't capture them in the ecosystem (and they never would have) but will still benefit from hardware sales to them.

        Obviously, if they sold their hardware at a loss and subsidized that with ecosystem capture that would be a non-starter. But from everything we know, the hardware itself is very profitable.

      • chocochunks 52 minutes ago
        Yeah, and having the only supported OS be MacOS means they can entice people to upgrade when they want. No continuing on with 8+ year old hardware and a lightweight Linux distro even if it's fine for the intended use case.
      • c7b 54 minutes ago
        They do also make a lot of money selling hardware, and as things stand today that business happens to make them look like the first tech giant to actually profit from the AI boom (because the hardware they've been developing internally for years happens to be among the best consumer-grade options for self-hosting LLMs). Making their hardware more attractive to tinkerers could be a winning move right now.
      • omnimus 53 minutes ago
        This, but also you would be allowing people to learn Linux. Developer with a Mac has to be one of the most common linux defectors. I suspect most people don't realize how doable and comfortable the switch can be.
        • kavok 26 minutes ago
          It’s been my experience that developers running Mac already know how to use Linux and actively choose to use Mac. Unless the company is forcing it at least.
      • gschier 54 minutes ago
        Linux users don't pay for anything anyway
    • basisword 50 minutes ago
      I imagine the real reason is that if they change things they now have an obligation to promptly share technical docs and if they're slow people will whine and bitch online about them. Not worth it. They have zero to gain (and I say this as someone who would love to dual boot Linux on my M4).
      • confiq 39 minutes ago
        so they don't care about users, they care about themself?
        • afavour 31 minutes ago
          I think a more accurate statement is that they don’t want to take on the outsized burden relative to the number of users it would actually affect.

          I’d love to dual boot Linux too but I’m under no delusions about being a very small segment of the Mac population.

        • basisword 25 minutes ago
          Apple's whole thing is hardware + software working together. Endless other options available to Linux users. They'd also need to be prepared for people bringing laptops to stores with hardware problems that aren't running macOS. Again, more burden for Apple for no gain other than winning over a couple of dozen users.
    • gjsman-1000 33 minutes ago
      > I don't understand

      We really need to retire this phrase, it’s become a humblebrag way of calling the other party delusional without even trying to understand.

      The list here though is long: priorities, accuracy concerns, blurring the line on official support, IP restrictions with third parties (even Apple uses plenty of licensed cores), etc.

      • sys_64738 10 minutes ago
        I don't see it that way. It's just the GP poster saying that they don't get it. Usually that means the GP poster isn't experienced enough to understand the rationality. So I generally assume the GP poster is simply naive.
  • felixding 1 hour ago
    "Amaze, amaze, amaze!"

    I wonder if there would be interest in an Asahi Remix spin focused on a more Mac-like out-of-the-box experience: cmd as the main modifier key, Mac-like keyboard shortcuts, theming, gestures, etc.

    Of course, you can tweak any distro however you want, but I think a curated default experience is a different thing.

    • omnimus 49 minutes ago
      Cmd as main modifier is lost battle. I've tried it multiple times. In the end just accepted ctrl life and sold my last macbook.
  • mbeavitt 1 hour ago
    These kind of project reports showing consistent breakthroughs and clearly a finger on the pulse of what users are encountering as pain points are a good indication that the Asahi team are real pros :)

    Look forward to switching back to Asahi full time soon!!

  • jordand 15 minutes ago
    M3 support nearly at alpha is fantastic news, and I'm really looking forward to M4 in the future. I am not looking forward to whatever Apple has planned this year for macOS, or next.
  • ajdude 50 minutes ago
    I'm glad they dropped the ban on HN readers[1]. That was my very first impression of Asahi Linux that I ever encountered and it's unfortunately what I think of every time I see it show up here.

    [1] https://github.com/AsahiLinux/AsahiLinux.github.io/commit/e0...

    • confiq 36 minutes ago
      Because they got a lot of trolls and Apple fans. The decision was not made lightly.
      • AussieWog93 26 minutes ago
        Honestly, knowing what I know about marcan, the decision was probably the result of an overwhelming/strong emotional reaction.

        Not to just shit all over him or anything, but it really sucks to see someone who is genuinely top-ten-on-earth when it comes to "real hacking" struggle so much with socialisation and mental health.

        • applfanboysbgon 22 minutes ago
          It is weird to blame the victim for reacting to being harassed by a mob. That is a normal thing to have a reaction to. Perhaps rather than blaming people's social skills and mental health, we should instead blame the culture that normalises harassing people on the internet, even to the point of suicide (as happened in byuu's case). You are basically advocating that it is better for individuals to change to accept a shitty society as a given rather than advocating for society to change to be less shitty.
          • AussieWog93 12 minutes ago
            I'm genuinely unfamiliar of the harassment campaign that HN launched against him.

            (I am familiar with some comments debating the validity of Byuu/Near's gender identity, and marcan's extremely strong reaction to that, but no actual harassment campaigns)

    • alphager 33 minutes ago
      How is that a ban?
  • a1o 1 hour ago
    Does anyone knows if it runs on M4 Mac machines?
  • yuhmahp 1 hour ago
    Fascinating project like always. Thank you Asahi team!
  • thelastgallon 1 hour ago
    Is there an equivalent of this for iphones so we can give them a second life?
    • nicoburns 34 minutes ago
      Unfortunately iPhones have locked bootloaders that prohibit installing other operating systems. People have gotten Linux running on iPhones, but it requires jailbreaking and that has gotten much harder over time. And it's not really worth putting effort into developing an OS if nobody is going to be able to install it.
    • Otek 1 hour ago
      Running what exactly? Older iOS versions? Android?