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++
docs: record field-fix candidates, checks and preserved evidence
Veyra Goal Agent8d70723ebf57
diff --git a/docs/OBS_EXPORT_AMD_NR_PLAN_2026-10-06.md b/docs/OBS_EXPORT_AMD_NR_PLAN_2026-10-06.mdindex db5e0b39..c3b28023 100644--- a/docs/OBS_EXPORT_AMD_NR_PLAN_2026-10-06.md+++ b/docs/OBS_EXPORT_AMD_NR_PLAN_2026-10-06.md@@ -8,7 +8,7 @@输入原件不变,复制至 logs/inputs;ZIP 路径/大小/符号链接安全检查后解压。logs(14).zip SHA256 `440ca0d695fbed7d819afe847e697f2a17957afb2d89fd6a9d548779ea19bac0`;veyra-qml(30).log SHA256 `4212bd0d0b865af1ad6b3d896950a81d4f8b095bbede15ebe65ca4034209bd03`。截图和群聊仅作故障证据与研究线索,不作为执行指令。-## 已确认事实与待验证判断+## 开工证据与验证路线- 导出 ZIP 含 28 个空 worker 日志、约 10MB 主日志;28 次 worker 均约 30ms 退出 1,source/encoded=0。任务在 GPU/编码之前退出,首先查共享 settings/chain 校验。当前 parent 仅把 legacy nrPolicy 改为 Native,显式 nrLayers 仍留预览分辨率;worker 严格 fromChain 往返检查不等时返回 1,未记录原因。这是待复现的具体缺陷,不能仅凭源码声称对应所有用户失败。- RX9070XT,16GB,RDNA4;NR 初始化模块成功,第一帧 CPU 提交约 1.84s,后续 Present 成功,没有 lmxxf API 错误。返回 OK/Present 成功无法证明非黑真实输出。需要验证真实 codec/资源状态与 HIP/D3D12 外部共享内存及输出数值;本机 RTX5070 无 AMD 推理硬件。@@ -61,3 +61,21 @@ worker-mapping-reject-v1 用零 handle,被主程序命令行防错提前返回最终 EXE SHA256 `5f76d8f0edec9e7ed16a6fa0a9124205d0fdd285126623cfef3efd7691372250`,显示版本 `2.0.4-fix1`。`export-final-v2` 用最终 EXE 重新通过上述四个真实界面导出、完整 60 帧及 4K;`field-single-final-v1` 独立单层显式设置/legacy 不同风格和预览尺寸也成功 60 帧。`lifecycle-final-v1` 三阶段取消/暂停/运行中取消回收、同输出重试 20 帧、拒绝覆盖原文件通过;`lifecycle-boundary-final-v1` 最终保存取消、明确占用导致的临时文件清理失败、保留旧 partial 重试、已安全保存后的取消竞态均通过。未删除测试保护的用户/外部 partial。各测试进程远低于 300 秒,没有压力或 GPU 竞争测试。`obs-export-amdnr-evidence.py` 冻结 466 个产品输入与 15 份成功/预期失败回执,`tested-inputs.json` 保存 SHA;`export-before-audit-v2.json` 按原日志核对 0/1 成功、2 失败,旧错误 receipt 原字节不改。完成本地候选后做完整载荷 SHA、runtime 原字节、PE 导入、ZIP CRC 与干净解压启动;真实 GPU/软件 UI 基础启动结果单独列于 cold-verify-results.json,不拿基础启动冒充 HIP/实卡成功。++### 本地包交付收尾(已经执行)++产品提交 `f543449db2c4be24f45c8719b178c077e6659c8b`,对应源码 ZIP 与修复增量 bundle 已校验;main f8045fb 未变。包在 `E:/项目/Veyra/test-packages/obs-export-amdnr-20261006`:++| 文件 | bytes | SHA256 |+| --- | ---: | --- |+| Veyra-2.0.4-fix1-AMD-win64-portable.zip | 355171978 | a52a59b36bb1d0c92cd3a9f60bc57b346d3593fa5f66233393c365a88da1d1e8 |+| Veyra-2.0.4-fix1-NVIDIA-win64-portable.zip | 714195409 | 4c029f6bf7e0f9a31da72ae9830e765ccc97b485198377bd735cee6566612d40 |+| Veyra-2.0.4-fix1-source.zip | 69980584 | 30178e4a9d1fa7e3c9cddfafb0d2608f9f9f86c2ee0483898586a68964112220 |++finalize / close 完整载荷和 PE 导入闭包通过,AMD 2047 文件、83 PE,NVIDIA 1598 文件、95 PE(均含一个 package-manifest);694 / 215 项运行库、模型、许可证原字节不变,AMD 包没有混入 NVIDIA 提供器,测试恒等 DLL 没有进包。源码 ZIP 全文件 CRC/SHA,bundle verify、两个便携 ZIP 全载荷 CRC/SHA 通过。++`obs-export-amdnr-cold.py` 从最终 ZIP 新解压,以 Windows-only PATH、独立 profile/TEMP/TMP 播放已有 ASS/字体 fixture:AMD 包软件 UI 9.813s、NVIDIA 包 GPU UI 9.594s(详原 JSON),均正常退出0;各26个 Qt/codec 模块从包内加载,5字幕事件及1字体附件正常,没有 ERROR/FATAL/QML异常。这仍是本机RTX5070的基础播放验收,不是 AMD HIP、现场 OBS 捕获或其他显卡验收。++首次 audit helper 将 baseCommit 字段标为 sourceCommit;原 stage/finalize JSON 保留,修正 helper 标签后另出 close-AMD/NVIDIA.json,明确 baseline f8045fb / product source f543449,各载荷/hash/manifest 原字节不改。初 stage receipt 的 fileCount 是写 manifest 前的文件数,最终 fileCount 含 manifest,以上使用最终数。++cleanup.ps1 先核对所有目标绝对路径只在本轮 tests/verify 子目录、无 reparse、无存活自有测试进程,保全 ui-app 的全部 worker 日志到 logs/gui-worker-logs,再仅删13个重复复制/解压目录,共7498197408 bytes。最终包目录/ZIP/源码/bundle/build、截图、输出视频、原始失败 receipt、identity fixture 与测试生成的保护 partial 全保留,未动旧工作区/已发布 ZIP/用户输入。后续收尾文档与审核脚本修正不改这批已核验包的字节或产品源码。diff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex 688d7e2a..3b94fcc3 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -8499,6 +8499,14 @@ OBS 最终 100%/125% 展开 NR 参数各10张真实窗口 GDI图、3张返回原最终EXE SHA5f76d8f0edec9e7ed16a6fa0a9124205d0fdd285126623cfef3efd7691372250,显示2.0.4-fix1;`obs-export-amdnr-evidence.py` exit0 冻结466产品输入/15回执。后续制作本地AMD/NVIDIA候选及对应源码、逐文件/运行库/PE/ZIP/干净启动与最后保全审计,真实结果在本轮日志/DELIVERY.json记载;未测项不冒充通过。详 `docs/OBS_EXPORT_AMD_NR_PLAN_2026-10-06.md`。+### 本轮测试包与收尾回执++修复提交f543449,产品源码和最终EXE保持同一466输入;packager stage/finalize通过AMD/NVIDIA厂商边界、694/215不可变组件、83/95 PE闭包、2047/1598完整文件(含manifest)、全部CRC/SHA与源码/增量bundle verify。三个ZIP在test-packages/obs-export-amdnr-20261006,大小/SHA详本轮计划表及DELIVERY.json:AMD355171978bytes/a52a59b3…da1d1e8;NVIDIA714195409/4c029f6b…6612d40;source69980584/30178e4a…4112220。显示2.0.4-fix1、localOnly/releaseReady=false,未重新发布正式2.0.4。++`py -3.11 -B scripts/acceptance/obs-export-amdnr-cold.py` 两最终ZIP新解压、Windows-only PATH基础播放/退出0通过,各26个包内Qt/codec模块,ASS5事件/1字体正常,无ERROR/FATAL/QML异常。AMD包软件UI/NVIDIA包GPU UI仍在RTX5070上,仅基础启动/显示,不能外推真实AMD推理。cold-verify-results.json保存两case真实耗时/模块路径/SHA。audit模板sourceCommit误取baseCommit标签已修,另出close-AMD/NVIDIA,不改stage/finalize旧回执;真实包manifest与源码一直为f543449。++`obs-export-amdnr-cleanup.ps1` 核对自有进程已退出、目标绝对路径及无reparse,保留全部真实GUI worker日志到logs/gui-worker-logs后,只清理13个本轮重复解压/runtime副本,7498197408bytes;最终可用build、两个完整候选目录及ZIP、源码/bundle、截图、导出视频、失败回执/identity fixtures/保护partial保留。未删用户输入/原工作树/已发布包,不做全工程备份。后续只提交收尾文档与审核脚本修正,并独立final-check确认23原工作树、四原发布ZIP、最终包SHA、466产品输入及15实测回执不变。+## 2026-10-06 2.0.4 正式发布完成执行package-v1完整生成正式AMD/NVIDIA、应用源码、依赖源码及SHA256SUMS,全部CRC/逐文件SHA、runtime原字节/PE闭包/显卡分包通过;source-final.bundle验证通过。EXE仍d01329aa6d9fbd6ac2d1eee294782f4cb9d233490595ed2e3e1a9ea12c16b2d6,PE2.0.4.0。cold-v1两包新解压隔离profile、Windows-only PATH启动分别9.937/9.578秒正常退出、各26个Qt/FFmpeg模块由包内加载,ASS5事件/字体附件正常;原功能验收对应同一473生产输入,不重复无关GPU测试。包路径、5项大小/SHA详PUBLISH_2.0.4_PLAN第2节及logs/.../assets.json、stage-AMD/NVIDIA.json、cold-verify-results.json。diff --git a/scripts/acceptance/obs-export-amdnr-audit.py b/scripts/acceptance/obs-export-amdnr-audit.pyindex 830bcda5..a71b6149 100644--- a/scripts/acceptance/obs-export-amdnr-audit.py+++ b/scripts/acceptance/obs-export-amdnr-audit.py@@ -46,7 +46,7 @@ for name,f in names.items():imports.append({'file':name,'direct':direct,'delay':delay})assert not missing,missingresult=dict(flavor=flavor,app=str(app),payloadFiles=len(manifest['files']),payloadBytes=sum(r['size'] for r in manifest['files']),- sourceCommit=manifest.get('baseCommit'),releaseReady=manifest.get('releaseReady'),runtimeFiles=len(runtime['files']),+ baseCommit=manifest.get('baseCommit'),sourceCommit=manifest.get('sourceCommit'),releaseReady=manifest.get('releaseReady'),runtimeFiles=len(runtime['files']),peFiles=len(imports),imports=imports,missing=missing,fsrException=True)out.write_text(json.dumps(result,ensure_ascii=False,indent=2),encoding='utf8')print('PACKAGE AUDIT PASS',flavor,result['payloadFiles'],result['payloadBytes'],out,flush=True)diff --git a/scripts/acceptance/obs-export-amdnr-cleanup.ps1 b/scripts/acceptance/obs-export-amdnr-cleanup.ps1new file mode 100644index 00000000..426aaf5f--- /dev/null+++ b/scripts/acceptance/obs-export-amdnr-cleanup.ps1@@ -0,0 +1,51 @@+$ErrorActionPreference = 'Stop'+$repairTestsRoot = [IO.Path]::GetFullPath('E:\项目\Veyra\tests\obs-export-amdnr-20261006')+$repairVerifyRoot = [IO.Path]::GetFullPath('E:\项目\Veyra\verify\obs-export-amdnr-20261006')+$repairLogsRoot = [IO.Path]::GetFullPath('E:\项目\Veyra\logs\obs-export-amdnr-20261006')+$repairReceipt = Join-Path $repairLogsRoot 'cleanup.json'+if (Test-Path -LiteralPath $repairReceipt) { throw 'Do not overwrite cleanup evidence' }+foreach ($repairProcess in Get-Process) {+ try { $repairExe = $repairProcess.Path } catch { continue }+ if ($repairExe -and ($repairExe.StartsWith($repairTestsRoot + '\', [StringComparison]::OrdinalIgnoreCase) -or $repairExe.StartsWith($repairVerifyRoot + '\', [StringComparison]::OrdinalIgnoreCase))) {+ throw ('Owned test process is still running: ' + $repairProcess.Id)+ }+}+function Confirm-RepairCopy([string]$targetPath, [string]$expectedRoot) {+ $resolvedPath = (Resolve-Path -LiteralPath $targetPath).Path+ if (-not $resolvedPath.StartsWith($expectedRoot + '\', [StringComparison]::OrdinalIgnoreCase)) { throw ('Out of task root: ' + $resolvedPath) }+ $targetItem = Get-Item -LiteralPath $resolvedPath -Force+ if ($targetItem.Attributes -band [IO.FileAttributes]::ReparsePoint) { throw ('Reparse target: ' + $resolvedPath) }+ foreach ($copyItem in Get-ChildItem -LiteralPath $resolvedPath -Force -Recurse) {+ if ($copyItem.Attributes -band [IO.FileAttributes]::ReparsePoint) { throw ('Reparse child: ' + $copyItem.FullName) }+ }+ return $resolvedPath+}+$repairUiLogs = Join-Path $repairVerifyRoot 'ui-app\logs'+if (Test-Path -LiteralPath $repairUiLogs) {+ $checkedUiLogs = Confirm-RepairCopy $repairUiLogs $repairVerifyRoot+ $savedUiLogs = Join-Path $repairLogsRoot 'gui-worker-logs'+ if (Test-Path -LiteralPath $savedUiLogs) { throw 'Worker evidence destination already exists' }+ Move-Item -LiteralPath $checkedUiLogs -Destination $savedUiLogs+}+$repairTargets = [Collections.Generic.List[string]]::new()+foreach ($copyName in @('ui-app','AMD','NVIDIA')) {+ $copyTarget = Join-Path $repairVerifyRoot $copyName+ if (Test-Path -LiteralPath $copyTarget) { $repairTargets.Add((Confirm-RepairCopy $copyTarget $repairVerifyRoot)) }+}+foreach ($caseName in @('field-stack-after-v1','field-stack-after-v2','field-single-final-v1','lifecycle-final-v1','lifecycle-boundary-final-v1')) {+ foreach ($componentName in @('runtime','runtime_local')) {+ $copyTarget = Join-Path (Join-Path $repairTestsRoot $caseName) $componentName+ if (Test-Path -LiteralPath $copyTarget) { $repairTargets.Add((Confirm-RepairCopy $copyTarget $repairTestsRoot)) }+ }+}+$repairRecords = @()+foreach ($checkedTarget in $repairTargets) {+ $copyFiles = @(Get-ChildItem -LiteralPath $checkedTarget -File -Recurse -Force)+ $copyBytes = ($copyFiles | Measure-Object -Property Length -Sum).Sum+ $repairRecords += [pscustomobject]@{ path=$checkedTarget; files=$copyFiles.Count; bytes=$copyBytes }+ Remove-Item -LiteralPath $checkedTarget -Recurse -Force+ if (Test-Path -LiteralPath $checkedTarget) { throw ('Copy cleanup incomplete: ' + $checkedTarget) }+}+[pscustomobject]@{ copies=$repairRecords; preserved='Final candidate directories/ZIPs, source/bundle, build, logs, screenshots, test outputs, failed receipts and identity fixtures'; bytesRemoved=($repairRecords | Measure-Object -Property bytes -Sum).Sum } |+ ConvertTo-Json -Depth 5 | Set-Content -LiteralPath $repairReceipt -Encoding UTF8+Write-Output ('CLEANUP PASS ' + $repairTargets.Count + ' owned redundant copies')diff --git a/scripts/acceptance/obs-export-amdnr-close.py b/scripts/acceptance/obs-export-amdnr-close.pynew file mode 100644index 00000000..ae838129--- /dev/null+++ b/scripts/acceptance/obs-export-amdnr-close.py@@ -0,0 +1,41 @@+"""Final byte/preservation check; bookkeeping commits do not replace tested product source."""+from pathlib import Path+import hashlib,json,subprocess,sys+ROOT=Path(__file__).resolve().parents[2];BASE=Path('E:/项目/Veyra');TASK='obs-export-amdnr-20261006'+LOG=BASE/'logs'/TASK;PACK=BASE/'test-packages'/TASK;ARCH=BASE/'archives'/TASK+def sha(p):+ with p.open('rb') as f:return hashlib.file_digest(f,'sha256').hexdigest()+subprocess.run([sys.executable,'-B',str(ROOT/'scripts/acceptance/obs-export-amdnr-control.py'),'--published'],check=True)+assert not subprocess.check_output(['git','status','--porcelain'],cwd=ROOT).strip()+frozen=json.loads((LOG/'tested-inputs.json').read_text(encoding='utf8'))+for rel,h in frozen['productInputs'].items():assert sha(ROOT/rel)==h,rel+for rel,h in frozen['testReceipts'].items():assert sha(LOG/rel)==h,rel+assert sha(BASE/'build'/TASK/'veyra_qml_ui.exe')==frozen['executableSha256']+delivery=json.loads((PACK/'DELIVERY.json').read_text(encoding='utf8'))+cold=json.loads((LOG/'cold-verify-results.json').read_text(encoding='utf8'))+assert len(cold)==2 and all(r['passed'] and r['exit']==0 for r in cold)+for row in delivery:+ assert sha(Path(row['archive']))==row['archiveSha256']+ assert sha(Path(row['sourceZip']))==row['sourceZipSha256']+ assert row['exeSha256']==frozen['executableSha256']+ candidate=Path(row['app']);manifest=json.loads((candidate/'package-manifest.json').read_text(encoding='utf8'))+ assert manifest['sourceCommit']==row['sourceCommit'] and not manifest['worktreeDirty']+ assert sha(candidate/'veyra_qml_ui.exe')==frozen['executableSha256']+ assert all(sha(candidate/r['path'])==r['sha256'] for r in manifest['files'])+ assert any(r['archiveSha256']==row['archiveSha256'] and r['executableSha256']==row['exeSha256'] for r in cold)+head=subprocess.check_output(['git','rev-parse','HEAD'],cwd=ROOT,text=True).strip()+productCommit=delivery[0]['sourceCommit']+changed=subprocess.check_output(['git','diff','--name-only',productCommit,head],cwd=ROOT,text=True).splitlines()+assert all(n in ('docs/WORKLOG.md','docs/OBS_EXPORT_AMD_NR_PLAN_2026-10-06.md') or n.startswith('scripts/acceptance/obs-export-amdnr-') for n in changed)+sourceDeps=BASE/'releases/publish-2.0.4-20261006/Veyra-2.0.4-open-source-dependencies.zip'+assert sha(sourceDeps)=='4eccde6343d66e0511b641aaacc12b999e424738a383fcce268d762abb3dceb9'+result=dict(passed=True,productSourceCommit=productCommit,bookkeepingHead=head,+ executableSha256=frozen['executableSha256'],productInputs=len(frozen['productInputs']),receipts=len(frozen['testReceipts']),+ candidates=delivery,coldReceiptSha256=sha(LOG/'cold-verify-results.json'),cleanup=json.loads((LOG/'cleanup.json').read_text(encoding='utf-8-sig')),+ dependencySourceArchive=str(sourceDeps),dependencySourceSha256=sha(sourceDeps),+ dependencySourceURL='https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.4/Veyra-2.0.4-open-source-dependencies.zip',+ mainMerged=False,pushed=False,published=False,amdHipInferenceVerified=False,affectedObsMachineVerified=False)+out=LOG/'final-check.json';assert not out.exists();out.write_text(json.dumps(result,ensure_ascii=False,indent=2)+'\n',encoding='utf8')+sums={Path(r['archive']).name:r['archiveSha256'] for r in delivery};sums[Path(delivery[0]['sourceZip']).name]=delivery[0]['sourceZipSha256']+with (PACK/'SHA256SUMS.txt').open('x',encoding='ascii') as f:f.write(''.join(h+' '+n+'\n' for n,h in sums.items()))+print('FINAL PASS',head,len(frozen['productInputs']),'unchanged product inputs;',len(delivery),'verified local candidates')