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(fg): separate full sixfold GPU costs from seed groups

Veyra Goal Agentd712d437df7c
diff --git a/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md b/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md
index 604b10a0..f9b39a67 100644
--- a/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md
+++ b/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md
@@ -1,5 +1,21 @@
# FG cadence: partial acceptance, fixed 6X still open
+## Full-group cost follow-up
+
+Matched GPU stages by complete input identity, excluding seed-only groups.
+fence-fixed6 full-group mean: NR6.424ms, flow0.992ms, FG9.747ms; five FG
+Evaluate intervals account for9.661ms of that batch. The remaining0.087ms
+is between-evaluation elapsed time, not the whole pipeline overhead.
+Do not infer runtime-internal engine utilization from queue timestamps.
+
+Disabling redundant command-slot timestamps for one bounded experiment
+gave291.568 submissions/s versus288.946 in the subsequent control, but
+73/76 gaps over10ms remain in5.320/5.347s retained windows. Both runs keep
+fixed6, NR,4K, real PTS, graph timestamps and interpolation validity checks.
+The test hook was removed; no performance claim or fix promoted. Analyzer
+now reports full6GpuCosts separately from warmup/seed samples. See WORKLOG
+for commands and artifacts. Fixed6 acceptance remains open.
+
## Latest continuation: seed on rejected input
Rejected full groups may now perform one affordable reset evaluation on the
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index d796264e..26adbd35 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -1,5 +1,34 @@
# Veyra 工作记录
+## 2026-09-20 Full-group costs and redundant timestamp experiment
+
+Extended analyze-fg-cadence.py with same-session/revision/epoch/source GPU
+group matching. Seed-only records are excluded from full6 costs. Small
+Python assertions passed for complete groups, epoch isolation and incomplete
+groups. Historical fence-fixed6:243 full groups, FG batch mean9.7472ms,
+sum of five Evaluate intervals9.6606ms, between-call remainder0.0866ms.
+This excludes the final status copy and is not hardware utilization.
+
+Temporarily bypassed CommandSlotRing's redundant timestamps via process-only
+VEYRA_TEST_NO_SLOT_TIMESTAMPS, retaining graph stage timestamps, fences and
+per-output interpolation status. Built sustained harness using
+scripts/build-isolated.ps1 with build/slider-reset-20260919 and its cache,
+TEMP/TMP=tmp/fg-cadence-repair-20260920, DisplayVersion1.4.3.
+Sequential run-short-test.ps1 tests no-slot-timing6 / slot-timing-control6
+each30s, watchdog95s, p001.mp4, NR on, file-4k, fixed6, trace subframes;
+minimumTargetRatio0 means lifecycle only. Both exited0. Retained results:
+291.568/288.946 submissions/s, max gaps16.921/16.754ms,73/76 gaps over10ms,
+all with16.667ms media steps. Full FG mean9.591/9.729ms; inter-call mean
+0.051/0.067ms. A single pair does not establish a repeatable speedup, and
+neither passes fixed6 cadence. Removed the entire test hook with apply_patch.
+
+Evidence: E:/项目/Veyra/tests/fg-cadence-repair-20260920/{no-slot-timing6,
+slot-timing-control6,fence-fixed6-costs.json}, corresponding JSON/logs.
+Build logs: E:/项目/Veyra/logs/fg-cadence-repair-20260920/slot-timing-build.log
+and slot-timing-restore-build.log. No runtime changes, package or publication.
+The analyzer is the only retained code change; product scheduling is unchanged.
+Fixed6 remains open. Automatic lower multipliers are not its acceptance.
+
## Independent FG queue experiment (rejected)
After checkpoint1b955b5, tested an explicit file-preview-only independent
diff --git a/scripts/acceptance/analyze-fg-cadence.py b/scripts/acceptance/analyze-fg-cadence.py
index 570e2f1b..79b9dd33 100644
--- a/scripts/acceptance/analyze-fg-cadence.py
+++ b/scripts/acceptance/analyze-fg-cadence.py
@@ -71,6 +71,27 @@ def analyze(path):
}
+def gpu_group_costs(events):
+ # Match stages from the same input and epoch; seed evaluations must not
+ # dilute the full five-call cost. Blit repeats per output and is excluded.
+ frames = {}
+ for event in events:
+ if event["event"] != "Gpu" or int(event["detail"]) == 11:
+ continue
+ 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))]
+ 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]),
+ "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)},
+ }
+
+
def analyze_trace(path):
events = [dict(re.findall(r"(\w+)=([^ ]+)", line)) for line in
path.read_text(encoding="utf-8", errors="replace").splitlines() if line.startswith("event=")]
@@ -136,6 +157,7 @@ def analyze_trace(path):
"onlyRealRejectedBatches": rejected, "onlyRealWarmupBatches": warmup,
"batchTransitions": transitions,
"discardedSubframes": discard_summary,
+ "full6GpuCosts": gpu_group_costs(events),
"presentCpuMs": distribution([float(p["ms"]) for p in presents]),
"longestGaps": sorted(gaps, key=lambda g: g["intervalMs"], reverse=True)[:12],
"longGapMediaStepsMs": distribution([g["mediaStepMs"] for g in gaps if g["intervalMs"] > 10]),