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

Add reproducible fresh 2.0.7 test build

Veyra Goal Agent6501a3ebb52c
diff --git a/scripts/acceptance/test-2.0.7-build.py b/scripts/acceptance/test-2.0.7-build.py
new file mode 100644
index 00000000..77429a55
--- /dev/null
+++ b/scripts/acceptance/test-2.0.7-build.py
@@ -0,0 +1,60 @@
+"""Fresh local 2.0.7 app/test build; pinned external SDK paths from the accepted cache.
+No downloads, package publication, or mutations of other build trees.
+"""
+from pathlib import Path
+import hashlib,json,os,re,subprocess,time
+ROOT=Path(__file__).resolve().parents[2];BASE=Path('E:/项目/Veyra');TASK='test-2.0.7-20261012'
+BUILD=BASE/'build'/TASK;TMP=BASE/'tmp'/TASK/'build';LOG=BASE/'logs'/TASK/('build-'+time.strftime('%Y%m%d-%H%M%S'))
+for p in (BUILD,TMP,LOG):p.mkdir(parents=True,exist_ok=True)
+def sha(p):
+ with Path(p).open('rb') as f:return hashlib.file_digest(f,'sha256').hexdigest()
+def git(*args):return subprocess.check_output(['git','-C',str(ROOT),*args],text=True,encoding='utf8').strip()
+def save(p,data):p.write_text(json.dumps(data,ensure_ascii=False,indent=2)+'\n','utf8')
+assert not git('status','--porcelain'),'Commit build inputs first'
+cache=BASE/'build/vfg-next-20261007/CMakeCache.txt';text=cache.read_text('utf8')
+options={k:v for k,t,v in re.findall(r'^(VEYRA_[^:]+|CMAKE_MAKE_PROGRAM|CMAKE_PREFIX_PATH):([^=]+)=(.*)$',text,re.M) if t not in ('INTERNAL','STATIC')}
+for k in ('PROTOC','PKG_CONFIG_EXECUTABLE','SDL3_DIR','LibDataChannel_DIR','Opus_DIR','nlohmann_json_DIR'):
+ options[k]=re.search(r'^'+k+r':[^=]+=(.*)$',text,re.M).group(1)
+options.update(VEYRA_DECKLINK_SDK_DIR=str(BASE/'deps/decklink-sdk-obs31-20261009'),
+ VEYRA_AMD_NR_TEST_GRAPH_SOURCE=str(ROOT/'src/pipeline/EnhanceGraph.cpp'),
+ VEYRA_FFMPEG_ROOT=str(BASE/'deps/ffmpeg-subtitle-formats-20261009/installed'),
+ VEYRA_DISPLAY_VERSION='2.0.7-test',Python3_EXECUTABLE=os.sys.executable)
+assert all(options['VEYRA_ENABLE_'+f]=='ON' for f in ('REMOTEPLAY','MOONLIGHT','XBOX'))
+env={k:v for k,v in os.environ.items() if not k.upper().startswith(('VEYRA_','QT_','QSG_','QML_'))}
+env.update(TEMP=str(TMP),TMP=str(TMP),VSLANG='1033',PYTHONDONTWRITEBYTECODE='1')
+setup=subprocess.run(['cmd.exe','/u','/d','/c',r'call C:\PROGRA~2\MICROS~3\2022\BUILDT~1\VC\Auxiliary\Build\vcvars64.bat >nul && set'],stdout=subprocess.PIPE,stderr=subprocess.DEVNULL,text=True,encoding='utf-16-le',errors='replace',env=env,check=True)
+for line in setup.stdout.splitlines():
+ if '=' in line:
+ k,v=line.split('=',1)
+ if k and not k.startswith('='):env[k]=v
+env.update(TEMP=str(TMP),TMP=str(TMP),PYTHONDONTWRITEBYTECODE='1')
+cmake=r'C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe'
+targets=['veyra_qml_ui','veyra_xess_motion_contract_tests','veyra_xess_motion_quality_tests','veyra_fg_xess_boundary_tests',
+ 'veyra_fg_motion_boundary_tests','veyra_capture_cadence_fg_tests','veyra_scene_tests','veyra_live_timing_tests',
+ 'veyra_effect_chain_tests','veyra_preset_library_tests','veyra_repair_contract_tests','veyra_ui_contract_tests',
+ 'veyra_hdr_color_tests','veyra_live_presentation_tests','veyra_settings_transaction_tests',
+ 'veyra_present_sink_lifecycle_tests','veyra_decklink_tests','veyra_capture_format_selection_tests',
+ 'veyra_capture_color_tests','veyra_vfg_gpu_tests','veyra_fsr_dispatch_tests','veyra_qml_quick_tests',
+ 'veyra_playlist_tests','veyra_qml_data_tests','veyra_bitmap_subtitle_tests','veyra_subtitle_format_tests']
+inputs={p.relative_to(ROOT).as_posix():sha(p) for folder in ('include','src','apps','shaders','qml','tests','cmake','i18n') for p in (ROOT/folder).rglob('*') if p.is_file()}
+inputs['CMakeLists.txt']=sha(ROOT/'CMakeLists.txt');commands=[];start=time.monotonic()
+configure=[cmake,'-S',str(ROOT),'-B',str(BUILD),'-G','Ninja','-DCMAKE_BUILD_TYPE=Release']+['-D'+k+'='+v for k,v in options.items()]
+build=[cmake,'--build',str(BUILD),'--parallel','8','--target',*targets]
+results=[]
+for name,command in (('configure',configure),('compile',build)):
+ commands.append(command)
+ with (LOG/(name+'.log')).open('wb') as stream:
+ try:rc=subprocess.run(command,cwd=TMP,env=env,stdout=stream,stderr=subprocess.STDOUT,timeout=max(1,890-(time.monotonic()-start))).returncode
+ except subprocess.TimeoutExpired:rc=124
+ results.append(dict(step=name,exit=rc));print(name,rc,LOG/(name+'.log'),flush=True)
+ if rc:
+ print((LOG/(name+'.log')).read_text('utf8',errors='replace')[-9000:],flush=True)
+ save(LOG/'failure.json',dict(results=results,commands=commands,seconds=time.monotonic()-start));raise SystemExit(rc)
+for name,h in inputs.items():assert sha(ROOT/name)==h,name
+exes={n+'.exe':sha(BUILD/(n+'.exe')) for n in targets}
+receipt=dict(passed=True,head=git('rev-parse','HEAD'),displayVersion='2.0.7-test',freshCMakeBuild=True,
+ sources=inputs,commands=commands,dependencies=options,targets=targets,executables=exes,seconds=time.monotonic()-start)
+save(LOG/'receipt.json',receipt)
+report=BASE/'reports'/TASK;report.mkdir(parents=True,exist_ok=True)
+save(report/'build.json',dict(receipt=str(LOG/'receipt.json'),sha256=sha(LOG/'receipt.json')))
+print('PASS fresh source build',len(targets),'targets',round(receipt['seconds'],1),'seconds',flush=True)