Publish the pareto-residency Windows build and portable launcher

This commit is contained in:
codec_d committed 2026-11-25 22:33:14 -08:00
1 parent efeef1d65b
commit 545f89019e
20 files changed
+1671 -217

No files matched your search

+4
View File
@@ -13,3 +13,7 @@
- **15:56–15:59, reproducer and repair.** Replayed eight reported upload sizes through the release pool with a failing block allocator. The unpatched test made eight block creation attempts in one burst. Each pool now backs off growth for 500 ms after a failed creation while still reusing space in its existing blocks. An out-of-memory return from host upload or texture allocation interrupts the descriptor texture sweep, leaving interrupted work eligible for retry. The sweep checks available Windows commit at most once per 32 ms, including during a long pass. It defers ordinary prefetch below 4 GiB and bake prefetch below 2 GiB; explicitly bound textures can still request upload memory. GPU unit and device suite: 331 passed, 34 ignored.
- **16:00–16:03, first opening-save retest.** Windows Graphics Capture showed a character, textured buildings and street lighting. The log contained no failed upload-buffer allocations or Rust allocation aborts. The harness timed out during shutdown and lost its timing receipt. The renderer logged a dropped draw due to exhausted dynamic descriptor slots.
- **16:04–16:07, confirmation and install.** From a fresh copy of the opening save, the release ran 135 seconds after the first interval above 1,000 draws/frame and remained live until the harness closed it. Peak process commit was 34.42 GiB; the lowest sampled Windows commit headroom was 1.30 GiB. Zero E_OUTOFMEMORY returns and zero Rust allocation aborts appeared in the log. Across 120 high-draw caption intervals the median was 54.3 ms/frame, with 39 at or below 50 ms. The descriptor-slot warning recurred. Installed and hash-verified the release behind the existing `pareto-residency` selector. SHA-256 `d580328bf90fe54e643dad60c04481d7e4b0d7134b9b6ce70c5e0f5c77ff3cf1`. Receipt and log: `../XCL-frame-timing/pareto-residency-comparison/oom-confirm/`.
- **16:50–18:20, facial deformation & wrapped meshes (`d16` + table strides).** Added zero-sweep table view-kind lookup (`SLOT_TABLE_STRIDES = 252`, `heap_strides`) and dynamic descriptor slot stride population in `descriptor/host.rs`, plus NVIDIA-valid typed integer lowering (`bufferLoad.i32`/`bufferStore.i32` on `VIEW_INTEGER`/`VIEW_SIGNED`). Initially applying typed integer branching to non-`d16` typed loads caused shader regressions; restricting integer branching to `buffer_load_format_d16_*` and `buffer_store_format_d16_*` restored clean shading while keeping `VICTORY_TRANSLATOR` cache-compatible with `tools/cache-pareto` (`made=0`).
- **19:15–20:30, commit-gate starvation & synchronous bake uploads.** Lowered commit reserves (`has_upload_reserve`: 256 MiB bake / 512 MiB non-bake; `has_growth_reserve`: 256 MiB bake / 1024 MiB speculative bindless; pressure entry 3 GiB RAM / 4 GiB commit, recovery 5 GiB / 6 GiB), scoped 64 MiB staging-block growth gating in `pool.rs` (`REST = 2500 ms`) to speculative bindless only, expanded bake detection (`BAKE_GEOMETRY_SHADERS`, `ahead::drain`, `BAKE_PAGE_WRITTEN`), and routed one-shot ped/decoration bake uploads through a dedicated synchronous host list (`BAKE_UPLOAD` / `execute_sync_internal`) with post-upload descriptor publication (`prepare_bake_slot` / `publish_uploaded_slot`). GPU suite: 335 passed, 34 ignored.
- **20:50–21:10, alias-flood experiment reverted & clean release built.** Propagating aliased view maps/unmaps into `REMAPPED` and widening bake lookahead caused 2–4 GiB bake-pass truncations on frames 1368–1369 (`cap_alias_fix_rel`, median 70.5 ms in diagnostics capture, face-mask/shorts regression) and was reverted. Rebuilt clean release binary `target/release/victory.exe` without the alias flood (SHA-256 `38e99f1b1d6bafda2ff8de74d6566af06bc7e8cab70594d841af01752e501d73`); installation into `Downloads/leonida/victory-3d-rtx-pareto-residency.exe` deferred while user-launched PID 13544 holds the file open.
- **21:30–22:28, transmission prefilter Wave32 recovery, texture-starvation & scene-blinking fixes.** Diagnosed four linked regressions on RTX 5090 (32 GiB RAM): (1) `alphaResolve:CS_AlphTransmissionPrefilterMip_610a2fad` (`2da4beb386509b77`) was dropped under Wave32 `without_early_outs` because `resource::Tracer::descriptor()` and `live()` omitted per-instruction `lanes.guards[b][i]` when pruning dead join edges, leaving transmission buffer `0x17dff443d70` zeroed and causing `ptfx_PS_Transmission_aba1527f` (dual-source blend) and transmissive eye/alpha shaders to output black squares / corrupted blending; fixed in `crates/victory-shader/src/resource.rs` (`VICTORY_WAVE_WIDE` intentionally kept off due to known loop-widening TDR risk). (2) Completed submissions kept `Detached._state` dynamic descriptor slots pinned across `bury_lag()` (`16` submissions) in `host.rs` (`relay_land`, `settle`), exhausting NVIDIA's 262k dynamic slot pool and dropping draws; added `Detached::release_tables()` right on GPU completion plus a `settle_for_fence()` retry in `draw.rs`, and defaulted `VICTORY_INDIRECT_REST=0` in `indirect.rs` so one oversized indirect record does not zero out subsequent draws. (3) Split residency throttling into mild pressure vs. `critical_commit()` (`< 1536 MiB` commit or upload refusal) across `residency.rs`, `texture/ahead.rs`, and `pool.rs` so `VICTORY_UPLOAD_AHEAD`, `64 MiB/frame` prefetch, and one spare staging block stay active under mild 32 GiB pressure instead of stalling tens of thousands of textures on `neutral()`; fixed `descriptor/host.rs` (`prepare_bake_slot`, `publish_uploaded_slot`) and `draw.rs` (`flush_for_bake`) so pending bake slots are never prematurely overwritten with `neutral()` or silently dropped on defer/unmapped pages, and removed false `address=0x0` unordered-SRV warning spam. (4) Scoped `VICTORY_AMBIENT_AIR=1.5` to `pareto-residency` in `Downloads/leonida/Play-VIctory.cmd` to clear milky indoor ambient haze. Verification: `victory-shader` lib suite 281 passed, 0 failed, 4 ignored (including new `a_guarded_access_excludes_dead_lane_edges_at_a_join`); targeted `victory-gpu` suite 20 passed, 0 failed; RTX 5090 `translate --jobs 1 --validate --pipelines` on 154 VFX/particle/eye shaders emitted & validated 43/43 graphics + 96/111 compute pipelines (recovering `CS_AlphTransmissionPrefilterMip`, 0 regressions). Deployed release binary to `Downloads/leonida/victory-3d-rtx-pareto-residency.exe`, SHA-256 `37a410b13fcd5ef4cecfe2c27761b7132af64b00019a07c9256529b96892d7da`.