Skip to content

docs: A7 GPU: the desktop, its behaviour under load, prior art - #351

Merged
henrikklee merged 2 commits into
OrchardLinux:mainfrom
ricktav:a7/gpu-bringup-status
Dec 1, 2026
Merged

henrikklee merged 2 commits into
OrchardLinux:mainfrom
ricktav:a7/gpu-bringup-status

Conversation

@ricktav

@ricktav ricktav commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Draft, to share where the A7 (iPad Air, J71) GPU stands and what is open. Documentation only: docs/bring-up/gpu/a7-g3.md.

What changes in the page

  • Userspace: the GPU desktop of pvr/g3, zink: the A7 desktop: transfers, render paths, two-image swapchains, zink as G5P mesa#25. The Omarchy desktop, Web and Firefox render on the A7's GPU (Web with GSK_RENDERER=vulkan, GPU desktop: GTK's Vulkan renderer, and zram of twice the RAM omarchy-a#148). The page lists the fixes found on the way, each with a GL probe that fails before and passes after:

    • textureSize() of linear textures (a usclib bug that affects every pco device);
    • dropped scissored clears;
    • PBO uploads that stopped after 4096 texels;
    • no MSAA and no dual-source blending on the A7.

    It also covers the compute-record fix of drm/imagination: apple: A7 compute hangs: two compute records, rewritten after retirement linux#30.

  • Under load (30 Nov 2026): what a J71 did under an hour of browser soaks:

    • silent total freezes when GPU work and memory pressure come together;
    • a near-empty battery on a 500 mA host USB port that confounds every one of those freezes;
    • recoverable "locked 3D" firmware lockups at the tightest memory moments;
    • about 220 MB of pinned GPU memory that nothing can evict on the A7: only the A9's chip has a vm_evictable hook.
  • Prior art: there is no public A7 GPU work outside Orchard. The page also covers upstream PowerVR's coverage and its fixes already in Orchard's kernel, Panthor's shrinker as a model, and the low-memory practice of Omarchy and postmarketOS.

  • Open: the freezes (retest on a full battery first), the 3D lockups, A7/A8 eviction (a t7000 vm_evictable hook, which belongs with the existing A9 eviction work), Mesa's heap for 1 GB, and a browser comparison on the J71.

Nothing in the page comes from outside Apple's own data that the page already cites, Orchard's repositories and public sources. It contains no device identifiers.

Changelog: none proposed, as this is documentation only.

🤖 Generated with Claude Code

https://claude.ai/code/session_01SFMaVcR5gEPcdDR8wQfiDP

ricktav and others added 2 commits November 30, 2026 14:46
Bring the A7 GPU bring-up page up to date: the GPU desktop of
OrchardLinux/mesa#25 (Omarchy, Web and Firefox on the GPU, and the
driver fixes found on the way), the compute-record fix of
OrchardLinux/linux#30, what a J71 did under browser load (silent freezes
confounded by a near-empty battery on a 500 mA host port, recoverable 3D
lockups, about 220 MB of GPU memory that no eviction can free on the A7),
what exists outside Orchard, and the open work.

Assisted-by: LLM
A bisect on the J71 froze it with headless Firefox and the powervr
module not loaded, while an hour of Web, heavy storage writes and
Omarchy's image picker ran clean. Record that, drop the battery
suspicion, and point the open item at the CPU/kernel side.

Assisted-by: LLM
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFMaVcR5gEPcdDR8wQfiDP
@ricktav
ricktav marked this pull request as ready for review December 1, 2026 10:46
@henrikklee
henrikklee merged commit 233a493 into OrchardLinux:main Dec 1, 2026
11 checks passed
@henrikklee

Copy link
Copy Markdown
Contributor

Merged, thank you! The Firefox-freeze bisect and the per-chip eviction gap are exactly what the next A7/A8 work needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants