Commit Graph

10 Commits

Author SHA1 Message Date
chrg6
cd0b1a387d Do the whole warm on the boot screen at the first start after a driver change.
A start that finds the pipeline cache written by another device or driver has nothing built, and everything was
compiled beside the game: an 8-core integrated GPU drew fewer than 600 frames in its first 11 minutes. Such a start
now waits on the "Preparing shaders" screen, with counts, for every recorded pipeline, for the compute pipelines on
every core at normal priority, and, when a sample says the driver's own cache lacks the prepared stage libraries, for
all of them on every core. The memory gate still holds for the builds, and the library builds write the preparation's
journal while the start waits, so a variant the driver's compiler dies on is skipped from the next start on.

boot-warm-owed.txt beside the caches names the GPU and driver: a start closed during the warm is followed by one that
goes on with it, three at most, and "done" keeps later starts ordinary while the cache file still carries the earlier
driver's header. When the boot stops waiting (prewarm_wait_ms, or a minute without progress) the builders step down
to the background's thread counts and idle priority. prewarm_full = 0 turns the warm off.

With nothing in the driver's cache the probe took 425 s on an RTX 5090 with 16 CPU threads: 87 s for 5,775 recorded
pipelines, 19 s for 4,075 compute pipelines and 317 s for 42,231 prepared variants.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 20:03:12 -05:00
chrg6
823e0cdcd4 Raise the pipeline cache's size limit to 1024 MB, and leave never-drawn list pipelines to their first draw on a machine short of memory.
The limit was 512 MB, and a file over it starts the run empty until a play file replaces it. With the pipeline list of 0.9.1 one run builds more than that: on an RTX 2080 Ti (#722) pipeline-cache.bin held 551 MB and the play file the run then wrote 541 MB, so both were dropped at every start, 7,247 of 8,531 pipelines were built again each time (17 s of the boot) and 541 MB were written in every session. Seven of the players' logs read here have a file over 512 MB, five of them between 517 and 691 MB. At 1024 MB those are read, the play file is folded in once and the loop ends; a start that still finds both files over the limit now says so.

pipe_seed_boot (auto, 1, 0) decides whether the boot builds the pipelines of the shared list that the install has never drawn. Each is a pipeline the driver holds for the whole run: the boot's pipeline stage went from about 1.6 GB of commit on 0.8.0 to 3.9-4.4 GB on NVIDIA cards with the list (1.5-1.8 GB on AMD's driver), and 0.3-0.6 GiB of video memory. auto, the default, builds them as before except on a machine that starts with less commit free than the game takes in play, the start's own memory warning: there they are made at their first draw from the pipeline cache and recorded as the install's own. Mesh pipelines are built at boot either way. Compiled; not run in the game.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-12 15:13:40 -05:00
chrg6
08413ab265 Record that the dev folder's prebuild skip file is gone: the user approved deleting it, and it had already been removed.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 08:58:48 -05:00
chrg6
f52b0b397d Correct the count of save loads in the audit's verification runs: seven, not nine.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 00:38:08 -05:00
chrg6
51882114ff Enter what the session diagnosing the lost device found: the loss follows the lazy write-back's piece release, and callbacks still run after the device is lost (a new ledger row, F-1-12).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 00:38:01 -05:00
chrg6
2892b7b7dd Record the verification of the audit's fixes: the Market stall is gone in three runs of three, and the route runs clean under the fixed exe and under UBSan without an ignore list.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 00:36:51 -05:00
chrg6
fdc6040ba9 Record the audit's Phase 4 so far: 17 fixes with their commits and what verified each, the repaired unit checks, and what waits for the user.
The prebuild marker fix is reproduced and verified, the missing-area report and the first Market run are checked; the other Market runs, the route and the UBSan run were still waiting for the game slot.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-11 00:02:01 -05:00
chrg6
5c4ddf0382 Record where the audit's Phase 3 stands: 55 findings in the ledger, the outcome of every lead, and what is left.
Eleven findings are confirmed by a run or by tool output: the save that names an area this game version lacks, three device losses at a save load, the Market's stall from a pool list that gathers duplicates, the DLSS feature created on the replaying thread, and a pipeline prebuild that stays skipped after the game is closed during boot, among them. The other 44 are suspected from reading the code. Phase 3 was stopped before its last runs; section 12 lists them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-11-10 23:19:16 -05:00
chrg6
8a811ddd41 Record the audit's Phase 2: the instrumentation map, the test route and its coverage, the baseline per scene, and the sanitizer results.
The route reaches Kakariko Village, Hyrule Field by day and night, the Market, Death Mountain Trail and the graveyard edge from the available saves, every pause subscreen, and a save, return to the title and reload in one process; Kokiri Forest, a dungeon and a boss are not reachable. The ledger gains a confirmed crash on loading the test install's Kokiri Forest save and a confirmed UBSan report in the menu's grain texture; ASan cannot start because its shadow covers the guest's fixed windows, and TSan has no Windows target.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 21:38:09 -05:00
chrg6
a33135c435 Add the audit's Phase 1 map: subsystems, threads and their shared state, the path of one frame, and every allocator, pool and cache.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:19:10 -05:00