Skip to content

Bring PS5 GTA6 to 120FPS with DLSS 5. An advanced Windows video player and capture enhancement tool featuring real-time preview for videos, images, and capture card sources. Combine AI-powered Super Resolution, DLSS5 image enhancement, and Frame Generation to deliver a next-generation visual experience.

C++

diagnostics: quantify same-input fixed6 serial service budget

Veyra Goal Agent5090ddf65929
diff --git a/docs/FG_NON_NR_EXPERIMENTS_2026-09-20.md b/docs/FG_NON_NR_EXPERIMENTS_2026-09-20.md
index 5de2a49d..b46b537e 100644
--- a/docs/FG_NON_NR_EXPERIMENTS_2026-09-20.md
+++ b/docs/FG_NON_NR_EXPERIMENTS_2026-09-20.md
@@ -63,6 +63,33 @@ No product change retained. This does not rule out other optical-flow work.
## Current conclusion
+### Same-input serial work audit
+
+Reanalyzed existing retained traces; no new GPU run or product change.
+The analyzer now sums Color + Flow + NR + Residual + FgBatch for the SAME
+input, including measured SR/HDR if present, never adding nested Fg1..5
+again. This configuration has SR bypassed and HDR off. Missing base stages
+exclude a sample. These sums omit uninstrumented gaps and presentation;
+they are not end-to-end latency or a limit on a future concurrent design.
+
+| Baseline | Full groups | Mean / P95 stage sum ms | Groups over 16.667ms |
+| --- | ---: | --- | ---: |
+| restored-normal6 | 248 | 17.7113 / 18.5745 | 237 |
+| paired-control6b | 251 | 17.5221 / 18.3311 | 226 |
+
+In restored-normal6, FG evaluations average9.7288ms and their inter-call
+gaps total0.0830ms. Eliminating those gaps alone cannot cover the measured
+1.04ms average stage-budget deficit, even before omitted costs. The current
+serial path has measured throughput pressure; admission overestimation alone
+is not an adequate explanation. This does NOT prove hardware saturation or
+exclude better dependencies/provider execution. Prior naive queue splits
+remain failed experiments, not a solution. NR stays unchanged.
+
+Evidence: adjacent restored-normal6-cost-audit.json and
+paired-control6b-cost-audit.json in tests/fg-cadence-repair-20260920.
+Synthetic analyzer checks passed: nested FG timing is counted once, and
+missing NR samples are excluded. Fixed6 acceptance remains open.
+
These three experiments did not establish a cadence fix. Product code is
restored to7a3dfae. Its explicit multiplier selection and safe per-subframe
status readback remain. Fixed6 still fails the342/s and no-source-period-hole
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index cabd347d..99a56ca2 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -1,5 +1,23 @@
# Veyra 工作记录
+## 2026-09-20 Non-NR serial service-budget audit
+
+No product changes or new GPU runs. Extended
+scripts/acceptance/analyze-fg-cadence.py to pair measured stage costs by
+session/revision/epoch/source, count FgBatch once, and exclude incomplete
+NR-on base samples. Reanalyzed restored-normal6 and paired-control6b with
+`python scripts/acceptance/analyze-fg-cadence.py <trace> --trace --output <json>`.
+Outputs: E:/项目/Veyra/tests/fg-cadence-repair-20260920/
+{restored-normal6,paired-control6b}-cost-audit.json.
+Mean paired stage sums17.7113/17.5221ms exceed60Hz budget;237/248 and226/251
+groups exceed16.667ms. Existing serial throughput pressure is measured,
+not merely inferred from rejected groups. Not hardware saturation proof.
+Synthetic `python -B -c` analyzer checks passed for nested-FG double-count
+prevention and missing-NR exclusion. Full details and next-direction
+constraints: docs/FG_NON_NR_EXPERIMENTS_2026-09-20.md.
+No build needed for offline Python/doc changes; no NR edits, delay,
+downshift, runtime changes, package or release. Goal remains active.
+
## 2026-09-20 Fixed6 existing NR-policy diagnostic controls
Corrected the preceding proposal: NrSizePolicy and the settings UI already
diff --git a/scripts/acceptance/analyze-fg-cadence.py b/scripts/acceptance/analyze-fg-cadence.py
index 79b9dd33..0dde6494 100644
--- a/scripts/acceptance/analyze-fg-cadence.py
+++ b/scripts/acceptance/analyze-fg-cadence.py
@@ -81,12 +81,20 @@ def gpu_group_costs(events):
key = tuple(event[field] for field in ("session", "revision", "epoch", "source"))
frames.setdefault(key, {})[int(event["detail"])] = float(event["ms"])
full = [stages for stages in frames.values() if all(i in stages for i in range(5, 11))]
+ # Require every active base stage of the NR-on diagnostic configuration.
+ # Add FgBatch once: Fg1..5 are nested inside it, not additional work.
+ paired = [s for s in full if all(i in s for i in (0, 2, 3, 4))]
+ stage_totals = [sum(s[i] for i in (0, 2, 3, 4, 10)) +
+ s.get(1, 0) + s.get(12, 0) for s in paired]
return {
"scope": "Same-input full five-evaluation groups only; batch includes inter-call gaps, excludes final status copy; not GPU utilization",
"full6Groups": len(full),
"evaluateSumMs": distribution([sum(s[i] for i in range(5, 10)) for s in full]),
"batchMs": distribution([s[10] for s in full]),
"betweenEvaluationsMs": distribution([s[10] - sum(s[i] for i in range(5, 10)) for s in full]),
+ "pairedNrOnStageTotalMs": distribution(stage_totals),
+ "pairedNrOnGroupsOver60HzBudget": sum(ms > 1000 / 60 for ms in stage_totals),
+ "stageTotalScope": "Same-input measured stage sum on the current serial graph; excludes uninstrumented gaps and presentation. Missing SR/HDR assumed inactive only for this diagnostic configuration. Not end-to-end latency or a general concurrency limit.",
"stagesMs": {str(i): distribution([s[i] for s in full if i in s])
for i in (0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 12)},
}