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

Closed
DoubleD17 wants to merge 1 commit from upstream-pr/2417 into main
DoubleD17 commented 2026-11-25 13:09:43 +00:00 (Migrated from github.com)

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 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.

<!-- greyfinch-sync:Marvisak/VIctory:issue:6605228518 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2417). Originally posted by [DoubleD17](https://github.com/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 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](https://github.com/fxceless/victory-fork/pull/924). AI-assisted.
catminou4 commented 2026-11-25 14:06:49 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:Marvisak/VIctory:review:6058346434 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2417#pullrequestreview-6058346434). Originally posted by [catminou4](https://github.com/catminou4) on 2026-11-25T13:19:30Z. **Review:** COMMENTED --- Frame-rate log wording clarified ('ms host wait for submissions'). Trivial, fine.
DenRakEiw commented 2026-11-25 14:06:49 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by DenRakEiw on 2026-11-25T13:19:30Z.

Review: APPROVED


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).

<!-- greyfinch-sync:Marvisak/VIctory:review:6058346449 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2417#pullrequestreview-6058346449). Originally posted by [DenRakEiw](https://github.com/DenRakEiw) on 2026-11-25T13:19:30Z. **Review:** APPROVED --- 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).
upstream-sync closed this pull request 2026-11-25 16:08:07 +00:00
Marvisak commented 2026-11-25 16:09:13 +00:00 (Migrated from github.com)

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::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

<!-- greyfinch-sync:Marvisak/VIctory:comment:7166911455 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2417#issuecomment-7166911455). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T15:28:59Z. --- <!-- victory-triage v1 head=015957934923b0ba7dee2cc5c2a454661b8fc706 verdict=proposed-close at=2026-11-25T15:30:00Z --> 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](https://claude.ai/code)_
cloph-dsp commented 2026-11-25 16:09:18 +00:00 (Migrated from github.com)

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.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7167273131 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2417#issuecomment-7167273131). Originally posted by [cloph-dsp](https://github.com/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

Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!2415
No description provided.