Skip to content

docs: a Linux + Wine + NVIDIA profile that draws world frames (DOCS-RUNNING-LINUX-WINE-NVIDIA) - #2839

Merged
MoonEyes merged 3 commits into
ProjectLeonida:mainfrom
aznohonza:docs/running-linux-wine-nvidia
Dec 1, 2026
Merged

MoonEyes merged 3 commits into
ProjectLeonida:mainfrom
aznohonza:docs/running-linux-wine-nvidia

Conversation

@aznohonza

@aznohonza aznohonza commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

docs/running.md has a Linux RADV section, a Proton + NVIDIA report and the Windows sections, but no Linux + Wine + NVIDIA profile. This adds one: a desktop GeForce RTX 3060 12 GB with Wine 11.22 that draws the opening sequence.

What the section records, all from two runs whose RUN blocks are on #2464 (comment, comment):

  • the build and shader pack that were used, and that no pipeline pre-compile was done (the runs reused a 1.7 GB journal that three earlier runs had filled);
  • the environment that drew the world, including LEONIDA_STRAY_RO_HEAL=1; the section names the 47 s / exit 5 detail as coming from an earlier run on the same machine, not in the two linked comments;
  • what to expect: first-run UI at 30 frames/s, the story load, then the opening sequence at 1-3 frames per 10-16 s, 0.06-0.30 frames/s, with cgroup memory at 19-20 GB and up to 23.6 GB — 12 GB of VRAM does not hold the scene, and the earlier runs spilled to host memory once the card was full;
  • known problems: the night scene ends a run in one of two ways, a console value wait unmet for 101 minutes with the list values on, or a device loss with LEONIDA_LIST_VALUES=0 for which VK_EXT_device_fault gives no address on this driver.

The command is the full run_game_wine.sh invocation, linked to linux_proton.md; the section names the local change that leaves --trace-d3d12 off (main always passes it). docs/README.md indexes the profile, and docs/linux_proton.md points at it.

Values only: no shader or program names, addresses, local paths, log lines or screenshots; the section is marked "Reported by others" and links the two RUN comments.

Tested: python3 -I scripts/check_no_game_data.py on the three files is clean, and for a docs-only diff the CI's document tests, run here one by one: tests/test_docs_*.py (14 files), tests/test_i18n_index.py and tests/test_design_contract_rows.py, all pass.

Claimed in #2570 as DOCS-RUNNING-LINUX-WINE-NVIDIA (#2570 (comment)).

AI-assisted.

…mes (DOCS-RUNNING-LINUX-WINE-NVIDIA)

The page has Linux RADV, a Proton NVIDIA report and Windows sections, but no Linux + Wine + NVIDIA
profile. This one is a desktop RTX 3060 12 GB with Wine 11.22: it draws the first-run UI at 30 frames/s,
loads the story and draws the opening sequence's prison yard, city street and carnival scenes at 1-3
frames per 10-16 s, with host memory at 19-20 GB and up to 23.6 GB.

The section carries the build, shader pack, environment (including LEONIDA_STRAY_RO_HEAL=1, without which
a run ends at 47 s here) and what to expect, and names the two ends of the carnival scene as known
problems: a console value wait held for 101 minutes with the list values on, and a device loss with
LEONIDA_LIST_VALUES=0. Every value comes from the RUN blocks posted on #2464, which the section links;
no game data is added.

AI-assisted.

@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 numbers match the two cited comments on almost every line, but four details are in neither source and should be cited or marked as hypotheses:

  • the 47 s / exit 5 STRAY_RO_HEAL story — the variable exists and its documented behaviour fits, but no comment in #2464 mentions 47 s, exit 5 or a read-only page;
  • "prison yard" and "carnival" — the reports say "one night scene" and "the city night street with its credits"; neither word appears;
  • "one to three submissions a frame" — not in either link;
  • "(logged once)" — the source's "once" is "once the 12 GB card was full" (temporal), and no spill line is logged by runtime/src/.

One claim is factually wrong: "the kernel killed two of them at 22.2-22.3 GB before a world frame". The 22.2 GB run had drawn the city night street before the cgroup OOM-killed it, and only the 22.3 GB run is described as default arenas — so "two … before a world frame" is not what the source says.

