LockerGnomeFor serious tech professionals with a silly side.
Subscribe
Hacks & Builds

Someone ran an unmodified Linux graphics driver on an iPad

An iPad is running Linux's own graphics driver, unmodified, to drive an AMD GPU in a Thunderbolt enclosure.

An iPad is running Linux’s own graphics driver, unmodified, to drive an AMD GPU in a Thunderbolt enclosure. The project is LemonSeed Studio, described by its author as “An editor and IDE for iPad with on-device LLM inference on an AMD GPU,” with the iPad as the front end and a desktop graphics card as the engine (the project’s README).

The blunt part is one bundle entry: “the unmodified upstream Linux amdgpu + amdkfd driver, embedded in the app as a PCIDriverKit extension,” which “drives an AMD GPU in a Thunderbolt enclosure” (README). Nobody ported the driver to Apple’s way of doing things. Apple’s DriverKit extension format carries hardware drivers inside an app, and the author dropped Linux’s kernel driver into it as-is, so the same driver code a desktop Linux box uses is now running inside an iPad app.

Why bother: local AI. The README calls the inference engine LemonSeed Engine, “the inference engine, running on that GPU through its HSA runtime,” with live GPU telemetry alongside. Large language models answering on hardware sitting next to the iPad, not in a data center. The author’s original code is dual-licensed “MIT or GPL-2.0-only, at your option”; bundled and submodule components, the Linux driver among them, keep their own licenses (README).

Hacker News found it yesterday: “Running the unmodified Linux amdgpu driver on an iPad,” 90 points and 19 comments (Hacker News).

If you build for Apple platforms, I’d study this door: PCIDriverKit just carried an unmodified Linux kernel driver into an iPad app. If you own an iPad and an AMD card in a box, bring your own Thunderbolt cable; the recipe is on GitHub.

An iPad, a Thunderbolt cable and Linux’s own driver. That’s the whole stack.

More Hacks & Builds

Every Hacks & Builds story →