145 comments

[ 2.7 ms ] story [ 195 ms ] thread
From Hector Martin, who's working on the project:

"- This is with software rendering. Seriously, these CPUs are good. Better than some other ARM laptop GPUs.

- Notice how it picked the right keyboard layout automatically. This was not an accident nor was it based on the locale; it's based on the hardware. Details matter! :-)"

https://mobile.twitter.com/marcan42/status/15046298186459750...

> "- This is with software rendering. Seriously, these CPUs are good. Better than some other ARM laptop GPUs.

Exactly. I can only guess it will be even better if the graphics was accelerated, even faster if it was on the Mac Studio. It is still fine. We'll see.

As soon as they have a user friendly macOS installer or live USB-C installer then that will be an easy install path or try it out for many.

Overall, great progress!

The installer is done, you just curl|sh from macOS and follow the prompts :-)
Thank you for all your work! It's been great watching you stream through some of the problems you solved for asahi :)
Amazing stuff. Can't wait to try it out. Can it dual boot with my current macos install?
> "- This is with software rendering. Seriously, these CPUs are good. Better than some other ARM laptop GPUs.

I would take this more as an indictment of ARM laptops rather than any "software rendering is magically fast" statement here. Modern Linuxes on most recent-ish (<5 years old) x86-64 CPUs can quite easily software render at the same speed and quality as that demonstration.

This is a stronger statement of how far the project has come in terms of making everything operate smoothly on the M1, which is excellent (it's been what, a year?).

My prediction: AsahiLinux will start becoming the Linux benchmark king in terms of "out of the box" performance, mostly due to the console effect that Apple's M1s offer them. There's such a limited set of hardware to target they will be able to focus more on stability and performance than other distributions.

The M1 is really a beast though. I got an M1 Max in December, and the only times I've seen the beachball cursor it was due to an app doing something heavy on the UI thread. It also compiles Java so fast that milliseconds in gradle output are actually useful. Oh and it's able to play 4K 60 fps videos smoothly without even turning on the fans. This is truly madness. x86 is dead to me at this point.

But then maybe anything is fast after using a 2012 retina MBP for almost 10 years.

I had a 16-core desktop and moved to the M1 Max and am just as happy - nothing kills it. PostgreSQL docker containers, intensive CPU scripts running, maybe a Minikube cluster, Slack, Chrome, RStudio, and I can still watch 4k video. It's awesome.
Hardware decoding even at 8k is very common, intel has had 4k VP9 hardware decoders since 2016. Comparing the i7-3520M to something modern like an AMD 5800U the modern chip has ~2x single and ~4x multi-core performance, about the same compared to a M1 MB Air. Compared to 2012 they're all in the same ballpark.
I thought Apple didn't embrace VPx codecs because they were made by Google? Last time I looked, VideoToolbox only supported hardware-accelerated H264 and H265. So I assumed that all VP9 decoding must happen in software.
On my X1 Carbon with the 10th Gen Core i7 processor which also happen to have VP9 hardware decoders, the fans still spin up. They're not very audible but the machine gets warm to the touch. On my M1 MBP? 4K video playback does nothing to it. Absolutely dead quite, no fans spinning, cold to the touch all throughout.
Faster is better but I can give you a real world benchmark and impressions. My Ubuntu 32 GB i7-47xx SATA 2 laptop from 2014 upgraded with SSD runs a 500 spec Ruby on Rails test suite in 1 minute 15 seconds. My customer's M1 runs it in 50 seconds. The improvement is big but 25 seconds are not that long because we usually don't run the full test suite but only the tests of the code we're working on. Text editing, debugging etc would be fine also on a 2004 laptop.

Of course if I had to run a 10x suite 250 seconds, 3 minutes, would be noticeable. Or if I worked with compiled languages and had to recompile large projects.

> My Ubuntu 32 GB i7-47xx SATA 2 laptop from 2014 upgraded with SSD runs a 500 spec Ruby on Rails test suite in 1 minute 15 seconds. My customer's M1 runs it in 50 seconds.

That hardly sounds like a fair comparison: a computer from eight years ago is going to be slower than one from last year, after all.

The only fair comparison is between machines at the same or similar price points. What's the best intel/amd laptop you can buy for the M1 money, and how does that laptop compare?

Hasn't there been enough coverage for this already? The M1 chip is ahead in the performance/wattage, which makes them a significant upgrade to most other laptops - as these are always constrained by power and cooling.

Though Intel has since improved their mobile chips and the difference is likely to be much less with the new laptops this year.

> Hasn't there been enough coverage for this already?

I don't think I've seen any bang-per-buck comparisons; of course I have not looked very hard, so there's something for me to do later :-)

> The M1 chip is ahead in the performance/wattage,

I don't care. OP posted about performance with no regard to power efficiency, so I was wondering about the performace with no regard to power efficiency.

As long as the laptop lasts 3 hours or so it's enough. I'm not going to spend 8 hours huddled over a small screen that I am squinting into, using a reduced keyboard with limited navigation keys. I can't see myself spending even 3 hours doing that, TBH. My neck hurts after only an hour using a laptop without an external monitor or keyboard.

Since the thing is going to be plugged in for 99.9% of its use, I'm more interested in what performance difference I expect by going with the M1 over a similarly-priced Intel/AMD setup.

The consensus results I've been seeing appear to be

- Intel Alder lake has vastly better idle and low-performance task power draw than before but still not quiiite as good as M1. It can boost to slightly faster peak speeds but at a MASSIVE power draw disadvantage, like 4x more power then M1 to reach 5% more performance

- AMD which is on more comparable TSMC processes gets comparable power/performance draw, but AMD have not yet cracked idle power draw and it's still worse than even Intel

And Apple is about to release M2

Remember, this is about running Linux on the M1. So if we’re going to talk about the 12th Gen Intel laptop chips expected later this year we also have to talk about Linux support on that chip.

I hope I’m wrong, but last I heard the Linux scheduler hasn’t caught up with 12th gen performance and efficacy cores.

—- Then there’s the whole other topic that some of us would prefer to be on arm over x86. I’m keeping an eye out for native Linux support for the latest snapdragon 8cx Gen 3 laptops that are coming out (ThinkPad X13s and friends). So far I’ve heard nothing. Which might suggest that M1 might stay ahead of the curve in terms of the community hacking to support these boards.

The forthcoming Linux kernel 5.18 will include initial support for intel's Hardware Feedback Interface (HFI) [1]. This may bring linux performance on intel 12th gen (Alder Lake) processors to par with their performance on Windows 11.

It will be fun to see how quickly HFI support finds it's way into Hypervisors like Xen.

[1] https://www.phoronix.com/scan.php?page=news_item&px=Intel-HF...

I don't understand why we should compare performance in artificial benchmarks to power consumption. Electricity is cheap and I assume that most laptop users have a wall socket nearby. Instead, it makes sense to compare typical user performance (not CPU instruction count) versus price.

For example, let's say CPU A has 32 cores each capable to perform 1B instructions and costs $1000, and CPU B has 4 cores with same speed, but costs $100. Let's say typical task for a machine is browsing social network sites. If this task uses only 4 cores and a user can browse same number of web pages per unit time then effectively both A and B have the same performance, but CPU A has 10 times worse typical performance per dollar.

A metric in this case should be not the count of executed instructions, but for example, a count of web pages viewed by user per unit time, or share of time spent actually viewing pages (and not waiting for them to load).

Of course, you can make similar metrics for other uses - for example, a time taken by illustrator to draw a picture, or count of written lines of code per unit time for a programmer. All divided by hardware cost.

That's the type of comparison I would like to see. Would Apple be winning in such fair and realistic benchmark is an open question. I doubt that.

> I don't understand why we should compare performance in artificial benchmarks to power consumption. Electricity is cheap

Battery life, fan noise, and throttling due to excess heat are all reasons to care about power consumption.

I know it's not fair but that wasn't my point. My goal was to show how much or how little a real world workload improved over the years.

My assessment is that I'm not going out to buy a M1 laptop now even if there were ones not from Apple or a new Intel/AMD. I'll still wait until my current one starts dying or I have to do something it can't do. I replaced the previous one from 2006 when I started to work with VMs and containers and I needed more than 4 GB RAM. The new laptop (my current one) was 3 times faster on the same workloads and it had a HDD at the time.

> I know it's not fair but that wasn't my point.

I apologise. I interpreted what you said as evidence for how fast the M1 is.

> My goal was to show how much or how little a real world workload improved over the years.

Agreed. I am only now looking a desktop replacement for my 2011 first-gen i7, and the only reason is because I recently started doing Java and C# development on my personal machines, and the IDEs + compilation times are terrible.

Also, trying to run VS under Linux on this machine is a total waste of time. If it weren't for the Java and C# requirement I wouldn't even bother.

On the other hand my wife has an M1 macbook air that I recommended she buys. And it's beachballing all the f*in time. I don't know if it's chrome or what, but it's odd to have both really fast build times in the CLI and the UI hanging constantly.
Make sure you use native Chrome and not Rosetta emulated one, which can happen if you transfered data from another Mac.
That might cause minor performance degradations, but really shouldn't cause hangs.
It really does, not sure what’s the reason but the performance is much worse than just 20% hit Rosetta claims.
It made a massive difference for me on an M1 Pro machine
I just got cheapest M1 air and i was really surprised. It compiles faster than my semi recent Xeon desktop. Like i dont even know how it is so fast. Everything is so fast. The only bad thing is macos Monterey. It looks like some amateurs are in charge of design.
I have an M1 Air and it very rarely beachballs. Music did that yesterday but I can't remember the last time I had one.

Incidentally, I don't use Chrome and don't even have it installed. My main browser is Firefox (at any given time I have 2-3 Firefox profiles open with tens of tabs) and secondary browser is Safari.

Next time an app is beachballing, open Activity Monitor, select the app, click the little "i" icon, then click "Analyze process".

You'll then get a bunch of stack traces that show you where the process is spending time. To diagnose beachballs, the only interesting thing is the main thread (the first one).

Sometimes you can see from the method names where it's hanging.

The M1 is pretty fast, but don't get fooled by the reviews claiming there to be no difference between the 8GB and 16GB models. When you run into forced swapping, the thing still grinds to a halt. Audio crackling is the least of your worries (happens when switching apps, for example), at worst the thing runs at 1 FPS for a minute.
Yeah well I got the 64 GB model for this exact reason. One can't have too much RAM, right?
> I would take this more as an indictment of ARM laptops rather than any "software rendering is magically fast" statement here.

I think that's the point of marcan42's Tweet - this is smooth even without GPU rendering, meaning the CPU is just that good.

The point of who you're replying to, is that this isn't exceptional at all.

The reason you would care about GPU rendering of the UI is mainly for battery life.

thanks for clarifying.. perhaps I misread "indictment"
>The reason you would care about GPU rendering of the UI is mainly for battery life.

It depends on the power draw of the CPU, which for the M1 family is unusually low.

For instance, in today's Mac Studio review, Ars tested the power draw for various systems running a Handbrake encode with the CPUs running wide open.

The plain M1 system was drawing 27 watts. The M1 Max was drawing 47 watts. The M1 Ultra was drawing 87 watts. The PC desktop running Alder Lake unlocked was drawing 300 watts.

>Both the power-unlimited Core i9-12900 and the M1 Ultra performed roughly the same in our Handbrake video-encoding test, and the i9 did even better than the M1 Ultra in a handful of our CPU benchmarks. But measured at the wall, the Core i9 PC was drawing roughly 300 W of power the entire time the encoding task was running compared to the mid-80s for the M1 Ultra.

https://arstechnica.com/gadgets/2022/03/mac-studio-review-a-...

(comment deleted)
It's not only the "console effect" for the OS though. It's the vertical integration of the hardware to begin with. It's just better than x86 platforms because Apple control everything and can make sure it works together well. It's been very apparent as we work on the platform just how well everything ties together internally.

On x86 you have the CPU vendor, the chipset vendor, the hardware OEM, the storage vendor, the GPU vendor, etc. all fighting each other and it shows. No one company ends up having the motivation and control to make things tie well together.

Granted, for little things like "Asahi Linux is probably the only third party distro on the planet to autodetect your laptop's keyboard layout on first boot", yeah, it helps that we're targeting a very specific platform (and the vendor cares about these thing and left the facilities in place for us to do that). But for stuff like good battery life and power management, you just can't achieve that if the hardware isn't well integrated to begin with, and we're already getting impressive battery life numbers with minimal OS support.

Could another vendor (Intel, AMD) achieve similar results? Is it possible within the IBM PC platform?
It's very possible; we'll have to see how the 5800X3D does. One thing that the M1 has that the competition doesn't is just more cache closer to the CPU.

The M1 Ultra, if it holds that it's just two Maxes glued together, has 48MB of L2 cache.[1]

AMD's newer 96MB VCache system in the 5800X3D is still L3 cache, with only 4MB of L2 cache.[2]

But that's a top of the line not-quite-released processor. AMD's current high-end (5950X) only has 8MB of L2 and 64MB of L3.[3] Meanwhile Intel's 12900HK only has 24MB of their Smart Cache[4], and the 12700K has 25 but with 12MB marked for L2[5].

It's not clear to me that cache is the be all and end all but it does seem to be a significant factor, especially if AMD's claims around the boost 96MB of L3 cache is going to give it are anything remotely correct.

[1]: https://www.anandtech.com/show/17024/apple-m1-max-performanc...

[2]: https://www.amd.com/en/products/cpu/amd-ryzen-7-5800x3d

[3]: https://www.amd.com/en/products/cpu/amd-ryzen-9-5950x

[4]: https://www.intel.com/content/www/us/en/products/sku/132215/...

[5]: https://www.intel.com/content/www/us/en/products/sku/134594/...

> It's not only the "console effect" for the OS though. It's the vertical integration of the hardware to begin with. It's just better than x86 platforms because Apple control everything and can make sure it works together well. It's been very apparent as we work on the platform just how well everything ties together internally.

I don't think I agree with you on this. It may be easier for Asahi's developers to manage but it's not like Apple hasn't been cutting corners[1][2] in some areas either, which affects the actual users. I don't know if a power outage leading to lost data or incredibly fast SSD wear are better.

It's also only good for the use cases it's advertised for and falls drastically short in other areas.It's not close to either NVidia's or AMD's low-mid range GPUs when it comes to gaming, for example. It is excelling because it's a tool designed for a handful of specific purposes and the related audiences. It's very good to have a non-x86 competitor in the market and it would be amazing if one day I could build a comparably performant ARM-based (or heck even RISCV-based) system for home.

[1]: https://twitter.com/marcan42/status/1494213855387734019

[2]: https://news.ycombinator.com/item?id=26244093

You realize you're linking me my own tweet, right?

[1] isn't cutting corners, it's just not optimizing a use case that didn't matter for iOS devices, and not realizing it to fix it when bringing that controller to Macs. I'm not saying the hardware/firmware is absolutely perfect. The part of the story about macOS defaulting to unsafe flushes is a software issue, not a hardware issue.

[2] is a macOS bug that was fixed a long time ago. It has nothing to do with hardware whatsoever. In fact, write endurance on Apple SSDs is at the high end of the market. macOS was just eating through it like butter due to a bug.

I'll be honest, I didn't see your HN username! :)

