black and white laptop computer

Imagine the raw power of a Linux kernel driver running on the most locked-down consumer tablet in existence. It sounds like a fever dream for hardware hackers, but the intersection of driver portability and virtualization is pushing the boundaries of what we thought was possible on Apple silicon.

The macOS Bridge

While running a Linux driver directly on iPadOS is currently a fantasy due to Apple's strict kernel protections, we are seeing fascinating precursors. The amdgpu_mtopg project has demonstrated the ability to run the unmodified upstream Linux amdgpu and amdkfd drivers on macOS via a DriverKit extension. By wrapping Linux drivers in a way that macOS can digest, developers are enabling telemetry and LLM inference on AMD GPUs through the LemonSeed Engine.

The iPad Hurdle

Moving this from a Mac to an iPad is a massive leap in difficulty. iPadOS doesn't allow the same level of DriverKit flexibility as macOS, and it certainly doesn't support loading external kernel modules. To achieve this, one would likely need a Library OS approach—similar to how Graphene secures Linux apps on Intel SGX—to create a compatibility layer that tricks the driver into thinking it's on a native Linux system while running atop a hypervisor.

Why Bother?

If we could port these drivers, the prize is immense: native ROCm support for AI workloads and the ability to use unmodified open-source graphics stacks on mobile hardware. It would turn the iPad from a curated appliance into a true workstation.

Sources

Media