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.2 release notes, source offer and original community QR
Veyra Goal Agent899590f68643
diff --git a/AGENTS.md b/AGENTS.mdindex 8d18d433..4c3bbb83 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -1,5 +1,7 @@# Veyra Agent 工作规则+> **2026-11-02 当前用户授权公开发布2.1.2(覆盖本版旧本地限制)**:以Claude最新 `claude-build-2.1.2-dedup-20261102` 的不可变ZIP为供体(产品358be8c、EXE33d8e615…),整理2.1.1之后全部更新,替换用户提供的原字节交流群7二维码(11月9日前),推送main与2.1.2标签并发布到Likely7/Veyra-NRVideo。允许本版已验运行组件随两个显卡包发布,含RX7000实验组件,身份与许可证保留;不改二进制、不触碰运行中的测试目录和用户设置。发行产物releases/codex-release-2.1.2-20261102,回执reports/codex-release-2.1.2-20261102;实际发布结果按回执,不由本授权推断。+> **2026-11-02 自动剔除重复帧修复已入main并重新打包2.1.2(最新)**:修复提交358be8c(之前a90b4a9为Codex监测记录),已由main 30337c8快进合入,活动树在main;未push/Release。新的2.1.2测试包从358be8c构建(PE 2.1.2.0,主EXE 33d8e615…),放在test-packages/claude-build-2.1.2-dedup-20261102,各项检查与冷启动通过,回执reports/claude-build-2.1.2-dedup-20261102/FINAL.json。Codex首个2.1.2包目录及其中的用户配置不动。> - 改动:整画面去重容忍约百万分之五的超界分量;删除图内64×36弃帧。> - 运行目录tests/claude-sr-stage-20261028/app的主程序仍是同源的fb1e3ad7…(打包时被用户的测试实例占用,没有替换)。diff --git a/README.md b/README.mdindex a1ddbabc..04604636 100644--- a/README.md+++ b/README.md@@ -62,7 +62,9 @@ Turn local video, capture cards and game streaming into one real-time GPU enhanc----**2.1.1 release, 2026-10-27:** processed-picture recording with audio,90° playback rotation, per-layer NR percentage controls and export sizing, event-driven refresh/VRR/HDR queries, AMD HDR+NR handling, AA ordering, capture timestamp handling, NR shutdown, popup layout, screenshots and fullscreen fixes. [All changes since2.1.0](docs/RELEASE_NOTES_2.1.1.md).+**2.1.2 update:** dual SR, SR-then-downsample, NVIDIA Low Latency, experimental RX 7000 NR and capture/FG/audio/volume fixes. [Full update and migration](docs/RELEASE_NOTES_2.1.2.md).++**2.1.1 historical release, 2026-10-27:** processed-picture recording with audio,90° playback rotation, per-layer NR percentage controls and export sizing, event-driven refresh/VRR/HDR queries, AMD HDR+NR handling, AA ordering, capture timestamp handling, NR shutdown, popup layout, screenshots and fullscreen fixes. [All changes since2.1.0](docs/RELEASE_NOTES_2.1.1.md).**New-effect cost examples:** RTX5070 standard4K anti-aliasing fixtures: FXAA~0.15ms, SMAA/MLAA~0.30ms. Final single-face mesh beauty:1080p~0.93ms,4K~1.42ms. Costs vary with content/hardware; no local AMD speedup percentage was measured. [Conditions and limits](docs/history/releases/RELEASE_NOTES_2.1.0.md).@@ -79,6 +81,18 @@ 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).++## New in 2.1.2++- **SR:** true dual RTX Video SR with separate second-pass controls, plus SR-then-downsample; ordinary 8K retained, new graphs check VRAM budget.+- **GPU options:** NVIDIA Low Latency Off / On / On + Boost; experimental RX 7000 RedDuke NR, Small/Original and per-layer scale; separate RX 9000 path retained.+- **FG:** sparse-noise-tolerant full-frame dedup, remove coarse generated-frame discard, smoothed anchors, optional VFG regulation, adaptive VSync capacity wait capped at 3 ms.+- **Capture/audio:** WGC high-refresh cadence, ready-immediate no-FG capture, first-copy 60→30, Dolby/DTS carriers on generic PCM pins.+- **Controls:** F7 screenshot / F8 recording in game mode too; Cinema volume dragging, endpoints, Enter/click-away confirmation and focus.++[All changes since 2.1.1, measurements and migration](docs/RELEASE_NOTES_2.1.2.md) · [Build and corresponding source](docs/BUILD_2.1.2.md).+## New in 2.1.1- **Interface and SR defaults:** software UI drawing by default, an optional GPU renderer with restart confirmation, and RTX Video SR high as the new SR model selection; saved model choices are retained.@@ -104,13 +118,15 @@ Turn local video, capture cards and game streaming into one real-time GPU enhanc## Install and upgrade-Download **Veyra-2.1.1-NVIDIA-win64-portable.zip** or **Veyra-2.1.1-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.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.Start with effects off, check picture/sound, then enable effects individually. High resolution, layered NR and frame generation increase GPU/VRAM requirements.**The 1.4.4 UI guide is obsolete.** Version 2.0 uses separate settings. Retain the old version for rollback; do not overwrite the new package with old `veyra.ini`, an entire `runtime_local` folder or mixed DLLs.-**Retain settings when upgrading2.1.0→2.1.1:** close Veyra and back up user data first. Overlay the matching GPU package contents into the existing executable directory to retain its data folder. For a new installation directory on the same PC, open Settings→About→User data in the old version, then close it and copy its `user-data-2.0.0` folder into the new package’s `runtime_local` directory. Copy only the data folder to keep the new runtime files; custom data-directory launches use the location shown in the app.+**Upgrade 2.1.1→2.1.2:** prefer extracting into a new folder; copy only `runtime_local/user-data-2.0.0` and custom `runtime_local/luts` after closing Veyra. Use Settings→About for custom paths. Same-flavour in-place overlay is possible after exit but leaves stale components. [Steps](docs/RELEASE_NOTES_2.1.2.md#升级并保留设置).++**Historical 2.1.0→2.1.1 migration:** close Veyra and back up user data first. Overlay the matching GPU package contents into the existing executable directory to retain its data folder. For a new installation directory on the same PC, open Settings→About→User data in the old version, then close it and copy its `user-data-2.0.0` folder into the new package’s `runtime_local` directory. Copy only the data folder to keep the new runtime files; custom data-directory launches use the location shown in the app.## Using 2.0@@ -125,7 +141,7 @@ Home offers files, capture card, PS5, PC, Xbox and screen capture. Files/images### List mode-The NR version selector offers RTX20–50 · SF310.9.16, RTX50 · NVIDIA original and RX9000 · lmxxf (experimental) in both List and Node mode. SF defaults to performance modelB; disable Use performance model for legacyA. The control is disabled for NVIDIA original; AMD0.44 selects Small when enabled(default) and Original when disabled. Model selection is saved per layer. Lecram/oldSF-v2 settings migrate to SF. Unsupported versions remain visible but gray; switching supported versions updates the entire NR chain. AMD NR requires driver HIP 7. Video export uses at most internal 1080p inference and composites to the original output size; this is not native 4K NR and image exports retain the native model pixel budget. Version2.1.1 processes AMD native-HDR NR through an SDR-linear proxy and reconstructs the result over the HDR base ([2.1.1 details](docs/RELEASE_NOTES_2.1.1.md)). See [current runtime identities](docs/history/releases/BUILD_2.1.0.md).+The NR version selector offers RTX20–50 · SF310.9.16, RTX50 · NVIDIA original and RX 7000 / 9000 · AMD NR (experimental; routed to RedDuke/lmxxf by GPU) in both List and Node mode. SF defaults to performance modelB; disable Use performance model for legacyA. The control is disabled for NVIDIA original; AMD0.44 selects Small when enabled(default) and Original when disabled. Model selection is saved per layer. Lecram/oldSF-v2 settings migrate to SF. Unsupported versions remain visible but gray; switching supported versions updates the entire NR chain. AMD NR requires driver HIP 7. Video export uses at most internal 1080p inference and composites to the original output size; this is not native 4K NR and image exports retain the native model pixel budget. Version2.1.1 processes AMD native-HDR NR through an SDR-linear proxy and reconstructs the result over the HDR base ([2.1.1 details](docs/RELEASE_NOTES_2.1.1.md)). See [current runtime identities](docs/history/releases/BUILD_2.1.0.md).Select List at the top of Professional. Enable SR, NR or RTX Video HDR as needed. Up to four NR layers have independent internal resolution, strength and parameters. The master switch disables all layers and restores their previous enabled states.@@ -205,7 +221,7 @@ QML renders UI; native D3D12 renders video. List/Nodes share the engine, disconnDeveloper entry: [current documentation](docs/README.md), [build and validation](docs/DEVELOPMENT.md), [UI code responsibilities](docs/ARCHITECTURE.md). Historical task notes are indexed separately.-Original code: GPL-3.0. The combined Chiaki streaming application is also subject to AGPL-3.0 and its OpenSSL exception (licenses/remoteplay). [Third-party notices](THIRD_PARTY_NOTICES.md), [2.1.1 build/source](docs/BUILD_2.1.1.md). Source Git excludes proprietary runtimes/models. Release manifests audit publisher files, not hash-lock user DLL replacements.+Original code: GPL-3.0. The combined Chiaki streaming application is also subject to AGPL-3.0 and its OpenSSL exception (licenses/remoteplay). [Third-party notices](THIRD_PARTY_NOTICES.md), [2.1.2 build/source](docs/BUILD_2.1.2.md). Source Git excludes proprietary runtimes/models. Release manifests audit publisher files, not hash-lock user DLL replacements.## Support@@ -218,7 +234,7 @@ Original code: GPL-3.0. The combined Chiaki streaming application is also subjec<p align="center"><img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v1.4.0/docs/images/1.4.0/donate-wechat.jpg" alt="WeChat donation" width="220"> - <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/main/docs/images/community/group-7-20261027.png" alt="Veyra community group 7" width="220">+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/main/docs/images/community/group-7-20261102.png" alt="Veyra community group 7" width="220"></p>-Left: optional donation, no feature restrictions. Right: community group; QR valid **before 2026-11-03** as shown. Check repository updates after expiry.+Left: optional donation, no feature restrictions. Right: community group; QR valid **before 2026-11-09** as shown. Check repository updates after expiry.diff --git a/README_CN.md b/README_CN.mdindex d21679f6..80cbf650 100644--- a/README_CN.md+++ b/README_CN.md@@ -16,9 +16,11 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组**GitHub Release 累计下载已超过 3.8 万次**([2026-10-20 数据快照](https://git.hiwiki.org/zh-CN/repo/likely7/veyra-nrvideo),下载次数不等于独立用户数)。-[下载2.1.1免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.1) · [完整更新(中文/English)](docs/RELEASE_NOTES_2.1.1.md) · [反馈](https://github.com/Likely7/Veyra-NRVideo/issues)+[下载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.1正式发布,2026-10-27:** 新增带声音的处理后画面录制、90°画面旋转、每层NR手动比例与视频导出尺寸支持;整合补帧/显示状态查询、AMD原生HDR与NR、抗锯齿顺序、采集时间戳、NR关闭、菜单文字、截图及全屏修复。[2.1.0以来完整更新](docs/RELEASE_NOTES_2.1.1.md)。+**2.1.2 更新:** 双重超分、超采样、英伟达低延迟与 RX 7000 实验 NR;补帧去重/节奏、捕获音频与极简音量修复。[完整更新与迁移](docs/RELEASE_NOTES_2.1.2.md)。++**2.1.1(历史更新,2026-10-27):** 新增带声音的处理后画面录制、90°画面旋转、每层NR手动比例与视频导出尺寸支持;整合补帧/显示状态查询、AMD原生HDR与NR、抗锯齿顺序、采集时间戳、NR关闭、菜单文字、截图及全屏修复。[2.1.0以来完整更新](docs/RELEASE_NOTES_2.1.1.md)。**本机新增效果开销示例:** RTX5070,4K标准测试抗锯齿FXAA约0.15ms、SMAA/MLAA约0.30ms;最终网格美颜一张脸1080p约0.93ms、4K约1.42ms。不同素材/显卡会变化;AMD新模型没有本机实卡性能百分比。[条件与限制](docs/history/releases/RELEASE_NOTES_2.1.0.md)。@@ -35,6 +37,16 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组- **导出页重做**:可编辑顺序队列、剪辑、MP4/MKV、多音轨/内嵌字幕、取消重试和完成提示音。- **增强与兼容**:新版SF310.9.16双模型、50系NVIDIA原版与AMD lmxxf、DLSS/XeSS/FSR 补帧入口、采集优化及带重启确认的 OBS 游戏采集开关。详细新功能与修复见 Release。+## 2.1.2 新增与修复++- **超分**:真正双重 RTX 视频超分与第二次独立设置;新增“超分后缩回到”,支持高分辨率超采样再缩小;保留普通 8K,新增处理图检查显存预算。+- **显卡功能**:英伟达低延迟“关/开/开+增强”;RX 7000 RedDuke 实验 NR、Small/Original 与逐层百分比,RX 9000 lmxxf 独立保留。+- **补帧**:精确去重容忍极少采集噪点,删除会误丢生成帧的粗过滤;平滑呈现锚点、VFG 自动调控、垂直同步容量等待随抖动调整(上限 3 ms)。+- **采集和音频**:WGC 高刷桌面捕获帧率修正、无补帧就绪即呈现、60→30 取第一份;通用 PCM 引脚 Dolby/DTS 载波识别解码。+- **操作**:F7 截图/F8 录制含游戏模式;极简音量拖动、端点、数值回车/空白提交与焦点修复。++[2.1.1 以来完整更新、实测数据与迁移方法](docs/RELEASE_NOTES_2.1.2.md) · [构建与对应源码](docs/BUILD_2.1.2.md)。+## 2.1.1 新增与修复- **界面与默认模型**:默认软件绘制界面,设置中可选GPU绘制并重启切换;默认超分模型改为RTX视频超分高质量,保留已有模型选择。@@ -60,12 +72,14 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组## 下载、启动与升级-1. 按 Veyra 实际使用的显卡下载 **Veyra-2.1.1-NVIDIA-win64-portable.zip** 或 **Veyra-2.1.1-AMD-win64-portable.zip**,用 Windows 或 7-Zip 完整解压到可写新目录,运行 **veyra_qml_ui.exe**。运行只需一个显卡包,源码包仅供重编译。+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**。运行只需一个显卡包,源码包仅供重编译。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 覆盖新版。-**2.1.0→2.1.1升级保留设置:** 退出软件并备份用户数据后,可用同显卡类型新包内的文件覆盖旧版EXE所在目录。若解压到新目录,在旧版“设置→关于→用户数据→打开目录”找到数据,退出后把整个`user-data-2.0.0`文件夹复制到新版`runtime_local`下。配置默认随软件目录保存;只迁移数据文件夹,避免把旧运行库混入新版。自定义数据目录以软件显示路径为准。+**2.1.1→2.1.2 推荐新目录迁移:** 新包完整解压到新目录,只复制旧版 `runtime_local/user-data-2.0.0` 与自定义 `runtime_local/luts`;自定义数据路径以设置→关于为准。退出后同显卡类型可以覆盖解压,但会残留旧组件,不要整份旧运行库覆盖新版。[详细步骤](docs/RELEASE_NOTES_2.1.2.md#升级并保留设置)。++**2.1.0→2.1.1(历史迁移方法):** 退出软件并备份用户数据后,可用同显卡类型新包内的文件覆盖旧版EXE所在目录。若解压到新目录,在旧版“设置→关于→用户数据→打开目录”找到数据,退出后把整个`user-data-2.0.0`文件夹复制到新版`runtime_local`下。配置默认随软件目录保存;只迁移数据文件夹,避免把旧运行库混入新版。自定义数据目录以软件显示路径为准。## 新版操作@@ -80,7 +94,7 @@ Windows 视频、图片、采集卡与串流增强工具。在同一处理链组### 列表模式-列表与节点的 **NR 版本** 可选RTX20–50 · SF310.9.16、RTX50 · NVIDIA原版、RX9000 · lmxxf(实验)。SF默认性能模型B,关闭“启用性能优化版”使用旧模型A;原版开关置灰,AMD默认开启时用Small、关闭用原模型,各层选择可保存。旧Lecram/SF-v2设置迁移至新版SF。不支持的版本保留置灰,支持的版本切换时全 NR 链同步。AMD NR需要驱动HIP 7;视频最高内部1080p推理并合成原尺寸输出,不等于原生4K NR;图片保持原尺寸模型预算。2.1.1通过SDR线性代理进行AMD原生HDR NR,再将结果还原至HDR基底([本版说明](docs/RELEASE_NOTES_2.1.1.md))。[本版运行组件身份](docs/history/releases/BUILD_2.1.0.md)。+列表与节点的 **NR 版本** 可选RTX20–50 · SF310.9.16、RTX50 · NVIDIA原版、RX 7000 / 9000 · AMD NR(实验,按显卡路由RedDuke/lmxxf)。SF默认性能模型B,关闭“启用性能优化版”使用旧模型A;原版开关置灰,AMD默认开启时用Small、关闭用原模型,各层选择可保存。旧Lecram/SF-v2设置迁移至新版SF。不支持的版本保留置灰,支持的版本切换时全 NR 链同步。AMD NR需要驱动HIP 7;视频最高内部1080p推理并合成原尺寸输出,不等于原生4K NR;图片保持原尺寸模型预算。2.1.1通过SDR线性代理进行AMD原生HDR NR,再将结果还原至HDR基底([本版说明](docs/RELEASE_NOTES_2.1.1.md))。[本版运行组件身份](docs/history/releases/BUILD_2.1.0.md)。顶部选 **列表**,按需开启超分、NR、RTX Video HDR。NR 最多四层,独立调整内部尺寸、强度等参数;总开关关闭全部 NR,重开恢复各层原状态。@@ -160,7 +174,7 @@ QML 管界面,视频由原生 D3D12 呈现。列表/节点共用引擎,未开发从[当前文档入口](docs/README.md)开始:[构建与验证](docs/DEVELOPMENT.md)、[界面代码职责](docs/ARCHITECTURE.md)。历史任务记录已单独归档。-开发分支新增 [RX 7000 实验 NR 接入](docs/AMD_RDNA3_NR_PLAN_2026-10-29.md):支持 Small / Original 与内部百分比,保留 RX 9000 和 NVIDIA 路径。本地协议/UI回归完成,RX 7000 实卡推理尚待验收;当前正式2.1.1不包含此分支功能。+2.1.2 新增 [RX 7000 实验 NR 接入](docs/AMD_RDNA3_NR_PLAN_2026-10-29.md):支持 Small / Original 与内部百分比,保留 RX 9000 和 NVIDIA 路径。本地协议/UI回归完成,RX 7000 实卡推理尚待验收;2.1.2 已包含该实验路径。Veyra 原有代码 GPL-3.0;含 Chiaki 串流的组合程序同时适用 AGPL-3.0 与上游 OpenSSL 例外(见 licenses/remoteplay)。[第三方来源与许可](THIRD_PARTY_NOTICES.md)、[2.1.0 构建与对应源码](docs/history/releases/BUILD_2.1.0.md)。源码与运行库/模型分离;Release manifest 用于发行审计,不用哈希锁阻止用户替换 DLL。@@ -175,7 +189,7 @@ Veyra 原有代码 GPL-3.0;含 Chiaki 串流的组合程序同时适用 AGPL-3<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/main/docs/images/community/group-7-20261027.png" alt="Veyra 交流群 7" width="220">+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/main/docs/images/community/group-7-20261102.png" alt="Veyra 交流群 7" width="220"></p>-左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-11-03 前**有效,过期请查看仓库更新。+左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-11-09 前**有效,过期请查看仓库更新。diff --git a/README_EN.md b/README_EN.mdindex b2b9174c..a8efff64 100644--- a/README_EN.md+++ b/README_EN.md@@ -3,3 +3,5 @@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).diff --git a/docs/BUILD_2.1.2.md b/docs/BUILD_2.1.2.mdnew file mode 100644index 00000000..9dc7356e--- /dev/null+++ b/docs/BUILD_2.1.2.md@@ -0,0 +1,28 @@+# Veyra 2.1.2 构建与对应源码++应用版本 2.1.2,PE 2.1.2.0。产品源码提交 `358be8cfe82a1563cc05fdeca34f684a0e95b6fc`;主 EXE SHA256 `33d8e615666365ba84f1cfebbc6ffef4bb6c2dbaf08119bdad6648e7d9cefa44`。++沿用 Claude 2026-11-02 最新去重修复包内已验程序及组件。公开发布仅替换说明、二维码和发行元数据;未重新编译或修改程序、QML、shader、DLL、模型。对应原构建与验证见 [本地构建记录](BUILD_2.1.2_TEST_2026-11-02.md)。发布目录 `E:/项目/Veyra/releases/codex-release-2.1.2-20261102`,机器回执 `E:/项目/Veyra/reports/codex-release-2.1.2-20261102`。++## 本版应用与新增网络源码++- [应用源码 Veyra-2.1.2-source.zip](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.1.2-sources/Veyra-2.1.2-source.zip):发布整理提交的 Git 快照;其中产品目录与上述构建提交无差异,额外包含更新后的发行文档、二维码、打包脚本。摘要见该 Release 的 SHA256SUMS.txt 及运行包 package-manifest.json。+- [RX 7000 网络对应源码](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.1.2-sources/Veyra-2.1.2-rdna3-network-source.zip):SHA256 `0b4657f1340ed4775e702a9eda27cbc558a49ee5d4a2ed25bbecdd2447d3eb48`。RedDuke/ZLUDA 固定提交、许可证与修改说明见 THIRD_PARTY_NOTICES、AMD 包中的来源清单及源码内 source-manifest.json。原 Veyra 原生 worker 源码在应用档中。++MSVC2022/C++20、CMake/Ninja Release、Qt6.8.3。构建入口 `scripts/acceptance/build-recording-handoff.py`,目标 `veyra_qml_ui`、`veyra_amd_nr_worker`;实际构建回执 `E:/项目/Veyra/logs/claude-build-2.1.2-dedup-20261102/build-20261102-041414/receipt.json`。源码 Git 不含专有运行组件、模型或 SDK,开发依赖另行准备。++## 未变依赖的固定对应源码++| 依赖源码 | 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.2_EXECUTION_2026-11-02.md b/docs/RELEASE_2.1.2_EXECUTION_2026-11-02.mdnew file mode 100644index 00000000..afce89af--- /dev/null+++ b/docs/RELEASE_2.1.2_EXECUTION_2026-11-02.md@@ -0,0 +1,11 @@+# 2.1.2 发布执行记录 — 2026-11-02++用户明确授权将 Claude 最新去重修复包公开发布到 Likely7/Veyra-NRVideo,更新群码并整理2.1.1以来全部更新。未授权代发群消息;群公告作为文字交付。++产品来源358be8c、主EXE33d8e615…,只从不可变原ZIP复制,不读取正在运行的解压目录作供体。原两包及源码/配置保留。远端独有27d04bd仅更新star-history.svg,已正常合并,未覆盖远端。++发行前校验:供体ZIP摘要、每文件大小/SHA256、安全路径与精确manifest集合;原程序/QML/shader/runtime/model不变;源码档检查无SDK/专有二进制/用户数据;运行包更新说明、二维码和授权元数据,重新生成清单;发布后核对GitHub资产digest、源代码标签、latest以及两张二维码实际地址/宽度。++原构建测试:8组合同、QtQuick132/0/1、3组GPU功能短测、两包解压冷启动,见BUILD_2.1.2_TEST_2026-11-02.md。发布整理不改产品代码,不重复占用用户采集卡和真实配置。RX7000实卡不由RTX5070结果推定。++构建、归档、上传和远端校验的实际命令与结果写入E:/项目/Veyra/reports/codex-release-2.1.2-20261102/FINAL.json;完成后追加WORKLOG。源码包使用发布准备提交,产品目录必须与358be8c无差异。新包README链接包含完整迁移方法;源码Release保留固定依赖源码链接。diff --git a/docs/RELEASE_NOTES_2.1.2.md b/docs/RELEASE_NOTES_2.1.2.mdnew file mode 100644index 00000000..2cda122a--- /dev/null+++ b/docs/RELEASE_NOTES_2.1.2.md@@ -0,0 +1,88 @@+# Veyra 2.1.2++2026-11-02 · Windows x64 · 从 2.1.1 升级++本版汇总 2.1.1 发布后 Claude 与 Codex 完成并合入 main 的功能和修复。下载 NVIDIA 或 AMD 中与实际处理显卡对应的一个完整免安装包,解压运行 `veyra_qml_ui.exe`。Windows 文件版本为 2.1.2.0。++## 超分辨率:两种新玩法++- **双重超分**:基础 RTX 视频超分 → 缩小第一次 AI 处理结果 → 第二次 RTX 视频超分。开关在基础超分下方,展开后独立调整第二次的缩小比例、目标尺寸与质量;列表和节点设置均可保存,默认关闭。+- **超分后缩回到**:单次 RTX 视频超分到更高分辨率,再按线性光精确面积采样缩回原尺寸或 2K/4K/5K/6K/7K。例如 1080p → 8K → 4K,后续 NR、补帧和输出按缩回后的尺寸处理。开启双重超分时暂停使用此项,并保留选择。+- 普通单次 8K 超分继续保留。新的双重与超采样处理图在创建资源前检查 WDDM 显存预算,不足时明确拒绝该组合,避免擅自降低用户选择的尺寸。画质取决于素材和参数,双重超分属于可选实验效果。++## 英伟达低延迟与 AMD NR++- **英伟达低延迟:关/开/开+增强**,直接接入 NVAPI Reflex;原帧与生成帧分开标记,避免补帧路径重复 Sleep。保存用户选择,并兼容旧低排队配置;XeSS 使用提供方自己的调度。降低排队的实际收益随设备和设置变化。+- **新增 RX 7000 · RedDuke 实验 NR**:在 NR 版本处选择“RX 7000 / 9000 · AMD NR(实验)”,程序按显卡路由;性能优化开关对应 Small/Original,各层兼容 25%–100% 手动处理比例、预设与会话。通过独立 worker 隔离,与 RX 9000 的 lmxxf 和 NVIDIA 路径分开。+- AMD NR 依赖系统已安装的 HIP 7 驱动组件;包内不附带真实显卡驱动。RX 7000 接入完成了本机协议、设置与界面验证,实卡适配按实验功能提供。实时视频采用受预算限制的内部推理尺寸,再合成至输出尺寸。++## 补帧、去重与帧节奏++- 修正自动剔除重复帧对采集微小噪点过于敏感的问题:整画面比较允许极少量分量超出 ±3 级,并持续参考最近一张真正的新画面,保留缓慢变化的累计识别能力。+- 删除图内额外的 64×36 亮度粗判断,防止已计算好的生成帧被再次误丢弃。针对 30 帧内容补帧后阶段性只到约 45 FPS 的问题修正重复过滤路径。+- T911、4K60 NV12、PS5 30 帧内容的同一批 **5401 个样本/90 秒**:旧算法 5 次噪点误判,新算法为 0。实机短测中 86 张带噪重复帧均正确识别。这是该样本的结果,不是所有采集设备的性能保证。+- 平滑源时间戳与回调呈现锚点,维持低排队;60→30 采集保留重复画面的第一份,减少额外等待。界面名称统一为“自动剔除重复帧”。+- **VFG 自动调控**:列表/节点补帧质量区可开关。实时 2X 负载紧张时可为当前帧对选用下一档更快模型;已有关闭选择保留。模型预加载需足够显存,4K 下额外占用约 1.9 GB。+- **垂直同步抖动适应**:有效垂直同步路径、输出不高于 80 FPS 且具备平滑锚点时,生成帧容量等待随回调抖动调整,上限 3 ms。自动模式选中垂直同步路径时也适用。真实 60 Hz 回放注入 1.9 ms 抖动的短测:DLSS 生成帧提交缺口约 37.7 → 5.6 次/分,VFG 中档约 5.6 → 2.8 次/分;这是软件提交统计,不等同于物理显示掉帧或屏幕端到端延迟。++## 捕获、声音与日常操作++- **屏幕捕获帧率**:修正 Windows Graphics Capture 默认 16 ms 更新间隔与高刷桌面节奏冲突,改进捕获限速和 HDR 状态缓存。本机 60 FPS 源测试,旧约 53.55/53.72 FPS,修正后约 60.00/59.99 FPS(捕获上限 60/120)。+- **无补帧捕获延迟**:采集/屏幕捕获在 GPU 就绪后直接呈现,移除固定首帧锚点造成的额外扣留。+- **采集卡 Dolby/DTS 载波音频**:自动识别通过通用 16 位双声道 PCM 引脚传来的 IEC 61937 AC3/EAC3/DTS,解码并混成立体声,保留中置人声。普通 PCM 路径保持;需要采集卡原样透传载波。+- **F7 截图、F8 开始/停止录制**,游戏模式也可用,可在设置重绑。+- **极简音量**:修复快速拖动、0%/100% 端点难拖、窗口拖动抢占;输入数值后 Return/小键盘 Enter/点击空白提交,Esc 取消;编辑时保持控制条和焦点稳定。+- 桥接层按职责拆分,公共 QML 面板与历史状态处理收拢;开发目录、分支及文档归档统一入口,便于后续维护。++## 验证与组件++本次直接使用 Claude 最新去重修复构建的程序:产品提交 `358be8cfe82a1563cc05fdeca34f684a0e95b6fc`,主 EXE SHA256 `33d8e615666365ba84f1cfebbc6ffef4bb6c2dbaf08119bdad6648e7d9cefa44`。发布整理只更新说明、二维码和打包元数据,程序、QML、shader、运行库与模型保留已验字节。++该构建通过 8 组合同/设置检查、QtQuick **132 通过/0 失败/1 跳过**、DLSS/VFG/XeSS 功能短测以及 NVIDIA/AMD 两包解压冷启动。主要测试设备 RTX 5070;AMD 包在该设备上的基础冷启动不能代替 RX 7000/9000 实卡推理验收。提交 FPS 与生成帧统计不代表显示器扫描输出。运行库身份和实验标记见随包 manifest、许可证和 [对应源码说明](BUILD_2.1.2.md)。++## 升级并保留设置++1. 退出旧版和新版,在旧版“设置 → 关于 → 用户数据 → 打开目录”确认并备份数据位置。+2. 推荐把同显卡类型的 2.1.2 包完整解压到新目录,再把旧版的 **`runtime_local/user-data-2.0.0`** 复制到新版同位置;自定义数据目录以软件显示为准。+3. 自定义 LUT 另复制 **`runtime_local/luts`**。只迁移自己的数据,不要把整个旧 `runtime`/`runtime_local` 或旧 DLL 覆盖进新包。+4. 同显卡类型也可退出后覆盖解压,但覆盖不会删除旧版多余组件。为保持组件清单一致,本次优先使用“新目录+迁移数据”;保留旧包方便回退。++下载:[2.1.2 完整运行包](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.2) · [应用与 RX 7000 网络对应源码](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.2-sources)。开箱运行只需要一个显卡包,不需要下载源码包。++---++## English — Changes since 2.1.1++- **True dual RTX Video SR:** first SR result → downsample → second SR. A switch beneath base SR expands independent second-pass controls. Off by default. Ordinary single-pass 8K remains available.+- **SR then resolve down:** render higher with RTX Video SR, then exact linear-light area-downsample to source/2K/4K/5K/6K/7K; subsequent NR/FG uses the resolved size. Paused while dual SR is active. New graphs check WDDM memory budget before allocation without silently changing requested sizes.+- **NVIDIA Low Latency:** Off / On / On + Boost, direct NVAPI Reflex with separate source/generated-frame markers and no duplicate Sleep. XeSS retains provider-owned scheduling. Settings persist and migrate.+- **Experimental RX 7000 NR:** isolated RedDuke worker, Small/Original model choice through the performance switch, per-layer 25–100% scale and saved sessions/presets. RX 9000 lmxxf and NVIDIA paths remain separate. Requires installed HIP 7 driver components; real display drivers are not bundled. RX 7000 hardware inference is offered as experimental.+- **Precise content dedup:** tolerate extremely sparse capture noise in full-frame comparison, retain the last accepted new frame as reference, and remove the coarse 64×36 discard that could throw away already-computed generated frames. The same 5401-sample / 90-second T911 4K60 NV12 PS5 sample changed from five false-new classifications to zero. 60→30 capture retains the first duplicate copy.+- **Frame pacing:** smoothed source/callback anchors while retaining low queue depth; optional VFG 2X automatic regulation can select the next faster model for a pair under load. Preloading needs free VRAM (about 1.9 GB extra at 4K). Effective VSync paths with smoothed anchors and output ≤80 FPS adapt generated-frame capacity waits to callback jitter, capped at 3 ms. A short 60 Hz replay with injected 1.9 ms jitter reduced software generated-frame submission gaps from 37.7 to 5.6/min for DLSS and 5.6 to 2.8/min for medium VFG; these are not physical scanout or end-to-end latency measurements.+- **Capture:** fix WGC's default 16 ms update cadence on high-refresh desktops (local test: ~53.55/53.72 → 60.00/59.99 FPS for a 60 FPS source at 60/120 caps), cache HDR state, and present ready no-FG capture frames without extra first-anchor holding.+- **Audio:** detect IEC 61937 AC3/EAC3/DTS on generic 16-bit stereo PCM capture pins, decode/downmix with centre dialogue retained when the card passes the carrier unchanged.+- **Controls:** rebindable F7 screenshot/F8 recording, including game mode; Cinema volume fast dragging/endpoints/focus repaired, Return/keypad Enter/click-away commit and Esc cancel. Shared QML/bridge and repository maintenance improvements.++**Build and validation:** executable PE 2.1.2.0, product commit `358be8c`, EXE SHA256 above. The tested binary/runtime/model/QML/shader bytes are preserved. Eight contract/settings groups, QtQuick 132 passed / 0 failed / 1 skipped, GPU functional checks and both clean-package cold starts passed. Most tests used RTX 5070; basic AMD-package playback there is not AMD inference certification. Experimental/community runtime identities and licences are included; no claim of official NVIDIA partnership or universal hardware validation.++**Upgrade:** close Veyra and back up the directory shown in Settings → About → User data. Prefer extracting the matching GPU package into a new folder; copy only `runtime_local/user-data-2.0.0` and your custom `runtime_local/luts` (or use the displayed custom data path). In-place overlay is possible after exit, but does not remove stale components; do not overwrite new DLLs with an entire old runtime folder. Keep the previous package for rollback. [Application and RX 7000 network source](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.1.2-sources); unchanged dependency sources are linked in [BUILD_2.1.2.md](https://github.com/Likely7/Veyra-NRVideo/blob/v2.1.2/docs/BUILD_2.1.2.md).++## 支持与反馈 / 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/main/docs/images/community/group-7-20261102.png" alt="Veyra 交流群 7" width="220">+</p>++左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-11-09 前**有效,过期请查看仓库更新。++Left: optional donation; right: community group. 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/RELEASE_SUPPORT.md b/docs/RELEASE_SUPPORT.mdindex c7d6aebe..9f3ef0cd 100644--- a/docs/RELEASE_SUPPORT.md+++ b/docs/RELEASE_SUPPORT.md@@ -9,11 +9,11 @@<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/main/docs/images/community/group-7-20261027.png" alt="Veyra 交流群 7" width="220">+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/main/docs/images/community/group-7-20261102.png" alt="Veyra 交流群 7" width="220"></p>-左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-11-03 前**有效,过期请查看仓库更新。+左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-11-09 前**有效,过期请查看仓库更新。-Left: optional donation; right: community group. QR valid before 2026-11-03.+Left: optional donation; right: community group. 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 1993312e..1864017b 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -445,3 +445,8 @@ PID61528,用户直接运行2.1.2 NVIDIA包;不激活窗口、不启动额外**未验证**:AMD实卡推理;新包在真实采集卡上的效果(修复本身已在去重任务里用PS5实测);用户主观观感。记录见docs/BUILD_2.1.2_TEST_2026-11-02.md末节,回执见E:/项目/Veyra/reports/claude-build-2.1.2-dedup-20261102/FINAL.json。+++## 2026-11-02 2.1.2公开发行准备(用户授权)++以Claude最新去重包为供体,整理2.1.1以来最终功能/修复及迁移步骤;原字节更新交流群7二维码(11月9日前),双二维码各220。正常合并远端独有star-history提交27d04bd。产品358be8c、EXE33d8e615…保持,原测试目录/进程/用户配置不动。发行新目录releases/codex-release-2.1.2-20261102,核验/上传回执reports/codex-release-2.1.2-20261102;发布状态以最终回执为准。diff --git a/docs/images/community/group-7-20261102.png b/docs/images/community/group-7-20261102.pngnew file mode 100644index 00000000..aad893cfBinary files /dev/null and b/docs/images/community/group-7-20261102.png differdiff --git a/scripts/acceptance/release-2.1.2.py b/scripts/acceptance/release-2.1.2.pynew file mode 100644index 00000000..8fc40a38--- /dev/null+++ b/scripts/acceptance/release-2.1.2.py@@ -0,0 +1,170 @@+"""Promote the explicitly approved Claude 2.1.2 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.2-20261102'+O = B/'releases'/T+REPORT = B/'reports'/T+D = B/'test-packages/claude-build-2.1.2-dedup-20261102'+PRODUCT = '358be8cfe82a1563cc05fdeca34f684a0e95b6fc'+EXE = '33d8e615666365ba84f1cfebbc6ffef4bb6c2dbaf08119bdad6648e7d9cefa44'+DONORS = {'NVIDIA': '925a789fe406dc2f07de9beb58271d949efc5b1744ee54e9ac272e37855291ac',+ 'AMD': 'f0c53f44c3aa6ebb7a8a62c3017ec593f1dfe9c38a30ebf73a10c82f71231e72'}+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 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.2-source.zip'; assert not source.exists()+ subprocess.run(['git','-C',str(R),'archive','--format=zip','--prefix=Veyra-2.1.2-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.2-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.2-{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.2.md','docs/RELEASE_NOTES_2.1.2.md','docs/RELEASE_SUPPORT.md',+ 'docs/images/community/group-7-20261102.png'):+ replacements[n] = (R/n).read_bytes()+ replacements['RELEASE_NOTES.md'] = (R/'docs/RELEASE_NOTES_2.1.2.md').read_bytes()+ replacements['README-2.1.2.zh-CN.md'] = replacements['RELEASE_NOTES.md']+ replacements['GPU-PACKAGE.txt'] = (+ f'Veyra 2.1.2 / {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.2', authorization='User requested GitHub publication on 2026-11-02')+ 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.2',+ publicationStatus='See GitHub Release page',publicationSourceCommit=head,+ mainCommit=head,donorArchiveSha256=expected)+ m['correspondingSource'] = dict(application=BASE+'v2.1.2-sources/'+source.name,+ applicationSha256=sha(source),amdNetwork=BASE+'v2.1.2-sources/'+network.name if flavor=='AMD' else None,+ amdNetworkSha256=NETWORK if flavor=='AMD' else None,unchangedDependencies='docs/BUILD_2.1.2.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.2',+ 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()