Skip to content

Clarify host submission wait in the frame-rate log - #2417

Closed
DoubleD17 wants to merge 1 commit into
Marvisak:mainfrom
DoubleD17:port/fxceless-924
Closed

DoubleD17 wants to merge 1 commit into
Marvisak:mainfrom
DoubleD17:port/fxceless-924

Conversation

@DoubleD17

Copy link
Copy Markdown
Contributor

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 940d32f and all four checks passed on 0159579. 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.

@catminou4 catminou4 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Frame-rate log wording clarified ('ms host wait for submissions'). Trivial, fine.

@DenRakEiw DenRakEiw left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verified against origin/main (940d32f):

  • Clearer host submission wait wording in the frame-rate log (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).

Airamek added a commit to Airamek/VIctory that referenced this pull request Nov 25, 2026
Airamek added a commit to Airamek/VIctory that referenced this pull request Nov 25, 2026

Copy link
Copy Markdown
Owner

Automated triage for the maintainers.

Proposed close (no value). This only rewords one label in the frame-rate log (Meter::frame in host.rs). The counter it labels (SUBMISSION_US[1], measured in Host::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

@cloph-dsp

Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants