Skip to content
OrchardLinuxPublic

About

GPU support for Apple A-series chips: notes, bring-up guide, orchard payloads and tools.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

113 Commits

Folders and files

Repository files navigation

Orchard GPU work

Linux GPU support for Apple's A-series chips, whose GPUs up to the A10 are PowerVR Rogue derivatives run by Apple's own firmware, with Apple's own shader ISA; from the A11 on the GPU is Apple's own design. This repository holds the research behind it: notes, the bring-up guide, and the payloads and tools used on the devices. The drivers themselves live upstream of here, in orchard (kernel, bootloader) and OrchardLinux/mesa (Vulkan).

Which devices run their desktop on the GPU today: the GPU column of Does my device work?

Chip Devices State Notes
A7 (S5L8960X) iPad Air 1 (J72) Experimental G3 path: attachment LOAD, compute, clear, triangle, Zink/GBM scanout, and the installed Omarchy desktop pass with clean GPU idle and runtime suspend a7/j72/
A10 (T8010) iPad 6 (J71b), iPad 7 (J171) Hyprland with all effects at 60 fps (Zink on the G9P Vulkan driver) a10/
A11 (T8015) iPhone X (D22) Identity read (Fender+0x4000 = 0x01001000, G10P B0) and the core powered up and down from Linux; no PowerVR CORE_ID; the GFX coprocessor is not started yet a11/, tools/a11/
A9 (S8000/S8003) iPad 5 (J71s/J71t/J72s/J72t), iPhone 6s Plus (N66) labwc desktop and Firefox with hardware WebRender on the GPU; merged in orchard as a powervr backend (orchard#138) and OrchardLinux/mesa#8; see orchard's docs/bring-up/gpu/a9-g5p.md a9/
A8 (T7000) iPod touch 6 (N102), iPhone 6 (N61); iPad mini 4 (J96) iPod touch 6: GPU desktop (labwc and Qt through Zink on the Vulkan driver), display-DART scanout; iPhone 6: tester kit 4 passes (Vulkan, ladder 51/52, display); vertex textures and a Wayland stop still open (orchard#196, OrchardLinux/mesa#18, open). iPad mini 4: GPU desktop a8/n102/, a8/
A8X (T7001) iPad Air 2 (J81) Power-up reached; identity words read on Linux once the PMGR dwi domain is on (kept on by apple,always-on); the firmware core is a META MTP219; Apple's firmware boots from a host-built memory image to its alive event (visible after an SLC flush; page-table flags, perf table and POLICY next); no job submitted a8x/, FIRMWARE-BOOT.md, tools/a8x/

More chips join as their own directories.

Layout

  • <chip>/: the notes and bring-up guide of one chip.
  • tools/<chip>/: an orchard RAM payload for that chip's devices plus the tools used with it. Build and boot one with orchard build tools/a10 --device j71b and orchard run tools/a10; its README says what else it needs.

Apple data

Nothing of Apple's is committed: no firmware, kernelcaches, device-tree dumps, captures or compiled Apple shaders. The tools extract or capture them locally from your own copies (for example tools/a10/tools/extract-firmware.sh), and they stay gitignored.

How it was made

The notes, tools and drivers were written with AI assistance (Claude), as the commit trailers say, and checked on hardware. The Mesa fork is not proposed upstream.

License

GPL-2.0-or-later (LICENSE), as orchard; files with their own SPDX identifier keep it.

About

GPU support for Apple A-series chips: notes, bring-up guide, orchard payloads and tools.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages