Repository navigation
docs: fix inaccurate documentation and add recommended variables to running.md - #2574
Merged
aslan2142 merged 1 commit intoNov 28, 2026
Merged
Conversation
…iables to running.md - docs/running.md: add Recommended variables (all platforms) table covering async submit/compile, compile-pool sizing, warm-up throttling, heap sizing, input, and telemetry/fault variables on main; update RX 7900 XTX RADV recipe and Reporting section - runtime/README.md: document LEONIDA_CLWB_PATCH (runtime/src/cpu_emulation.h) - AGENTS.md: add port_ctl.py (scripts/port_ctl.py) to numpy/Pillow exception list - d3d12/docs/replay.md: fix nonexistent --looks flag reference to --flow - docs/port_plan.md, docs/port_status.md, docs/ultrawide.md, docs/victory_gap_gpu.md, docs/victory_gap_media.md: fix typos (chad_dsp.cpp -> chad.cpp, VIctory tests/fidelityfx.rs -> crates/victory-hle/tests/fidelityfx.rs) and clearly mark unmerged-branch paths (runtime/ ultrawide, frame_step.h, media_foundation.cpp, gameinput_xinput.cpp, d3d12_xs_exports_test.cpp, pipeline_queue.h -> pipeline_wait.h) - tests/test_docs_cli_flags.py: scan .rs sources and clap #[arg(long)] struct fields for d3d12/docs/*.md flags, treat cargo/git-filter-repo flags as foreign, and add docs/port_plan.md to OTHER_PROJECTS AI-assisted: Antigravity (Gemini 4 Neon). Verified: 13/13 tests/test_docs_*.py pass and scripts/check_no_game_data.py clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes all four failing documentation verification checks on
main(test_docs_cli_flags.py,test_docs_env_vars.py,test_docs_python_deps.py,test_docs_repo_paths.py), corrects factual/path inaccuracies across the docs, and adds recommended runtime variables todocs/running.md.Changes
docs/running.md:maintuning and diagnostic settings (LEONIDA_SUBMIT_ASYNC,LEONIDA_ASYNC_PIPELINES/LEONIDA_ASYNC_MIN_BYTES/LEONIDA_ASYNC_MIN_BYTES_GRAPHICS,LEONIDA_COMPILE_THREADS/LEONIDA_COMPILE_HEAVY_MAX/LEONIDA_SERIAL_BIG_COMPILES,LEONIDA_COMPUTE_WARMUP_MAX_BYTES/LEONIDA_COMPUTE_WARMUP_LIVE_MAX_BYTES,LEONIDA_HEAVY_PIPELINE_CACHE_MS,LEONIDA_STARTUP_CACHE_CHECKPOINTS, arena/window/geometry MB sizing,LEONIDA_KEYBOARD_PAD/LEONIDA_RUMBLE,LEONIDA_DEVICE_FAULT/LEONIDA_DEVICE_MARKERS,LEONIDA_TITLE_HUD/LEONIDA_DEV_OVERLAY,LEONIDA_GPU_LATENCY/LEONIDA_MEM_PROBE).MESA_VK_DEVICE_SELECT=1002:744c!, async submit/compile, and diagnostics) and theReportingsection (RUNblocks perdocs/agent_collaboration.md).runtime/README.md: documentedLEONIDA_CLWB_PATCH(runtime/src/cpu_emulation.h).AGENTS.md: addedport_ctl.py(scripts/port_ctl.py) to the numpy/Pillow exception list.d3d12/docs/replay.md: fixed nonexistent--looksflag to--flow.docs/port_plan.md,docs/port_status.md,docs/ultrawide.md,docs/victory_gap_gpu.md,docs/victory_gap_media.md:runtime/shims/chad_dsp.cpp->runtime/shims/chad.cppand VIctory'stests/fidelityfx.rs->crates/victory-hle/tests/fidelityfx.rs.runtime/src/pipeline_queue.h->runtime/src/pipeline_wait.hand clearly marked unmerged-branch file references (display_profile.h,display_mode.h,aspect_fit.h,frame_step.h,media_foundation.cpp,gameinput_xinput.cpp,d3d12_xs_exports_test.cpp), noting what actually landed onmain(d3d12/ultrawide ind3d12/crates/leonida-gpu/src/aspect.rsandd3d12/crates/leonida-loader/src/hooks.rs, non-SDL3 input inruntime/shims/gameinput_no_sdl.cpp).tests/test_docs_cli_flags.py: scan.rssources and deriveclap#[arg(long)]flags sod3d12/docs/*.mdCLI flags are checked against real Rust sources (with unit test), addcargo test/git-filter-repoflags toFOREIGN, and adddocs/port_plan.mdtoOTHER_PROJECTS.Verification
tests/test_docs_*.pypass (test_docs_cli_flags.py,test_docs_env_vars.py,test_docs_python_deps.py,test_docs_repo_paths.pyfailed onmain0318164b8and all pass with this PR).python3 -m compileall -q tests/test_docs_cli_flags.py— PASS.python3 -I scripts/check_no_game_data.py— PASS (no game data).AI-assisted: Antigravity (Gemini 4 Neon).