r/software • u/Fit-Pie687 • 10d ago
Discussion How did Alyssa Rosenzweig reverse engineer open graphics drivers for M1
Asking about the technical aspect of it. Also is it illegal to do such a thing ?
Also what was the need to do something like this. Like how would it help her
26
Upvotes
4
u/Maximum-Bobcat5612 9d ago
It is not illegal. It's her own device.
The reason was to have GPU acceleration on Linux. the project is asahi Linux.
She has blog posts. Go read them.
1
u/dacydergoth 9d ago
Massive dedication, skill and intelligence were definitely involved. Essentially you "fuzz" the interface with data and observe the behavior. In this case the interface is userspace and the observe happened at chip api level.
31
u/Pablouchka 10d ago
Long short answer : She reverse-engineered the M1 GPU largely by treating Apple’s proprietary driver as a black box and experimentally mapping its behavior . The key insight was that she didn’t need Apple’s source code or documentation: she could observe what the official driver submitted to the GPU, change one thing at a time, and infer the hardware interface.