I don't really agree with [1]. "Use what we already have" is cutting corners, because it's skipping the important steps of considering the impact of those engineering decisions in a new product.

Re [2], glad to hear it's changed but the idea that it "has nothing to do with hardware" is a bit misleading because as you noted Apple controls everything. You can't pretend there's a console effect on one hand and then turn around and ignore the downsides to that. Fixed in software is a good answer but I'm struggling to see issues with modern hardware that aren't fixed in software.

Hahaha... Plasma in software rendering... Is this X11 or Wayland? I have some horror stories: on non-unified memory architectures, KWin Wayland with QPainter rendering slows to a crawl on alt-tab, because Qt is trying to CPU-render to GPU-owned memory over the PCIe bus (https://bugs.kde.org/show_bug.cgi?id=447383).
EDIT: It's X11 (kwin_x11), but the Display Configuration panel's "only one resolution" message claims it's Plasma Wayland.
(comment deleted)
Looking forward to trying this in the not so distant future. Great work to the team
Has anyone here tried this? How usable is it? Can you get a windows vbox guest to work? 4K with VLC?
VirtualBox is x86 only and has 0 ARM64 offering.
Cool, I remember a post about someone getting vmware working on M1 , mixed it up with vbox. I don't get the downvotes, not supposed to ask other users' experience? Whatever HN.
I mean, marcan_42 is the creator and he’s on some other threads in this discussion. I’d suggest asking him.
I wanted a user's experience based input before I spend time+money on this because I like the project a lot. Sounds like I should wait a bit longer.
The project might get accelerated with some of your time+money.
Are there working drivers (preferably open source) for all hardware components yet?
On the contrary, it looks like a lot of essentials are still missing: HDMI out, webcam, speakers, Thunderbolt, USB3, backlights, and of course, the GPU. This is "usable", but a long ways away from being a daily driver. I think you can cross the "mostly there" threshold when the GPU is working...
Baloney. We had computers for decades before we had GPUs. And considering most computers are just used for browsing the web, writing documents, and writing code, most people rarely touch their GPU (YouTube being Media Engine Decoding and not technically the GPU).

Even my job - I write web apps, I don't need a GPU. If it can play audio through a headphone jack, and draw a window nicely without aggravating amounts of tearing (though I might work in a full-screen CLI anyway), I don't care, it's Linux!

[Edit: I'm not disputing a GPU is nice to have. I am dismissing the overly negative reply above.]

I wouldn't call the comment you replied to overly negative, at least by the text alone. Look at the full unsupported list; there's a lot of work left. Considering the pace the project has moved so far, I suspect we'll see most of it in the coming months, but for now there are big gaps. I mean, if all you want is browsing and a headphone out, why an M1? Any cheap device could do the same. The magic is in the "unnecessary" other things, like speedy rendering or, you know, speakers. It's coming for sure, probably soon, but not quite yet.
It depends for who. I just need a fast mobile machine with lots of RAM for doing compilations and CPU-intensive work. I don't care about the GPU or sound.

An M1 with Asahi looks fantastic to me.

Baloney. If you want a Linux laptop, there are currently systems with purposeful Linux support. Asahi is an amazing feat, but panders to Apple's bullshit.
Couldn't have said it better myself. I genuinely respect the people who are capable of doing stuff like this, but genuflecting yourself at the altar of propriety is a shameful act, and there's no respect in licking the boots of a company that has kicked OSS in the teeth more times than you can count.
You might say they have kicked right to repair in the teeth many times, but OSS? Ha no, this is the company that brought us WebKit (browser engine) which later brought us Blink, and also brought us CUPS (which is what allows Linux to print right now - there's Apple code in your Linux distribution for everyday functionality, gasp!) They've also done a ton of work and basically brought us LLVM which many Linux systems use as part of compiling.
> brought us WebKit (browser engine)

Yes, the browser engine that had to be forked because Apple neglected it for so long. Brilliant example!

> and also brought us CUPS

Nope. That would be Michael Sweet. Apple later hired the main developer behind the effort, and adopted the standard as their own. Same thing happened with LLVM, so don't go around spreading those particular lies.

Got anything else? All of your examples seem to be instances where Apple has neglected Open Source or just threw money at something they were incapable of competing with.

> there's Apple code in your Linux distribution for everyday functionality, gasp!

Man, wait until you hear who contributed the POSIX APIs, SMP support, multitasking/multiuser functionality and the entire networking stack to MacOS... ;)

Nitpick, partly because I suspect someone else will bring it up if I don’t, webkit didn’t start at Apple.

I do think Apple’s open source contributions are largely undersold, although they’ve probably contributed less than other technology companies their size (e.g. Google).

GPUs are more power efficient at rendering, which is important for mobile applications.

GUIs will essentially emulate the GPU in software and reduce battery life.

The resolution of modern displays is such that you want specialized hardware doing the work. Modern font rendering engines run on GPUs as well now, because the resolution increases faster than single threaded speed.

GPUs are also more power efficient at many of these things, because while they use more power while running they get done sufficiently quickly that they end up ahead. That’s before you include the power savings from rapidly dropping the power mode.

Note that this isn’t specific to AS, or even arm in general: every laptop wants to get to low power as fast as possible, because constant low-ish power is much worse than brief spikes that you can disable power between.

A GPU is an absolute must have for a laptop. Seriously. If you software render everything, your battery life will be horrible.

The only reason modern laptops have 10h+ battery life is because of GPUs. Sure, without it you can manage, your power efficiency will just massively tank.

However, this could be absolutely amazing for the new M1 desktops, or for the M1 Mac Mini. It could make a kick-ass server.

And yet we're getting ~8h of battery life on these machines with software rendering.

Did I mention the hardware is just that good? :-)

Well, it could be better ;)

