diff --git a/README.md b/README.md index 636ec35..337c27a 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ and [OrchardLinux/mesa](https://github.com/OrchardLinux/mesa) (Vulkan). | Chip | Devices | State | Notes | |---|---|---|---| -| A7 (S5L8960X) | iPad Air 1 (J72) | Experimental G3 path: compute, clear, triangle, Zink/GBM scanout, and a real GPU-rendered Omarchy frame have passed from a storage-fenced RAM boot. True Vulkan attachment `LOAD` preservation is the next hardware gate | [a7/j72/](a7/j72/README.md) | +| 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/](a7/j72/README.md) | | A10 (T8010) | iPad 6 (J71b) | Hyprland with all effects at 60 fps (Zink on the G9P Vulkan driver) | [a10/](a10/README.md) | | A9 (S8000/S8003) | iPad 5 (J71s/J71t/J72s/J72t) | labwc desktop and Firefox with hardware WebRender on the GPU; merged in orchard as a powervr backend ([orchard#138](https://github.com/OrchardLinux/orchard/pull/138)) and [OrchardLinux/mesa#8](https://github.com/OrchardLinux/mesa/pull/8); see orchard's [docs/bring-up/gpu/a9-g5p.md](https://github.com/OrchardLinux/orchard/blob/main/docs/bring-up/gpu/a9-g5p.md) | [a9/](a9/README.md) | | 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](https://github.com/OrchardLinux/orchard/pull/196), [OrchardLinux/mesa#18](https://github.com/OrchardLinux/mesa/pull/18), open). iPad mini 4: earlier bring-up in a8/, tester kit run pending | [a8/n102/](a8/n102/README.md), [a8/](a8/README.md) | diff --git a/a7/j72/README.md b/a7/j72/README.md index d4a8dca..7059398 100644 --- a/a7/j72/README.md +++ b/a7/j72/README.md @@ -1,4 +1,4 @@ -# A7 / iPad Air 1 (J72) progress +# A7 / iPad Air 1 (J72) notes This directory records the experimental GPU bring-up of an iPad Air 1 using the existing Orchard and Mesa PowerVR work. It is a progress report, not an @@ -6,24 +6,29 @@ installation guide or a claim that A7 support is ready for general use. ## Hardware-tested so far -The following passed on a J72 from a storage-fenced RAM boot, with its retained -iOS installation left read-only and unmounted: +The following passed on a J72. Early qualification used storage-fenced RAM +boots with the retained iOS installation read-only and unmounted. The final +checks used the same qualified driver installed in Omarchy's existing root: - the kernel and firmware path started the Apple A7 / PowerVR G3 GPU; -- Vulkan compute verified all 256 output words; +- Vulkan compute verified its output words; - clear and triangle tests verified their mapped linear targets pixel by pixel; +- a two-pass test preserved every checked pixel across a true colour attachment + `LOAD` using the unchanged implementation from + [OrchardLinux/mesa#25](https://github.com/OrchardLinux/mesa/pull/25); - Mesa Zink rendered a 1536x2048 GLES frame through the Vulkan driver, exported it as a dma-buf, and scanned it out through simpledrm; -- the normal Omarchy Labwc and shell session produced a captured, non-black - GPU-rendered frame; and -- final receipts had no pending work or GPU faults, and runtime power management - returned the device to suspend. +- the installed Omarchy Labwc and shell session produced a captured, non-black, + non-uniform 2048x1536 GPU-rendered frame; and +- separate Vulkan clients before and after desktop startup each passed compute + and triangle checks. Final receipts had no pending jobs or GPU faults, and + runtime power management returned the device to suspend. These tests reuse the repository's existing Vulkan triangle, GBM/KMS, ladder, and framebuffer-capture work wherever possible. No Apple firmware, shaders, device-tree captures, or private device data are included here. -## Current limitation: attachment LOAD +## Attachment LOAD result The first desktop frame used a deliberately narrow A7 compatibility rung. For the observed single-colour-target, single-sample render shape, an attachment @@ -32,18 +37,34 @@ qualified zero-background path. That was sufficient to prove the wider submission, rendering, scanout, and desktop path, but it did **not** implement the preservation semantics required by Vulkan `LOAD`. -The current local Mesa experiment replaces that shortcut with Mesa's existing -Rogue load-operation shader and uploads its background state through the G5P -path used by A7. It also keeps A7 clear on its already-qualified shader and -does not attempt to execute the A8 texture-load program. The change compiles, -passes the G3 host self-test, and links the PowerVR Vulkan driver; it has not -yet passed the hardware preservation test. +An independent local experiment attempted to replace that shortcut with Mesa's +existing Rogue load-operation shader. Its exact hardware-tested binary locked +the 3D job, so it was not retained. -The next device gate is the existing `tools/a8/ladder/a8-vk-ladder.c` `load2` -rung. It clears and draws one half of an image, begins a second render pass +Instead, testing moved to the common A7 implementation in Mesa PR #25. Its +`load2` rung clears and draws one half of an image, begins a second render pass with `LOAD`, draws the other half, copies the result to CPU-visible memory, -and checks every pixel. Passing that test, with clean kernel counters and no -fault, is required before claiming real attachment preservation. +and checks every pixel. All 4096 comparisons passed on J72. Both geometry and +fragment jobs completed, fault stayed zero, live jobs drained to zero, and +runtime power management suspended the GPU. No J72-specific Mesa change was +needed. + +## Final installed-system check + +The exact tested Mesa package was installed in the existing Omarchy root using +its normal package transaction. A later boot ran two independent checks around +the ordinary desktop startup: + +1. Before the desktop, Mesa enumerated `PowerVR Apple A7`; a 32-word compute + check and every checked triangle pixel passed. +2. Labwc then used the persistent PowerVR ICD to render the normal desktop. +3. After startup, a separate Vulkan client repeated the compute and triangle + checks successfully. + +Both phases ended with fault zero, no live jobs, clean filtered kernel logs and +runtime suspend. This qualifies the tested GPU path on this J72; it does not +make the experimental Vulkan driver conformant or establish support for every +A7 device and workload. ## Approach @@ -56,8 +77,7 @@ The port aims to add only hardware differences demonstrated on A7: on this hardware; and - qualify in RAM before considering installation or broader support claims. -After `load2`, the remaining work is a sustained desktop run, restart and -power-management checks, cleanup into reviewable Orchard/Mesa changes, and -review of the exact hardware evidence. Storage installation and reliable -charging under Linux are separate gates and are not established by the GPU -results above. +The remaining work is to turn the already-tested common implementation into +reviewable merged packages and continue broader workload and endurance testing. +Storage installation and reliable charging under Linux are separate from the +GPU result above.