by kytazo · 3y ago · 0 comments
I don't feel like ever going back to x86 to be honest, at this point there is nothing lacking or unable to run and when the neural engine drivers come online now that the GPU is starting to mature people will be able to juice out every last bit of computation this machine is capable of.
For the record, I've switched to the edge branch a couple of months ago and honestly I noticed no actual difference in my day-to-day tasks which is really telling about how powerful even the M1 is when it can handle software rendering in such an effortless manner coupled with anything else running.
Really thank god for asahi being a thing.
Sure there is. You just haven't run into it yourself.
Faster, cooler and more power efficient hardware is great. I just don't think that it makes up for depending on a small team of volunteers to resolve all hardware issues in an ecosystem hostile to OSS, which might break at any point Apple decides to do so.
And the incompatibilities with ARM are not negligible. If all your software runs on it, great. If not, good luck depending on yet another translation layer.
I'm sticking with my slow, hot and power-hungry x86 machines with worse build quality for the foreseeable future. The new AMD mobile chips are certainly in the ballpark of what Apple silicon can do, so I won't be missing much.
You are describing how most OSS software has been developed. I don't see how this is any different than early linux when no hardware manufacturers had any interest in supporting it.
A lot of the work that the asahi team is doing is just fixing Arm issues in the linux kernel (and sadly user space). That work will benefit everyone using Arm systems, not just folks running asahi on Apple hardware.
Its good for there to be more hardware architecture competition! I'm glad I can run my server workloads on the Arm servers in AWS that are 20% cheaper than the equivalent x86 machines. I'm glad that I can run the software I like (linux) on legitimately nice hardware (m2 air). You can make different decisions on what architectures are best suited for your needs, but the competition in the market improves the options and prices for everyone.
I've been using Asahi since the fall of 2022. When I first started using it a lot of software was broken because of bugs in that software that had never been exposed before (specifically around page sizes larger than 4k). All of that software has now been fixed. Support for linux/arm will only continue to improve as more people use it.
It's very different. Hardware manufacturers in the 90s were incentivized to support Linux to expand their customer base. A trillion-dollar corporation has no incentive to sell their hardware to a niche of a niche of technical users who are not part of their software ecosystem.
Another major difference is that Asahi is a small team of dedicated volunteers who want to run Linux on their Macs. They're a niche intersection of Linux hackers and Apple fans. Unsupported hardware in the 90s typically had a much larger customer base and group of hackers willing to spend time adding supporting for it.
Even worse: Apple can decide at any point to make their hardware much more difficult to support. Newer models or firmware updates might break things. Being at the whims of a corporation that is the antithesis of F/LOSS to run Linux on their hardware doesn't inspire confidence.
> Its good for there to be more hardware architecture competition!
> Support for linux/arm will only continue to improve as more people use it.
Agreed. I'm glad that Asahi exists. But we've had ARM Linux distros for decades now. What Asahi is doing is specifically to support Apple hardware. Some improvements will trickle out to improve general ARM support, but this points out the gargantuan task they're actually up against. Not only do they need to reverse engineer the hardware, they have to resolve all software issues with Linux and ARM. My hat's off to them. The willpower, patience and skills required to wade through the absolute mountain of issues must be astronomical. Yet this is also part of my concern; how long can a developer keep the motivation and sanity to swim against the current?
It's great that Asahi works for you and everyone else. I'm just pointing out why it will likely never be my choice for any serious work.
That is not an accurate description of linux support by hardware manufactures from that time period.
> Unsupported hardware in the 90s typically had a much larger customer base and group of hackers willing to spend time adding supporting for it.
I also don't think this is generally correct. Have you looked at all the random drivers in the linux kernel for niche hardware. A ton of that is from one or two hobbyists taking the time to add support.
> Apple can decide at any point to make their hardware much more difficult to support. Newer models or firmware updates might break things. Being at the whims of a corporation that is the antithesis of F/LOSS to run Linux on their hardware doesn't inspire confidence.
I guess, but so what? Apple can't break the hardware they are already shipping if you are just running linux on it. Its true, I might not buy a theoretical future laptop from Apple if I can't run linux on it, but I don't see how that would affect my purchasing decision for hardware that is currently available.
> The willpower, patience and skills required to wade through the absolute mountain of issues must be astronomical. Yet this is also part of my concern; how long can a developer keep the motivation and sanity to swim against the current?
Hmm, maybe you've not worked on projects like this, or are motivated by different things. To me, reverse engineering a thing to figure out how it works and then writing software to get it to do things the original designers hadn't planned for is one of the more satisfying and fun activities of being a software engineer. I suspect the asahi team is having fun doing a lot of this work. (That's not to say its all fun. It sounds like getting things upstreamed has been trying. I also think having to read giant comment threads where people are needlessly negative about their work might be a bit demoralizing.)
> It's great that Asahi works for you and everyone else. I'm just pointing out why it will likely never be my choice for any serious work.
You should obviously run whatever works for you.
> Hardware manufacturers in the 90s were incentivized to support Linux to expand their customer base.
Outside of some server niches (though even then, mostly not til the noughties), not really. You generally weren't looking at much first-party support at all in the 90s.
> Unsupported hardware in the 90s typically had a much larger customer base and group of hackers willing to spend time adding supporting for it.
This... is really not the case. The M1/2 Macs are _close_ to being one platform with something on the order of a hundred million units out there. Hardware in the 90s was pretty diverse; if you wanted support for your video card, say, there might be twenty chipsets out there, with maybe fifty manufacturers. Later on, there was a fair bit of consolidation, with virtually every computer, say, ending up with pretty much the same sound card chipset, but not in the 90s.
> Apple can decide at any point to make their hardware much more difficult to support. Newer models or firmware updates might break things.
Yeah, again, that _very_ much happened in the 90s.
That is the case with every single PC maker who doesn't ship all their PCs with Linux.
I just don't understand why Apple has to be treated differently. They just went through a traumatic transition where they could have locked their computers very tightly, preventing you from booting anything but macOS. They did no such thing. They did the reverse. No they didn't formally support it, but they own their own OS. How could they be expected to?
Whatever hardware you're using, it's not like the company has signed a contract to support Linux for life.
While I don't have Apple hardware so haven't been closely following Asahi I dont't think that is true. Linux has supported Arm for years (more like decades) now. They've been doing excellent work on support for Apple specific hardware sure, generic Arm not so much since it was mostly done.
Maintainers of other non-x86 architecture have said that this is improving things for them[1].
[0]: https://github.com/AsahiLinux/docs/wiki/Broken-Software [1]: https://www.talospace.com/2022/03/asahi-linux-gives-hope-for...
> I don't see how this is any different than early linux when no hardware manufacturers had any interest in supporting it.
It’s great. The battery life is great, it’s quite fast with a lot of cores, when I need to do my genetics runs (plugged in). Build quality isn’t bad, plus affordable and lots of ports. After my initial transition away, not missing my 2015 Mac book pro.
Linux is the way to go. I don’t blame people with apple hardware for wanting it. I just don’t feel the x86 side is as bad as the everyone makes it out to be. We’ve come along way since my first Linux laptop and it’s not so great battery life.
The machine was quite a bit slower than an M1 Air, would have loud fans during video meetings, and on Linux the battery would typically last 3 hours (6-7 on Windows, yes I did all the usual power optimizations). In S3 sleep it would discharge overnight and the next day it would refuse to charge with Lenovo’s included USB-C adapter. When waking up the machine from sleep the track point or trackpad wouldn’t come up 1/3rd of the time on Linux.
I used the laptop for work and the question ‘does the laptop work’ when having a meeting or having to teach became so stressful, that one day after another Linux hardware episode I immediately went to a store after work and picked up an M1 Air and never looked back (well, got an M1 Max after that).
There is no way I am going to touch Linux on laptops within 5 years.
(I use a headless Linux GPU machine daily, first used Linux in 1994, and was paid to work on a Linux distribution in the past.)
Things have changed a bit since then[1]. The new Phoenix chips are quite competitive with the M2 as far as performance and TDP goes. Your other complaints are with Lenovo, not AMD.
I doubt anyone will argue that Apple laptops don't have the best build quality. Apple has the advantage of full vertical integration, so it's very difficult for any other manufacturer to compete on things like battery life and power efficiency.
The Linux glitches you describe is the usual Linux jank. I don't disagree that even the most well-supported Linux laptop will have these. As a Linux user, you choose to deal with these issues because the alternative of relying on a corporation to decide how you're going to use your computer is not an option. I've also heard and experienced my share of issues with macOS and Windows. In the eternal words of a modern philosopher: every OS sucks[2].
[1]: https://nanoreview.net/en/cpu-compare/apple-m2-max-vs-amd-ry...
And yes, that sucks. We should have first-class support. It's no wonder macOS gained popularity among developers. But I've been running Linux on laptops for 15+ years now (even on Macs), and I've seen how it's changed from barely-working and having to futz with things at every kernel upgrade, to pretty much seamless (and these days I really have little patience for futzing around with things; I want something that works so I can do useful things on it). But, again: you need to choose your hardware carefully.
For reference, I had a 2016-model Razer Blade Stealth, which had no issues with Linux. Then in early 2019 I bought a 2018-model Dell XPS 13 that worked flawlessly (except for the fingerprint reader, which I knew ahead of time and accepted as ok). For the past yearish I've been using a Framework Laptop, which has had some problems (unrelated to Linux; Windows users have the same problems), but the hardware support on Linux has been solid.
Meanwhile, I'd constantly hear problems from my friends with Macs about how it could never stay connected to a wireless network after a couple hours (requiring a reboot to fix), or would frequently "beachball" under not that much load, or how the yearly major OS update would usually break their development setup. I used macOS on and off between 2005 and 2017 or so, and ran into plenty of issues as well.
While I certainly agree there's some laptop hardware that you just shouldn't run Linux on, the still-kicking Steve Jobs Reality Distortion Field somehow causes people to ignore or explain away all the issues macOS has.
I'm assuming you're using Asahi Linux on your Macs (though you said you wouldn't touch it..). The lack of hardware diversity should make comparability easier, even if everything need to be reversed engineered.
I get 6 hours or so on my machine. Its pretty much silent, unless I push it. Its a Ryzen 7 5700u. We do a lot of parallel compute and genetics code tends massively parallel and x86 optimized. Mostly run on cluster though. I haven't done any maintenance and have had not hardware issues.
I don't link I could ever go back to macos, or windows.
This. The volunteer pool is too small. And you're supporting a shitty company.
Also, which are the virtuous hardware companies and what's stopping them from making compelling products? And since I'm already a Mac user, I've already supported this evil company, so what does it matter if I change out the operating system?
There are good laptops out there other than Macs... Lenovo, HP, Dell, etc all have offerings which are supported out of the box by Linux because they aren't using their own hardware or do contribute the necessary code to run FOSS OSs.
I'm not asking you to now dump your Mac. That'd be silly. Continue to use your Mac with Asahi, just don't complain if Apple decides to break anything at any time, and expect it. Know that what you type on now is already planned for obsolescence and most likely has intentional design flaws as shown again and again by people like Louis Rossmann.
When your Mac dies, I am asking you to not buy Apple for your next laptop. That's all that can be reasonably asked.
Every month that passes, with similar HN comments insisting it's a bad time... I wonder: "am I 'special' or just spoiled by nix(os/pks)". Or maybe, just maybe, people's expectations of their distros are shockingly low. And maybe rightly so at times.
Nothing wrong with being a late adopter. Nothing wrong with being an early adopter either.
Namely?
We really need something like Mesa, but for compute accelerator APIs. I'm really hoping that IREE helps smooth out parts of the software stack and can fill in part of this, but the pieces aren't all put in place yet. You'll need the GPU for a substantial amount of accelerator work regardless of Neural Engine support.
I disagree that there is nothing lacking on these machines with Asahi, I still run into small nits all the time (from 16k page sizes biting back to software missing features). But my M2 Air is 100%, no-questions-asked usable as a daily driver and on-the-go hacking machine, it is fast as hell and quiet, it has nested virtualization and is the only modern ARM machine on the market, and I love it for that.
Has there been any ongoing work on this? It's been marked as "WIP" in GitHub for a while now, and I'd imagine it's one of the more complicated things to reverse-engineer.
On the other hand a cheap M1 Mac Mini would make a great machine to try it out. The M1 Mac Mini is the best supported machine currently.
[1] https://github.com/AsahiLinux/docs/wiki/Feature-Support#m2-d...
Send me the link, that sounds amazing.
In my experience the experience for those is quite bad, as you're sharing that 8G across both the CPU and GPU...
Judging from the OP's post of 2.3k€, they're probably considering a maxed out version, which has a completely different experience since you can fully take advantage of the high memory bandwidth for hybrid tasks unlike the low-memory models where you're sharing the limited capacity.
Moneywise it was definitely worth it, both machines are still working many years later and have been pretty much trouble free after the initial bugs were ironed out.
If I was in the market for a new laptop right now I'd wait for a bit and then pull the trigger on the latest model with broad support.
That’s the only thing I’m really missing currently.