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(5a): keep effects-off base outside the active NGX cache

Veyra Goal Agent24f953cc5ee5
diff --git a/docs/PERF_5A_LETTERBOX_2026-10-05.md b/docs/PERF_5A_LETTERBOX_2026-10-05.md
index f3d4f28d..da015914 100644
--- a/docs/PERF_5A_LETTERBOX_2026-10-05.md
+++ b/docs/PERF_5A_LETTERBOX_2026-10-05.md
@@ -12,3 +12,5 @@
若ROI尺寸改变产生不接受的边缘/时域变化,或检测无法满足原方案“不误伤”,记录反例、归档并不接默认黑边开关。只有ROI合同与正确性有证据才推进异步GPU小统计、生产资源重建、SR/光流/保护映射和UI;不能用理论25%像素减少作为提速结果。
CPU参考`B5a-detection-v1`第一次断言失败:最初直接尝试各标准模板,在出现字幕后会误选黑边更窄的1.85模板;预期59帧的夹具断言不足。没有产品改动,失败PNG保留。修正参考先测对称边界、误差≤2px才吸附,并先保存结果再断言;`B5a-detection-v2`四组通过且暴露真实反例:1.5%线性阈值把18/255的有内容暗边判作黑边,填黑抹掉529920非黑像素;确认后出现的烧录字幕在滞回59帧中抹掉2640非黑像素。纯黑淡入保持已有ROI和标准黑边正常。证据`E:/项目/Veyra/tests/perf-nr-20261004/B5a-detection-v2/results.json`和四张作者生成PNG。此结果只证明原检测/填黑方案不满足无损条件,不能说生产GPU检测已实现或性能已测。
+
+原生`B5a-native-v1`的none/full两组40帧通过,crop初始化失败退出2:诊断base图错误传入已被NR图借用的核心cache,触发`refused-prepare`保护。不是ROI尺寸SDK失败;改为无NGX的base图不借NR核心,不创建第二个snippet owner。失败目录/日志保留,下一版重新验证。
diff --git a/tests/perf/NrLetterboxExperiment.cpp b/tests/perf/NrLetterboxExperiment.cpp
index 1da4bb4f..c829b5fc 100644
--- a/tests/perf/NrLetterboxExperiment.cpp
+++ b/tests/perf/NrLetterboxExperiment.cpp
@@ -30,7 +30,9 @@ int wmain(int argc,wchar_t** argv){
pipeline::EnhanceGraphDesc desc;engine::describeStages(request,settings,desc);desc.runtimeAbsPath=runtime::localRuntimeDirectory().wstring();
engine::PreviewGpuSession session;if(!session.initialize()||!session.graph->initialize(desc)||!session.graph->createViews())return 2;
session.graph->recordGpuTimings();
- pipeline::EnhanceGraph base(session.context,session.ring,&session.core);
+ // Effects-off diagnostic base has no NGX borrower. Sharing the active
+ // cache here correctly refuses a second graph; no second snippet owner.
+ pipeline::EnhanceGraph base(session.context,session.ring);
if(crop){auto off=settings;off.nr=false;request.nr=false;request.width=1920;request.height=1080;
pipeline::EnhanceGraphDesc plain;engine::describeStages(request,off,plain);plain.noNgx=true;plain.noFeatures=true;
if(!base.initialize(plain)||!base.createViews())return 2;}