The command block cannot be run as written. scripts/run_game_wine.sh requires --build --exe --game-dir --shaders --out (:135-138), the page supplies none, and the report's copy was locally modified to pass no --trace-d3d12 while main's script always passes it (:97) and has no LEONIDA_NO_TRACE_D3D12. Use the full invocation from docs/linux_proton.md:71-74 (and link that section) and name the local change, or a reader will conclude the page's setup reproduces the numbers when it does not.

Smaller reconciliations:

  • The page's own Settings section says 724 library compute programs three lines away (docs/running.md:24, :156); the new section says 723 and never says "ray-tracing". Say which is which.
  • The 1.7 GB journal was already warm from three earlier runs (the reports' CACHES), not filled by these runs — the current wording reads as a cold start.
  • docs/README.md:16 already indexes running.md, but its profile list omits Wine + NVIDIA; add it, and have docs/linux_proton.md point at this section (its line 100 says the script runs with --trace-d3d12, the opposite of this setup).
  • LEONIDA_SKIP_COMPUTE takes name fragments, not a list of 723 programs (docs/d3d12_vulkan.md:2931) — fine as a placeholder, but say so.

…he profile

- separate the 22.2 GB run that drew the city night street from the
  22.3 GB default-arena run, as the reports do;
- say the 1.7 GB journal was warm from three earlier runs, not filled by
  these runs;
- replace the unsourced scene names and the submissions-per-frame count
  with the reports' words, and give the 47 s STRAY_RO_HEAL observation
  its provenance;
- say that 724 is the maintainers' count and 723 is this pack's, that
  the skip list takes name fragments and is the ray-tracing programs;
- give the full run_game_wine.sh invocation and name the local trace-off
  change;
- index the profile in docs/README.md and point linux_proton.md at it.

AI-assisted.
@aznohonza

Copy link
Copy Markdown
Contributor Author

Addressed in 6b6f75a.

  • The 47 s / exit 5 LEONIDA_STRAY_RO_HEAL detail now says it is from an earlier run on the same machine, not in the two linked comments.
  • "prison yard" and "carnival" are gone; the text uses the reports' "one night scene" and "the city night street with its credits". The "one to three submissions a frame" count is gone.
  • "(logged once)" is gone: the text now says the earlier runs spilled VRAM to host memory once the 12 GB card was full, the reports' temporal meaning.
  • The 22.2 GB run is no longer described as dying before a world frame: it had drawn the city night street; only the 22.3 GB run is the default-arena one killed 21 minutes in.
  • The command is the full run_game_wine.sh --build ... --shaders ... invocation, linked to the linux_proton.md section, and the local LEONIDA_NO_TRACE_D3D12=1 change is named (main always passes --trace-d3d12).
  • 724 is now named as the maintainers' count and 723 as this pack's; the skip list is described as name fragments and as the ray-tracing programs.
  • The 1.7 GB journal is now warm from three earlier runs, not filled by these.
  • docs/README.md's running.md row now includes Linux/Wine with NVIDIA, and docs/linux_proton.md points at the new section and says main's script always passes the trace.

Docs checks: check_no_game_data on the three files, and the test_docs_*, i18n and design-contract tests pass. AI-assisted.

The runs report the cgroup's peak, as the RUN blocks do; the VRAM
spilled to host memory is a different figure.

AI-assisted.
@MoonEyes

MoonEyes commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Verified by MoonEyes (another person than the author) on head 5ef76aa9a merged with main 501b3e6c5: docs only. The docs tests pass (Windows, Python 3.14), check_no_game_data.py is clean. The numbers the section adds are in the two comments of #2464 it cites, except 47 (which it says comes from an earlier run), 676 and 724 (pipeline programs on the maintainers' page), and the 34 of "20-34 minutes", which rounds the 33.7 min of the comment. I did not run the game (no Linux here).

AI-assisted (Claude Code).

@aznohonza

Copy link
Copy Markdown
Contributor Author

Thanks for the independent read. The 47 s / exit 5 detail is the earlier run on the same machine, and 676/724 are the maintainers' numbers on the page; no change needed here.

AI-assisted.

@MoonEyes

MoonEyes commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Merging. Head 5ef76aa9a merges cleanly with main e04721c7f and does not force a rebase of #2566. CI green on this head and on main. Docs only: docs tests pass, numbers traced to their sources; KelboLive's points are addressed by the author. Merged by MoonEyes.

AI-assisted (Claude Code).

@MoonEyes
MoonEyes merged commit 9f27ba2 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.

3 participants