Diagnostics: validate process-scoped PresentMon display captures #1402

Closed
spk-c wants to merge 4 commits from upstream-pr/1402 into main
spk-c commented 2026-11-26 23:28:09 +00:00 (Migrated from github.com)

Imported from fxceless/victory-fork. Originally posted by spk-c on 2026-11-26T23:28:09Z.


AI-assisted. Independently ported from spk-c/victory-fork#36 onto upstream 4c604661.

Motivation

CPU present-call counts are not necessarily displayed frames. This offline PowerShell validator checks completed PresentMon 2.x captures against launcher metadata, process/swapchain identity, world batches, telemetry continuity, title errors, and optional warm-pipeline/compiler isolation. It computes nearest-rank percentiles and reciprocal slow-tail means, explicitly leaves scene matching unproven, and rejects invalid or contaminated samples.

Complementary to #1302: this validates external display captures, not in-process traversal counters. No runtime changes, dependencies, title assets or raw gameplay logs.

Validation

All 13 synthetic regression cases passed locally on the new upstream-based commit; git diff --check passed. Adds the offline regression to Windows CI. No gameplay speedup is claimed.

CI baseline repair

The upstream 512 KiB asset-policy failure on main (#1342) is addressed in this branch by including the existing maintainer patch #1357 (original commit 450ed9bd, attribution preserved). No policy limit or security check was changed. The identical combined commit 0292e99f passed the full Windows CI in our fork, including Clippy in both configurations, workspace/asset-policy tests and serial GPU tests: https://github.com/spk-c/victory-fork/actions/runs/45912153070. The direct upstream check is being rerun on this head. The #1357 changes are a shared dependency, not part of this feature; they will disappear from the diff when that commit is merged upstream normally. Hardware/gameplay retesting is not implied by this CI result.

<!-- greyfinch-sync:fxceless/victory-fork:issue:5518539736 --> Imported from [fxceless/victory-fork](https://github.com/fxceless/victory-fork/pull/1402). Originally posted by [spk-c](https://github.com/spk-c) on 2026-11-26T23:28:09Z. --- AI-assisted. Independently ported from spk-c/victory-fork#36 onto upstream 4c604661. ## Motivation CPU present-call counts are not necessarily displayed frames. This offline PowerShell validator checks completed PresentMon 2.x captures against launcher metadata, process/swapchain identity, world batches, telemetry continuity, title errors, and optional warm-pipeline/compiler isolation. It computes nearest-rank percentiles and reciprocal slow-tail means, explicitly leaves scene matching unproven, and rejects invalid or contaminated samples. Complementary to #1302: this validates external display captures, not in-process traversal counters. No runtime changes, dependencies, title assets or raw gameplay logs. ## Validation All 13 synthetic regression cases passed locally on the new upstream-based commit; git diff --check passed. Adds the offline regression to Windows CI. No gameplay speedup is claimed. ## CI baseline repair The upstream 512 KiB asset-policy failure on main (#1342) is addressed in this branch by including the existing maintainer patch #1357 (original commit `450ed9bd`, attribution preserved). No policy limit or security check was changed. The identical combined commit `0292e99f` passed the full Windows CI in our fork, including Clippy in both configurations, workspace/asset-policy tests and serial GPU tests: https://github.com/spk-c/victory-fork/actions/runs/45912153070. The direct upstream check is being rerun on this head. The #1357 changes are a shared dependency, not part of this feature; they will disappear from the diff when that commit is merged upstream normally. Hardware/gameplay retesting is not implied by this CI result.

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
fxceless/victory-fork!1402
No description provided.