Seriously though, you’re all doing a very impressive work!

I'm sure that's fine for terminal usage, but seriously; who out there is going to daily-drive a laptop that has a non-functional GPU? This line of reasoning sounds like you're trying to compensate for the fact that GPU support is a long ways away, and that we may well have an M2 on store shelves before you've even got M1 support to a usable point.
"I'm sure that's fine for terminal usage, but seriously; who out there is going to daily-drive a laptop that has a non-functional GPU?"

Then how did Integrated Graphics sell so well in the broader marketplace? You'd think with their near-useless GPUs that were weaker than M1's software rendering that nobody could use them.

Also, whatever about M2 - Apple has structured their hardware to require minimum driver changes on each release. M2 will probably just be a few patches on the core driver, not a rewrite.

> You'd think with their near-useless GPUs that were weaker than M1's software rendering that nobody could use them.

The point is to delegate rendering away from the GPU, which is obviously a waste of compute no matter how you look at it. Every computer is capable of software rendering (my i5 520m can software-render for crying out loud), but we live in a more civilized age; even weak GPUs do their job to prevent the CPU from being unnecessarily bogged down with a task it's not good at. We do this so your computer doesn't insta-break when you plug in an external display, we do this so that CPU cores don't get pinned when you start scrolling a webpage, we do this because software rendering is bad. It doesn't matter if you're doing it on an i9 12900k or a first-gen Raspberry Pi; the goal is to not waste CPU cycles on it in the first place. This shouldn't even be up for debate in the first place.

