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

fix(packaging): omit historical bytecode from 2.0.5 source

Veyra Goal Agent4deb4793763c
diff --git a/docs/RELEASE_2.0.5_ACCEPTANCE_2026-10-07.md b/docs/RELEASE_2.0.5_ACCEPTANCE_2026-10-07.md
index 2ca1ac58..0fce8b84 100644
--- a/docs/RELEASE_2.0.5_ACCEPTANCE_2026-10-07.md
+++ b/docs/RELEASE_2.0.5_ACCEPTANCE_2026-10-07.md
@@ -41,11 +41,13 @@
gui-amd-catalog首轮沿用旧fixture,在List固定单例补帧已存在时再次添加,触发最多一个;v2试图删除固定尾节点也被正确拒绝。检查实际NodePage菜单与add/remove实现后,改在fresh Node上下文测试添加,未放宽产品规则。v3实际添加/预设通过且进程exit0,但Qt.quit异步退出前测试Timer再次执行,误把上一轮添加的节点当fresh draft而报FAIL;保留该失败收据。最终夹具在成功/失败时显式停Timer,v4全部通过。**这些是测试前置状态/生命周期错误,未改产品C++或QML来迎合测试。** 原失败app/console/engine日志及JSON均保留。
+首轮封包严格源码扫描发现历史已跟踪 `scripts/acceptance/__pycache__/fg-utilization-matrix.cpython-311.pyc`(16053字节),中止,没有生成便携ZIP或DELIVERY。不删除/改写这份既有Git文件;源码包明确排除该缓存,仍保护其原SHA。初次未完成源码ZIP、初次冻结与main合并记录另行归档;新冻结记录区分全部跟踪输入和实际源码ZIP输入。调整为先验证全清单、写partial并验后才改名。第二次提交仅打包/guard/证据脚本与失败记录,产品/EXE及20份通过收据不变,继续本地合并;旧开工baseline/guard不改。
+
修复/旧配置测试真实使用缺NVIDIA组件的AMD包与RTX硬件,不伪造AMD厂商ID;AMD4K图测试仅确认共享合成契约。实际AMD HIP高分辨率导出、AMD硬编、FSR4 ML实卡、真实主机/采集长稳、用户显示器撕裂/VRR与NV显存根因仍未完成。本次短测不能代替这些现场验收。已有PR19/20与fix1保留,不复活PR13/14或先前撤回实验。
## 合并、源码和最终交付核对
-此记录随候选源码冻结,不在源码内循环填写自己的提交/ZIP SHA。`logs/release-2.0.5-20261007/tested-inputs.json` 冻结全部跟踪输入、当前EXE和20份当前通过收据;旧失败收据保留但不计通过。`main-merge.json` 记录本地main从578d63c --no-ff合入实测提交及树完全一致;只有该收据和独立检查通过才说明合并完成。原分支/桌面和其余工作树保持,旧guard/start不改。
+此记录随候选源码冻结,不在源码内循环填写自己的提交/ZIP SHA。`logs/release-2.0.5-20261007/tested-inputs.json` 冻结全部跟踪输入、实际源码归档输入、当前EXE和20份当前通过收据;旧失败收据保留但不计通过。`main-merge.json` 记录本地main从578d63c --no-ff合入实测提交,以及打包脚本续修的每次合并与树完全一致;只有该收据和独立检查通过才说明合并完成。原分支/桌面和其余工作树保持,旧guard/start不改。
执行 `release-2.0.5-package.py refresh` 后 `finalize`,生成AMD/NVIDIA便携ZIP与应用源码ZIP、增量Git bundle、SHA256SUMS和DELIVERY.json;逐文件manifest、全部ZIP CRC及载荷SHA必须通过。对应依赖源码沿用已发布2.0.4字节,SHA4eccde63…,不新增下载/运行组件。`release-2.0.5-cold.py cold-final-zip --zip` 必须从最终ZIP独立解压、仅系统PATH/私有profile启动,核对实际包内Qt/FFmpeg模块来源;`release-2.0.5-evidence.py close` 再核main树、EXE、源码/ZIP、测试收据、27旧工作树/495修改文件/14发布文件。
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index 02fa9c32..81091712 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -6,7 +6,9 @@
产物路径为 E:/项目/Veyra/{archives,build,tests,logs,tmp,test-packages,verify}/release-2.0.5-20261007;受控源码worktrees同名。全新13目标513步构建exit0,EXE acd49a23074b58ec9698d260d63b2d5a59a640627e09a9b83f0127ae47ebb936,PE/显示版本2.0.5;7个CPU契约目标、6个统计组件用例、AMD共享合成10例、实际同步12组、DLSS4X/6X/4X像素复用、FSR H264及SR/原版NR/FSR HEVC、双原版NR HEVC与GUI导出全部通过,四输出完整解码/严格CFR时间线通过。真实NR GUI暂停/全屏/Node接线/恢复/停止30.094秒通过;AMD缺组件选择迁移、手动XeSS/NVIDIA DLSS保留与Flow预设重启通过。GTA VI 4K30/原版1080 NR/普通class2单轮NR约6.295ms、UI36次/秒、视频30fps;不计算与旧非相邻测量的收益。命令、限制及旧fix2匹配性能证据见本轮ACCEPTANCE。
-catalog/v2错误在固定List尾重复添加/删除FG;v3在成功后Qt.quit异步退出前Timer重跑,实际exit0但有FAIL,均保留为失败。不改产品规则,按真实Node菜单前置状态并在完成时停测试Timer,v4通过。最终本地main --no-ff合并、树一致、源码/ZIP/CRC/逐文件SHA、独立解压仅系统PATH启动及旧工作区/发布包保护分别以本任务main-merge.json、DELIVERY.json、cold-final-zip.json、final-check.json为准;本段不能代替尚未执行的最终步骤。无新公开发布/推送、压力或竞争程序、子Agent、运行库改写、用户配置改动或关机;NV显存延期。
+catalog/v2错误在固定List尾重复添加/删除FG;v3在成功后Qt.quit异步退出前Timer重跑,实际exit0但有FAIL,均保留为失败。不改产品规则,按真实Node菜单前置状态并在完成时停测试Timer,v4通过。初次本地main从578d63c合入6beeab0,merge1cec3ff、树一致;随后首轮源码封包被历史已跟踪16053字节pyc缓存挡住,无便携ZIP/DELIVERY。未完成源ZIP SHA200c3894…、首轮冻结与合并记录归档;不删除旧Git文件,明确排除缓存后先验证清单/partial验后改名。续修仅本轮打包/guard/证据脚本和记录,产品/EXE/20份通过收据不变,再合入main;独立start不改,guard逐次核对main父提交和实测树。
+
+最终main/源码/ZIP/CRC/逐文件SHA、独立解压仅系统PATH启动及旧工作区/发布包保护分别以本任务main-merge.json、DELIVERY.json、cold-final-zip.json、final-check.json为准;本段不能代替尚未执行的最终步骤。无新公开发布/推送、压力或竞争程序、子Agent、运行库改写、用户配置改动或关机;NV显存延期。
## 2026-10-06 PR19/20 最终适配验收
diff --git a/scripts/acceptance/release-2.0.5-control.py b/scripts/acceptance/release-2.0.5-control.py
index b50481d5..ec4711f2 100644
--- a/scripts/acceptance/release-2.0.5-control.py
+++ b/scripts/acceptance/release-2.0.5-control.py
@@ -27,7 +27,13 @@ for row in start['preserved_worktrees']:
if location.resolve()==Path(start['mainPath']).resolve() and head!=row['head']:
merge=json.loads((BASE/'logs'/TASK/'main-merge.json').read_text(encoding='utf8'))
assert head==merge['mainAfter'] and merge['mainBefore']==row['head']
- assert git('rev-list','--parents','-n','1',head,cwd=location).strip().split()[1:]==[row['head'],merge['testedSourceCommit']]
+ previous=row['head']
+ for step in merge.get('steps',[merge]):
+ assert step['mainBefore']==previous
+ assert git('rev-list','--parents','-n','1',step['mainAfter'],cwd=location).strip().split()[1:]==[previous,step['testedSourceCommit']]
+ assert git('rev-parse',step['mainAfter']+'^{tree}',cwd=location).strip()==git('rev-parse',step['testedSourceCommit']+'^{tree}').strip()
+ previous=step['mainAfter']
+ assert previous==head
assert git('rev-parse',head+'^{tree}',cwd=location).strip()==git('rev-parse',merge['testedSourceCommit']+'^{tree}').strip()
else:assert head==row['head'],str(location)
assert git('status','--porcelain=v1','-z','--untracked-files=all',cwd=location)==row['status'],str(location)
diff --git a/scripts/acceptance/release-2.0.5-evidence.py b/scripts/acceptance/release-2.0.5-evidence.py
index 96eb8bb5..541896d8 100644
--- a/scripts/acceptance/release-2.0.5-evidence.py
+++ b/scripts/acceptance/release-2.0.5-evidence.py
@@ -27,7 +27,11 @@ if mode=='freeze':
names=git('ls-files').splitlines()
tracked={name:sha(ROOT/name) for name in names}
for p in (ROOT/'scripts/acceptance').glob('release-2.0.5-*.py'):ast.parse(p.read_text(encoding='utf8'))
+ excluded={name:h for name,h in tracked.items() if '__pycache__' in Path(name).parts and Path(name).suffix.lower()=='.pyc'}
+ opening=read(ARCH/'start.json')
+ for name,h in excluded.items():assert opening['trackedSha256'].get(name)==h,name
receipt=dict(sourceCommit=git('rev-parse','HEAD'),executableSha256=sha(exe),trackedInputs=tracked,
+ sourceArchiveInputs={name:h for name,h in tracked.items() if name not in excluded},excludedTrackedCaches=excluded,
testReceipts={name:sha(LOG/name) for name in required},
validationScope='Fresh 2.0.5 build and bounded serial regression checks; previous fix2 A/B measurements remain historical',
unresolved='NVIDIA VRAM growth deferred; actual AMD HIP/encoder and user-panel tearing unverified')
@@ -60,7 +64,8 @@ else:
if name.startswith('qml/'):assert sha(app/name)==h,name
with zipfile.ZipFile(delivery[0]['sourceZip']) as zipped:
assert zipped.testzip() is None
- for name,h in frozen['trackedInputs'].items():assert hashlib.sha256(zipped.read('Veyra-2.0.5-source/'+name)).hexdigest()==h,name
+ assert set(zipped.namelist())=={'Veyra-2.0.5-source/'+name for name in frozen['sourceArchiveInputs']}
+ for name,h in frozen['sourceArchiveInputs'].items():assert hashlib.sha256(zipped.read('Veyra-2.0.5-source/'+name)).hexdigest()==h,name
subprocess.run(['git','bundle','verify',str(ARCH/'integration-final.bundle')],cwd=ROOT,check=True)
receipt=dict(passed=True,version='2.0.5',testedSourceCommit=head,mainCommit=merge['mainAfter'],treesIdentical=True,
executableSha256=sha(exe),trackedInputs=len(frozen['trackedInputs']),testReceipts=len(frozen['testReceipts']),
diff --git a/scripts/acceptance/release-2.0.5-package.py b/scripts/acceptance/release-2.0.5-package.py
index fdd6eaf8..0a2428ea 100644
--- a/scripts/acceptance/release-2.0.5-package.py
+++ b/scripts/acceptance/release-2.0.5-package.py
@@ -39,15 +39,21 @@ if mode=='finalize':
frozen=read(LOG/'tested-inputs.json');assert frozen['sourceCommit']==head and frozen['executableSha256']==sha(exe)
for name,h in frozen['trackedInputs'].items():assert sha(ROOT/name)==h,name
for name,h in frozen['testReceipts'].items():assert sha(LOG/name)==h,name
- with zipfile.ZipFile(sourcezip,'x',zipfile.ZIP_DEFLATED,compresslevel=6) as zipped:
- for name in git('ls-files').splitlines():
- safe(name)
- assert not name.startswith(('runtime/','runtime_local/','third_party_local/','models/'))
- assert Path(name).suffix.lower() not in ('.dll','.exe','.lib','.pdb','.addon64','.onnx','.bin','.hsaco','.f16','.f32','.ptx','.pyc'),name
+ # Validate every source entry before opening the output. Existing tracked
+ # Python caches stay in Git for preservation but are not rebuild materials.
+ for name in frozen['sourceArchiveInputs']:
+ safe(name)
+ assert not name.startswith(('runtime/','runtime_local/','third_party_local/','models/'))
+ assert Path(name).suffix.lower() not in ('.dll','.exe','.lib','.pdb','.addon64','.onnx','.bin','.hsaco','.f16','.f32','.ptx','.pyc'),name
+ assert not sourcezip.exists()
+ partial=PACK/(sourcezip.name+'.partial')
+ with zipfile.ZipFile(partial,'x',zipfile.ZIP_DEFLATED,compresslevel=6) as zipped:
+ for name in sorted(frozen['sourceArchiveInputs']):
zipped.write(ROOT/name,arcname='Veyra-2.0.5-source/'+name)
- with zipfile.ZipFile(sourcezip) as zipped:
+ with zipfile.ZipFile(partial) as zipped:
assert zipped.testzip() is None
- for name,h in frozen['trackedInputs'].items():assert hashlib.sha256(zipped.read('Veyra-2.0.5-source/'+name)).hexdigest()==h,name
+ for name,h in frozen['sourceArchiveInputs'].items():assert hashlib.sha256(zipped.read('Veyra-2.0.5-source/'+name)).hexdigest()==h,name
+ partial.rename(sourcezip)
subprocess.run(['git','bundle','create',str(ARCH/'integration-final.bundle'),'578d63c3a0143429b306e26eeb89137473b4d99f..HEAD'],cwd=ROOT,check=True)
subprocess.run(['git','bundle','verify',str(ARCH/'integration-final.bundle')],cwd=ROOT,check=True)
delivery=[]
@@ -106,6 +112,7 @@ for vendor in ('AMD','NVIDIA'):
fileCount=len(actual),unchangedComponentCount=len(immutable),dependencySource=str(DEPS),dependencySourceSha256=sha(DEPS))
if mode=='finalize':
receipt['mainCommit']=merge['mainAfter']
+ receipt['sourceArchiveExcludedCaches']=list(frozen['excludedTrackedCaches'])
archive=PACK/(app.name+'.zip')
with zipfile.ZipFile(archive,'x',zipfile.ZIP_DEFLATED,compresslevel=6) as zipped:
for name,p in sorted(actual.items()):zipped.write(p,arcname=app.name+'/'+name)