Water light on, PS4 pads, F1 menu saves at once, long-session memory, memory switches
Rendering and memory (GPL-3.0 code ported in; credits in the source): - Water: 64-lane compute programs on 32-lane waves keep each wave together through loops and set up shared memory from the first thread, so the water's tiled light no longer leaves dark blocks. It runs by default now (VICTORY_WATER_LIGHT=0 leaves it out; an empty value, an earlier version's saved OFF, runs it). Also cloud tiles and the screen probes' ray activation. - Placed views: their padding cleared as before; folding a buffer view's first element into its address is VICTORY_PLACED_FOLD=1, off: with it on, clothing and caps swapped to other variants for single frames in the boat cutscene. - Texture sweep: textures whose copy was let go leave the looks until used again. Static samplers made first, in one order. Small buffers made ahead of the first 3D frame. - play mode: VICTORY_TEXSPK_PASS_MS=8, VICTORY_PASSES_HOT=1, VICTORY_HELPER_PRIORITY=1. - Memory switches, all off: VICTORY_SLOT_EVICT, VICTORY_ALLOCATOR_TRIM, VICTORY_BUDGET_PACK (and VICTORY_LIST_POOL_IDLE_S). Input: DualShock 4 (0x05C4, 0x09CC, 0x0BA0 adapter) read over HID, USB and Bluetooth, beside the DualSense; PlayStation pads rumble, and stop when the game ends (issue #352). F1 menu: every change is saved at once; it saves to victory-settings.txt in VICTORY_HOME or %LOCALAPPDATA%\victory however the game was started (no more "NO SETTINGS FILE"). Warm-up start: its 30 s count from the first frame of 100 draws or more, not from the start: waiting at the title screen restarted it too early and the next run still sat at 14 fps. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
df2daafeb1
commit
64d4931b3d
44 files changed
+4664
-952
No files matched your search
+2
-2
@@ -15,5 +15,5 @@
|
||||
- **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`.
|
||||
- **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/game/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/game/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/game/victory-3d-rtx-pareto-residency.exe`, SHA-256 `37a410b13fcd5ef4cecfe2c27761b7132af64b00019a07c9256529b96892d7da`.
|
||||
Reference in new issue
Block a user