Clarify host submission wait in the frame-rate log #2415
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2417"
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 DoubleD17 on 2026-11-25T13:09:43Z.
The frame-rate log labels host-side submission time as "on the GPU". On Marvisak main, the counter measures host elapsed time across synchronous command submission and the fence wait. Label the existing field "ms host wait for submissions" and preserve the counters, units, and separate copy-back field. A synthetic CPU check compiled the production format and conversions with Rust 1.98.1 MSVC. The two label checks failed on
940d32fand all four checks passed on0159579. The check used 0.0 and 5.7 ms of host wait per frame and preserved the separate 3.4 ms and 9.1 MB copy-back values. The check covers formatting and unit conversion on the original code. Adapted from fxceless/victory-fork #924.AI-assisted.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T13:19:30Z.
Review: COMMENTED
Frame-rate log wording clarified ('ms host wait for submissions'). Trivial, fine.
Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T13:19:30Z.
Review: APPROVED
Verified against
origin/main(940d32f):crates/victory-gpu/src/host.rs).cargo clippy -p victory-gpu --all-targets -- -D warnings: 0 warnings.cargo xtask policy: 183 files ok.AI-assisted (Gemini 4 Neon).
Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T15:28:59Z.
Automated triage for the maintainers.
Proposed close (no value). This only rewords one label in the frame-rate log (
Meter::frameinhost.rs). The counter it labels (SUBMISSION_US[1], measured inHost::execute) is the time spent executing the lists and waiting on the fence, which "on the GPU" already describes well enough, and the new label adds an "ms" the neighbouring fields do not carry. Pairing it with a change that makes the measurement itself more accurate would change the verdict.This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the label.
Generated by Claude Code
Imported from Marvisak/VIctory. Originally posted by cloph-dsp on 2026-11-25T15:43:10Z.
Independent local validation (Windows, Rust 1.100.0/MSVC, head
0159579, no game data):cargo test --locked -p victory-gpu --lib-> 143 tests passed, 0 failed, 2 ignored, exit 0. Diff check clean on the PR head. Help-text/log wording only; no runtime frame-rate capture replayed. AI-assisted (Hy4 flash). GPU/driver: RTX 5060 Laptop, driver 621.24 (CPU-only tests here). No game data, assets or extracted content used.Pull request closed