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: correct export driver GPU snapshot call before baseline

Veyra Goal Agentb71fa967f88e
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index f5f4f07b..35e1fc27 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -8296,3 +8296,5 @@ B4a-native-v2 20/20通过、800 PNG及逐图SHA/PTS保留;debug/设备移除0
8dac9ec明确revert bd4c2ef产品和已退役native入口,冲突仅本轮新增文档/probe,保留当前完整WORKLOG/4a证据、删除退役fixture;Graph/header/CMake/notices与cefbaec逐文件diff空,存档checkpoint/perf-nr-4a-low-chain-rejected-20261004/bundle verify通过。README双语与CURRENT_STATUS更新真实进度,旧日期条目保留作历史。
5b方案PERF_5B_CROSS_FRAME_2026-10-05.md。新增生产exportVideo定向probe与普通导出矩阵、只加completionWait/pipeline最终drain计时,不改串行语义;先测基线再实现默认关闭候选。不做GPU竞争/压力,不将去掉CPU等待说成已经重叠NVOF(N+1)。本轮所有新输出仍E:/项目/Veyra对应build/tests/logs/tmp/archive。
+
+5b build-export-baseline-v1构建UI/实际导出probe成功(21步);基线EXE编译源码86e0458。serial-v1驱动启动前错误调用不存在matrix.gpu,未启动导出;改实际函数gpu_query,脚本HEAD字段明确为driverSourceHead而不是冒充编译HEAD。原staging/空运行目录保留,后续用serial-v2新标签;与当前产品源码diff仅脚本/本条文档。
diff --git a/scripts/perf/nr-export-pipeline.py b/scripts/perf/nr-export-pipeline.py
index 17fb87d2..be633f40 100644
--- a/scripts/perf/nr-export-pipeline.py
+++ b/scripts/perf/nr-export-pipeline.py
@@ -27,18 +27,18 @@ for group in groups:
env.update(TEMP=str(tmp),TMP=str(tmp))
if current=='async':env['VEYRA_TEST_EXPORT_ASYNC']='1'
command=[str(exe),str(source),str(dest),config,str(frames),str(out)]
- before=matrix.gpu();print('START',name,flush=True);start=time.monotonic()
+ before=matrix.gpu_query();print('START',name,flush=True);start=time.monotonic()
with (out/'console.log').open('xb') as stream:
try:rc=subprocess.run(command,cwd=app,env=env,stdout=stream,stderr=subprocess.STDOUT,timeout=250).returncode
except subprocess.TimeoutExpired:rc=124
- elapsed=time.monotonic()-start;after=matrix.gpu()
+ elapsed=time.monotonic()-start;after=matrix.gpu_query()
text=(out/'console.log').read_text(encoding='utf-8',errors='replace');line=next((s for s in text.splitlines() if s.startswith('EXPORT_PIPELINE_RESULT ')),'')
metrics={k:float(v) for k,v in re.findall(r'(\w+)=(-?[\d.]+)',line)};log=(out/'engine.log').read_text(encoding='utf-8',errors='replace') if (out/'engine.log').exists() else ''
pipeline=[s for s in log.splitlines() if '[export-pipeline]' in s];stages=[s for s in log.splitlines() if '[graph-contract]' in s or '[resolution]' in s or '[export-counts]' in s]
result={'name':name,'group':group,'mode':current,'repeat':repeat,'command':command,'exitCode':rc,'metrics':metrics,'wallSeconds':elapsed,'beforeGpu':before,'afterGpu':after,
'pipeline':pipeline,'stages':stages,'exeSha256':matrix.digest(exe),'runtimeSha256':matrix.digest(app/'runtime/experimental/nvngx_dlssnr.dll'),
'sourceSha256':matrix.digest(source),'outputSha256':matrix.digest(dest) if dest.exists() else None,
- 'sourceHead':subprocess.check_output(['git','-C',str(ROOT),'rev-parse','HEAD'],text=True).strip(),
+ 'driverSourceHead':subprocess.check_output(['git','-C',str(ROOT),'rev-parse','HEAD'],text=True).strip(),
'passed':rc==0 and metrics.get('ok')==1 and metrics.get('source')==frames and metrics.get('encoded')==frames*(2 if group=='fg2' else 1) and bool(pipeline),
'extraGpuLoad':False,'note':'Normal export includes enhancement and encoder drain; no artificial GPU load or memory pressure.'}
(out/'result.json').write_text(json.dumps(result,ensure_ascii=False,indent=2),encoding='utf-8');results.append(result)