Measured improvements: 2.5 -> 11 fps, 30.8 -> 3 GB, GPU 0 -> 58 ms (with patches) #3859
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 Marvisak/VIctory. Originally posted by Mdemets on 2026-11-29T20:54:00Z.
Measured improvements over the original build (2026-11-29)
Full evidence, commands and corrections: https://github.com/Mdemets/victory-status
(
findings/2026-11-29-world-render.md)0.0)What changed
DirectRun) - consecutive draws whose host state did not change are bound once and replayed with a singleExecuteIndirect, instead of re-runningprepare/bind/tablesper draw (43-50 us -> ~11 us per draw). Patch in the tree asdirectrun-stage1.patch(766 lines, 4 files), behindVICTORY_DIRECT_RUN=1; the default path is unchanged.VICTORY_RELEASE_IDLE_BUFFERS=1) - the runtime kept a full host copy of every drawn title buffer forever (shadow.rssays "some 25 GB in play"); the existing release sweep was off by default. Turning it on took private bytes from 30.8 GB to ~3 GB.0.0 on the GPUwas a CPU-side wait. The timestamp path is#[cfg(feature = "diagnostics")]and additionally needsVICTORY_D3D12_DRED=1; with--profile diag --features diagnostics+VICTORY_GPU_TIMING=1the card reports 41.6-58.2 ms per world frame.What did not work (kept in the record)
slow-pipelines.txt: raised pipelines in flight (395-412 -> 495-517), reverted;VICTORY_INDIRECT_MERGE=1: 92% of executions are structurally unmergeable (binding/pipeline changes between them);vendor=4318 device=10115).Remaining budget of a 97 ms frame
GPU 41.6-58.2 ms, preparing 27.7-29.7 ms (copies 8.6-9.6, textures ~1), copying back 7.1-7.6 ms.
Stage 2 (indexed draws, root-constant-only changes, mesh dispatches admitted to the same grouping) is in progress.
Measured on an i9-14900KF / 32 GB / RTX 4070 SUPER, Xbox Series package 1.0.2.1, runs capped at 600 s.