> I'm sure that's fine for terminal usage, but seriously; who out there is going to daily-drive a laptop that has a non-functional GPU? This line of reasoning sounds like you're trying to compensate for the fact that GPU support is a long ways away

This is making a lot of leaps. None of his comments say that. They have a whole page [0] dedicated to a nuanced discussion on "when will Asahi Linux be done". It's perfectly fine for him to be excited about his project and his hardware. Lots of other people are also excited, which is awesome!

[0]: https://github.com/AsahiLinux/docs/wiki/%22When-will-Asahi-L...

I would expect the people already daily-driving ARM Linux laptops with GPUs that run slower than software rendering on M1s to be perfectly happy with the current state of affairs.

This is not to say GPU support is a long way away; it isn't.

> and that we may well have an M2 on store shelves before you've even got M1 support to a usable point.

You're assuming M2 will take another year. M1 Pro and Max took a week or so to bring to near feature parity, and M1 Ultra will probably take ~1 day. We aren't starting from scratch for every new chip.

I'm not saying everyone will be happy daily driving a laptop with no GPU (I wouldn't, not as my main machine). I'm saying some people will be (I would, as a carry around laptop for browsing and SSH).

That's very impressive! Just curious, on which kind of workload?
Most of these things are broken for other machines running Linux anyway so the masochists running Linux on their laptops might not even notice
When did you use Linux last, 20 years ago?
Not to be that guy, but all of the above works on the Arch Linux install on my ThinkPad.
Hector Martin:

>That whole "optimized for macOS" thing is a myth. Heck, we don't even have CPU deep idle support yet and people are reporting 7-10h of battery runtime on Linux. With software rendering running a composited desktop. No GPU.

The hardware is just that good.

https://nitter.net/marcan42/status/1498923099169132545#m

That's not the issue? The issues are:

1. There is now a completely untapped resource on your SOC

2. Your CPU is being utilized unnecessarily for things it shouldn't have to run in the first place

3. It completely rules out any hardware-accelerated applications, which is a lot of desktop use cases

> 1. There is now a completely untapped resource on your SOC.

If you’ve ever used a desktop PC with an Intel CPU and a dedicated GPU, you’ve also have a completely untapped resource in your machine (unless you were rocking a Xeon or some such). It’s not entirely illogical when you consider the benefits of economies of scale.

What matters is whether the experience you can get with the hardware you do use is superior to competing offerings. Have Apple Silicon Macs reached that point for Linux users? Probably not, unless you have very specific requirements and are willing to live on the bleeding edge, but the case is starting to appear for some specific needs.

And of course, they are working on drivers for the GPU and other hardware.

> It completely rules out any hardware-accelerated applications, which is a lot of desktop use cases

What does that even mean? We have a full composited desktop with shadows and transparency and everything. Software rendering doesn't mean no OpenGL. It's just software OpenGL.

Speakers work in our kernel tree, we're just not shipping it yet because there's infrastructure work to be done because Linux as a whole has no subsystem for enforcing speaker volume safety limits, nor does it have any subsystem for speaker DSP/EQ. Both of those are critical for modern platforms to be safe and sound good. I do not consider not having that up to standard, so I won't enable speakers for end users until we have an answer. It's coming, it's just we have to be the first to develop all this infra because it's 2022 and Linux audio still sucks ;)

USB3 and Thunderbolt are being worked on as we speak, and USB3 already works in Sven's kernel branch.

The backlight works with the DCP display driver, which is already working but just needs to be productionized so we can ship it in our main kernel branch. Soon.

And the GPU userspace work is at 90+% GLES2 spec compliance, and the hardware interface reverse engineering to write a kernel driver (which is the simpler part) has already started.

Things are moving quickly.

Impressive. This will make me choose an M1 to replace my XPS.

You should be paid by Apple for this.

> You should be paid by Apple for this.

Apple pays less than $500/year to BSD developers for the millions of lines of code that they poach from them. Giving back to open source developers for doing the things they should have done in the first place isn't really "their thing" so to speak.

Source?

This is unfounded. Also Apple bought the rights to BSD before FreeBSD existed, back when it was BSD4.3 and FreeBSD would not arrive for over a decade later. Apple also hired a lot of FreeBSD's programmers (including their founder) full-time and some of Apple's technologies such as LLVM have made their way back to FreeBSD.

> Source?

https://freebsdfoundation.org/our-donors/donors/?donationTyp...

> This is unfounded. Also Apple bought the rights to BSD before FreeBSD existed.

You're right. But they still poach millions of lines from FreeBSD for XNU/Darwin, since the patches are largely compatible. One would think they'd be willing to give back to the developers who write their code for them, but you'd be mistaken. Much like the App Store, it would appear that Apple is interested more in squeezing value from whoever they can and throwing them aside when they no longer make a case for their value.

"The BSD portion of the OS X kernel is derived primarily from FreeBSD, a version of 4.4BSD that offers advanced networking, performance, security, and compatibility features."

https://developer.apple.com/library/archive/documentation/Da...

Just awesome progress Hector and the rest of the team. Bravo. You’ve got my backing for as long as it takes …
Even if laptop support is not there yet, I think a Mac Mini (or Mac Studio, if supported) with Asahi Linux would make a fantastic Linux machine for AArch64 development or build servers. Perhaps ironically, Apple's Mac Mini may be the best the performance per dollar AArch64 Linux machine you can currently get. What a time to live :).
Mac Studio isn't supported yet, but I expect bring-up to take a day or two once mine arrives!

Some upstream kernel folks are already using Apple Silicon machines for development (to compile x86 kernels even) because they're faster than their x86 boxes, by a good margin :-). My M1 Pro laptop is about as fast at doing kernel builds as my 16-core Threadripper.

