README: say VICTORY_GPU_TIMING's times are the mode's, not a normal frame's (FIND-29) #2932

Open
Jackster wants to merge 1 commit from upstream-pr/2934 into main
Jackster commented 2026-11-26 00:32:25 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Jackster on 2026-11-26T00:32:25Z.


FIND-29: VICTORY_GPU_TIMING cannot give absolute GPU times. With it on, each list of a submission is submitted and waited for on its own, so the same menu frame goes from about 33 ms to 550-600 ms — the ranking it produces still points at the right draws, but its milliseconds are that mode's, not the GPU's. Nothing said so beside the switch.

Change

One row of the diagnostics table in README.md: after the existing description, it now says the times belong to this mode and should be compared with each other, not with frame times measured without the switch. No code changes.

What was deliberately left alone

  • No machine-specific numbers. "(a 33 ms menu frame about 550-600 ms)" was one scene on one machine; "a frame takes many times longer" carries the point and does not age.
  • No claim about markers. The per-command notes need VICTORY_D3D12_DRED=1; without it the timing reports commands=0. Saying so is PR #1703's change, on this same row, so it is not duplicated here.
  • "with the above" is untouched for the same reason: the row above is VICTORY_SKIP_PIPELINES, not DRED, and fixing that is also #1703.

Conflict note

#1703, #1723 and #1735 all edit this same row. #1703 changes only its opening (the DRED qualification), so this text should rebase onto it cleanly; #1735 would replace the row with a different design (a timestamp around every command, aggregated per pipeline) and would make this caveat moot — worth deciding the landing order rather than merging all four as they stand.

Verified

  • Diff is one line in README.md, nothing else.
  • Based on upstream/main 63bcca4 (nothing moved under it).
  • cargo xtask policy: 191 files ok.
  • No game files; no title data.

Claimed in #1633: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7178858779

AI-assisted (drafted with an AI coding agent).

