‹ BackHN Continuity

Thread

Building a Linux GPU Driver for the M4 Mac Mini in One Month

422 points · 290 comments · ADevWithAnIdea

  1. porphyra · · focus · HN ↗
    This is super great. The biggest pain point of Asahi Linux is how it doesn't have GPU acceleration on M3 and newer, especially now that M6 is out!

    However, Asahi Linux has a strictly no-AI policy [1]. So this great work can't be upstreamed. I expect to see a bunch of AI-assisted forks that get things working smoothly on newer hardware to dominate as most people just care about getting stuff working, while only a handful of purists stick to the non-AI version running on ancient hardware.

    [1] <a href="https:&#x2F;&#x2F;asahilinux.org&#x2F;llm-policy&#x2F;" rel="nofollow">https:&#x2F;&#x2F;asahilinux.org&#x2F;llm-policy&#x2F;

    1. zamadatix · · focus · HN ↗
      Asahi&#x27;s long term goal is to get everything possible merged into the (actually) upstream projects anyways so any distro can just work. It&#x27;d be nice to see that continue rather than have forks on forks for the sake of singular differences (and it looks like proper upstreaming is what they are going after per the Remaining Work section).
      1. cromka · · focus · HN ↗
        &gt; upstream projects anyways so any distro can just work

        This may never end up working like that, considering how complicated installation is, comparatively speaking, and how macOS is still pretty much required to be installed.

        1. strus · · focus · HN ↗
          You can make the Linux installation on Apple Sillicon Macs pretty painless nowadays. One terminal command on macOS, reboot to Linux, run one script - voila.
          1. cromka · · focus · HN ↗
            Yeah, but it&#x27;s unlikely such installers will be officially supported by the distributions, which was my point regarding upstreaming.
            1. zamadatix · · focus · HN ↗
              The Asahi installer can set up a standard UEFI environment on the Mac and you&#x27;re off to the races from there.

              The problem right now is more that you then need to use a patched kernel+mesa+others to do much with that environment. As more and more of those patches make it upstream, the process will converge to being a standard ARM64 install from the distro&#x27;s point of view.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.