422 points · by ADevWithAnIdea · 2mo ago · 290 comments
Fact that a person who was not previously driver developer can achieve this in a few weeks is pure wonder. No matter what tools are used.
Leave legal questions to Linux Foundation laywers or whoever is responsible to accept or not accept the patches.
If Apple actually wanted to prevent any of this from happening they can just lock bootloader. They not just gonna do it now because someone used fancy text generator to make working GPU driver.
Attacking a person who spent their personal time and money on making walled garden black box hardware more usable, more privacy friendly and further away from landfill is a crime against the future of humanity.
The difference between AI RE and non-AI RE, is being able to see AI_SubmitCommandQueue instead of FUN_92f475a1 when you are reading some other function, and knowing that function probably submits a command queue even if you haven't got to it yet. This makes it way easier to check the function you're currently in - for every function. There's still a good chance it's wrong, also.
At some point you get to AI_SubmitCommandQueue and have to verify it does actually submit a command queue, then you can rename it to just SubmitCommandQueue.
Or at least that's how I'd do it
> It is okay to publish things that aren't production ready and they are much better than nothing at all, and we shouldn't harshly criticise the best thing in a category unless we make something better.
So much of this.Production ready or not we should praise all people who made decision to try, put an effort and find a way to made any device more usable with Linux.
This isnt just another vibe coded rewrite of XYZ library in rust or vibe coded javascript framework. We dont have a queue of people to work on open source GPU drivers or RE in general. Even if its mostly prompting and testing.
I'm just a game developer and linux nerd and for me fact that something like this is now possible is ultimately best news ever. It means I now motivated to try it myself and work on devices I want. Most inspiring and amazing thing ever!
Define "production ready." Can any driver developed without official specifications, corporate approval, or long-term support plan, ever be properly considered production ready?
At this scale, the only question is if it gets merged upstream. Outside of that it's a "nuh uh, you didn't design it my way."
Please don't lump HN users together to attack them. This is "sneering at the community", which is explicitly forbidden in the guidelines:
> Please don't sneer, including at the rest of the community.
If you have a specific comment to respond to, then respond to it.
> The author was banned from Asahi Linux for hiding his extensive use of LLMs from us in another attempted contribution, and (more importantly) for concealing that he is a former Apple engineer with direct contacts to the people involved in Apple Silicon development. Make of this what you will.
This is false. I am a former Apple engineer. I did not conceal it (it's the top item of my resume and my LinkedIn and I made my PR from my public Github with my name attached, as opposed to a pseudonym which is expressly allowed by Asahi policy). I also had no exposure, at all, to any internal information or code about macOS, SPTM, or Apple Silicon during my time there.
I also don't have connections to people involved in Apple Silicon development (and I'd add that this does not mean someone cannot contribute, the question is were they exposed to tainted information, which is absolutely not true in my case). I have many friends who work for Apple (I'm a Stanford alum) but none in Apple Silicon directly.
I disagree with the phrasing of this entire thing, but this statement is demonstrably false.
For the lazy.
And they say irony is dead.
I say this from an anonymous account but at least it isn't a throwaway. And at least I have the good taste to feel a little shame for my hypocrisy.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/lin...
Just call yourself "Idea Llmina" or whatever and let someone else commit it.
The only way to get flawless Linux support is to buy hardware from an OEM that supports Linux well.
I think at this point the hacking community needs to grow some balls.
The fact is, open source has much more liability than closed source software does. If copyrighted material ends up inside a private code base it'll be nearly impossible for the owner to discover that and sue.
Do you have many examples of this actually happening that you could share?
I really don't see how this issue is going to be feasible for courtrooms to deal with in a world where big tech are bragging about large percentages of all their code being produced by LLMs.
In emulators, there is Azahar which is an emulator without the ability to decrypt games, and there is Azahar Plus, by different people, which is downstream of Azahar and adds piracy-specific features. The Azahar developers, who do the majority of the work, do not need balls. Only the people making the piracy fork need balls.
(I worked in a federal district court for a while.)
I hate the new system of no ownership and closed everything.
Weird how justified reasonable policies get the "crazy" label.
Imagine what happen if OP submit patches upstream skipping Asahi and they gonna be accepted.
It won’t be clean room like the stuff Alyssa did.
Isn’t that just saying “he uses modern tools and has subject matter expertise”?
See DCO. You cant sign off on you having permission to license the code when you stole it.
Many open source contributors like copyleft, but with illegal LLM copyright-washing many people disrespect the terms. https://en.wikipedia.org/wiki/Developer_Certificate_of_Origi...
General thought here is the entire economy is all in on a bet that that would never be enforced and I am willing to bet we would rather change the law than destroy the economy…
I don't use Asahi now but that's largely because my current Apple M series hardware is still supported. I see a day where an older unsupported Mac is running in a rack in my basement or being used by my kids as a general purpose computer.
Apple releases the M15, and using everything leaned while building drivers for the M4 - M14, the LLM just does the whole job and we have the drivers a day later.
I mean you can get good stuff out of it if you know what you are doing and guide it, but if you just say “here’s a regression suite. Write an implementation that passes” you will get something that works for a while but ages quickly and will need to be thrown away.
However, Asahi Linux has a strictly no-AI policy [1]. So this great work can't be upstreamed. I expect to see a bunch of AI-assisted forks that get things working smoothly on newer hardware to dominate as most people just care about getting stuff working, while only a handful of purists stick to the non-AI version running on ancient hardware.
This may never end up working like that, considering how complicated installation is, comparatively speaking, and how macOS is still pretty much required to be installed.
There's also ongoing issues around Codex for this sort of thing, given Apple is suing OpenAI over stolen trade secrets[2]. And nobody knows whether training data in other models is similarly tainted.
[1]: https://codyho.dev/documents/cody_ho_resume.pdf
[2]: https://www.theguardian.com/technology/2026/jul/10/apple-sue...
Basically, aren’t we facing a situation where LLM-assisted knowledge laundering is becoming a thing?
Nobody has been held accountable for AI selecting a grade school as a bombing target on the first day of America and Israel’s strikes on Iran. 100+ school girls killed, and no accountability.
Exactly how does that equate to knowing details of Apple's GPU implementation? Apple is a massive company.
So if I worked as a janitor at Apple, I couldn't contribute anymore?
Ignoring the idiocy of Imaginary Property is how China is winning.
It's time we caught up and then leap ahead. Everything is a derivative work.
It may also be legal to do the following: 1. Have an llm read all the code these people have written and produce extensive documentation. 2. Have another llm consume that documentation and write another working driver. I am not a lawyer but I think this may fall under fair use, because reverse engineering is allowed for interoperability.
I didn't mean that I understand the actual intricacies of the legal situation.
Sorry for my confusing wording.
The problem with this driver is not licensing or code quality; I assume it's under a threat of receiving C&D letter, or maybe also a legal suit for breaking some NDA.
Including the proprietary GPU drivers. If this MacBook driver end up out of tree, so be it.
Apparently. But Apple should be ashamed of themselves for that fact. What are they so afraid of? That Mac OS is so inferior to Linux that if they publish specs so that a driver can be made, that everyone will wipe Mac OS off their disks like it's Windows ME??
Once again, modern Apple is allergic to competing on their product's merits, clinging to force as though it's the only way anyone will choose them. Which is insane to me given how loyal their following is. I'm typing this shit on Mac OS right now.
Apple comes off like the most insecure corporate culture in history.
Neither OpenAI or Apple "owns" the Linux project. As long as there is enough evidence that code is real contribution and not stolen property (if you can even prove it), there is no reason to deny it.
these two things have absolutely nothing to do with each other whatsoever
I guess author can cleanup the code and try upstream it themself. Then let's see what Linus thinks of it.
There plenty of us not working at Apple who can reuse the same approach for M5 and next generations of hardware.
I just think one good part of Marcan's work is that they streamed a lot of their workflow with all kind of problems occured along the way and you could see how to solve them.
And please so not let anti-llm crowd discourage you. People like me who want to use good hardware and already choose to pay for Apple one just need drivers that work good and feature complete - code purity and "quality" is secondary.
https://codyho.dev/blog/hypervisor-macbook-neo/
tl;dr you reboot the device with `macvdmtool`, you install m1n1 as the boot object, you talk to the m1n1 proxy over a python shell. I'm documenting the process as I go also (see: the blog posts, also my github repos) both so others can do it and as record of the clean room nature, but this really is just GPT go brrrrr
I assume I’ll get used to it, but my mental model of what’s possible hasn’t been fully rewired yet.
AFAIK Nvidia drivers are proprietary and AMD has a tendency to drop support quickly
- During my time at Apple I never saw any of the macOS source code, at all, even for userspace components. I had not even heard of things like SPTM.
- I have not worked there since June 2025
I don't believe that there's any risk due to my former Apple employment. As another example, WINE does not ban all former Microsoft employees, they just ban anyone who has ever looked at the Windows source code. If I felt there was even a chance that my employment at Apple may have exposed me to relevant internal secrets, I would refrain from contributing to community projects.
[1]: https://github.com/Rust-for-Linux/linux Rust for Linux
[2]: https://android.googlesource.com/kernel/common/ Android OS linux kernel
[3]: https://github.com/openzfs/zfs OpenZFS kernel module
[4]: https://github.com/awemorris/linux-pc98 Linux pc98 / 32 bit x86
[5]: https://github.com/OpenDingux/linux Linux on retro gaming device
[6]: https://github.com/AsahiLinux/linux Linux on older apple silicon M1/M2/M3 chip
[7]: https://github.com/microsoft/wsl2-linux-kernel Linux on Windows
It's an interesting example given that Wine considers deriving code from traces of original components (like hypervisor traces) tainted and also bans LLM contributions for legal considerations: https://gitlab.winehq.org/wine/wine/-/wikis/Clean-Room-Guide...
- https://news.ycombinator.com/item?id=43929828 , MS / ex-microsoft employee developing windows 11 like linux distro
- https://github.com/KyleGospo , MS employee developing Bazzite competing with Windows Game Ecosystem / DirectX
I'm surprised you worked with Niklas on this. I'd have assumed you'd think he was competent, given he went to Binghamton and not Stanford.
You could code for it now directly, instead of having to wrap a driver API. (There's also a few API bits missing on Metal today, that are present on Vulkan—and the the hardware can do it.)
I’ve just found that having more cousin projects to be inspired by really helps llms. Plus, you never know what future project/agent may find a gem in your project to apply somewhere else.
> Dj is writing the GPU drivers, and got Touch ID working by talking directly to the Secure Enclave
It's also interesting to see all this work seems adjacent to Asahi's own.
Codex ported it to MacOS as part of my project to port Wine to M4.
Unfortunately, FEX is no llm, so I’ll have to fork.
So many people are clinging to practices that are rapidly becoming antiquated. Even Linus had to put his foot down and had to stop the ideologues from attempting to stop AI use in the linux kernel.
It's not okay to ban tool use when a person is honest about it. The only thing you can achieve with a ban is that people will learn to lie about it and conceal it better.
But they do objectively exist in many desktop Linux projects. If you are the sort of person that sees software as "dead in the water" from AI prohibition, desktop Linux will feel like a mausoleum compared to macOS or Windows.
1. We want to guarantee our work is not a "derivative work" of anything Apple wrote.
2. If we look at any Apple binaries, there's no way prove that our code didn't borrow from Apple.
3. Since we didn't look at any Apple binaries, then there's no way our work can be a derivative work-- we didn't even look at their stuff.
The legal framework around all this is way too immature to make a definitive statement one way or the other. Anyone who says otherwise is speculating.
The only way to clarity will be legislation or court cases, because it really could go either way.
You can't claim that some work is necessarily tainted by existing, you also have to prove which knowledge was retrieved, used and that there was no other reasonable way to know it. But unless it is actually tried in a court in all major jurisdictions, it's just speculation from all parties (including line).
One person could also claim that someone someday might leak information to them, and even though they'll ignore it, since they'll be exposed, they are tainted and can't contribute anymore. It'd be absurd.
A project is free to chose who can contribute, but they can't necessarily gatekeep others from doing their own project with different rules.
Perhaps before Astra was nerfed. It is now the dumbest model right after Gemini. Sol still holds up.
Furthermore, given that Asahi Linux, the biggest game in town when it comes to running Linux on Apple silicon, is trying to be cleanroom, it is incredibly rude of you to not mention LLMs until after showing a page full of LLM-derived firmware ABI. This is a trap for anyone who's trying to be cleanroom.
Are you claiming models were trained on proprietary Apple code? How would that even be possible?
It's easy to make random claims that are impossible to prove or disprove.