HDMI out and backlights are not essential for most folks. I agree with webcam, speakers and TB/USB3 (and GPU).
(comment deleted)
Very impressive. Basically a year later and (I assume) the first release is imminent. I'd wager most people don't need a GPU with such a powerful CPU. Only thing missing for me to daily drive something like this is Audio and BT.
Headphone jack works on M1 models (though I discovered today it's a bit flaky on boot).

The speakers technically work on all the laptops, but we need to implement safeties to make sure you don't accidentally blow your speakers, and also add DSP so they sound good. Fir now, we keep the speakers disabled.

BT will take longer though, it's not a huge priority for me so it's behind things like the GPU on the list (unless someone volunteers, of course.

On the topic of MacBook speaker DSP, I'm irritated how the MacBook Air speakers seem to add copious amounts of negative crosstalk to stereo to artificially widen the image. Playing a sine wave on the left speaker plays a slightly quieter inverted waveform on the right speaker, creating unnatural imaging that's tiring to listen to, much like "invert surround" SNES music. The worst part is that macOS offers no way to turn it off!
Chadmed is working on the processing, and he already thinks he can get better results than macOS. The other day he measured the response with a calibration mic so we can compute good correction coefficients.
I’m curious, why can’t you limit the max speaker volume to something stupidly low in the interim? (Under the logic that a very quiet speaker is better than no speaker.)
You will absolutely need a GPU even if the CPU was 3x faster. It doesn't have anything to do with speed - the issue is that without hardware accelerated rendering, your battery life will tank, hard.
If you care about battery life I would say the video decode unit is much more important then the GPU. The M1 doesn't really struggle with rendering a basic DE.
If you're playing games or rendering 3D models, sure, but how much graphics work does it really take to render a DE?

Wasn't it Vista that was the first OS to even support graphics acceleration for rendering the UI? That was a long time ago, but not that long either, and I don't recall it coming alongside massive improvements in battery life.

I'm not against graphics acceleration or anything, but I don't find it at all hard to believe that a fast, power-efficient CPU like the M1 could perform adequately with software rendering.

It takes a fair amount of work to render a modern DE. Especially at high framerates. I'm sure an M1 could perform adequately, but it would probably be around half the efficiency possible otherwise.
Sure, but the question isn't how it could run otherwise, but how well it runs in comparison to other options for running Linux.
Does anyone know the state of networking I/O using this? What kind of network latency and throughput is achievable? I haven't seen any benchmarks besides WiFi. What networking hardware is now supported or will be supported in the near future?
Asahi Linux is an impressive project. I cannot imagine how difficult is to reverse-engineering the M1 platform for porting a distro. I know that https://rosenzweig.io describes how the drivers are developed. However, I would like to read an ELI5 version of that process.
absolutely unbelievable!
The work they do is just outstanding - congrats to all involved. I am proud of backing the project and if you own a M1 (or now plan to get one just because of Asahi Linux), you'd probably want to contribute too:

https://www.patreon.com/marcan

Could someone the typical benefits of replacing MacOS with Asahi Linux — what are use cases people are desiring here? Is it mostly for server performance?
Well for one you no longer need to use macOS… which is a bonus in some folks mind.
Yeah, this really. I've no idea why someone wouldn't consider choice of OS to be a net positive for everyone.

Only thing stopping me getting one of these (through work) is the OS.

Why give your money to a manufacturer who explicitly wants you to run MacOS on their hardware, and not to its Linux-friendlier competitors?
Because the hardware is actually good?
Because I like the hardware but despise the software. I haven't found another laptop that comes close, although I don't have the money to try many.

Not only that, but in the F500 companies I've worked for it's not uncommon for employees to get the latest shiny new thing when their existing machine still has lots of life left. Repurposing it with Linux means I can use it.

Because there is no comparable hardware to be had for any amount of money anywhere.
It means you get the performance and battery life of the M1 without getting stuck with the OS Apple picked out. I doubt there's reason for most, but for me at least Linux is non-negotiable.
“Picked out” is an odd way to say “the platform that they make”

A bunch of the power saving is also from the OS shutting things down quickly and moving everything to low power states, linux has not always been the best at that. Which does make sense given that the primary usage is still things like data centers where the primary purpose is having everything go as fast as possible essentially all the time.

Linux is the world's most popular OS running on mobile devices with small batteries.

I'd say x86 platforms have not always been the best at that :-)

I think there’s a meaningful difference between being able to run on low power devices, and being able to control power usage of high performance ones, but I also take your point.

However we can also point to Darwin as it runs on lightning cables, presumably apples high performance usb-c/thunderbolt/marketing-name-of-the-day, etc on super teeny tiny arm processors :)

I see what you're saying, and really I do generally think Apple gets too much hate for their walled garden. It frees them to specialize for their niche, and if you don't like it you don't have to use their products! I sure don't. There's no doubt in my mind that Asahi won't be as power efficient as MacOS on an M1. But so, so much of that efficiency comes from the hardware. If Apple could make an x86 chip that power efficient just on software alone, they presumably would have. Plus, though I'm obviously no expert, I vaguely recall reading that offloading to the smaller cores is supported on Asahi, which is a good portion of the efficiency.
Does it really get the same great battery life of the M1 running MacOS? In the case of my dell XPS laptop, for example, it gets pretty good battery life if I use the windows 10 OS that it shipped with, but when I run Ubuntu, the battery life is horrible.
It will take you a lot of work, but you can get similar or better battery life in Linux. Even for the most twisted of laptops.

However, without good GPU support, proper battery life is impossible.

Even without GPU, we're getting better battery life than many x86 laptops already.
My dell produces noise like a hurricane if I open a second tab in Chrome.
If it's anything like my laptop, that's because the Linux nvidia driver doesn't downclock as much as it can on Windows. I believe that isn't much of an issue on Asahi because until the drivers are up and running, it just keeps the GPU powered off (though now I can't find where I saw that, so take it with a grain of salt)
You will not get the battery life on Linux until GPU drivers are finished at the very least, and a bunch of other stuff.

If it's non-negotiable for you, I would suggest alternative options. There are now laptops with similar CPU performance and better GPU performance, with comparable battery life (I get 12 hours idle or browsing websites that aren't too demanding). It doesn't make sense to go with an M1 Mac as a Linux machine unless you really need it to be ARM.

I don't mean to be rude, but what in the parent comment lead to you believe they were looking for suggestions?
Which laptop do you use?
Any laptop with latest-generation AMD processors, efficient RAM, and an efficient SSD will work. I use an Alienware m15 r5 Ryzen edition wiht an RTX 3070 - I get around 13h of battery life on idle (low screen brightness, 60hz), and around 8-10h doing work - that means Firefox, CLion, Dolphin, and a few terminal windows open. - but compiling rather infrequently, perhaps spending 2% of my time compiling. This is with 1 NVMe SSD installed - my other NVMe SSD is quite inefficient and drops battery life. I also run KDE with a lot of blur and eye-candy enabled and a bunch of extra stuff that eats battery.

If you really push battery saving to the very maximum, you can get power consumption with a similar setup at around 7W, which means a battery life of around 12 hours with a daily workload. However, as it is now, I am using between 7 and 9 watts, which results in a battery life of around 10 hours.

To get this to work on Arch Linux however, it was a serious headache, took me around 9 hours of work.

This seems comparable to what my friends with an M1 Pro MBP, 14", report, which is 8-9h on essentially the same workload.

I get better power consumption on Windows, however, unless I fully and completely disable the dedicated GPU (I use hybrid graphics).

A person who wants to use Linux can use Linux.
Use cases with less spying and law enforcement tentacles.
Related:

AsahiLinux's Introduction to Apple Silicon - https://news.ycombinator.com/item?id=30699794 - March 2022 (5 comments)

Asahi Linux Add Support for the Broadcom FullMAC WiFi Chips Used on Apple T2/M1 - https://news.ycombinator.com/item?id=29694497 - Dec 2021 (9 comments)

Apple Helps Asahi Linux - https://news.ycombinator.com/item?id=29591578 - Dec 2021 (174 comments)

Asahi Linux for M1 Macs Progress October-November 2021 - https://news.ycombinator.com/item?id=29564384 - Dec 2021 (211 comments)

Asahi Linux for M1 Macs: progress report for September 2021 - https://news.ycombinator.com/item?id=28762744 - Oct 2021 (186 comments)

Asahi Linux for Apple M1 progress report, August 2021 - https://news.ycombinator.com/item?id=28180135 - Aug 2021 (183 comments)

Asahi Linux Progress Report: January/February 2021 - https://news.ycombinator.com/item?id=26421963 - March 2021 (65 comments)

Asahi Linux: Linux on Apple Silicon project - https://news.ycombinator.com/item?id=25649719 - Jan 2021 (405 comments)

Would the end goal of this project be for the distro to no longer exist and mainline linux containing everything required? So that you could just grab the M1 version of Fedora/Ubuntu and it just works?
Correct. Can't find the tweet now but marcan wrote something like "the goal of Asahi is to stop existing". I.e. upstream everything.
I hope the folks responsible for this are well compensated for the work.
I can't wait until this gets a little further along. My company issues macbooks even though all my development is linux based (I have a linux desktop for my normal day to day work development). I currently use UTM and run Fedora full screen, which works reasonably well, but it'd be nice to just boot directly into linux.