Apple GPU drivers now in Asahi Linux
asahilinux.org
asahilinux.org
The Linux graphics folks have really achieved something.
That was an amazing feat, this is also very impressive.
I think at some point Linux was as good as Solaris, if not better, on SPARC systems.
I really wish this were true at some point for Apple hardware.
That's a bit of a stretch. In fact, the last time I was in an air traffic control tower, it was Solaris, not Linux, in active use by the controllers themselves.
It would also have to go through many series of bureucracy, compliance requirements, and such to be installed in the first place. Even a point update to the next Solaris version could be a year long process, complete with several staging systems and so on.
Last but not least, it would 100% be tied to the ATC software run there, and under what OS it was developed and tested (which, if it was pre-2000, would more likely be some commercial UNIX like Solaris, considered - and being - more mature and supported for such use then).
An airport management wont just go and reinstall some mission critical software they got through a specific contract deal. And ATC software wont be just some GitHub repo you recompile and build for Linux.
But that's almost totally unrelated to how well Solaris vs Linux runs on the machine.
All of the ATC applications were built on Solaris running SPARC. Most of the developers were familiar with Linux at the time, this was back in the early 2000s. But even then many of the devs wanted to migrate the platform to Linux for a number of reasons. The cost and time, however, for acceptance testing on Linux would have eaten the budget alive.
So instead pieces and parts that were readily accessible in Linux were ported to SPARC. I remember getting a new requirement for GPS time (previously the system had only used Rubidium oscillators) and working with one of the devs on getting OTS hardware working with the ported code. The further along the program went and newer features were added to the scope the more this happened. But everything in the UI was based on CDE and some SPARC specific libraries for the UI. The HMI was written in ADA.
Since these systems have so many requirements just swapping out the OS would be a major overhaul and I'm not actually sure that Linux would even be the right choice.
Back when Sun was still in business, Linux's SMP support was still in its infancy, futexes were not a thing, and the pthreads documentation was nonexistent.
On top of that, fsync was actually broken on ext2/3. Also, there was a single kernel level lock per file, so you couldn't have two CPUs seeking in the same file at the same time (oracle recommended using a block device instead of a filesystem, and provided a list of changes to the kernel source you needed to make manually if you wanted Oracle on Linux to be supported.)
None of this mattered of course, but the Linux kernel certainly wasn't "better" than Solaris back then.
Throughout the talk they showed Linux vs Solaris performance, and talked about their optimizations. It was lmbench (Larry McVoy the author was ex-Sun, which adds something) that, and by the end they beat Solaris on every result.
Obviously this was impressive, but it's hard for me to clearly express how much this shook my assumptions about how to build good software. A bunch of students shouldn't have been able to beat Sun on their own hardware in anything!
These days I think even Cantrill regrets being a jerk back then.
On the other hand, maybe he was playing the guy who lashes out when his feelings get hurt after his work was publicly eviscerated.
[0] https://www.reddit.com/r/IAmA/comments/31ny87/comment/cq3e4y...
> You've turned an enjoyable little job that I did— for a few years— into a colossal waste of time!
it would have balanced out the later one!
Thanks for making it make sense :)
--
1: https://trekmovie.com/2021/09/06/william-shatner-defends-198...
There's even a working Direct3D 9 driver based on Gallium3D. With an appropriately patched WINE, you can use it to run old Windows games quite nicely even on integrated graphics or with low core count CPUs. Here's some reporting: https://www.phoronix.com/news/Gallium-Nine-Better-2021
I hope that with NVIDIA's new open-source kernel drivers, now Nouveau can push forward and get good performance like Mesa's open-source drivers for AMD. That'd be awesome, and it could pave the way for mainlining NVIDIA's new kernel driver.
I watched the hardware support evolve with each major update and remember when the first builds of specific software (e.g., Chromium and VSCode) that supported the 16K page size were first available.
The last few months were incredibly interesting to watch - especially the live coding sessions. And throughout the whole time, Asahi was rock solid as a daily driver. I find it a stellar example of the power of open source and the people in the community that drive it.
I'm also in awe and respect for the Asahi team, but please don't overstate things just to celebrate their work. Even according to your own posts, there are huge dealbreakers like sound or external HDMI.
I bought an M1 based on HN posts like this, because I need linux and not OS X. I soon returned it when I realized how it could not come close to being my daily driver.
I wouldn't need those, nor know they were broken if I had an M1. Sounds like the functionality I would need for a daily driver is there and solid though. Of course I'm capable of looking at lists of working features and roadmaps and deciding if something fits my use case independently of vague "pro" and "con" reviews on random discussion sites.
I came to this thread looking for exactly what you posted. Sure, I could check the site but I expect limitations to be discussed as well.
I’m also really looking forward to the changes in Asahi getting upstreamed. The Rust in Linux work has me really excited for the future of Linux.
I might even start contributing once Rust is more common!
I wish someone could somehow make a laptop with the internals of an MacBook (mainly the CPU), but with the externals of a Thinkpad, including the far-superior Thinkpad keyboard and far better aesthetics. And while they're at it, make it easy to pop the back cover off and replace components (esp. the HD) as needed.
But it is my understanding that the mouse pad on MacBooks are far superior to most other mouse pads. I don't know about the keyboard, though.
Thinkpad keyboards are indeed much better, but only if you don't care about small water spills rendering your keyboard unusable.
There are also some products published as ThinkPads which aren't really ThinkPads (like some(many?,all?) of the Yoga ThinkPads don't have any of the properties normally associated with ThinkPads, they are much less robust pretty much in every category and much harder to repair even if it's just the keyboard.
To replace the keyboards, Apple internally used to replace the whole top case. You, the business user, are likely to just be handed a whole new unit. This happened a lot for years and years, as we all remember.
If I do the same on my Macbook, Apple have to replace it as everything is fixed in place and its gone for a week. I only say that as I've never had Apple Care able to repair anything same or next day.
I still don't get the original point about Lenovo keyboards and spills because a spill would render a Mac unusable.
I was just agreeing with you that the situation with spilling water on a macOS keyboard still definitely seems worse.
This kind of generalization is as far I can tell the source of a lot of pointless discussions around thinkpads.
The truth is the quality varies, a lot. Sure wrt. most aspects the quality is at least good, but weather it's better or worse then a mac especially wrt. the keyboard is quite device dependent.
For example the one I have has a better keyboard then any mac keyboard I tried and the keyboard is quite nice to type on and quite robust, much more then then any mac keyboard. There are some models where you can continuously pure water on it and they will be just fine. But then there are some thinkpads keyboards which aren't, but then apple had also keyboards for a while which died from a bit of dust.
So in the end general statements like ThinkPads have the best keyboards or the most reobust ones or apple products have that are all kinda pointless. From both companies you can pick modules to get whatever result you want especially if you include some "fake ThinkPads" (published under the ThinkPad brand but not really thinkpads wrt. robustness, repair-ability etc.).
My main point for favoring ThinkPads is that you can easily remove the keyboard and use an external keyboard until an replacement part arrives.
(Just to be clear: I'm not speaking about the very old thinkpads; Only mean thinkpadish thinkpads e.g. mainly the T and P series but not e.g. the Yoga Thinkpad; Mean water and not liquids with a higher acidity)
The keys in the recent ones are incredibly mushy.
Interesting take. As an example I have an Apple laptop with a trackpad that is quite useable, something pretty much unheard of on anything else.
The keyboard feels much better than my old Thinkpad, but this might be subjective. I've not been impressed with the recent models (although admittedly haven't spent long with them).
I'm with you on the upgradeability/repairability/maintainability, but maybe a Framework is a better fit in that case.
My Air outperforms my desktop, has close to 20 hour battery life in my normal use, and is completely fanless. It's not perfect, but I don't see anything else that comes close (if I did I'd probably switch.. macOS is driving me more crazy with every release).
I'm on my first macbook--a M1 air--and now I finally see what the hype wrt apple hardware is. I love thinkpads, but between the battery life, the speakers, display, just how light it is, never runs hot no matter what I do to it....I can't believe I went this long without trying one out.
The hardware plus improving linux compatibility means I know this machine is worth it
macOS really nails as much of making a consumer-facing operating system as I feel it's possible to get right without taking something else away. XProtect, GateKeeper, SIP and the enclave just feel like the optimal combination of methods to secure the machine while not overwhelming the user.
I wish it was possible as a power user to get more information from logs in the background to ensure everything is working as it should, but Eclectic Light Company have that covered quite well (https://eclecticlight.co/downloads/ if you want to check out their tools).
It's also kind of love/hate. There's a lot of locking down that happens - some it for genuine user protection (cool), some of which is to do with market competition (the whole Epic debacle).
Sometimes they change things that shouldn't be changed and I don't know why (the Settings screen on Ventura is horrid and makes it harder to see permissions settings). Then they announce end-to-end encryption for photos and iCloud and I'm back onboard.
It's also why I don't understand the Windows 11 hate. I run it on another machine and I'm loving it as a direction for Windows - more of the security apparatus runs in the background like macOS, but the information is still available to you as a power user. Mandating TPM2 is absolutely the right call (they have workarounds for non-TPM2 machines), and being able to have cryptographic trust roots down to the boot image is a massive user-friendly feature.
I wish there was a means by which Linux could have software certification so that malicious applications could have their certificates invalidated, but I get that as the FOSS community is decentralised there's a who-watches-the-watchmen question. Having a mechanism baked in at the kernel level could be useful to solve this if it allows me as a user to "subscribe" to an authority if I choose (i.e. if I'm using Ubuntu, I could choose to use a Canonical or Google whitelist for signed apps, or none at all, sort of analogous to how the web has had multiple certificate authorities for many years, except that I could freely choose my own authority for whitelisting if I wanted to).
I just wanted to try one of the new M1 machines, and was aware that MacOS has some unix/bsd roots that would make it feel a little familiar. After using it, it feels like a team of people made unix/bsd into a user friendly OS, even if it is more locked down than a linux distro.
And there are a lot of Thinkpad service partners stores, mainly for business customers, I bring around 1-3 Thinkpads a month there for repair (we have ours close by).
I pay around 50USD/year for an enterprise grade Thinkpad support plan with Lenovo, where they send an engineer to either my home or office the _next day_, complete with any spare parts needed to fix whatever might have gone wrong, whether it's accidental damage or a hardware defect. I've only needed that support maybe four or five times over the last decade, but each time it's been stellar: new screens, mainboards, keyboards, broken case parts, etc. No caveats or gotchas or 'ooh that voids your warranty' to worry about, ever. It gave me full confidence to run my company and equip all of my devs with Thinkpads that run on Fedora - so much so, that when we were acquired a couple of years ago, my only negotiating condition that caused a stir was the requirement that me and my team get to keep our Linux+ThinkPad stack.
What I just described is the polar opposite to every experience I've ever had with anything to do with Apple, ranging from the genius bar arguments to the six week waits to fix our designer's spacebar that stopped working because someone dropped a a breadcrumb in there. It just doesn't compare.
Side notes relevant to your comment:
- the T420 that you mention is now an 11 year-old piece of hardware, I don't understand why you're referencing it
- even so, plastic gets brittle over time. I don't know anyone with a 10+ year old MacBook that still runs
- iFixit are heavily biased, or at least they were when the T420 came out (it's in the iName)
- with all that said I still can't wait to be able to use a fanless desktop M2 as my daily driver (@LinaAsahi you're awesome)
My mom daily drives my old 2012 retina Macbook Pro. Neither of us have ever had any problems with it. So it's possible for macs to hit the 10+ year mark!
I also still use my X200 tablet (not as a primary machine anymore, but it decoratively runs Creatures Docking Station 24/7). No crumbling or even any signs of aging plastic. That thing is still a tank.
Is your tablet the one with the 400nit outdoor screen?
But a widespread network of service companies that will happily fix your devices, in most places way denser then the network of apple stores. (Not to mention providing on-site warranty services)
Nothing's cracked on my W520 yet, and I don't have to worry about plugging in the power adapter damaging the finish like I did with my Space Grey MBP.
Apple's screen, lower power management, chassis, touchpad, are all dramatically superior.
The stereo on the Macbook Pro 16 inch is absolutely absurd. It's the stereo for my HOUSE.
Apple's killed supply chain that delivers more for less.
Modern Thinkpads have been ruined by the pivot to the ultrabook-esque approach.
Thinkpad's are like models.
There's simply no reason for them to be that skinny.
Otherwise it was a decent “daily driver” laptop, in many aspects superior even to current gen MacBooks, particularly repairability, ports, keyboard quality. I'm using a 2020 MacBook Air now which I bought to try out the M1, and some aspects where it excels are screen (obviously!) and speakers, but I think those are comparable to a little more modern ThinkPads (xx40 maybe?).
[1]: https://www.thinkwiki.org/wiki/Replacing_T430_screen_with_a_... (ThinkWiki got some terrible ads since I last checked it, get your ad blocker ready)
What we need is a computer with the internals of a modern M1 Macbook, but the aesthetics and keyboard of a Thinkpad of yesteryear, plus a magnesium chassis.
Many people also dislike how ThinkPads look like, and dislike how the keyboard works.
The keyboards though? I've had a range of laptops, some Dells, some HPs, a 2021 MacBook Pro and a 2011 MacBook Pro, I would simply describe the keyboard as "meh". Most of the laptops O've had have been slightly less comfortable to type on, but they've all essentially done the job (with the exception of one Dell which had a truly terrible keyboard).
No offence, but it looks like you feel the need to describe everything as either "terrible" or "amazing", the keyboards can't just be "not as good as they should", they have to "suck", the externals can't just be "boring", they have to be "awful". I think there's a version of what you're saying which people would agree with (or at least find unobjectionable), but as it is, nobody will agree with you that an objectively average laptop keyboard "sucks" or that an aesthetic lots of (most?) people like is "ugly".
Older MacBooks did have issues but Apple generally delivered on what most mac users wanted.
[1]: https://forums.macrumors.com/threads/macbook-pro-m1-max-almo...
I was always bothered by this and managed to fix it a few months ago. I had grounded my power-plug-box to the central heating system with some copper (don’t ask), but was wondering why I still got those vibrations whenever I was charging the MacBook.
Turns out, charging through just the monitor (via Thunderbolt) solved this: the monitor was grounded. The default MacBook charger (EU) plug just has just two prongs; a third one for grounding exists, but has to be attached separately.
Edit: indeed, this was on a 14” 2021 MBP. They definitely still get the vibrations when connected to a power source without grounding.
Agree about being able to swap components though.
> Thinkpad keyboard and far better aesthetics
Thinkpads are great for other reasons, partially that almost everything was replaceable as you pointed out.
In the case of aesthetics, Apple is the clear winner.
It makes no noise at all, to the extent that I even checked a dissasembly video to check if they had fans or just passive refrigeration. The display is the best I've ever seen in any laptop. The trackpad is excellent, the keyboard think is very good, the speakers, microphone and webcam are also very good.
I've owned before a lenovo T530, T460s and T580 and quite frankly if we're talking about just hardware this is even better and my last experience with the T580 was just bad. My perception of the lenovo brand was that they made the best laptops until then. In fact I asked to get a macbook because the T580 was so so problematic and not just for me.
I have to say I personally dislike macOS. In fact because now I'm working on 100% FOSS software I'm only using the laptop for corporate calls or situations where I have to deal with customer data, but the rest I do on my personal computer with ubuntu.
To me it's kind of like washing your windows. Sure, it's fine if you don't do it. You can still see outside. The window works. You may even prefer that less light comes in if you're opposed to light for some reason. But once it's clean, you're really getting the full effect.
There is a reason your house and car windows are polished to a reflective surface. It provides more acuity.
I far prefer this anti-reflective glossy setup to my previous ThinkPad which of course had a matte display.
Really? I see my own reflection even in indirect sunlight and it's causing significant eye strain.
The backlight obviously couldn't compete with sunlight, but the LCD behaved transflectively under enough light, so my Emacs session out in a meadow on a bright, sunny day was perfectly readable. That was unexpected. It wasn't an advertised feature. I don't even know if it was deliberate, but it worked great.
I'd take a glossy display anytime of day, and have so, since 2005 or so, including external displays. Better color saturation, no artificial fuzziness (which is exactly what the "matte" is in the matte displays, they literally reduce glare through a mesh that also kills contrast and clarity).
In very bright conditions (like bright sunlight), the backlight can’t be bright enough. But in those conditions, matte screens suck too: they look super washed out, like there is a thick fog n front of the screen. (Optically it is the same phenomenon: diffused light rays start to overpower direct light rays.)
Though the only experience I’ve had with macs are at apple stores.
sounds like you’re consumer type of user.
i dabble in embedded development and more often than not oem release drivers and tool chain for Linux and Windows, and those drivers are too low level to be emulated properly if at all.
Why do you mean? The lack of a package manager?
> and the mouse and touchpad lag is atrocious.
I don't know which timeline you're commenting from, but as someone that works with both Lenovo and Apple laptops, there is simply no comparison. The Lenovo's trackpad borders on unusable. In fact it is unusable when booting/waking from 'sleep'. It literally has to warm up! I use an MX Master 3S with both, and it works fantastically well connected via Bluetooth on both platforms - surprising so for the Lenovo.
Well, 6th place
https://www.notebookcheck.net/The-Best-Notebooks-with-the-Be...
But yeah it is pretty good.
I don't know the criteria for rating the display quality, but scoring less than 2% from the best one is still arguably a very good rating.
I had a 2012 MacBook and at the time it was the best laptop I'd ever used in terms of screen, keyboard, even performance.
I upgraded last year to an M1 Pro, and once again, it's the best laptop I've used, and I've had a lot of company laptops (Surface, Lenovo, Dell, HP) in that time.
I completely missed the keyboard debacle, the Touch Bar, and all the other drama of the late 10s.
In other words, you claim "the hardware is terrible", but your actual case is "I prefer the external design of the Thinkpad".
I guess, I'll give you the keyboard. Which is more than compensated with the far greater touchpad, incredible speed, battery life, and coolness while all of the previous (of the M1).
But if you don't use that buttons apple touchpads tends to be better in my opinion.
I moved from thinkpads to the 14 MBP and I can’t think of a reason I’d want to go back to Thinkpad other than being able to run Linux.
I’ll leave the “far superior” keyboard aspect aside because it’s personal preference. I got used to the Apple one and I type much faster than on my x220.
But the screen? Come on. Mini Led, high brightness, just looks absolutely great. Thinkpads usually have shit brightness and basic coatings. I’ve even gotten panels from China to make custom replacements for some of mine because of the garbage panels they came with.
Speakers are vibrating turds on thinkpads. One day my gf brought her laptop to bed to watch a movie and i thought “there is no way this is going to be enjoyable”. Then i heard it and I was blown away. I then ripped off the speakers off mine and I made custom housing for some speakers out of a MacBook Air for mine. They couldn’t live sounded better if the whole chassis didn’t rattle with the added bass and if the speakers fired up.
The soft touch coating on the shell that peels off leaving half shiny half matte, classic no?
They are tied on the hinges, both are solid. Thinkpads may have more ports, but honestly I don’t go around plugging my laptop to too many things.
as someone who's recently experimenting with Rust, why is that so? I mean if you have something in the kernel where you could give valuable contribution, why letting the language stop you? guess any dev who can write Rust today is also a good C dev, ain't it?
I'm sure they have the potential, but they might not want to learn/use C.
I'd certainly be much more likely to look at kernel dev if I can use rust than if I have to use C.
Quite a number of Rust devs I've read about, have never been C devs. They came from dynamic languages or Java or similar, and stuck with Rust and learned it, as a more modern features-wise and less error-prone systems language than C.
Rust for the Linux kernel is like 0.000001% of real life Rust use (which is not that big to begin with).
And it wouldn't be used the main kernel for the most part anyways, mostly (if not exclusively) kernel drivers.
I have no idea how you would measure it, but I'm assuming that C, VBScript, Perl, sed, AWK, bash, and Haskell (please don't hurt me I'm thinking about the code maintenance, time draining nightmare that is a real-world use case of mega-scaled purely functional codebases as opposed to a mixed dynamic with a purely functional core).
Curious what other languages would top the list. I'm going to assume also that some low-barrier entry scripting languages that are well designed, similar to Python, and languages that save the hypothetical, proverbial broken backs of their ancestors, like Rust, to be near the bottom of the list. I'm curious what that bottom part of the list would look like too, oddly enough. :D :))))
This is the closest I’ve ever found: http://www.knosof.co.uk/ESEUR/
As the abstract of that book suggests (when referring to ego and bluster), 100% of the agile proponents I have encountered are incompetent. (This especially includes organizations that claim they are "agile").
That being said, it’s too easy to do something wrong in C. The desire to use Rust isn’t because C is stale, rather it’s too hard to write C correctly.
C is the lingua franca of the software development world.
ye ye, sure it is
uses physical pathes instead of logical namespaces for includes
average code base could be summed in such a way: everything is fucking "int" or its cousin - such a great tool for system modeling!
basic concepts as for $current_year are still non-trivial in C - like strings
when opening non-trivial codebase my VS Code goes crazy.
Maybe I do have high standards after using C# for years, but holy shit, writing Rust is 10 times better experience for me than using C.
That's the main reason to implement in Rust (the others being syntactic sugar like match, ?, and, of course, the library ecosystem that learned from ~ C++17's mistakes).
The result is codebases hard to navigate, code hard to undestand with lots of clever code and unintuitive syntax.
1. I just don’t enjoy C. At this point after writing so much code “for profit” it’s no longer a hobby in itself. If I’m writing code “for purpose” I need to enjoy it!
2. While I trust myself just enough to write some C, I don’t trust everyone else to retain a strong foundation for whatever I’m building on top.
3. C has carried the Linux kernel for its first 40 years. Having used Rust it’s clear the future (while maybe not Rust) is definitely not C. I want to make a contribution that will endure the next 40 years of Linux.
I learned in C, it's the abstraction that exists in my mind for computers, but I'd never use it to actually write something, because of memory safety. I'd even been using Ada.
So, Rust was appealing in the ways C wasn't.
Contributing to a C kernel sounds like a thankless job with crappy tooling and high potential for errors - and frankly just brings back horrible memories (ahhh, the segfaults).
Developing in Rust on the contrary is quite enjoyable and I'm definitely more inclined to contribute something.
For a couple weeks, I had DNS issues with the /etc/resolv.conf file, but I added a rule to the Network Manager to not touch that file upon reboot so everything works correctly now (except pinch to zoom on the touchpad).
Even if the software were completely open source from day 0, a reverse engineer could still not look at the source and RE the hardware.
Internateral documentation may also need business / developer processes sanitised.
> This is a huge clusterfuck that requires A to be set before you can use B because of no good reason. :poo:
And another to publicly publish that an API is a turd because you outsourced it for time to market reasons.
If you've ever taken over a department at a company, and inherited the documentation, you've experienced this. It's sometimes better to just reverse-engineer the current state of things than to try to use outdated or misleading or very sparse documentation. Documenting the current state cleanly takes time, effort, and capability. It's an ongoing effort that requires budget and capacity.
And, most of all, it requires that the company see the need of having a good knowledge base, despite such a thing being a short-term cost that only pays out in the long term, and then, in ways that you won't be able to ascribe to one department's budget or another. Corporate structures can get in the way of cross-cutting/long-term benefits.
Let's be real here, they just don't want to do it.
The cost of the documentation review would be peanuts.
Apple has just broken capitalism, they're probably 5 years away from rivaling Saudi Aramco in profits:
https://companiesmarketcap.com/most-profitable-companies/
Financial excuses for Apple strategy decisions don't really hold up to scrutiny ;-)
Devs would have to write just the hairiest parts.
The opposite of "none" is "some" not "thorough".
Yes, my ZX Spectrum and Amiga both came with some very nice documentation to at least the block level on how everything worked - but at the same time, every programming manual for the Amiga was an expensive Addison-Wesley tome. Every programming language beyond BASIC was an expensive proprietary product. It wasn't the paradise people seem to (mis-)remember.
Apple is benefitting from the availability of Linux on these devices. That they do nothing to help this effort is disappointing.
Yes, it is a triumph in reverse engineering. I am very impressed. But why reward Apple despite not helping in this effort?
How do we know this? I think there are downsides too.
Apple locking down their platform is their prerogative. If it comes to that and the Asahi team cannot continue their reverse-engineering efforts then they'll stop.
Consider why they began in the first place. The M1 and their subsequent M2 and future chips are amazing. The M1 was such a huge leap in performance per watt that it wow'd everyone. In fact it's a huge testament to the hardware team at Apple for creating such an amazing bit of kit that a team of Linux hackers wanted to work on porting Linux to it. This rebellious striving for freedom is refreshing and amazing. They're going to get Linux working on the M1/2... hardware working under Linux and it'll be even more performant than under MacOS. That's huge.
But now folks are saying why Apple? Because nobody has a chip that rivals the M1. Why would you settle for worse performance? Why would you settle for build quality from a lesser hardware manufacturer? Qualcomm and others don't have chips that are as performant. They might in the future but by then the M3 or M4 will likely be out.
Why are we punishing hackers -- in teh purest sense of the word -- for opening up a platform that is superior (hardware wise) to any of the other offerings from all the other deep pocketed ARM laptop/desktop manufacturers? Oh, right, because of tribal hate of Apple. Smh.
If the other manufacturers get off their butts and pour billions into chip design and process and can get laptops out with similar or better performance characteristics then perhaps other teams will attempt what Asahi is doing, and if these same manufacturers wanted to release the specs or work with the upstream Linux community and release drivers themselves that'd be even better. Until then I will continue to support the Asahi team and champion their efforts in every ear that will hear me because I am just so astounded by what they've accomplished so far.
I say all of this as a former Apple-stan. I had macbooks every year since college until now. That's some 15 years. I've since gone full time on Fedora and Thinkpads (currently a P14s but maybe an X1 Carbon in the future).
Edit: I don't think there will be a huge wave of sales because of this for Apple but it will mean that i can get a used M1 and run my favorite distro of Linux because the Asahi team is working with upstream to get their changes up-streamed -- they're amazing like that. It really is how open source work thrives.
There’s been no chatter about Apple buying up or hogging wafers. Nobody is preventing others from building ARM based machines. The M1 and M2 chips are proprietary to Apple and so be it; the Asahi folks are allowing us to run Linux on them at full acceleration. What’s not to love?
https://www.extremetech.com/computing/315186-apple-books-tsm...
It already happened for TSMC's first-gen 5nm node.
> Nobody is preventing others from building ARM based machines.
There is somebody, namely the ARM corporation that Apple owns a controlling stake in. So yes, Apple does prevent people from doing what they please with the ISA.
> What’s not to love?
You sound like the people preaching the Nouveau drivers right now. "we reverse-engineered this proprietary GPU and got it working at 50% speed and 3x power consumption, what's not to love?"
Nvidia's first-party drivers are far-and-away the more popular (and faster, more power-efficent, more well-supported, etc.) option. What's "not to love" is the fact that we're cheering for someone doing thankless and redundant work that wouldn't exist if the multi-billion dollar corporation dedicated a couple engineers to Linux support. You can't even consistently control the brightness on these machines more than a year after they've launched, it's obvious that there are significant problems WRT reverse-engineering the hardware.
AMD and Nvidia and Apple are going to be buying from the new plant.
Again show me where ARM is preventing folks from licensing it? It’s antithetical to the whole of the company.
Given what is possible and what’s possible is what you can control and what you can control is what you do, so in that light they the Asahi devs took it upon themselves to reverse engineer hardware that they knew would not be opened. What’s easier? Getting apple to make like Intel and have a Linux division? Haha. So they took it upon themselves and that effort is laudable nay it’s worthy of lots of praise. Heaps of it.
The Noveau argument is a false flag. Think where they could get if they could get proper firmware. And you can get that on the Apple side.
I just don’t understand what people want? Awesome smart folks are working to open a platform that would be closed. And yet they get shit on. Instead people would rather whine and moan or write apology pieces about hardware that sucks in comparison.
Nobody is porting Linux to arm surface hardware because it sucks in comparison. Give me a 14 inch MacBook Pro with 32GB or ram and Asahi Linux any day of the week.
Competition is lacking because Intel fucked up. Apple bet big on power sipping performance and it’s paid off. Why should they “help” the industry out when they’re so far ahead?
They also have no incentive to spend billions on R&D only to open it up to competition. That makes no sense. They’re not a platform like Microsoft is. MS wants an open platform hardware wise so they can sell more licenses of Windows. They’re different business models. Surely you see that?
“ FOSS people have no reason to like Apple, let alone to support them.”
Of course. And nowhere was I saying “FOSS” folks to support them just celebrate the work of your fellow hackers doing the equivalent of reverse engineering some Empire tech for the Rebellion. Does that metaphor work for you?
And now it's Apple's turn to fuck up. The M2 isn't even 20% faster than the M1, it's like a Skylake situation all over again.
> Apple bet big on power sipping performance and it’s paid off.
Apple bet big on the 5nm node (bought the exclusive rights to use it) and it paid off. Your marketing copywriting doesn't mean anything if you don't back it up with evidence.
> They’re different business models. Surely you see that?
They both make hardware. Shouldn't they both get held to the same standards, to encourage healthy competition? They certainly have the financial means to do it.
I think your technical perspective on this situation is horribly maligned, you should spend more time researching the technologies Apple used rather than repeating the words from their announcement event.
ARM is a proprietary ISA. To use it, you have to pay ARM money. It's literally their entire business model, I'm not sure how you could miss it.
> so in that light they the Asahi devs took it upon themselves to reverse engineer hardware that they knew would not be opened
Yep. It's a damn shame too, that's what everyone is saying in this thread. Apple has billions of dollars and they're letting volunteers do their work for them. It's a depressing waste of human effort, considering how Apple has the proper implementation specs available internally. It's undeniable that Asahi's development pace would be faster if they had rudimentary help from Apple engineers.
> Think where they could get if they could get proper firmware. And you can get that on the Apple side.
That's also a false-flag since Apple's firmware interface is undocumented. Plus it's also fairly outdated because Nvidia's GPUs have been shipping with firmware interfaces for years (since RTX 20-series). Think where they could get if they had open source kernel modules. And you can have that, on any recent Nvidia card.
> Awesome smart folks are working to open a platform that would be closed. And yet they get shit on.
They get shit on because they're wasting their time. It's been 2 years and you still can't adjust the brightness on these machines, not because they're incapable of it but because Apple never documented the control interface for each model. Apple has this info, they just withhold it from the community because of how horribly sensitive it is. Real security issue, yunno.
It's really tragic to consider all the engineering hours lost trying to figure out how Apple's hardware works. It's been 2 years since the M1 was released and it still doesn't have the same level of Linux support as a HP or Lenovo machine would have on Day-1.
> I just don’t understand what people want
A Macbook with Linux on it? Preferably one that doesn't suck.
> Nobody is porting Linux to arm surface hardware because it sucks in comparison.
And nobody ported Linux to the previous Macbooks because they also sucked. It's entirely besides the point, though.
What did I miss? Show up, pay the license, build chips. That's the business model. Are you upset about how business models work? Are you advocating all hardware ISAs be open a la RISCV? That's insane. ARM's whole model is to make money and to do so they'd welcome licensees.
"> so in that light they the Asahi devs took it upon themselves to reverse engineer hardware that they knew would not be opened
Yep. It's a damn shame too, that's what everyone is saying in this thread. Apple has billions of dollars and they're letting volunteers do their work for them. It's a depressing waste of human effort, considering how Apple has the proper implementation specs available internally. It's undeniable that Asahi's development pace would be faster if they had rudimentary help from Apple engineers."
Do you have this same take on the Homebrew project and its many competitors? One could make the same argument that Apple should run their own package manager. Why allow some third party project to add value to the system by allowing end users to be able to run open source software easily on Apple hardware and software? I find this line of reasoning nonsensical.
"> Think where they could get if they could get proper firmware. And you can get that on the Apple side.
That's also a false-flag since Apple's firmware interface is undocumented. Plus it's also fairly outdated because Nvidia's GPUs have been shipping with firmware interfaces for years (since RTX 20-series). Think where they could get if they had open source kernel modules. And you can have that, on any recent Nvidia card."
Nvidia is finally working on first party open source-ish drivers. So that's a win I guess. But that's only because the IP owner -- Nvidia -- deemed it necessary to do so. I am not sure what army of Stallman-stans you command but I am not sure Nvidia or Apple or any other enterprise is going to bend to some FOSS ideal. So given that very real reality intrepid hackers like the Asahi folks took it upon themselves to reverse engineer the hardware and it has been a win for Linux/BSD enthusiasts the world over, how is this bad?
"> Awesome smart folks are working to open a platform that would be closed. And yet they get shit on.
They get shit on because they're wasting their time. It's been 2 years and you still can't adjust the brightness on these machines, not because they're incapable of it but because Apple never documented the control interface for each model. Apple has this info, they just withhold it from the community because of how horribly sensitive it is. Real security issue, yunno."
Smart hackers -- again, in the truest sense of the word -- chose to spend their time doing this. In fact Hector Martin when he embarked on this asked for donations and plenty of folks are donating with their cash to fund this effort. There's clearly a market for this. It's not the fault of Martin or his friends in the Asahi world that Apple doesn't see this. And Apple may never see it. So what? The Asahi team will have brought the ability to run Linux to the M1 and increased the choice amongst Linux enthusiasts, it's a huge win.
"> I just don’t understand what people want
A Macbook with Linux on it? Preferably one that doesn't suck."
If Apple isn't going to give that to you as we just settled above (unless you want to buy a few board seats, or march on Cupterino with some sort of army...) then how else is that going to get accomplished if not by the Asahi team?
"> Nobody is porting Linux to arm surface hardware because it sucks in comparison.
And nobody ported Linux to the previous Macbooks because they also sucked. It's entirely besides the point, though."
While not 100% easy people have been running Linux on x86 Macbooks for a long time. Not sure what you're getting at here.
Linux support on x86 MacBooks was pretty bad for recent models, and moved along really slowly compared to Asahi. There was definitely less interest in those porting efforts.
Nonsense premise.
> [...] they'll put another layer of crypto on everything [...]
That's just unsubstantiated FUD.
It's hypothetical. The problem is that the reverse argument is also unsubstantiated.
> Nonsense premise.
Take Brew and any container runtime away from all developer's laptops. See how useful they are for development when compared to the more open competition.
Apple is entirely comfortable with using crypto to lock down its platforms when the competition is dead and users are left with no other choice.
Conclusion seems: depends on how ready you are to live with the various drawbacks. Personally, I wasn't, but I'm hopeful the day will come soon as I like Apple hardware in general, but can't stand Apple software.
The nano is very, very lightweight, which makes it an amazing portable device for packing up and carrying around. The display is matte, which reduces glare when working outside. The keyboard feels significantly better to type on. This is the biggest pro for me. The camera has a privacy shutter, which gives me a greater peace of mind. And of course, it works well with Fedora Linux. I also optioned mine to have a 5G modem, which is convenient, although I rarely use it due to costly data plans. I have only managed to get the modem to work on the Windows side, but I’m optimistic it will have better Linux support one day.
The MacBook Pro is an impressive piece of hardware. The M1 chip is powerful, the battery life is amazing, and the build quality is high. However, I find it to be a much better experience exclusively using it at home docked in my setup due to its weight and glossy screen. At home, I can use my own mechanical keyboard when it’s docked to get around its mediocre keyboard. At that point, I’d rather just use my desktop. But if you’re only getting one device and are fine with MacOS, it is a good option. I prefer the more flexible desktop + lightweight laptop setup personally.
A minor thing I’ll note in favor of Apple is that the MacBook Pro is capable of driving my nicer Sennheiser headphones with ease. It’s something most people wouldn’t care about, but Apple excels in the audio department and deserves praise.
My normal workflow consists of Firefox playing music on YouTube, VS Code, and the terminal.
As a reminder, especially during this holiday season - to donate to your favorite OSS project.
now I just have one question - when this wonderful work will be merged into the mainline kernel.
(PLEASE - no one cares who is Lina, we've been there many times, let's don't do it again here in this thread. thanks!)
Last year, they already merged part of their work: https://www.theregister.com/2021/04/09/asahi_linux_merged/
But I haven't seen anything since. It's the stated goal, though.
There's a table here that shows not only what's supported vs. not, but also which minimum kernel version or linux-asahi/asahi-edge release it's in: https://github.com/AsahiLinux/docs/wiki/Feature-Support
I couldn't care less who she is, but I'm pleased they're giving more status updates in written form.
Edit: honest question...
What are the odds of two of the brightest kernel developers living in the exact same city? ;)
Merging code from an unverified source that is purportedly submitting a clean room implementation would be quite irresponsible.
Others have discussed in here the speculation around Lina's identity if you care about the specifics for whatever reason. Personally, I don't think it's particularly important.
If Asahi wants to submit this upstream, then they and Marcan can put their name to it. Hector Martin or another person at Asahi would be the name on the git commit, and they would almost certainly be taken at their word that there is no concern with the merge around Lina's identity.
It's not like other commits which are done from clean room re-implementations are requiring a background check on the person submitting it.
I’d love to try it for fun on a computer that is not mine…
It still requires adding a new partition with bootloader and some other files required by Apple for successfully verifying the signatures on everything, so it's not a "live mode".
Apple Silicon machines cannot boot from external storage. While it may look like they do when you choose an external macOS volume, behind the scenes parts of its boot components are being copied to the internal drive to make this work. It’s unclear whether this mechanism will ever be usable by third party OSes, for technical reasons.
Instead, we recommend using the UEFI environment only installer option to install only a UEFI bootstrap to your internal drive. This only requires around 3GB of disk space, and it will then automatically boot from any connected USB drive with a UEFI bootloader. Note: installing the Asahi Linux desktop images to a USB drive automatically isn’t supported right now, though if you’re adventurous enough it’s not terribly hard to do manually :-)
I can work many many hours not plugged in. I'd not measured how long.
Also various accelerators: video decoder, video encoder, neural engine.
Unless I'm mistaken all of it is in progress, but not yet ready.
I'm not sure why this rates a separate mention, or even what exactly you're referring to with this one. Did you mean audio over DisplayPort or HDMI? I don't think there's any standard for audio over Thunderbolt like there is for audio over USB, and if there was then it would automatically start working when Thunderbolt itself is supported.
Some users (like myself) don't need a GPU for anything, and thus a GPU is not "base." It's a frivolous addition for playing games. You can run a whole desktop environment on CPU rendering with no problem.
But going to sleep is necessary for unplugging a laptop and taking it on a trip, which is a basic feature for many users, like myself, and a basic component of having a "laptop."
Sleep is also a necessary for the "battery component" to hold a charge while it's unplugged and unused.
The fact that this still routinely happens 15 years later despite the insane progress of technology is kind of hilarious.
Previous discussion:
I'm glad they moved to their own chips because these Intel Macs are the worst hardware I have ever owned.
My Thinkpad works fine under Linux, I didnt need to do anything to get great battery life and perfect sleep.
s2idle will be pretty resource-light once all peripherals can be put into sleep. CPU by itself is not consuming that much power when idle.
"CPU frequency scaling, device runtime PM (for select devices), hardware auto-PM… even prior to this release, users could already get 10+ hours of idle runtime. With DCP and proper display DPMS, that now goes as high as 30+ hours (powered on, screen off)!"
[...]
"While s2idle does work, it’s in its infancy and we haven’t debugged all driver issues yet. Here’s what works:
NVMe is shutdown
WiFi goes into S3 mode
Display (DCP) goes into DPMS (backlight & screen fully off)
DARTs power gate & restore state on resume
CPUs stay in shallow idle
Some misc devices (i2c/spi/etc) power off
Wakeup via power button or lid open
"So they report 30 hours of battery life with display off (not sure if it was in s2idle or just normal screen off operation). So if you close the lid overnight, it should eat <30% of the battery.
There's actually a humongous list of peripherals, power states, and the speakers which don't work at all, to support.
> Only the M2 MacBook Pro 13” is tested. We’ve added completely untested M2 MacBook Air support (because we can), but none of us have one yet! If you do, only try it if you’re feeling very adventurous (and don’t blame us if things go wrong).
I think it's time to give it a go on my M2 air :)
Does anyone know if it supports variable refresh rate? Apple's marketing term for it is "ProMotion", which is hard to search for.
On a side note, I wish more DEs and Wayland compositors would move to Vulkan.
Not to dismiss these efforts, incredible engineering. But I won't buy Apple hardware unless Apple officially supports Linux. I honestly don't know why they wouldn't. More developers using their hardware is a good thing imho.
The reality is Apple will probably never release drivers for Linux or Windows (the latter of which ever again).
This work is the premier effort in its space and the reverse engineering skills required to accomplish it are exceptionally uncommon.
I doubt you could hire for this type of position remotely easily if you wanted to find the skillset for a corporate environment.
Plus while they may be able to achieve good results, we'll never know if they took full advantage of the hardware or realized it to the full potential. Because it's proprietary.
That's simply not true.
Source: wrote a couple of drivers for M1 (now upstreamed in mainline Linux) that work without a single change on M1 Pro and M2