<!-- greyfinch-sync:Marvisak/VIctory:issue:6616722633 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2934). Originally posted by [Jackster](https://github.com/Jackster) on 2026-11-26T00:32:25Z. --- FIND-29: `VICTORY_GPU_TIMING` cannot give absolute GPU times. With it on, each list of a submission is submitted and waited for on its own, so the same menu frame goes from about 33 ms to 550-600 ms — the ranking it produces still points at the right draws, but its milliseconds are that mode's, not the GPU's. Nothing said so beside the switch. ### Change One row of the diagnostics table in `README.md`: after the existing description, it now says the times belong to this mode and should be compared with each other, not with frame times measured without the switch. No code changes. ### What was deliberately left alone * **No machine-specific numbers.** "(a 33 ms menu frame about 550-600 ms)" was one scene on one machine; "a frame takes many times longer" carries the point and does not age. * **No claim about markers.** The per-command notes need `VICTORY_D3D12_DRED=1`; without it the timing reports `commands=0`. Saying so is PR #1703's change, on this same row, so it is not duplicated here. * **`"with the above"` is untouched** for the same reason: the row above is `VICTORY_SKIP_PIPELINES`, not DRED, and fixing that is also #1703. ### Conflict note #1703, #1723 and #1735 all edit this same row. #1703 changes only its opening (the DRED qualification), so this text should rebase onto it cleanly; #1735 would replace the row with a different design (a timestamp around every command, aggregated per pipeline) and would make this caveat moot — worth deciding the landing order rather than merging all four as they stand. ### Verified * Diff is one line in `README.md`, nothing else. * Based on `upstream/main` `63bcca4` (nothing moved under it). * `cargo xtask policy`: 191 files ok. * No game files; no title data. Claimed in #1633: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7178858779 AI-assisted (drafted with an AI coding agent).
fuzeofficlal commented 2026-11-26 01:04:10 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-26T00:41:27Z.


Verified head 1099ad10ca94 merged cleanly onto main (63bcca43c6a0):

  • Checked against crates/victory-gpu/src/host.rs:1256-1315: when VICTORY_GPU_TIMING=1 (timing()) is enabled, submission splits command lists into single-list groups and runs ExecuteCommandLists -> Signal -> SetEventOnCompletion -> WaitForSingleObject(INFINITE) per list, draining the GPU between lists. The updated README.md wording accurately clarifies that reported times reflect this serialized mode rather than normal batched frames.
  • cargo xtask policy (191 files ok) and cargo test --locked -p xtask -- repository_passes_policy (1/1) pass.
  • Note for maintainers: #2927 also documents VICTORY_GPU_TIMING overhead in README.md, so only one of the two wording edits will be needed.

Looks accurate and clean.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7179016219 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2934#issuecomment-7179016219). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-26T00:41:27Z. --- Verified head `1099ad10ca94` merged cleanly onto `main` (`63bcca43c6a0`): - Checked against `crates/victory-gpu/src/host.rs:1256-1315`: when `VICTORY_GPU_TIMING=1` (`timing()`) is enabled, submission splits command lists into single-list groups and runs `ExecuteCommandLists` -> `Signal` -> `SetEventOnCompletion` -> `WaitForSingleObject(INFINITE)` per list, draining the GPU between lists. The updated `README.md` wording accurately clarifies that reported times reflect this serialized mode rather than normal batched frames. - `cargo xtask policy` (`191 files ok`) and `cargo test --locked -p xtask -- repository_passes_policy` (1/1) pass. - Note for maintainers: `#2927` also documents `VICTORY_GPU_TIMING` overhead in `README.md`, so only one of the two wording edits will be needed. Looks accurate and clean.
kotekompotek commented 2026-11-26 01:04:17 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-26T00:53:22Z.


Correct and worth saying in the doc. VICTORY_GPU_TIMING serialises each list with its own submit+wait, so the numbers it prints are per-list wall times of that mode — the 33 ms → 550-600 ms frame inflation is the expected signature. Ranking draws/lists against each other remains valid; comparing against an uninstrumented frame does not. LGTM.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7179215332 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2934#issuecomment-7179215332). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-26T00:53:22Z. --- Correct and worth saying in the doc. `VICTORY_GPU_TIMING` serialises each list with its own submit+wait, so the numbers it prints are per-list wall times of that mode — the 33 ms → 550-600 ms frame inflation is the expected signature. Ranking draws/lists against each other remains valid; comparing against an uninstrumented frame does not. LGTM.
Marvisak commented 2026-11-26 05:04:10 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-26T04:25:57Z.


Automated triage for the maintainers.

Proposed close. No value: README fiddling. This lengthens the VICTORY_GPU_TIMING row in README.md to say its times belong to the timing mode. The row already says each list of a submission is "run and timed on its own", which is why those times differ from normal frames; the added sentences repeat that and make a table cell that should stay short much longer.

CI: passing.

This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the triage: proposed close label.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7182589824 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2934#issuecomment-7182589824). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-26T04:25:57Z. --- <!-- victory-triage v1 head=1099ad10ca94e6a9da7098b3931e2da30663e335 verdict=proposed-close at=2026-11-26T04:25:51Z --> Automated triage for the maintainers. **Proposed close.** **No value: README fiddling.** This lengthens the `VICTORY_GPU_TIMING` row in `README.md` to say its times belong to the timing mode. The row already says each list of a submission is "run and timed on its own", which is why those times differ from normal frames; the added sentences repeat that and make a table cell that should stay short much longer. CI: passing. This PR will be closed in 48 hours unless the author pushes a change or a maintainer removes the `triage: proposed close` label. --- _Generated by [Claude Code](https://claude.ai/code)_
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2934:upstream-pr/2934'
git switch 'upstream-pr/2934'

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.

git switch 'main'
git merge --no-ff 'upstream-pr/2934'
git switch 'upstream-pr/2934'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2934'
git switch 'upstream-pr/2934'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2934'
git switch 'main'
git merge --squash 'upstream-pr/2934'
git switch 'main'
git merge --ff-only 'upstream-pr/2934'
git switch 'main'
git merge 'upstream-pr/2934'
git push origin 'main'
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!2932
No description provided.