Card meter: the whole table by pipeline in a file (VICTORY_CARD_METER_FILE), not only the largest 48 in the log #1180
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1183"
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 fxceless/victory-fork. Originally posted by wildheathen on 2026-11-25T23:07:37Z.
With
VICTORY_CARD_METER_PIPELINES=1the card meter logs, every 256 frames, the 48 pipelines that took the most of the card's time. In the world that is a little over half of it: in one run on an RTX 5080 the 48 covered 61% of 69 ms a frame, and the other 39% (about 1,500 pipelines) could not be attributed from the log.VICTORY_CARD_METER_FILE=<path>writes the whole table to a file at each of those moments: one tab-separated line per pipeline with the window's number, its frames, the total of all pipelines, and this pipeline's ms per frame, bindings per frame, microseconds per binding and name. A header line goes first when the file is empty.OnceLockread every 256 frames.crates/victory-gpu/src/cardmeter.rs, +69 lines, one test for the line's format.What it gave
Two world runs of 8 minutes on an RTX 5080 (one on
ca8829fplus local changes outside this file, one on9c184b3):translate --listprints, the card's 71 ms a frame split into compute 40.9 ms (817 pipelines), mesh and pixel 23.6 ms (1,314 bindings a frame), vertex and pixel 4.8 ms, the rest 1.8 ms. Half of the time is in about 27 pipelines; 90% takes 334.Checks
cargo test -p victory-gpu --features diagnostics --lib cardmeter: 3 passed.cargo clippy -p victory-gpu --features diagnostics --lib -- -D warningsstops at the warningsmainalready has indraw.rs,shadow.rs,watch.rs,fpsbox.rs,queue.rsandpipeline/library.rs; none is incardmeter.rs.6d20eed. #977 and #902 also touch the card meter (keeping timestamp pairs, skipping timestamps when logging is off); both changecardmeter.rstoo. This does not depend on either; I have not merged it with them, so a textual conflict is possible.Windows 11, RTX 5080. No game data included.
Imported from fxceless/victory-fork. Originally posted by wildheathen on 2026-11-29T09:32:26Z.
Closing this: main now carries VIctory-NVIDIA's tree (
368967f), so this branch no longer applies. VIctory-NVIDIA already prints the card meter in every build (trustno1-coder/VIctory-NVIDIA#1626); if the full per-pipeline table in a file is still missing there, I'll propose it on VIctory-NVIDIA.Pull request closed