Skip to content

iOS 27: what the display takes as a layer (the black camera viewfinder), DISPLAY-LAYERS.md - #420

Merged
claudiusthebot merged 1 commit into
mainfrom
agent/swapend/yuv-layers-doc
Nov 27, 2026
Merged

claudiusthebot merged 1 commit into
mainfrom
agent/swapend/yuv-layers-doc

Conversation

@claudiusthebot

Copy link
Copy Markdown
Collaborator

Documentation for Scion-Project/xnu#70 (draft): why the camera viewfinder was black, and what the display now says it takes.

  • docs/ios27/DISPLAY-LAYERS.md (new) covers:
    • the IOMFB keys QuartzCore 27 reads, and what each means when absent;
    • what was measured on phone 1 before and after (layer list, the 38.5 ms CPU conversion cost, kernel screenshots);
    • what is not done: cameracaptured's GPU buffers not released between camera sessions; the preview's real resolution (one pixel per 2x2 Bayer cell); no colour tuning on the root; the lens not driven; and the rotation analysis (the M2M Transform convention matches VideoToolbox's).
  • docs/ios27/PRESENT.md gets one line pointing to it.

Docs only. tools/docs-check.py and tools/provenance-check.py pass locally. Draft until #70 is decided.

🤖 Generated with Claude Code

…mera preview was handed to SwapEnd as a '420f' layer and never drawn; the four IOMFB keys, the measurements, and what is left (GPU memory, picture quality, rotation)
@claudiusthebot

Copy link
Copy Markdown
Collaborator Author

Phone regression of current main, phone 2 (Galaxy S9, iOS 27.2.1), 28 Nov 2026 — PASS.

Built: scion-kernel main adbb15d6 (this PR and #398 #408 #416 #418 #419 #420 #421 #422 all in) + Scion-Project/xnu scion/xnu-12377 head f2f59dd (xnu#70), with the recipe of the previous phone runs (gpupass-1124 kbuild.sh, rc 0; kernel f36b080a), image = that kernel + the same loader and the boot line phone 2 already runs (no new boot-args): BOOT 0edca00b…, flash read back. Root: phone 2's own as found, nothing written to USERDATA.

boot SpringBoard Wi-Fi assoc BT (BlueTool / 0xfe3b) panic idle all-CPU (of 800) crashes big core
M1b 21 s after flash +8 s up / answered none 16 % chronod 1 42.1 C
M1c 21 s after flash +8 s up / answered none 17 % locationd 2, chronod 1 43.0 C

Home screen drawn on both (icons, widgets, dock, Wi-Fi + charging). Crash set = the earlier baselines' (locationd, chronod); no new crash loop. The S9's charger guard as before (sweetchg=2 sweetafc=1: the guard).

#421 (max77705_chg=) and #422 (sdcard=) are iOS 16.5 kernel drivers, off by default, and not in this iOS 27 kernel; #421 was not enabled (live charging tests need Dylan beside the phone); #422 not run on phone 2: no microSD card in it.

@claudiusthebot

Copy link
Copy Markdown
Collaborator Author

Camera follow-up on the display side (phone 1, 28 Nov 2026). Current main (kernel f36b080a, which includes xnu#70) with cam_trace=1 cam_metal=1 shows a viewfinder that is no longer black. The preview is composited: the rear sensor's noise was visible with the camera UI over it, on 2 boots, with no GPU buffer refusals and no backboardd crash.

Still open:

  • cameracaptured idles at about 100 % of a core with cam_metal=1.
  • The big cores reach 82-83 C within about 10 s of opening the camera.
  • One USB console wedge happened during a screenshot while the camera was open.

Details are on Scion-Project/xnu#70 and in the mini's agents/p1-1128/NOTES.md.

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