Defect ledger: drops counted by reason and pipeline in every build #3392
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3392"
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 trustno1-coder/VIctory-NVIDIA. Originally posted by Hyo1d on 2026-11-29T22:44:07Z.
A thank-you from a player: my local build for an RTX 3080 Ti uses a good number of this
repository's commits (the wave64 fold, the dynamic slot work, the card meter, the title watchdog fix, late card
windows). If it is useful, I post about this port on X as @0xdlz: follows welcome.
What it does
Release logs say
dropped N draws ... without a host pipelinewith no reason. This adds a small always-on ledger(
crates/victory-gpu/src/ledger.rs, 158 lines) that counts every dropped draw, dispatch and indirect executionby reason and by pipeline, and prints them on the frame line's interval:
ledger drop per_frame=… total=… objects=… how="…" what=[shader hashes]: one line per reason and pipeline,largest first, plus a line for the reasons not listed.
ledger site: the count behind each warning that is logged only once.No behaviour changes: counters and log lines only. Nothing is read from title memory and no game data is added.
Why it was useful to us
out on purpose, which hid the real ones.
indirect: prepare failedon a handful of pipelinesduring world load (dynamic descriptor slots refused), 0.19 to 12 a frame, and every visual defect a player
reported could be matched to a line without a screenshot.
How it was tested
GPU and profile: RTX 3080 Ti 12 GB, Series S profile, 1280x720 to 1920x1080, DLSS Quality, FSR 3 frame generation 2x, ray tracing off.
Before: one "dropped N" figure with no reason. After: the lines above.
Shader changes: none.
Windows 11, Ryzen 9 9950X3D, RTX 3080 Ti (12 GB), driver 621.40.
cargo check -p victory-gpu: clean.cargo test -p victory-gpu --lib: 915 to 916 of 916 pass over three runs. The failures are not from thischange:
shader_cache::tests::every_switch_of_the_translator_is_in_the_keyfails onmainat716a0c99dtoo("VICTORY_SCALAR_SPLITS is not read by the translator any more"), and one other test fails per run, a different
one each time (
places_written_after_sending_are_learned,host_list_uav_pool_lifecycle…,preload_restart_preserves_paths…); each passes when run alone.cargo clippy -p victory-gpu --all-targets -- -D warningsstops invictory-shaderonmainas well (twounused imports and a loop condition), before reaching this file.
The same ledger has run in every play session of our local build since 2026-11-29 (sessions of 3 to 11 minutes
in the open world).
Findings from the same PC that may help (no code)
one the game is started from leaves the game compiling again. Running
victory preloadfrom the play pathfixed it for us.
v2026.11.29.01hung at start on this PC two times out of three (white window, could not be closed; thelog ends after the XMem lines). The same shaders and library on our older base start every time. We did not
find the cause;
853af252d(known-pipelines book on its own thread) is our untested suspect.nvidia-smi dmon, open world): median 6.0 GB/s into the card (p90 9.3, max12.8) and 1.6 GB/s out, with the card 72 % busy at 248 W. Of 6.7 to 8.7 GB of host copies of title memory,
1.96 GB were on the card. Section 0 of
docs/unified-memory-audit.mdasks for this number.VICTORY_CARD_WINDOWS_MBfrom 1018 to 1536 withVICTORY_CARD_ROOM_FOR_WINDOWS=1made it worseon 12 GB: 12 to 16 fps from about 20, the card's time in the title's lists 42.8 ms a frame from 26.4, bus
traffic unchanged, and 5 GB of texture copies let go in three minutes.
More we can send if wanted
trails), including
ds_add_rtn_u32,ds_wrxchg_rtn_b32,ds_cmpst_rtn_b32,ds_read2st64_b32andds_write2st64_b32. It takes precedence over the exact fold for the programs named inVICTORY_PAIRED_FOR.(
VICTORY_TEXTURE_CARD_RULE), which ended "textures never load" on a 12 GB card with 64 GB of RAM.Checked for overlap
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.