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

test: distinguish fixed 6x workload limits from cadence acceptance

Veyra Goal Agent93da01cf0ef6
diff --git a/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md b/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md
index f9b39a67..424d0075 100644
--- a/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md
+++ b/docs/FG_CADENCE_REPAIR_ACCEPTANCE_2026-09-20.md
@@ -1,5 +1,34 @@
# FG cadence: partial acceptance, fixed 6X still open
+## Fixed6 workload controls
+
+Two30s diagnostic tests select EXISTING NR900/720 policies, keeping
+fixed6 and4K FG/output. These change NR/flow resolution and are not the
+requested original-quality acceptance. No defaults or product code changed.
+
+| NR policy | Retained seconds | Submissions/s | P99 / max gap ms | Gaps over10ms | Expired subframes |
+| --- | ---: | ---: | ---: | ---: | ---: |
+| 900p | 4.945 | 319.299 | 15.361 / 15.816 | 37 | 17 |
+| 720p | 4.564 | 353.874 | 3.993 / 4.559 | 0 | 28 |
+
+900p's >=95% throughput assertion fails;720p passes that assertion but
+still drops individual generated outputs. Neither result establishes
+physical display smoothness or fixes NR1080+4K+6X. Evidence folders:
+nr900-fixed6 / nr720-fixed6 under the existing task test root. See WORKLOG
+for commands and GPU costs. The proposed new NR performance UI is redundant
+with existing options and has not been implemented.
+
+## XeSS subframe evidence
+
+Existing fence-xess4 provider-hook logs include all Present returns across
+burst boundaries. After excluding10 seconds from the first window,19
+windows cover4560 intervals:mean4.166579ms,max6.909ms. No recurrent16ms
+DLSS-style hole appears in those steady4X records. The first startup window
+has max159.027ms and is not accepted as smooth. This evidence is stronger
+than SDK FPS alone but still not physical scanout, not a6X result, and not
+proof for other GPUs or user workloads. XeSS2X's earlier counter test does
+not provide the same hooked-subframe measurement.
+
## Full-group cost follow-up
Matched GPU stages by complete input identity, excluding seed-only groups.
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index 26adbd35..4f485353 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -1,5 +1,74 @@
# Veyra 工作记录
+## 2026-09-20 Fixed6 existing NR-policy diagnostic controls
+
+Corrected the preceding proposal: NrSizePolicy and the settings UI already
+offer explicit 900p/720p policies. No new performance mode is needed or
+implemented. The pending optional question is not authorization to lower
+the product default. Added test-only file-4k-nr900 / file-4k-nr720 profiles
+to FgSustainedTests, selecting those existing policies without saving user
+settings. Original fixed-quality acceptance remains unchanged.
+
+Built veyra_fg_sustained_tests via scripts/build-isolated.ps1, existing
+build/slider-reset-20260919 cache, DisplayVersion1.4.3, process TEMP/TMP
+under tmp/fg-cadence-repair-20260920. Sequential run-short-test.ps1 runs
+nr900-fixed6 and nr720-fixed6: p001.mp4, fixed6, NR+SR settings on, 4K
+target, 30s each, watchdog95s, minimumTargetRatio .95. Trace subframes and
+fixed multiplier environment flags enabled. Source is already4K; SR does
+not execute. Engine logs verify nr/flow1600x900 and1280x720, respectively,
+while FG/output remain3840x2160. These are workload/quality controls, not
+same-quality optimizations; no visual-quality acceptance is claimed.
+
+900p: lifecycle passes, throughput assertion fails (exit1), late sample
+mean320.375/s. Retained4.945s trace:319.299/s, P99/max15.361/15.816ms,
+37 rejected real-only groups and37 gaps over10ms;17 expired subframes.
+720p: lifecycle and throughput assertion pass (exit0), late sample mean
+354.5/s. Retained4.564s trace:353.874/s, P99/max3.993/4.559ms, no
+real-only groups, no gaps over10ms, but28 expired subframes. Full-group
+NR mean5.019/3.608ms; FG batch9.902/9.834ms. This supports workload
+sensitivity, not a claim that every6X defect is hardware-limited or solved.
+
+Inspected SDK310.7 DLSSG headers: no quality/performance preset exposed
+in the inspected create/evaluate contracts. VideoPresenter already uses
+an independent presentation queue/fence for DLSS; same-queue blit blockage
+is not an explanation for these runs. No production scheduling changes.
+
+Evidence root E:/项目/Veyra/tests/fg-cadence-repair-20260920, run folders,
+stdout/stderr and JSON produced by scripts/acceptance/analyze-fg-cadence.py.
+Build logs in E:/项目/Veyra/logs/fg-cadence-repair-20260920/
+nr900-diagnostic-build.log and nr720-diagnostic-build.log. No publication,
+package, or shutdown. Original NR1080+4K+fixed6 acceptance stays open.
+
+## 2026-09-20 Upstream MFG contract and XeSS cadence review
+
+Read GitHub API experimental commit and raw DLSSFrameGenerator.cpp from
+SAOG0721/Magpie at3841698348bfb246623d4acf791984c8b68a577b. Its loop also
+uses generatedFrameCount/index per evaluation, one backbuffer identity per
+real input and one reset evaluation on warmup. It caps its exposed multiplier
+at4; it is not a reference proving6X performance. No upstream code copied.
+The local SDK310.7 contract matches Veyra's count/index/frame-ID usage; no
+documented one-call replacement was found in the inspected sources.
+
+Inspected existing fence-xess4/engine.log's xess-present-gaps records rather
+than treating SDK FPS alone as cadence evidence. Excluding10 seconds from
+the first window timestamp leaves19 windows of240 intervals:4560 hooked
+Present-return gaps, mean4.166579ms, largest recorded gap6.909ms. These
+include burst boundaries, unlike the inBurstGaps statistic. First startup
+window mean8.443ms/max159.027ms; startup is not claimed smooth. Steady file
+4X does not reproduce DLSS fixed6's recurrent16ms holes in this local run.
+Neither this hook nor SDK FPS measures physical scanout; XeSS2X lacks this
+same hook coverage and is not inferred from4X. No new GPU run was needed
+to inspect these existing records. Evidence remains under
+E:/项目/Veyra/tests/fg-cadence-repair-20260920/fence-xess4/engine.log.
+
+Current constraint: known serial NR/flow/full6 work exceeds the60Hz input
+budget; tested overlap and instrumentation alternatives do not solve it.
+Asked user whether an explicit opt-in lower NR internal resolution may be
+tested while retaining4K output and fixed6. This is a quality tradeoff and
+new authorization, not a completed fixed-quality repair. No such product
+change is implemented while the answer is pending. Original goal remains
+incomplete; no shutdown or publication.
+
## 2026-09-20 Full-group costs and redundant timestamp experiment
Extended analyze-fg-cadence.py with same-session/revision/epoch/source GPU
diff --git a/tests/integration/FgSustainedTests.cpp b/tests/integration/FgSustainedTests.cpp
index a460562e..b0af5821 100644
--- a/tests/integration/FgSustainedTests.cpp
+++ b/tests/integration/FgSustainedTests.cpp
@@ -17,7 +17,9 @@ int wmain(int argc,wchar_t** argv){
return runFgCompatibilityProbe(reinterpret_cast<HANDLE>(_wcstoui64(argv[2],nullptr,10)));
if(argc!=7&&argc!=8&&argc!=9)return 2; // optional target ratio, then live-1440p profile
const bool xessProfile=argc==9&&std::wstring_view(argv[8])==L"file-xess-4k";
- const bool fileProfile=argc==9&&(std::wstring_view(argv[8])==L"file-4k"||xessProfile);
+ const bool nr900Profile=argc==9&&std::wstring_view(argv[8])==L"file-4k-nr900";
+ const bool nr720Profile=argc==9&&std::wstring_view(argv[8])==L"file-4k-nr720";
+ const bool fileProfile=argc==9&&(std::wstring_view(argv[8])==L"file-4k"||xessProfile||nr900Profile||nr720Profile);
const bool liveProfile=argc==9&&(std::wstring_view(argv[8])==L"live-1440p"||fileProfile);
if(argc==9&&!liveProfile)return 2;
const unsigned multiplier=_wtoi(argv[3]);
@@ -42,6 +44,8 @@ int wmain(int argc,wchar_t** argv){
settings.nr=effects==L"on"||effects==L"nr";
settings.sr=effects==L"on"||effects==L"sr";
if(liveProfile){settings.flow=FlowQuality::Performance;settings.videoSrQuality=0;settings.srTarget=veyra::pipeline::SrTarget::Uhd4K;}
+ if(nr900Profile)settings.nrPolicy=veyra::pipeline::NrSizePolicy::P900;
+ if(nr720Profile)settings.nrPolicy=veyra::pipeline::NrSizePolicy::P720;
auto options=PlayerOptions::from(settings);
const std::wstring source=argv[1];
options.captureReplayForTest=!fileProfile&&!source.starts_with(L"capture:")&&!source.starts_with(L"capture2:");