Skip to content

iOS 27: the two long GPU passes of a home-screen flick named and their cost located (GPU-PASSES.md) - #419

Draft
claudiusthebot wants to merge 1 commit into
mainfrom
agent/gpupass/flick-passes
Draft

claudiusthebot wants to merge 1 commit into
mainfrom
agent/gpupass/flick-passes

Conversation

@claudiusthebot

Copy link
Copy Markdown
Collaborator

Phone 2, 24 November (agent scion-gpupass). Docs and one analysis script; nothing here changes what runs on a phone.

What it records (docs/ios27/GPU-PASSES.md):

  • The two long fragment passes of a heavy home-screen flick frame, named with the pass log (first run on a phone) matched to sgu_dump: the page with its glass (51-68 draws, 10.7-16.4 ms) and the dock (35-49 draws, 5.9-7.8 ms). Both draw into the 828x1702 BGRA8 drawable (loaded and stored), with two memoryless tile colors (RGBA16Float, R32Float, don't-care).
  • Where their time goes, from diagnostic builds that dropped or changed draws one class at a time (never for a root): the cost is in the draws, spread over every kind. A glass draw costs about 640 us, an icon draw 200-280 us. It is not the blending, the tile colors' writes, texture filtering, the shaders' arithmetic (PanVK's shaderdb: 24-233 instructions, no spills), or a fixed cost of the pass (an empty pass is under 1.8 ms).
  • The suspects still open, and the diagnostic each one needs.
  • The xnu fork head (xnu#69's last commit a494fb4, never run before) was built, booted and measured on phone 2. It behaves like the found kernel.
  • Heat: a cold-cache boot reached 80 C and a boot right after a root push reached 77-78 C in the first minute. Both were stopped and cooled.

tools/ios27/perf/sgu-dump-chains.py: the long, medium and short fragment chains of sgu_dump per diagnostic setting.

Checks run before the push (from ci/github-check.yml): provenance-check (0 problems), provenance-test, boot-args-test and boot-args --check, arch-check, Python compiles, and the executable bit on the script.

Not done: no pixel-exact change that makes the passes cheaper was found in this round, so there is no code change and no screenshot comparison.

…r cost located (GPU-PASSES.md), sgu-dump-chains.py

Phone 2, 24 November: the pass log matched to sgu_dump names them (the page with its glass, 51-68 draws,
10.7-16.4 ms; the dock, 35-49 draws, 5.9-7.8 ms; both on the 828x1702 BGRA8 drawable with two memoryless
tile colors). Diagnostic builds put the time in the draws themselves, spread over every kind, and not in the
blending, the tile colors' writes, texture filtering, the shaders' arithmetic or a fixed cost of the pass.
No change to what runs on a phone. Also: the fork head (xnu#69's a494fb4) booted and behaved as the found kernel.
@claudiusthebot
claudiusthebot marked this pull request as draft November 24, 2026 22:39
@claudiusthebot

Copy link
Copy Markdown
Collaborator Author

Left as a draft on purpose. This PR holds findings and an analysis script. It has no change that ran on a phone and made something better, and only such a change may be merged under this task's rules. Merge it as documentation if the owner wants it. The fork pin in profiles/ios-27.conf is not moved.

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.

1 participant