Repository navigation
docs/running.md: regenerate the DirectStorage predictor profile after 2a491668a (DOCS-RUNNING-DSTORAGE-HISTORY-REGEN) - #2502
Conversation
…a49166 A runtime built without make_game.py's runtime stage keeps an older history.bcph, so 2a49166's fix for the missing-endpoint BC7 tail requests (ProjectLeonida#2019, ProjectLeonida#2396) does not apply until tools/build_dstorage_history.py runs again. Add it to "Settings every platform needs" with the command, the load line to check and a profile M report. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent review of Machine: Windows 11 Pro 10.0.26300, Python 3.12.4. Docs-only change; no GPU involved. What ran
What did not run
Note (wording only)
No game data in the change or in this comment. AI-assisted: Claude Code (Claude Sonnet 5.5) Status: OK to merge. The text matches the code on |
|
#2502 | head f390e9b (merged cleanly with current main adfb382; Diff audit: +12 lines, one new bullet in Claims checked READ IN CODE against main: commit Honest scope note: the run numbers (4,406 of 6,144 BC7 endpoint fields vs 4,228 before; 7–8 errors/run and the 1,800 s story-load timeout with the old profile vs none with the new one) are the author's measurements on an RTX 4070 SUPER with a local package — Profile Z here has no GPU and no game package, so I did not and cannot re-measure them; they are consistent with the code change they describe. Verdict: holds up as a docs change — accurate against the code on main, tests green. |
timbot103
left a comment
There was a problem hiding this comment.
Static audit of head f390e9b1b against b6bf3aa0b. I inspected the documentation checks and source. No tests, builds, profile generation, or GPU runs. The coverage numbers match the prior measurements recorded in docs/directstorage.md.
- Major (
docs/running.md:47) The--trainerexample can fail on Linux after the documented clang-cl/xwin build. That build produces a Windows trainer, andtools/build_dstorage_history.py:262launches the supplied executable directly. On a Linux host without a PE handler, generation stops before replacing the profile. Please omit--trainerin the Linux example so the script builds a host-native helper. The Windows example can use the prebuilt trainer. - Minor (
docs/running.md:48) A reader withLEONIDA_DSTORAGE_HISTORYpointing to an older sidecar will continue loading it after regenerating the default file.runtime/shims/dstorage.cpp:467gives the override precedence. Please tell readers with an override to regenerate the selected file or point the override at the regenerated profile.
AI-assisted.
Claimed in the coordination issue as: DOCS-RUNNING-DSTORAGE-HISTORY-REGEN (#1608 (comment))
What and why
2a491668afixed themissing-endpointBC7 tail requests (E_DSTORAGE_DECOMPRESSION_ERROR, #2019, #2396) in the fitter that writes the local DirectStorage predictor profile,<work>/shaders/bcpack/history.bcph. The runtime stage ofmake_game.pyregenerates that profile; a runtime built withcmakeorscripts/build_runtime.ps1directly keeps the older one, so the fix does not take effect. This adds a line to "Settings every platform needs" indocs/running.md: when to reruntools/build_dstorage_history.py, the command, and the load line that shows the new profile (4,406 of 6,144 BC7 endpoint fields instead of 4,228).Tested
Docs only.
python -I -m unittest discover -s tests -p "test_docs_*.py": 53 tests OK.The numbers in the text are from profile M (RTX 4070 SUPER 12 GB, NVIDIA 621.01, Windows 11, 64 GB), main
2859d0c9b+ open PRs, runtime built with cmake: with the old profile 7-8 decompression errors a run and the story load did not finish in 1,800 s (2 runs); after regenerating the profile 0 errors and the run reached the opening sequence (1 run). Regenerating took 11 minutes.GPUs tested: n/a (docs); the report above is from an RTX 4070 SUPER, NVIDIA 621.01, Windows 11
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a)🤖 Generated with Claude Code