d3d12/docs: add Windows committed-memory, Series X page-file, and 8 GB GPU guide (PORT-NV-DOCS-8GB-AND-WINMEM) #3120
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3120"
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 zmasi on 2026-12-02T12:09:16Z.
Claimed in the coordination issue as:
PORT-NV-DOCS-8GB-AND-WINMEM(https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7246121512, https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7344011304)What and why
Ports the Windows committed-memory and 8 GB GPU troubleshooting guide (
d3d12/docs/windows-memory.mdandd3d12/README.mdcross-references) fromtrustno1-coder/VIctory-NVIDIA(f8eab8b01f,19cc6f0c21,7448ece334,1db4ceac3abymattiolocoding, GPL-3.0-or-later) and incorporates the Series X / 48 GB RAM fixed page-file andresidency.rscommit-throttle measurements reported in #3109 (AquariusD0312, noted by@GKEnev24in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7344011304):Resource-Exhaustion-Detectorevent2004,crashes.log(Windows commit limit reached),memory allocation of/left to commitruntime lines, andGet-CimInstance Win32_PageFileUsage.~35 GBmapped title memory +~4.4 GBhost copies ->58.8 GBtotal system commit), why Windows'~5 GBautomatic page file on a 48 GB PC (52.8 GBcommit limit) runs out befored3d12/crates/leonida-gpu/src/residency.rs(4 GiBpressure,< 1.5 GiBcritical,1,024/512/256 MiBreserves) can throttle speculative texture work, and how a fixed32 GB(32768MB) page file raised the commit limit to79.8 GB(20,040 MBlowest remaining commit,0pressured samples)..\d3d12\scripts\play-nvidia.ps1 -Exe <...> -Resolution 540 -NoFrameGen -NoSmoothMotion -More @{LEONIDA_FPS_CAP='30'}) and documentsLEONIDA_PIPELINE_WORKERS,LEONIDA_CARD_ROOM_FOR_TARGETS_MB,LEONIDA_WINDOWS_BAR_MB/-WindowsBarMB,LEONIDA_THIN, andLEONIDA_JOIN_PARTSalongside the measured 32 GB RAM / RTX 3060 Ti 8 GB reproduction.d3d12/README.mdcross-references & credit: Adds thedocs/windows-memory.mdtable entry, troubleshooting link, andmattiolocodingcredit.Tested
python -I scripts/check_no_game_data.py d3d12/docs/windows-memory.md d3d12/README.md(pass)python -I tests/test_text_write_line_endings.pyandpython -I tests/test_i18n_index.py(pass)tests/test_docs_*.pysuites (adjacent_fenced_blocks,cli_flags,design_rows,encoding,env_vars,links,list_items,pr_template,python_deps,repeated_lines,repo_paths,table_ids,table_rows) (all pass).\d3d12\scripts\play-nvidia.ps1 ... -More @{LEONIDA_FPS_CAP='30'} -DryRunon Windows 11 PowerShell to verify[hashtable]$Morebinding (LEONIDA_FPS_CAP = 30)GPUs tested: n/a (documentation and launcher
-DryRunverification on Windows 11 Pro10.0.26200, NVIDIA GeForce RTX 3090 24 GB driver610.88)AI-assisted: yes — authored with Gemini 4 Carbon (High) (building on an earlier port commit and
mattiolocoding/AquariusD0312measurements) and independently reviewed in a separate read-only pass by Gemini 4 Neon (XHigh) (opus-systems-critic, which caught and verified the PowerShell-More @{...}invocation syntax andXMemMapPhysicalPages/-WindowsBarMBdetails).Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed.Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:00:13Z.
Verified on Linux (Python 3.13.18): head
155719f27merged into currentmain45dc41f95(clean merge, throwaway detached tree). Documentation only. Ready.No red/green applies (no code, no new test).
Claims checked against the code on the merge:
residency.rsthresholds quoted inwindows-memory.mdmatch: pressure atcommit <= 4 * GIB(next_pressure,residency.rs:180-186), critical below1536 * MIB(critical_commit,:238-240), and the reserves1024 * MIB/512 * MIB/256 * MIB(has_growth_reserveandhas_upload_reserve,:59-71).LEONIDA_CARD_ROOM_FOR_TARGETS_MBdefault 3,072 (resource.rs:2196), and the launcher'sLEONIDA_WINDOWS_BAR_MB=3072default on PCs under 48 GB with at least 6 GB of VRAM (play-nvidia.ps1:59-60).play-nvidia.ps1(-Exemandatory,-Resolutionwith540in itsValidateSet,-NoFrameGen,-NoSmoothMotion,-DryRun,-More), and-Resolutionturns DLSS off by itself ($wantDlss,play-nvidia.ps1:119), consistent with "the title's upscaler at 540p".Notes (non-blocking):
docs/.windows-memory.mdlink external forks' issues and PRs; that is consistent with the credits section's existing practice, and the GPL-3.0 provenance is named.windows-memory.mduses a few em dashes; the rest ofd3d12/docsmostly does not, but no docs test enforces it.Verdict: ready.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code