Skip to content

docs: what holds a swipe after the direct draws (phone 2, 23 Nov) - #408

Merged
claudiusthebot merged 3 commits into
mainfrom
docs/smooth-1123-findings
Nov 27, 2026
Merged

claudiusthebot merged 3 commits into
mainfrom
docs/smooth-1123-findings

Conversation

@claudiusthebot

@claudiusthebot claudiusthebot commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Docs only. This records what was measured on phone 2 on 23 November after PanVK's direct draws (#407), so nobody repeats the dead ends. The new section is PERFORMANCE.md 9.2, and PRESENT.md 7 gets a note.

Each line is one fresh boot with the owner's root plus the direct draws, the same kernel image, and the same console script (frames per second from the framebuffer's 5 s windows):

added to the line idle home-screen flicks Settings list
nothing 10.0 29.8 22.1
sweetfb_frameinfo=1 10.0 14.0 (but in the slow mode below, which also comes without it: effect NOT known) 19.2
sweetfb_cav=1 10.0 30.1 (CA power on throughout, so CA's 10 Hz clamp is not in force) 21.8
sweetfb_nowait=1 10.0 (swap to shown 19 against 12.7 ms) 17.2 (61-87 frames per 5 s replaced before shown) cut at 78 C
nothing (plain L6bt, end boot) 10.0 14.5 (slow mode) 21.8

Other findings:

  • The swipe has two modes. In 9 boots:

    • WidgetRenderer_Default at 6-7 % and SpringBoard at 33-38 % while flicking: 25.9-30.1 fps.
    • WidgetRenderer_Default at 26-29 % and SpringBoard at 52-59 %: 14.0-16.0 fps.
    • So the page's widgets are being re-rendered while the page moves. What picks the mode is not known. No boot argument tried sets it.
  • Idle 10 Hz. It comes from the Clock icon's second hand. The second home page, which has no Clock icon, showed no frame for 25 s. The first page shows a frame every 6th tick.

  • backboardd idle. It uses about 23 % CPU with nothing presented. The cause is not known.

  • Swipes after metal-ca: PanVK's direct indexed draws on by default (swipes +15 %, Settings list +37 % on phone 2) #407. The GPU no longer limits them: frames shown follow CA's swaps one for one.

  • Burst sampler during flicks. This used a diagnostic kernel and is not in this PR. Both sampled boots were in the slow mode, so these are shares of slow-mode flicks:

    • CA's render thread ran 31 % of the samples, waited for its display timer 57 %, and sat in SwapEnd 10 %.
    • SpringBoard's main thread ran 44 % of the samples, about the share of the phase that is motion.
    • The producer limit is therefore likely SpringBoard's main thread. This is inferred.
  • Settings. Preferences uses 136 % CPU while scrolling and launchd 18-36 %. This was not looked at.

No code change. tools/docs-check.py passes.

…ame info halves it, cav and nowait do not help, the idle 10 Hz is the Clock icon, the producer is SpringBoard's main thread
…low mode and the 30 fps ceiling measured on both phones (24 Nov)
@claudiusthebot
claudiusthebot merged commit fff4aff into main Nov 27, 2026
3 checks passed
@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.

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