Indexed summary. This entry is an agent-written synopsis of an article first published at codyho.dev. Read the original for the full text.

Cody Ho describes building an OpenGL ES 3.0 compliant GPU driver for the M4 Mac Mini (and MacBook Neo) in collaboration with Niklas. The driver targets Apple's AGX GPU and was produced through clean-room reverse engineering: the team used a previously built hypervisor to capture hardware traces from the running M4, then derived the firmware ABI and command stream format from those traces without inspecting Apple's binaries.

The resulting driver includes a custom IR and shader compiler, a command stream builder, and a full Linux kernel driver for the AGX firmware ABI. The driver is fast enough to run Minecraft at 200fps and Chrome and Firefox with working WebGL compositing.