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++
Prepare 2.1.3 GitHub release notes, original SR comparison and audited package promotion
Veyra Goal Agent0a09d376a7d0
diff --git a/README.md b/README.mdindex a7a1626b..99798f3a 100644--- a/README.md+++ b/README.md@@ -71,6 +71,8 @@ Turn local video, capture cards and game streaming into one real-time GPU enhanc**[Veyra knowledge base](https://qcnv4i7tnd7l.feishu.cn/wiki/space/7688258025282358221?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home)** — community guidance compiled from four group chats, covering software setup, common problems and capture cards.+**2.1.3:** Three RTX Video SR families and independent second-pass models, medium defaults, inline NR web/list editing, RTX30 VFG compatibility, RX7000 multi-GPU and seeking/menu fixes. [Full changes, comparison and migration](docs/RELEASE_NOTES_2.1.3.md).+## Highlights**2.0.4 NR controls:** each NR layer's **Enhancement delta → Total strength** now reaches 5. **Picture control** defaults off; enable it and select Automatic or Manual. Automatic values now adapt separately to styles 0/1/2, with an amount slider (0 retains raw strength, 1 applies full correction). The nine manual controls cover hue, chroma, neutral tint, source color retention, lightness retention, shadows, highlights, local compression and temporal stability. **Use this style’s automatic values** provides a manual starting point. Switching modes keeps manual values; turning control off preserves the original residual algorithm. Five extrapolates one inference's residual, and protection reduces the corresponding changes; it cannot promise full gain five with no artifacts on every video. Presets, List/Node sessions, PNGs and video exports share the settings. [Local validation and known limits](docs/history/reports/NR_STRENGTH_PROTECTION_EXECUTION_2026-10-05.md).@@ -81,7 +83,7 @@ Turn local video, capture cards and game streaming into one real-time GPU enhanc- **New export workflow:** editable ordered queue, trimming, MP4/MKV, multiple audio/embedded subtitle tracks, cancellation/retry and completion sound.- **Enhancement and compatibility:** SF310.9.16 performance/legacy models, NVIDIA original for RTX50 and AMD lmxxf, DLSS/XeSS/FSR options, capture improvements and a persistent OBS Game Capture switch with restart confirmation. Full details are in the Release.-**Current version: [2.1.2](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.2)** · [Full bilingual update](docs/RELEASE_NOTES_2.1.2.md).+**Current version: [2.1.3](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.3)** · [Full bilingual update](docs/RELEASE_NOTES_2.1.3.md).## New in 2.1.2@@ -118,7 +120,7 @@ Turn local video, capture cards and game streaming into one real-time GPU enhanc## Install and upgrade-Download **Veyra-2.1.2-NVIDIA-win64-portable.zip** or **Veyra-2.1.2-AMD-win64-portable.zip** for Veyra's active GPU. Extract with Windows or 7-Zip into a new writable folder and run **veyra_qml_ui.exe**. You need one GPU package to run the application; source assets are only for rebuilding. Windows 11 x64 and DirectX 12 are required; Qt and approved runtimes are included, while GPU/capture drivers are installed separately. Backend hardware requirements vary; most local tests used an RTX 5070.+Download **Veyra-2.1.3-NVIDIA-win64-portable.zip** or **Veyra-2.1.3-AMD-win64-portable.zip** for Veyra's active GPU. Extract with Windows or 7-Zip into a new writable folder and run **veyra_qml_ui.exe**. You need one GPU package to run the application; source assets are only for rebuilding. Windows 11 x64 and DirectX 12 are required; Qt and approved runtimes are included, while GPU/capture drivers are installed separately. Backend hardware requirements vary; most local tests used an RTX 5070.Start with effects off, check picture/sound, then enable effects individually. High resolution, layered NR and frame generation increase GPU/VRAM requirements.diff --git a/README_CN.md b/README_CN.mdindex c0da04a4..db330d6e 100644--- a/README_CN.md+++ b/README_CN.md@@ -16,7 +16,7 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组**GitHub Release 累计下载已超过 3.8 万次**([2026-10-20 数据快照](https://git.hiwiki.org/zh-CN/repo/likely7/veyra-nrvideo),下载次数不等于独立用户数)。-[下载2.1.2免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.2) · [完整更新(中文/English)](docs/RELEASE_NOTES_2.1.2.md) · [反馈](https://github.com/Likely7/Veyra-NRVideo/issues)+[下载2.1.3免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.3) · [完整更新(中文/English)](docs/RELEASE_NOTES_2.1.3.md) · [反馈](https://github.com/Likely7/Veyra-NRVideo/issues)**2.1.2 更新:** 双重超分、超采样、英伟达低延迟与 RX 7000 实验 NR;补帧去重/节奏、捕获音频与极简音量修复。[完整更新与迁移](docs/RELEASE_NOTES_2.1.2.md)。@@ -27,6 +27,8 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组**[Veyra软件知识库](https://qcnv4i7tnd7l.feishu.cn/wiki/space/7688258025282358221?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home)**:整理四个群聊的消息汇总成的Veyra使用文档,大部分软件问题、采集卡问题都可以先在里面查找答案。+**2.1.3:** 三类 RTX 视频超分与独立第二次模型、默认中档;NR 组内网状/列表九项完整调节;RTX30 VFG 实验兼容、RX7000 多 GPU 修复;全屏拖动、导出跳转、菜单抖动及低延迟提示更新。[完整更新、对比图与迁移](docs/RELEASE_NOTES_2.1.3.md)。+## 2.0.0 重点**2.0.4 NR 调控:** 每层 NR 的“增强变化量 → 总变化强度”最高为 5。“画面调控”默认关闭,开启可选自动/手动。自动分别适配风格 0/1/2,新增力度滑块(0 保留原始强度,1 完整纠偏)。手动共九项:色相、色度、中性色、原图色彩保留、亮度保持、暗部、高光、局部压缩和时域稳定;“采用当前风格的自动参数”可作为手动起点。切换方式保留手动数值,关闭调控保留原始残差算法。5 是一次推理结果的残差外推,保护会降低对应变化量,不能保证所有素材在完整局部增益 5 下无失真。预设、列表/节点会话、PNG 与视频导出共用这些设置。验收与已知限制见[本轮记录](docs/history/reports/NR_STRENGTH_PROTECTION_EXECUTION_2026-10-05.md)。@@ -72,7 +74,7 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组## 下载、启动与升级-1. 按 Veyra 实际使用的显卡下载 **Veyra-2.1.2-NVIDIA-win64-portable.zip** 或 **Veyra-2.1.2-AMD-win64-portable.zip**,用 Windows 或 7-Zip 完整解压到可写新目录,运行 **veyra_qml_ui.exe**。运行只需一个显卡包,源码包仅供重编译。+1. 按 Veyra 实际使用的显卡下载 **Veyra-2.1.3-NVIDIA-win64-portable.zip** 或 **Veyra-2.1.3-AMD-win64-portable.zip**,用 Windows 或 7-Zip 完整解压到可写新目录,运行 **veyra_qml_ui.exe**。运行只需一个显卡包,源码包仅供重编译。2. Windows 11 x64、DirectX 12;无需安装 Qt、Python 或开发 SDK。显卡/采集卡驱动仍需安装。后端各有硬件要求,主要实测显卡为 RTX 5070。3. 先关闭效果确认基础画面和声音,再逐项开启。8K、多层 NR 和补帧会增加显存与处理时间,不保证所有组合实时运行。4. **1.4.4 教程不再适用。** 2.0 使用独立配置目录,保留旧版用于回退;不要直接复制旧 `veyra.ini`、整个 `runtime_local` 或混装 DLL 覆盖新版。diff --git a/README_EN.md b/README_EN.mdindex a8efff64..b73a555c 100644--- a/README_EN.md+++ b/README_EN.md@@ -4,4 +4,6 @@ The English README is now the [repository homepage](README.md).[English](README.md) | [简体中文](README_CN.md)-Current version: [Veyra 2.1.2](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.2) · [Changes since 2.1.1](docs/RELEASE_NOTES_2.1.2.md).+Current version: [Veyra 2.1.3](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.3) · [Changes since 2.1.1](docs/RELEASE_NOTES_2.1.3.md).+**2.1.3:** Three RTX Video SR families and independent second-pass models, medium defaults, inline NR web/list editing, RTX30 VFG compatibility, RX7000 multi-GPU and seeking/menu fixes. [Full changes, comparison and migration](docs/RELEASE_NOTES_2.1.3.md).+diff --git a/docs/BUILD_2.1.3.md b/docs/BUILD_2.1.3.mdnew file mode 100644index 00000000..b6c441b8--- /dev/null+++ b/docs/BUILD_2.1.3.md@@ -0,0 +1,23 @@+# Veyra 2.1.3 构建与对应源码++产品源码 `7a2d15d9222a98fac69e5343c01b443e1d7060be`,PE2.1.3.0,EXE SHA256 `76c4a44ee582dcd4150152c4e32e5e45f61fee1a35a285818dc7ee1464940f7a`。沿用已验2.1.3重构建ZIP原程序,发布仅更新文档、对比原图和发行元数据,不改程序/QML/shader/DLL/模型。++[应用及RX7000网络源码](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.3-sources)。源码包为发布准备Git快照,产品目录与上述构建提交相同。构建MSVC2022/C++20、CMake/Ninja Release、Qt6.8.3,入口scripts/acceptance/build-recording-handoff.py;[本轮构建验证](REBUILD_2.1.3_DEFAULTS_2026-11-06.md)、[主线验收](BUILD_2.1.3_TEST_2026-11-06.md)。AMD包带NVAPI LUID与HIP选卡修复,NVIDIA包带已核验的两VFX原件;来源/许可见manifest及THIRD_PARTY_NOTICES。++网络源码SHA256 `0b4657f1340ed4775e702a9eda27cbc558a49ee5d4a2ed25bbecdd2447d3eb48`,worker源码在应用档中。发行目录E:/项目/Veyra/releases/codex-release-2.1.3-20261106,报告reports同任务。++## 未变依赖的固定对应源码++| 依赖源码 | SHA256 |+|---|---|+| [Veyra-2.0.6-dependency-source.zip](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.6/Veyra-2.0.6-dependency-source.zip) | `4eccde6343d66e0511b641aaacc12b999e424738a383fcce268d762abb3dceb9` |+| [FFmpeg-9.0.1-slices256-dav1d-zlib-source.zip](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.7-sources/FFmpeg-9.0.1-slices256-dav1d-zlib-source.zip) | `49db22049f072bd5448faa664aa736074dccfe6e72b4a933f673d8ae954b0bb6` |+| [FFmpeg-9.0.1-deinterlace-module-source.zip](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.9-sources/FFmpeg-9.0.1-deinterlace-module-source.zip) | `f993629b6587bac09d26c3b365b59f009edd01e539c79436aae7775fc4448152` |+| [lmxxf-044-corresponding-source.zip](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.1.0-sources/lmxxf-044-corresponding-source.zip) | `f83267c40fee6b36b183169e9e192089994628aa7b524357c8a0af5d4225070b` |++原始源码、固定提交、修改说明、FFmpeg补丁与构建材料随相应源码档及仓库保留。Veyra自身为GPLv3;Chiaki相关组合遵循随附AGPLv3及OpenSSL例外,其他依赖以各自许可证和THIRD_PARTY_NOTICES为准。运行包中的专有/社区实验组件按manifest记录身份,许可证随运行包提供。++English: the application snapshot above matches the published executable code. Unchanged dependency sources remain at the fixed, digest-verified assets listed here. Release tags additionally contain publication documentation.+++English: the source archive is the publication commit; product directories are identical to the exact executable build commit above. Original dependency archives, licences, build instructions and FFmpeg slices256/dav1d/zlib patches remain available at their fixed links.diff --git a/docs/RELEASE_2.1.3_EXECUTION_2026-11-06.md b/docs/RELEASE_2.1.3_EXECUTION_2026-11-06.mdnew file mode 100644index 00000000..62b4bdb7--- /dev/null+++ b/docs/RELEASE_2.1.3_EXECUTION_2026-11-06.md@@ -0,0 +1,5 @@+# 2.1.3 发布方案与执行++用户2026-11-06明确授权发布GitHub,详细汇总2.1.2以来更新并公开所提供超分对比原图。目标Likely7/Veyra-NRVideo,两个显卡运行ZIP与对应源码Release,保留交流群8/赞助两图各width220。沿用已验重构建不可变ZIP作供体;不读取用户运行目录,产品字节不改。++正常fetch已确认远端main为祖先,不覆盖远端;提交发布准备,git archive归档,脚本release-2.1.3.py逐文件核验供体并仅更新文档/发行元数据。推送main及v2.1.3/v2.1.3-sources,草稿上传核对服务端摘要后先公开源码,再将运行版设Latest。校验远端资产SHA/大小、匿名下载、图片字节、二维码宽度、标签与Latest。实际结果以reports/codex-release-2.1.3-20261106/FINAL.json为准。群公告仅交付文字,不代发。diff --git a/docs/RELEASE_NOTES_2.1.3.md b/docs/RELEASE_NOTES_2.1.3.mdnew file mode 100644index 00000000..bbbf90ba--- /dev/null+++ b/docs/RELEASE_NOTES_2.1.3.md@@ -0,0 +1,95 @@+# Veyra 2.1.3|三类 RTX 视频超分、NR 网状调节与兼容修复++本次汇总 **2.1.2 正式版之后** Claude 与 Codex 已合入主线的功能与修复。按显卡下载 NVIDIA 或 AMD 完整免安装包;普通使用无需下载源码。++## 1. RTX 视频超分:三个版本、独立档位++- **标准**:保留原 RTX 视频超分,支持放大及同尺寸修复。+- **高码率**:新增高码率模型,作为另一种细节重建选择。+- **流媒体**:新增流媒体模型,提供针对压缩视频的另一种处理风格。+- 数字档位改为 **低/中/高/超高**;标准、高码率各四档,流媒体提供 **中/超高**。三版本之间切换尽量保留对应档位。+- 基础超分与第二次超分默认均为 **中档**;从 DLSS/FSR 首次切入 RTX 版本、尚无旧档位时也从中档开始。已有明确保存的选择和预设保持。+- 高码率、流媒体用于放大;输入已经达到目标尺寸时不会运行,同尺寸修复请选择标准版本。流媒体需要 RTX 30 或更新显卡,功能是否可用以实际设备和运行组件为准。++### 新旧超分对比++++原图由用户提供,未经重绘。左上普通放大作参考;右上原 RTX 视频超分超高(4);左下新高码率超高(19);右下新流媒体超高(23)。括号内是模型模式编号,**不是帧率或性能分数**。可对照箭羽、头发、弓弦与背景枝叶观察纹理和边缘的变化。不同模型处理风格不同,按片源和个人观感选择;这张静态图不代表所有素材的效果或运行速度。++## 2. 双重超分与超采样适配三个版本++- 第二次超分可独立选择标准/高码率/流媒体,以及自己的档位,允许与基础超分使用不同版本。+- 保持“基础超分 → 缩至中间尺寸 → 第二次超分”的顺序,超分卡片会显示处理尺寸与两次模型摘要。+- “超分后缩回到”同样支持三个版本,可将超分结果缩回选定尺寸。+- 设置、预设和重启恢复统一保存模型选择;修正更改默认档位后预设格式判断仍写死旧默认值的问题。++## 3. NR 参数:组内网状/列表切换++- 在 **增强变化量** 和 **画面调控的手动调节** 内,各自选择“网状”或“列表”,两组可以使用不同调节方式。+- 增强变化量使用四轴网状调节,**总变化强度仍为滑条**。+- 手动画面调控完整覆盖九项:**色相保护、色度保护、中性色保护、原图色彩保留、亮度保持、暗部保护、高光保护、局部压缩、时域稳定**。+- 网状与列表共用同一组参数,切换不清零、不另存一套;保留数值调节、恢复默认及预设保存能力。+- 自动/手动切换保留手动参数与所选视图;NR 模型、内部处理分辨率及其他设置仍在原区域。++## 4. RTX 30 VFG 与 RX 7000 NR++- 增加 **RTX 30 系 VFG 实验兼容路径**,复用现有运行组件;RTX 40/50 继续使用原生路径。界面保留实验标识,实际可用性与性能取决于显卡和驱动。+- 修正 **RX 7000 核显+独显环境**的设备身份匹配:NVAPI LUID 跟随当前计算上下文,避免错误识别成另一块显卡。+- NR worker 在初始化 HIP 前按目标显卡选择设备,避免独显权重分配使用核显流;尊重外部已有的设备可见性设置。+- 补充 worker 初始化阶段、标准错误与异常诊断,便于定位设备创建失败。AMD 包已包含更新后的开源 NVAPI 与 worker,保留原模型身份和许可证。++## 5. 播放、导出与界面修复++- **全屏进度条**:修复拖动过程中全屏控制条状态变化导致拖动被取消;取消操作时正确清理待跳转状态。+- **NVENC 导出跳转**:H.264/HEVC 显式同步 IDR 周期与现有 GOP,恢复周期随机访问帧和 MP4 跳转索引。不会把普通 I 帧一律标成安全关键帧。+- **菜单文字抖动**:修正默认软件绘制下弹簧动画到达终点后的文字整像素回跳,保留原动画风格与 GPU 绘制路径。+- **英伟达低延迟**:高负载警告改成红字,**仅选中“开+增强”时出现**,“关”和普通“开”时隐藏。高负载可以优先使用普通“开”,按自身设备观察效果。++## 6. 验证数据++- 最终完整软件 QtQuick 回归:**173 项通过、0 失败、0 跳过**;低延迟提示 GPU 绘制专项 **6 项通过**。+- 实际程序检查新默认、列表/节点中的提示切换、保存设置及重启恢复。+- 主线整合验证:**7 组超分及双重组合,每组 60 帧,共 420 帧对齐检查通过**。+- H.264/HEVC 各 **270 帧**导出,周期 IDR 位于 **0/120/240**,MP4 索引为 **1/121/241**;专门修复验收覆盖 **14 组导出与 28 次跳转**。+- NVIDIA/AMD 两个最终测试包均完成逐文件 SHA256/ZIP 校验、独立解压、最小 PATH 启动播放。软件验证主要在 RTX 5070 上完成;以上数字是相应用例的验证结果,不是所有显卡的性能承诺。++## 升级并保留设置++1. 下载匹配 Veyra 实际使用显卡的包,**推荐完整解压到新的可写目录**。+2. 完全退出旧版和新版。默认便携数据在旧版 `runtime_local/user-data-2.0.0`,复制到新版对应位置;自定义 LUT 另复制 `runtime_local/luts`。若改过数据目录,以软件“设置 → 关于”显示的实际路径为准。+3. 启动新版,检查预设、片源与模型选择。保留旧目录,确认新版本正常后再自行整理。+4. 退出后,同显卡类型的包可以覆盖解压,但容易留下旧组件;新目录迁移更清楚。**不要用整份旧 runtime 或旧 DLL 覆盖新版组件,也不要混用 NVIDIA/AMD 包。**++新安装效果默认关闭;升级保留已有明确保存的设置,默认中档不会强制覆盖你的选择。++## 下载、源码与组件++- NVIDIA/AMD 完整运行包在本页 Assets;每个包携带逐文件清单、组件来源与许可证。`SHA256SUMS.txt` 提供下载校验值。+- [应用及 RX 7000 网络对应源码](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.3-sources);[构建和固定依赖源码](https://github.com/Likely7/Veyra-NRVideo/blob/v2.1.3/docs/BUILD_2.1.3.md)。源码与运行组件分开发布。+- NR、RTX30 VFG 及相应社区运行组件保留实验性质,组件版本、来源、签名状态和 SHA256 见包内 manifest;不代表 NVIDIA 官方认证或合作。++## English summary++Since 2.1.2: three RTX Video SR families with medium defaults; independently selectable second-pass models; inline NR web/list editing with all nine manual correction controls; experimental RTX30 VFG compatibility; RX7000 multi-GPU identity/HIP selection repairs; fullscreen seeking, periodic NVENC IDR/seek indexes and software-rendered menu text fixes. Boost warnings appear in red only when On + Boost is selected. Existing explicit settings are preserved. Extract into a fresh directory and migrate only your user-data/LUT folders after exiting both versions. The supplied comparison shows model modes, not performance measurements.++## 支持与反馈 / Support & feedback++<p align="center">+ <a href="https://discord.gg/c9aREyMj8"><img src="https://img.shields.io/badge/Discord-Join%20Community-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Join Veyra on Discord" height="36"></a>+ + <a href="https://ko-fi.com/likely7"><img src="https://storage.ko-fi.com/cdn/kofi5.png?v=6" alt="Support Veyra on Ko-fi" height="36"></a>+</p>++<p align="center">+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v1.4.0/docs/images/1.4.0/donate-wechat.jpg" alt="微信赞助" width="220">+ + <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v2.1.3/docs/images/community/group-8-20261102.png" alt="Veyra 交流群 8" width="220">+</p>++左:微信赞助(自愿,不影响功能);右:交流群 8。群码按图片标注于 **2026-11-09 前**有效,过期请查看仓库更新。++Left: optional donation; right: community group 8. QR valid before 2026-11-09.++[Veyra 软件知识库 / Knowledge base](https://qcnv4i7tnd7l.feishu.cn/wiki/space/7688258025282358221?ccm_open_type=lark_wiki_spaceLink&open_tab_from=wiki_home):四个群聊汇总的使用文档,涵盖软件与采集卡常见问题。+diff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex 517dd9fd..14a8e929 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -693,3 +693,7 @@ build-recording-handoff.py --task codex-build-2.1.3-20261106 --build-dir <共享应用源码归档1177696、产品7a2d15d;两ZIP逐文件SHA/CRC与独立解压最小PATH播放通过(NVIDIA=207真实呈现帧, AMD=208真实呈现帧,默认效果关闭,本机RTX5070)。最终包、源代码与网络源码摘要见test-packages/codex-rebuild-2.1.3-20261106/DELIVERY.json。两包无个人配置/日志/测试程序/SDK。临时验证副本逐SHA清理5541文件,新旧交互配置、日志与最终包保留。系统自动生成的本次单测转储经路径与SHA确认已搬至E盘日志。Git仅验收文档在归档后继续更新;未push/Release。完整实际命令、首次失败、修正和日志在本任务reports/logs。本轮临时副本清理预检首次被Windows PowerShell 5.1按本地编码误读UTF-8无BOM脚本,路径解析失败即退出,未执行删除;只给临时脚本补UTF-8 BOM后预检通过,逐SHA删除5541文件。最终交付文件与源码QML再次逐SHA核对通过,Main.qml无测试Loader残留。++## 2026-11-06 用户授权2.1.3公开发布++目标Likely7/Veyra-NRVideo,发布计划docs/RELEASE_2.1.3_EXECUTION_2026-11-06.md。2.1.2以来提交已逐项核对;原图已查看并原样复制docs/images/2.1.3/sr-comparison.png。保留群8/赞助各220;沿用重构建程序,发行仅更新文档/元数据。报告reports/codex-release-2.1.3-20261106。diff --git a/docs/images/2.1.3/sr-comparison.png b/docs/images/2.1.3/sr-comparison.pngnew file mode 100644index 00000000..80ea441dBinary files /dev/null and b/docs/images/2.1.3/sr-comparison.png differdiff --git a/scripts/acceptance/release-2.1.3.py b/scripts/acceptance/release-2.1.3.pynew file mode 100644index 00000000..ecd35e43--- /dev/null+++ b/scripts/acceptance/release-2.1.3.py@@ -0,0 +1,170 @@+"""Promote the explicitly approved Claude 2.1.3 ZIPs without changing product bytes.++Run from a clean publication commit. Does not push, upload, publish or alter donors.+All new archives and receipts stay under the E: project artifact root.+"""+from pathlib import Path+import hashlib, importlib.util, json, re, shutil, stat, subprocess, zipfile++R = Path(__file__).resolve().parents[2]+B = Path('E:/项目/Veyra')+T = 'codex-release-2.1.3-20261106'+O = B/'releases'/T+REPORT = B/'reports'/T+D = B/'test-packages/codex-rebuild-2.1.3-20261106'+PRODUCT = '7a2d15d9222a98fac69e5343c01b443e1d7060be'+EXE = '76c4a44ee582dcd4150152c4e32e5e45f61fee1a35a285818dc7ee1464940f7a'+DONORS = {'NVIDIA': 'a9e251f006d42bafa9e0d62bc5936a9d781798e2187f9b72f7c1b082d9cdb0cd',+ 'AMD': '9d0491c66e6035ba9a76d9153b5974a5f4edd83e0e72ce566ec3f4392498b71f'}+NETWORK = '0b4657f1340ed4775e702a9eda27cbc558a49ee5d4a2ed25bbecdd2447d3eb48'+WORKER = 'runtime/amd-nr-rdna3/veyra_amd_nr_worker.exe'+STUB = 'runtime/amd-nr-rdna3/zluda/nvcuda.dll'+STUB_SHA = 'b5f118a8f08b3789319cc61e151e1c84ff0f85dc2620a09bd51e7d877fc1ebbe'+BASE = 'https://github.com/Likely7/Veyra-NRVideo/releases/download/'+spec = importlib.util.spec_from_file_location('package_qml', R/'scripts/package-qml-release.py')+pkg = importlib.util.module_from_spec(spec)+spec.loader.exec_module(pkg)++def sha(p):+ with p.open('rb') as f: return hashlib.file_digest(f, 'sha256').hexdigest()++def encoded(v): return (json.dumps(v, ensure_ascii=False, indent=2)+'\n').encode('utf-8')++def git(*args):+ return subprocess.check_output(['git', '-C', str(R), *args]).decode('utf-8').strip()++def validate(n):+ if n == WORKER: pkg.relative(n)+ else: pkg.validate_payload(n)++def verify(p, expected=None):+ if expected: assert sha(p) == expected, p+ with zipfile.ZipFile(p) as z:+ ns = [i.filename for i in z.infolist() if not i.is_dir()]+ assert len(ns) == len(set(n.lower() for n in ns)), 'Duplicate path'+ for i in z.infolist():+ pkg.relative(i.filename.rstrip('/'))+ assert not stat.S_ISLNK(i.external_attr >> 16)+ ks = [n for n in ns if n.count('/') == 1 and n.endswith('/package-manifest.json')]+ assert len(ks) == 1+ key = ks[0]; prefix = key.split('/')[0]+'/'+ m = json.loads(z.read(key)); paths = {r['path'] for r in m['files']}+ assert len(paths) == len(m['files'])+ assert set(ns) == {prefix+n for n in paths}|{key}+ assert pkg.REQUIRED <= paths+ assert m['productSourceCommit'] == PRODUCT and m['exeSha256'] == EXE+ for row in m['files']:+ n = row['path']; validate(n)+ info = z.getinfo(prefix+n)+ with z.open(info) as f: actual = hashlib.file_digest(f, 'sha256').hexdigest()+ assert info.file_size == row['size'] and actual == row['sha256'].lower(), n+ if Path(n).name.lower() in {'nvcuda.dll','nvopticalflow64.dll','amdhip64.dll','amdhip64_6.dll','amdhip64_7.dll'}:+ assert m['gpuPackage'] == 'AMD' and n == STUB and actual == STUB_SHA+ runtime = json.loads(z.read(prefix+'release-runtime-manifest.json'))+ assert runtime == json.loads(z.read(prefix+'runtime/experimental/release-runtime-manifest.json'))+ assert runtime['enforcedAtRuntime'] is False+ rows = {r['path']: r for r in m['files']}+ assert rows['veyra_qml_ui.exe']['sha256'] == EXE+ for n, expected_model in pkg.MODELS.items(): assert rows[n]['sha256'] == expected_model+ for row in runtime['files']:+ assert rows[row['path']]['sha256'].lower() == row['sha256'].lower()+ assert rows[row['path']]['size'] == row['size']+ if m['gpuPackage'] == 'AMD':+ rd = json.loads(z.read(prefix+'runtime/amd-nr-rdna3/veyra-rdna3-runtime-manifest.json'))+ for row in rd['files']:+ assert rows['runtime/amd-nr-rdna3/'+row['path']]['sha256'] == row['sha256']+ return m++def release_flags(value):+ if isinstance(value, dict):+ return {k: (False if k == 'localOnly' else True if k == 'releaseAuthorized' else release_flags(v))+ for k, v in value.items() if k != 'published'}+ if isinstance(value, list): return [release_flags(v) for v in value]+ return value++def main():+ assert not git('status','--porcelain'), 'Commit publication inputs first'+ assert not git('diff', PRODUCT, '--', 'src','include','apps','qml','i18n','shaders','CMakeLists.txt')+ O.mkdir(parents=True, exist_ok=True); REPORT.mkdir(parents=True, exist_ok=True)+ head = git('rev-parse','HEAD')+ source = O/'Veyra-2.1.3-source.zip'; assert not source.exists()+ subprocess.run(['git','-C',str(R),'archive','--format=zip','--prefix=Veyra-2.1.3-source/',+ '--output='+str(source),head], check=True, timeout=120)+ with zipfile.ZipFile(source) as z:+ assert z.testzip() is None+ for n in z.namelist():+ assert not re.search(r'\.(dll|exe|lib|pdb|obj|onnx|pth|ptx|addon64)$|(^|/)(runtime_local|third_party_local|\.git)/',n,re.I), n+ network = O/'Veyra-2.1.3-rdna3-network-source.zip'+ assert sha(D/network.name) == NETWORK+ shutil.copyfile(D/network.name,network)+ results = []+ for flavor, expected in DONORS.items():+ name = f'Veyra-2.1.3-{flavor}-win64-portable'+ donor = D/(name+'.zip'); old = verify(donor,expected)+ print('DONOR VERIFIED',flavor,flush=True)+ replacements = {}+ for n in ('README.md','README_CN.md','README_EN.md','LICENSE','THIRD_PARTY_NOTICES.md',+ 'docs/BUILD_2.1.3.md','docs/RELEASE_NOTES_2.1.3.md','docs/RELEASE_SUPPORT.md',+ 'docs/images/community/group-8-20261102.png','docs/images/2.1.3/sr-comparison.png'):+ replacements[n] = (R/n).read_bytes()+ replacements['RELEASE_NOTES.md'] = (R/'docs/RELEASE_NOTES_2.1.3.md').read_bytes()+ replacements['README-2.1.3.zh-CN.md'] = replacements['RELEASE_NOTES.md']+ replacements['GPU-PACKAGE.txt'] = (+ f'Veyra 2.1.3 / {flavor} / PUBLIC RELEASE\n'+ 'Extract into a new writable folder and run veyra_qml_ui.exe.\n'+ 'Settings migration: see RELEASE_NOTES.md. No user profile is included.\n'+ 'Community/experimental runtimes retain their original identities and licences.\n'+ 'AMD RX7000 RedDuke / RX9000 lmxxf require installed HIP7 driver components.\n'+ ).encode()+ with zipfile.ZipFile(donor) as zin:+ prefix = name+'/'+ rdname = 'runtime/amd-nr-rdna3/veyra-rdna3-runtime-manifest.json'+ if flavor == 'AMD': replacements[rdname] = encoded(release_flags(json.loads(zin.read(prefix+rdname))))+ runtime = release_flags(json.loads(zin.read(prefix+'release-runtime-manifest.json')))+ runtime.update(intendedRelease='v2.1.3', authorization='User requested GitHub publication on 2026-11-06')+ for row in runtime['files']:+ if row['path'] in replacements:+ data = replacements[row['path']]+ row.update(size=len(data),sha256=hashlib.sha256(data).hexdigest())+ for n in ('release-runtime-manifest.json','runtime/experimental/release-runtime-manifest.json'):+ replacements[n] = encoded(runtime)+ m = release_flags(old)+ m.pop('published',None)+ m.update(releaseReady=True,releaseAuthorized=True,intendedRelease='v2.1.3',+ publicationStatus='See GitHub Release page',publicationSourceCommit=head,+ mainCommit=head,donorArchiveSha256=expected)+ m['correspondingSource'] = dict(application=BASE+'v2.1.3-sources/'+source.name,+ applicationSha256=sha(source),amdNetwork=BASE+'v2.1.3-sources/'+network.name if flavor=='AMD' else None,+ amdNetworkSha256=NETWORK if flavor=='AMD' else None,unchangedDependencies='docs/BUILD_2.1.3.md')+ rows = {r['path']: dict(r) for r in old['files']}+ for n, data in replacements.items():+ validate(n); rows[n] = dict(path=n,size=len(data),sha256=hashlib.sha256(data).hexdigest())+ m['files'] = [rows[n] for n in sorted(rows)]+ out = O/(name+'.zip'); assert not out.exists()+ with zipfile.ZipFile(out,'x',zipfile.ZIP_DEFLATED,compresslevel=6) as zout:+ for row in m['files']:+ n = row['path']+ if n in replacements: zout.writestr(prefix+n,replacements[n])+ else:+ with zin.open(prefix+n) as src, zout.open(prefix+n,'w',force_zip64=True) as dst:+ shutil.copyfileobj(src,dst,1024*1024)+ zout.writestr(prefix+'package-manifest.json',encoded(m))+ new = verify(out)+ changed = [r['path'] for r in old['files'] if rows[r['path']]['sha256'] != r['sha256']]+ assert all(n in replacements for n in changed)+ assert not any(n.startswith(('qml/','i18n/','shaders/')) or Path(n).suffix.lower() in {'.exe','.dll','.dxil','.onnx','.tflite','.bin','.cubin','.hsaco','.ptx'} for n in changed)+ results.append(dict(flavor=flavor,path=str(out),bytes=out.stat().st_size,sha256=sha(out),+ files=len(new['files']),changed=changed,productBytesPreserved=True,donorSha256=expected))+ print('RELEASE ZIP VERIFIED',flavor,len(new['files']),flush=True)+ assets = [source,network]+[Path(x['path']) for x in results]+ for p in assets: Path(str(p)+'.sha256').write_text(sha(p)+' '+p.name+'\n',encoding='ascii')+ (O/'SHA256SUMS.txt').write_text(''.join(sha(p)+' '+p.name+'\n' for p in assets),encoding='ascii')+ result = dict(status='LOCAL_RELEASE_ARCHIVES_VERIFIED_NOT_YET_PUBLISHED',version='2.1.3',+ publicationSourceCommit=head,productSourceCommit=PRODUCT,exeSha256=EXE,+ source=dict(path=str(source),sha256=sha(source)),networkSource=dict(path=str(network),sha256=sha(network)),+ packages=results,sourceScan='no proprietary binaries, SDK or user profiles',+ originalPackagesUntouched=True,productDiff='empty',published=False)+ (REPORT/'PACKAGING.json').write_bytes(encoded(result))+ print(json.dumps(result,ensure_ascii=False,indent=2),flush=True)++if __name__ == '__main__': main()