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(perf): reject ineffective pause rollback and inspect OBS global resize selection

Veyra Goal Agentfa9be1055e5b
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index 907df565..7c43b2cb 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -8350,3 +8350,5 @@ R0-candidate eb8b1a2已存档,bundle da0440b9229a8bcbc4c6a918d1cdeac38b3372ae4
OBS正常功能R0发现阻塞:v1 API207未ready修正有界重试;v3软件兼容六场景通过/截图已看/用户OBS配置未变。GPU界面v2/v4均全屏黑图;基线A两轮通过且全屏原图有真实视频。paused-present-off、基线QML、退出修复前EXE均不能消除;B2d阶段失败、B2a核心阶段通过、B5c暂停空闲阶段resize失败。非压力/性能测试,所有阶段同M1/单NR/源码截图与录像/原用户配置不变。先存档本失败候选,再恢复5c旧呈现语义;NR残差复用独立保留,暂停0.011%旧数据暂不作为最终保留收益。详PERF_R0_ACCEPTANCE及E:/项目/Veyra/logs/perf-nr-20261004/R0-obs-*。
R0-obs-candidate 92a181f/bundle708e4834c19078b50d33203ea0963255f3c1425fe9edae41413e93dba48d4f27已归档。最小恢复c593679暂停呈现生产部分:移除RetainedFrame/跳过Present/提前取view,回到resize后取view及50ms重复呈现;恢复ProPage旧动画并移除相关测试hook。退出取消/借用queue修复、限定3c、NR残差复用及Auto均保留。退役仅服务此候选的nr-present/PausedPresentExperiment和CMake target,完整源码可从c593679及既有before/candidate/accepted tags回放。此为待验证恢复候选,不提前把OBS标通过、不复用旧0.011%收益。
+
+5ede7f6恢复候选build-r0-idle-revert-v1成功12步,但R0-obs-idle-revert-v1仍GPU全屏黑,R0-obs-residual-off-v1明确关闭NR残差复用亦失败。因此不能说暂停呈现/NR残差缓存已经被证实为根因,恢复候选无效,先拒绝封存后恢复92a181f生产部分(保留完整回退记录)。官方OBS32.1.2 dxgi-capture.cpp源码确认单进程全局data.swap,任意ResizeBuffers会清空它并由随后首次Present重选;16连续不匹配才再择。当前日志resize后捕获到Qt暗背景,多DIRECT队列被记入同一采集候选。两交换链重建次序是新定位方向(推断,待实验),不改OBS或运行库。下一最小候选仅在实际graphics-hook64.dll存在、视频目标尺寸变更时先保留旧buffer伸展,让UI resize完成后视频再resize;普通播放/未注入保持原行为。
diff --git a/scripts/perf/nr-r0-obs.py b/scripts/perf/nr-r0-obs.py
index ee3fe45b..b44c87d5 100644
--- a/scripts/perf/nr-r0-obs.py
+++ b/scripts/perf/nr-r0-obs.py
@@ -120,7 +120,7 @@ def run():
overrides = [arg.split('=',1)[1] for arg in sys.argv[3:] if arg.startswith('--milestone-exe=')]
assert len(overrides) <= 1
switches = {arg for arg in sys.argv[3:] if arg.startswith('--') and not arg.startswith('--milestone-exe=')}
- assert switches <= {'--baseline-qml','--paused-present-off','--pre-exit-exe'}
+ assert switches <= {'--baseline-qml','--paused-present-off','--pre-exit-exe','--nr-residual-off'}
modes = tuple(arg for arg in sys.argv[3:] if not arg.startswith('--')) or ('gpu','compat')
assert len(set(modes)) == len(modes) and all(mode in ('gpu','compat') for mode in modes)
assert label.replace('-', '').isalnum()
@@ -172,12 +172,14 @@ def run():
identity = {'playerPayload':payload,'obsExeSha256':matrix.digest(portable/'bin/64bit/obs64.exe'),
'installedObsExeSha256':matrix.digest(installed/'bin/64bit/obs64.exe'),'userConfigBefore':user_config_before,
'sourceSha256':matrix.digest(matrix.SOURCES['M1']),'gpuCompetition':False,'baselineQml':baseline_qml,
- 'pausedPresentReuseDisabled':'--paused-present-off' in switches,'executableSource':str(executable),
+ 'pausedPresentReuseDisabled':'--paused-present-off' in switches,'nrResidualReuseDisabled':'--nr-residual-off' in switches,
+ 'executableSource':str(executable),
'recordingPurpose':'Game capture compatibility, not timing or pressure'}
(logs/'artifacts.json').write_text(json.dumps(identity,ensure_ascii=False,indent=2),encoding='utf-8')
env = {k:v for k,v in os.environ.items() if not k.upper().startswith(('VEYRA_','QT_','QSG_','OBS_'))}
env.update(TEMP=str(tmp),TMP=str(tmp))
if '--paused-present-off' in switches: env['VEYRA_TEST_DISABLE_PAUSED_PRESENT_REUSE']='1'
+ if '--nr-residual-off' in switches: env['VEYRA_TEST_DISABLE_PAUSED_NR_RESIDUAL_REUSE']='1'
obs, player, rpc = None,None,None
rows = []
try: