docs/boot.md: which end a late run ended in, read from the [rt] counters (DOCS-BOOT-WHICH-END) #2843
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2843"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T06:16:37Z.
docs/boot.md's triage stops at the first frame. This adds a short guide for a run that stops after it: three stops that look alike in the present count, and the[rt]lines that tell them apart.mem-probe t=pipelines live ... (made N / M, X s / Y s in vkCreate*Pipelines);submit framemadepair and thevkCreate*Pipelinesseconds keep rising: 763 graphics + 619 compute made, 2,296 modules, 732 MiB of SPIR-V, 45 minutes of CPU time, the first frame as the builds endedlist values so far:released unmetby reason, thenoldest held gate ...;submit frame0 released unmetin every reason while the oldest gate grows; thesubmit framelines stop: one wait unmet for 101 minutes, 209 gates held, 192 met, 0 released unmetmem-probe breakdown t=and the cgroup peakThe gate rule stays in
docs/d3d12_xs_console_abi.md§5.5, linked rather than repeated. The section is titled "which of these three stops is it" and names the other two ends' lines ([rt] aftermath: device lost,[rt] hang watchdog:), plus theat device lossreason as the gate-side witness. It also says themem-proberows needLEONIDA_MEM_PROBE=30at the start,submit frameneedsLEONIDA_SUBMIT_FRAME_SECONDS(default 10),LEONIDA_LIST_VALUES=0drops the gate counters, and the[rt]lines are the Vulkan layer's stderr, not a launcher log.The prose gives the reading order: the cgroup first when the process is gone without an
exitevent, then themadecount, then the oldest gate. Values only: no shader or program names, addresses, local paths, log lines or screenshots.Tested: docs-only.
python3 -I scripts/check_no_game_data.py docs/boot.mdis clean, and the document tests (tests/test_docs_*.py,tests/test_i18n_index.py,tests/test_design_contract_rows.py) pass.Claimed in #2570 as DOCS-BOOT-WHICH-END (https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7302664895).
AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-12-01T06:29:08Z.
Review: COMMENTED
The line names match main (
mem_probe.h:580,d3d12_xs_list_values.h:1314,submit_phases.h:391), and the held-value row is right:gates held 209, met 192, released unmet 0plusoldest held gate … 101 minutesis exactly the line, with the four reason counts as the "by reason" fields.Three corrections:
pipelines live graphics N compute M (made N2 / M2, X s / Y s in vkCreate*Pipelines); shader modules live …. The 763 graphics / 619 compute and 2,296 modules / 732 MiB are the live values printed before the parenthesis; "built" is themadepair. Cite the made pair for "built", or label both.LEONIDA_MEM_PROBEat start. The probe is off by default (andmem_probe.hmarks the fileLOCAL DIAGNOSTIC (not for upstream)), so a normal log has nomem-probeline at all. Also say where the[rt]lines live: on this machine the fiveplay-*.logfiles are the D3D12 runtime's tracing and contain zero[rt]lines — the[rt]stream is the Vulkan layer's stderr, not the launcher's log.[rt] aftermath: device lost(vulkan_aftermath.cpp:771) and[rt] hang watchdog:…(vulkan_backend.h:2632), and thelist valuesline'sat device lossreason is the discriminator between them. Either retitle the section to "three stalls" or add the device-loss/hang rows — as written, a reader withreleased unmet 0will conclude "not a device loss" even when the reason counter saysat device loss.Minor:
submit frameisLEONIDA_SUBMIT_FRAME_SECONDS(default 10,0turns it off) andLEONIDA_LIST_VALUES=0drops the gate counters entirely — both are preconditions for the table, so one line under the table would save a run.Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T06:36:01Z.
Addressed in
035da4fa9:mem-proberows needLEONIDA_MEM_PROBE=30at the start,submit frameis everyLEONIDA_SUBMIT_FRAME_SECONDS(default 10;0off),LEONIDA_LIST_VALUES=0drops the gate counters, and the[rt]lines are the Vulkan layer's stderr, not a launcher log;[rt] aftermath: device lostand[rt] hang watchdog:, plus theat device lossreason as the gate-side witness (soreleased unmet 0is not read as "not a device loss").Docs tests and
check_no_game_datapass. AI-assisted.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T08:00:10Z.
Verified by MoonEyes (another person than the author) on head
035da4fa9merged withmain501b3e6c5: docs only. The docs tests (tests/test_docs_*.py, 13 files, Windows, Python 3.14) pass,check_no_game_data.pywas not run on it. Every number the page adds is in the two comments of #2464 it cites (anddocs/d3d12_xs_console_abi.md§5.5, which exists), apart from issue and comment numbers. I did not run the game (no Linux here) and did not check the reading of the numbers beyond that.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by aznohonza on 2026-12-01T08:36:11Z.
Thanks.
check_no_game_data.pyondocs/boot.mdis clean here too, and thetests/test_docs_*.pyset passes on this head. Nothing else to change.AI-assisted.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-01T11:43:28Z.
Merging. Head
035da4fa9merges cleanly withmain21e6bbf4band does not force a rebase of #2566. CI green on this head and on main. Docs only: docs tests pass, every number traced to its source; KelboLive's points are addressed by the author. Merged by MoonEyes.AI-assisted (Claude Code).