Skip to content

docs/port_status.md: the measured list-values pair past the world load (DOCS-PORT-STATUS-LIST-VALUES-PAIR) - #2842

Merged
MoonEyes merged 4 commits into
ProjectLeonida:mainfrom
aznohonza:docs/port-status-list-values-pair
Dec 1, 2026
Merged

MoonEyes merged 4 commits into
ProjectLeonida:mainfrom
aznohonza:docs/port-status-list-values-pair

Conversation

@aznohonza

@aznohonza aznohonza commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

docs/port_status.md's boot section ends at the 2026-11-25 device loss with no reproduction past the world load. This adds a dated section for a second machine (RTX 3060 12 GB, Wine 11.22, NVIDIA 620.70.10, main d8ca18240 plus a local run_game_wine.sh change that leaves --trace-d3d12 off), and a cross-reference from the device-loss paragraph.

The section records one run per configuration:

  • with the list values on, one console value wait stayed unmet for 101 minutes, with no presents, no queue calls and no gate released unmet;
  • with LEONIDA_LIST_VALUES=0, run24 drew further and then vkWaitSemaphores returned VK_ERROR_DEVICE_LOST; run25 (run24 plus LEONIDA_DEVICE_FAULT=1) lost the device 8 s after the same kind of frame, with vkQueueSubmit returning it first, and only its fault report named five compute queues and gave no address on this driver;
  • cgroup memory was 19-20 GB in the stalled run and peaked at 18.9 and 23.6 GB in the two device-loss runs, of 24 GB.

The section is dated and separate from the test machine's 2026-11-25 boot; the two page lines that said the title stops before its first frame are now scoped to the test machine. Values only: no shader or program names, addresses, local paths, log lines or screenshots; both #2464 run comments are linked.

