Asahi Linux with Sway on the MacBook Air M2

(daniel.lawrence.lu)

52 points | by andsoitis 4 hours ago ago

23 comments

  • gsora an hour ago ago

    Putting swaybar at the top behind the notch is a great idea!

    • zozbot234 an hour ago ago

      A new Wayland protocol is in the works that should support screen cutout information out of the box: https://phosh.mobi/posts/xdg-cutouts/ Hopefully this will be extended to include color information whenever applicable, so that "hiding" the screen cutout (by coloring the surrounding area deep black) can also be a standard feature and maybe even be active by default.

      • gsora an hour ago ago

        Wayland modularity is the gift that keeps on giving.

  • rubymamis an hour ago ago

    Did someone do a deep dive on why battery life is so awful on Linux? Or is it some Ashai's driver's inefficiencies that causing this?

    • izacus 36 minutes ago ago

      Each controller and subcomponent on the motherboard needs a driver that correctly puts it into low power and sleep states to get battery savings.

      Most of those components are proprietary and don't use the standard drivers available in Linux kernel.

      So someone needs to go and reverse engineer them, upstream the drivers and pray that Apple doesn't change them in next revision (which they did) or the whole process needs to start again.

      In other words: get an actually Linux supported laptop for Linux.

      • Forgeties79 9 minutes ago ago

        >In other words: get an actually Linux supported laptop for Linux.

        For a lot of people the point is to extend the life of their already-purchased hardware.

        • bigyabai 2 minutes ago ago

          1. Linux isn't a panacea for depreciated hardware, and it never will be.

          2. If your priority is system lifespan, you are already using OEM macOS.

    • temp0826 44 minutes ago ago

      This is the case with most (all?) laptops running Linux regardless of hardware unfortunately.

      • fsh 28 minutes ago ago

        This doesn't match my experience. My previous three laptops (two AMD Lenovo Thinkpads, one Intel Sony VAIO) had essentially the same battery life running Linux as running Windows.

        • martini333 22 minutes ago ago

          I think MacOS was implied...

  • OutOfHere an hour ago ago

    What is the prospect for newer M support, e.g. M3, M4? I am hesitant to adopt something that doesn't work with current and future models.

    • WD-42 38 minutes ago ago

      Asahi is all reverse engineering. It’s nothing short of a miracle what has already accomplished, despite, not because of, Apple.

      That said some of the prominent developers have left the project. As long as Apple keeps hoarding their designs it’s going to be a struggle, even more so now.

      If you care about FOSS operating systems or freedom over your own hardware there isn’t a reason to choose Apple.

    • eigenspace an hour ago ago

      The project is effectively dead

    • markus_zhang an hour ago ago

      Without official support, the Asahi team needs to RE a lot of stuffs. I’d expect it to lag behind a couple of generations at least.

      I blame Apple on pushing out new models every year. I don’t get why it does that. A M1 is perfectly fine after a few years but Apple treats it like an iPhone. I think one new model every 2-3 years is good enough.

      • cosmic_cheese 19 minutes ago ago

        M1 is indeed quite adequate for most, but each generation has brought substantial boosts in performance in single-threaded, multi-threaded, and with the M5 generation in particular GPU-bound tasks. These advancements are required to keep pace with the industry and in a few aspects stay ahead of competitors, plus there exist high end users whose workloads greatly benefit from these performance improvements.

      • lagniappe an hour ago ago

        >I don’t get why it does that.

        I've got a few ideas

      • stetrain 44 minutes ago ago

        If you want the latest and greatest you can get it. If an M1 is fine you can get a great deal on one and they’re still great machines and supported by Apple.

  • SG- 36 minutes ago ago

    author mentions he paid $750 for a MacBook Air M2 with 16GB while on Amazon a M4 Air with 16GB is usually $750-800. I get it that M4/M3 aren't supported to boot Asahi yet, but still.

    • chocochunks 32 minutes ago ago

      It's a year old article.

      • SG- 31 minutes ago ago

        the point still stands as last year the M4 was released and was already seeing those deals especially with the M3 earlier too.

        • chocochunks 24 minutes ago ago

          No, because the M4 Air wasn't even out until March of this year. It was only in the iPad and MBP last year.

    • ezfe 32 minutes ago ago

      I mean for most purposes should be very similar so makes sense the price is similar