Tested: docs-only. python3 -I scripts/check_no_game_data.py docs/port_status.md is 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-PORT-STATUS-LIST-VALUES-PAIR (#2570 (comment)).

AI-assisted.

The device-loss paragraph now has the measured reproduction on a 12 GB
NVIDIA card: with the list values on, the opening sequence's night scene
waits in one console value for 101 minutes; with LEONIDA_LIST_VALUES=0 it
draws further and ends in the title's device-removed handler, with no
fault address. Links the two #2464 run comments.

AI-assisted.
@fiestorra

Copy link
Copy Markdown
Contributor

Read, and its two references check out: both are real comments by the same author, on the issue the text cites, and the numbers in the paragraph are consistent with what they say.

main 640b0d0df, the branch is at main, nine lines added to docs/port_status.md.

The two links:

#2464 comment 7299367912   aznohonza  2026-12-01T03:08:24Z
  "A baseline from one more machine, Linux + Wine + NVIDIA, which running.md does not cover yet."
#2464 comment 7300173397   aznohonza  2026-12-01T03:53:52Z
  "Two more runs on the same profile, the other side of run23's stall: with the list values off, the same scene draws further..."

And the paragraph matches them: the RTX 3060 12 GB under Wine 11.22, the 101-minute unmet console value wait with no presents and no queue calls, LEONIDA_LIST_VALUES=0 drawing further before vkWaitSemaphores and vkQueueSubmit return VK_ERROR_DEVICE_LOST, 0x80000003, and the 18.9/23.6 GB peaks of a 24 GB cgroup. All of that is in the two comments, and none of it is asserted here that the comments do not say.

Where it goes: into the device-loss section, after the port/sparse-title-mem paragraphs, which is where a second machine's measurements of the same stall belong. The section reads in one direction: what the device loss looks like, what was tried, and now a second machine's numbers.

What I could not check: the measurements themselves. They need Wine 11.22 and an RTX 3060; this machine is Windows with a 4090, and the point of the paragraph is that it is a different machine. The provenance is what I verified, and it is sound.

AI-assisted: yes - DeepSeek v4.1 (flash), which read both referenced comments through the API.

Written with an AI assistant.

@KelboLive KelboLive left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The figures match both cited comments — no unit or denominator is changed — but the text claims more than the source supports, and it is labelled in a way that will mislead later readers:

  • The pair is n=1 per configuration. run23 says "run 1 of 1", run24/25 "run 1 of 1 in this pair", and run25 is run24 + LEONIDA_DEVICE_FAULT=1. "Two ends" reads as a settled comparison; say one run each, and note that only run25 carried the fault-report switch (which is why it can name five compute queues).
  • "The scene draws further" belongs to run24 only. run25 lost the device 8 s after the same kind of frame; covering both LEONIDA_LIST_VALUES=0 runs with that clause over-generalises.
  • Name the build and the driver. d8ca18240 plus the local run_game_wine.sh change (no --trace-d3d12), not current main; NVIDIA 620.70.10 at 3060. "This driver, as above" otherwise points at the page's 616.64 test machine.
  • Placement and scope. This is 2026-11-30/12-01 data on another machine, inserted into ## Boot on Vulkan, 2026-11-25 between the boot-loss paragraph and "Also this session", so it reads as part of that session. And the page's two "stops at its render-target pool check before its first frame" / "not measured yet: the title stops before its first frame" lines (:187, :218-219) now contradict it unless they are scoped to the test machine.
  • Minor: the runs report cgroup memory (18.9 / 23.6 of 24 GB), not "host memory".

Also worth deciding now that #2839 is open: this paragraph and that page describe the same two runs with different scene names ("night scene" here, "the carnival scene" there). Keep one, or a reader will think two different runs exist.

Move the runs out of the 2026-11-25 boot section into their own dated
section, name the build and driver, say how many runs each configuration
has, keep "draws further" with run24 only, and report cgroup memory.
Scope the two test-machine statements that said the title stops before
its first frame.

AI-assisted.
@aznohonza

Copy link
Copy Markdown
Contributor Author

Addressed in f589493:

  • the paragraph now says one run with the list values on and two with LEONIDA_LIST_VALUES=0 (run25 = run24 + LEONIDA_DEVICE_FAULT=1), and that only run25 carried the fault-report switch, which is why it names five queues;
  • "drew further" is run24 only; run25 "lost the device 8 s after the same kind of frame";
  • the build and driver are named: main d8ca18240 plus the local run_game_wine.sh change that leaves --trace-d3d12 off, NVIDIA 620.70.10 on the RTX 3060;
  • it moved out of ## Boot on Vulkan, 2026-11-25 into its own ## A second machine, 2026-11-30/12-01 section (cross-referenced from the device-loss paragraph), and the two test-machine statements now say "on the test machine";
  • the memory figures are cgroup memory, matching the RUN blocks;
  • the scene is a "night scene" here and in docs: a Linux + Wine + NVIDIA profile that draws world frames (DOCS-RUNNING-LINUX-WINE-NVIDIA) #2839 (that section has said "night scene" since 6b6f75a; the PR body kept "carnival" until it was rewritten, which is probably what you saw).

Docs tests and check_no_game_data pass. AI-assisted.

run24's loss came from vkWaitSemaphores; run25's from vkQueueSubmit
before vkWaitSemaphores. The paragraph attributed both to run24.

AI-assisted.
@aznohonza

Copy link
Copy Markdown
Contributor Author

Correction in 8e05943: run24's loss came from vkWaitSemaphores; run25 had vkQueueSubmit return it first. The paragraph and the PR body now say that instead of attributing both calls to run24.

@MoonEyes

MoonEyes commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Verified by MoonEyes (another person than the author) on head 7b06905c8 merged with main 501b3e6c5: docs only. The docs tests (tests/test_docs_*.py, 13 files, Windows, Python 3.14) pass, check_no_game_data.py was not run on it. Every number the page adds is in comments 7299367912 and 7300173397 of #2464, 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).

@aznohonza

Copy link
Copy Markdown
Contributor Author

Thanks. check_no_game_data.py on docs/port_status.md is clean here too, and the tests/test_docs_*.py set passes on this head. Nothing else to change.

AI-assisted.

@MoonEyes

MoonEyes commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Merging. Head 7b06905c8 merges cleanly with main ed867d7b2 and 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).

@MoonEyes
MoonEyes merged commit 7e63341 into ProjectLeonida:main Dec 1, 2026
5 checks passed
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.

4 participants