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

Release 2.0.2 with three NR variants, merged fixes and English homepage

Veyra Goal Agent0dafc57e7ad5
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d6d9309..ce229e21 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,9 +1,9 @@
cmake_minimum_required(VERSION 3.24)
-project(veyra VERSION 2.0.1 LANGUAGES CXX RC)
+project(veyra VERSION 2.0.2 LANGUAGES CXX RC)
# Shown in the EXE's version resource and in the package name. CMake versions
# must be numeric, so the beta marker lives here instead.
-set(VEYRA_DISPLAY_VERSION "2.0.1" CACHE STRING "Human-readable version string")
+set(VEYRA_DISPLAY_VERSION "2.0.2" CACHE STRING "Human-readable version string")
# The cache keeps the first value it ever saw, so a release that bumps
# project(VERSION) used to ship an EXE still stamped with the previous display
# string. Re-align it whenever the cached label does not start with the project
diff --git a/README.md b/README.md
index b2f7c63e..f67f6d9e 100644
--- a/README.md
+++ b/README.md
@@ -4,122 +4,136 @@
<p align="center">
<a href="https://github.com/Likely7/Veyra-NRVideo/blob/main/assets/veyra-2.0.0-promo.mp4">
- <img src="assets/veyra-2.0.0-promo.webp" alt="Veyra 2.0 宣传动画(点击播放视频)" width="960">
+ <img src="assets/veyra-2.0.0-promo.webp" alt="Veyra 2.0 promo (click to play the video)" width="960">
</a>
</p>
-简体中文 | [English](README_EN.md)
+English | [简体中文](README_CN.md)
-<p align="center"><img src="docs/images/2.0.0/professional-mode.png" alt="Veyra 2.0.0 专业模式" width="1200"></p>
+<p align="center"><img src="docs/images/2.0.0/professional-mode.png" alt="Veyra 2.0.0 professional mode" width="1200"></p>
-Windows 视频、图片、采集卡与串流增强工具。在同一处理链组合超分辨率、NR 画面增强、调色、RTX Video HDR 与补帧。社区增强能力保留实验性质。
+A Windows enhancement player for videos, images, capture cards and streaming. Super-resolution, NR, colour grading, RTX Video HDR and frame generation share one engine. Community enhancements remain experimental.
-[下载 2.0.0 免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.0.0) · [完整更新(中文 / English)](docs/RELEASE_NOTES_2.0.0.md) · [反馈](https://github.com/Likely7/Veyra-NRVideo/issues)
+[Download 2.0.2 portable](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.0.2) · [Full changelog: English / 中文](docs/RELEASE_NOTES_2.0.2.md) · [Issues](https://github.com/Likely7/Veyra-NRVideo/issues)
-## 2.0.0 重点
+## Highlights
-- **全新界面**:首页、极简、专业列表、节点、调色、导出和设置重新组织;支持简中、繁中、English、日本語。
-- **节点编辑与多层 NR**:连线编排处理顺序,NR/调色独立参数;列表与节点各自保存配置、会话和预设。
-- **PC / Xbox 串流**:Moonlight/Sunshine 协议 PC 串流、非官方实验 Xbox 接入,与 PS5、采集卡、屏幕捕获共用增强。
-- **导出页重做**:可编辑顺序队列、剪辑、MP4/MKV、多音轨/内嵌字幕、取消重试和完成提示音。
-- **增强与兼容**:NR 双版本、DLSS/XeSS/FSR 补帧入口、采集优化及带重启确认的 OBS 游戏采集开关。详细新功能与修复见 Release。
+- **Rebuilt interface:** Home, Cinema, Professional List, Nodes, Colour, Export and Settings; Simplified/Traditional Chinese, English and Japanese.
+- **Node editing and layered NR:** executable connections, independent NR/colour parameters, separate List/Node configurations, sessions and presets.
+- **PC / Xbox streaming:** Moonlight/Sunshine-compatible PC streaming and unofficial experimental Xbox support, alongside PS5, capture cards and screen capture.
+- **New export workflow:** editable ordered queue, trimming, MP4/MKV, multiple audio/embedded subtitle tracks, cancellation/retry and completion sound.
+- **Enhancement and compatibility:** three NR runtime choices (NVIDIA original for RTX 50, Lecram and SF-v2), DLSS/XeSS/FSR options, capture improvements and a persistent OBS Game Capture switch with restart confirmation. Full details are in the Release.
-## 下载、启动与升级
+## New in 2.0.2
-1. 下载 **Veyra-2.0.0-win64-portable.zip**,完整解压到可写新目录,运行 **veyra_qml_ui.exe**。Source code 和依赖源码包不用于直接运行。
-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 覆盖新版。
+- Restore NVIDIA original NR as a third choice; existing Lecram/SF-v2 settings remain valid.
+- Optional startup resume reopens the last movie at its saved position or starts the saved capture card configuration. Choose Cinema or Professional as your startup page.
+- Both playback bars offer 1× / 1.5× / 2× / 3× movie speed with preserved audio pitch.
+- Automatic RTSS compatibility, Xbox negotiation/shutdown fixes, VRR capture timing repair and GPU-reset export recovery. Fullscreen VRAM fallback is optional and **off by default**; the reported 5060 Ti leak itself remains unconfirmed.
-## 新版操作
+## Install and upgrade
-### 片源与页面
+Download **Veyra-2.0.2-win64-portable.zip**, extract into a new writable folder and run **veyra_qml_ui.exe**. This is the only release asset you need to run the application. 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.
-首页选择 **打开视频、采集卡、PS5 串流、PC 串流、Xbox 串流、屏幕捕获**;本地视频/图片也可拖入。底部导航切换首页、极简、专业、调色、导出和设置;隐藏时移到下沿唤出。
+Start with effects off, check picture/sound, then enable effects individually. High resolution, layered NR and frame generation increase GPU/VRAM requirements.
-- **极简**以画面为主,悬浮条控制片源、进度、音量和全屏,可在设置中隐藏。
-- **专业列表**右侧为画质、补帧、色彩、声音、显示;顶部处理顺序可定位设置,底部显示输入/输出、GPU 耗时和负载。
-- 文件画面点击暂停/继续,左右键跳转 5 秒;双击或点按钮切全屏。全屏移到顶沿可切换极简/专业,列表全屏按 **Home** 打开快速调节,**Ctrl+L** 锁定控制条。快捷键可在设置修改。
-- 顶部 **截图** 保存处理画面;预设菜单保存、管理、导入自己的配置,不强加内置画质预设。
+**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.
-### 列表模式
+## Using 2.0
-顶部选 **列表**,按需开启超分、NR、RTX Video HDR。NR 最多四层,独立调整内部尺寸、强度等参数;总开关关闭全部 NR,重开恢复各层原状态。
+### Sources and pages
-列表的 **NR 全局保护区域**排除区域内全部 NR 层效果,保留非 NR 处理结果,可用于 HUD/字幕。调色页提供基础调整、曲线、混色器、色轮、LUT 与颜色预设。
+Home offers files, capture card, PS5, PC, Xbox and screen capture. Files/images can also be dropped into the window. Move to the bottom edge to reveal navigation between Home, Cinema, Professional, Colour, Export and Settings.
-补帧页选可用后端/倍率,并核对内容节奏、显示同步、低延迟队列、输出上限。原画/增强对比期间补帧暂停,退出恢复。提交 FPS 不等于物理屏幕显示帧数或端到端延迟。
+- Cinema prioritises the picture with a floating source/transport/audio/fullscreen bar, optionally hidden in settings.
+- Professional List has Picture, Frame generation, Colour, Sound and Display tabs. The order strip locates effects; bottom panels report source/output, GPU stage time and load.
+- Click a file's picture to pause/resume; left/right arrows seek five seconds. Double-click or use the fullscreen button. The fullscreen top-edge bar switches Cinema/Professional; **Home** opens quick controls in fullscreen List mode, **Ctrl+L** locks controls. Shortcuts are configurable.
+- Use Screenshot and the preset menu to save pictures and personal settings. No imposed built-in quality presets.
-### 节点模式:编排自己的处理链
+### List mode
-专业页顶部选 **节点**。这是实际执行的处理链,不只是示意图。
+The NR version selector offers RTX 50 · NVIDIA original, RTX 50 · Lecram and RTX 20–50 · SF-v2 in both List and Node mode. It switches the entire NR chain, retaining the existing default. See [runtime identities](docs/RUNTIME_COMPONENTS_2.0.2.md).
-1. 从输入到输出保持有效连接。空白处右键或点 **添加节点**。
-2. 拖动输出端口到输入端口,或依次点击两端。节点拖到线上可插入;拖离主链或按住 **Alt** 松手可断开。
-3. 在节点内直接调参数,NR/调色可独立设置、按允许顺序放在超分前后。右键可删除、复制、重置;复制产生独立的**未连接副本**,接入前不运行。
-4. **中键平移、滚轮缩放**;适配视图/自动排列整理布局。“草稿未运行”表示编辑链未连通或不合法,不代表所有可见节点都生效。
-5. 光流在输入后计算并共享,超分为单实例;RTX Video HDR 在补帧前,补帧固定末端,DLSS/XeSS/FSR 选一个后端。不是任意分支混合图。
-6. 列表和节点分别保存参数、预设、会话。切回列表恢复原列表配置,节点链保留;切换重建处理链,可能短暂停顿。
+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.
-**2.0.0 节点模式不支持离线导出,也没有列表的 NR 全局保护区域。** 导出前切回列表并确认效果,不会自动转换节点链。
+List mode's global NR protection region excludes every NR layer inside it while retaining non-NR effects, useful for HUDs/subtitles. Colour controls include basic adjustments, curves, mixer, wheels, LUTs and colour presets.
-### 采集与串流
+Choose a supported FG backend/multiplier and check cadence, display sync, low-queue mode and output cap. Original/enhanced comparison temporarily pauses FG; leaving it resumes FG. Submitted FPS is not physical display FPS or end-to-end latency.
-| 来源 | 操作要点 |
+### Node mode — build a processing chain
+
+Select Nodes at the top of Professional. This is an executable chain editor:
+
+1. Keep a valid connected path from input to output. Right-click blank canvas or choose Add node.
+2. Drag an output port to an input port, or click the two ports in order. Drop a node on a wire to insert; drag it away or release with **Alt** held to disconnect.
+3. Edit parameters inside nodes. NR/colour nodes have independent settings and supported positions before/after SR. Right-click to delete, duplicate or reset. A duplicate is an independent **disconnected copy** until connected.
+4. **Middle-drag to pan, wheel to zoom.** Fit/auto-layout organise the graph. “Draft not running” means invalid/disconnected edits, not that every visible node executes.
+5. Optical flow is shared after input; SR is a single instance. RTX Video HDR stays before final FG; select one DLSS/XeSS/FSR backend. This is not an arbitrary branching/mixing graph.
+6. List and Node settings, presets and sessions are separate. Returning to List restores its settings and retains the node graph. Switching rebuilds processing and may briefly pause the picture.
+
+**2.0.2 Node mode does not support offline export or List mode's global NR protection region.** Switch to List and verify its effects before exporting; graphs are not silently converted.
+
+### Capture and streaming
+
+| Source | Setup |
|---|---|
-| 采集卡 | 选设备、格式、尺寸、帧率和音频输入;关闭其他程序占用。PQ/HLG/709、Limited/Full 匹配实际信号。美乐威 Pro Capture 有专用低延迟选项。 |
-| PS5 | 主机启用远程游玩,搜索或手填 IP,使用 PSN Account ID 和主机八位配对码;已保存主机可重连。 |
-| PC | 主机自行安装配置 Sunshine;Veyra 发现/添加主机、PIN 配对、选应用或桌面连接。Sunshine 不随包安装。 |
-| Xbox | 按设备码流程登录,选开启远程功能的主机。非官方实验功能,服务、账号与主机限制可能影响连接。 |
-| 屏幕 | 选窗口/显示器,避免捕获 Veyra 自身形成递归。 |
+| Capture card | Select device, format, resolution, rate and audio input. Close competing apps. Match PQ/HLG/709 and Limited/Full to the signal. Magewell Pro Capture has a dedicated low-latency option. |
+| PS5 | Enable Remote Play, discover/enter IP, use PSN Account ID and the console's eight-digit pairing code; reconnect saved hosts. |
+| PC | Install/configure Sunshine yourself; discover/add the host, PIN-pair, select app/desktop and connect. Sunshine is not bundled. |
+| Xbox | Follow device-code sign-in and select a console with remote features enabled. Unofficial/experimental; account, service and console restrictions apply. |
+| Screen | Select a window/display; avoid recursively capturing Veyra itself. |
+
+Pausing capture/streaming freezes the preview while keeping the session, not the host game. Physical hardware, networks, HDR and controllers need individual validation.
+
+### Export
-暂停采集/串流冻结预览并保留会话,不会暂停主机游戏。实卡、网络、HDR、手柄需按设备验证。
+Use **List mode**, confirm effects, then open Export. Add/reorder files, edit individual jobs, trim, select MP4/MKV and encoding quality, and keep all or selected audio/subtitle tracks.
-### 导出
+Keep all skips unsupported tracks with a notice; explicitly choosing an incompatible track is an error. Pause/cancel/retry and completion sound are available. Defaults are VBR 8 Mbps and closing playback on export to free GPU resources, both adjustable. Live FG does not imply every backend supports offline FG; follow accepted export settings.
-切到**列表**确认效果,再打开导出页。添加文件后可排序、逐项修改、设置剪辑、MP4/MKV 与编码质量;音轨/内嵌字幕可保留全部或指定。
+### OBS and settings
-“保留全部”遇到封装不支持的轨道会跳过并提示;明确指定不支持轨道则报错。可暂停、取消重试,完成可响铃。默认 VBR 8 Mbps、导出时关闭当前播放以释放 GPU,可修改。实时补帧不代表所有后端支持离线补帧,以导出页接受的配置为准。
+For OBS Game Capture, enable **Settings → General & appearance → OBS Game Capture compatibility**. Saved immediately: Yes restarts now; No applies next launch. Finish exports before restarting. Software UI rendering simplifies some shadows/blur; video enhancement stays on GPU. Game Capture targets **video**; use Windows 10 (1903+) Window Capture for the whole UI.
-### OBS 与设置
+**Settings → General & appearance → Resume last source at startup** is opt-in. It restores the movie position or saved capture device, format, rate and audio selection. Startup page is configurable. Use the playback-speed button in Cinema or Professional for 1× / 1.5× / 2× / 3×; this does not speed up live capture/streams or offline exports.
-OBS 游戏采集前,开启 **设置 → 通用与外观 → OBS 游戏采集兼容**。立即保存,选“是”重启生效,“否”下次生效;导出时需等任务结束。兼容模式 UI 软件绘制,部分阴影/模糊简化,视频增强仍用 GPU。游戏采集抓**视频**;录完整界面用 Windows 10 (1903+) 窗口采集。
+**Monitoring compatibility** defaults to Auto: when RTSS (MSI Afterburner OSD) is running at launch, the interface uses software rendering and its OSD appears on the video only. If RTSS starts later, restart Veyra when prompted. Using RTSS with OBS Game Capture requires RTSS’s “Use Microsoft Detours API hooking” option for Veyra, or use OBS Window Capture.
-设置还包含语言/缩放、快捷键、GPU 监控显卡、音频设备、组件信息。反馈附显卡/驱动、素材、效果组合、发生时间及 `logs/veyra-qml.log`,崩溃附 `.dmp`;分享前检查私人信息。
+Settings include language/scale, shortcuts, monitoring GPU, audio devices and component info. Report GPU/driver, media, effects, time and `logs/veyra-qml.log`; include a crash `.dmp` if available. Review private data before sharing.
-## 已知边界
+## Limitations
-RTSS/游戏加加适配已撤回,OBS 开关不代表这些工具兼容。RTX 30/40 社区 NR/补帧、FSR 4 ML 实卡、部分 NR TDR/显存增长与跨设备串流仍有未验证或未解决项,详见 Release。社区运行库不代表厂商认证或完整官方 DLSS 5 集成。
+RTSS compatibility was verified locally with RTSS 7.3.7 on an RTX 5070; GamePP and other overlay/hardware combinations remain unverified. Real-console Xbox long runs and console/VRR capture still need field retesting. RTX 30/40 community NR/FG, FSR 4 ML hardware, some NR TDR/VRAM-growth reports and cross-device streaming retain unresolved/unverified cases. See the Release. Community runtimes are not vendor certification or a complete official DLSS 5 integration.
-## 架构
+## Architecture
```mermaid
flowchart TD
- UI[Qt Quick / QML 页面] --> Bridge[共享 Bridge / 配置 / 会话 / 预设]
- Sources[文件 / 采集卡 / PS5 / PC / Xbox / 屏幕] --> Source[FrameSource:帧、时间戳、色彩]
- Bridge --> Graph[共享 EnhanceGraph:有效处理链]
+ UI[Qt Quick / QML pages] --> Bridge[Shared Bridge / settings / sessions / presets]
+ Sources[Files / capture / PS5 / PC / Xbox / screen] --> Source[FrameSource: frames, timestamps, colour]
+ Bridge --> Graph[Shared EnhanceGraph: valid chain]
Source --> Graph
- Graph --> Effects[多 NR / 单 SR / 调色 / Video HDR]
- Effects --> Live[实时预览:可选末端补帧]
- Live --> Present[原生 D3D12 视频窗口]
- Effects --> Export[列表离线导出 / 截图]
- Export --> Sink[编码封装 / 图片保存]
- Bridge --> Queue[导出队列:每任务配置快照]
+ Graph --> Effects[Multiple NR / single SR / colour / Video HDR]
+ Effects --> Live[Live preview: optional final FG]
+ Live --> Present[Native D3D12 video window]
+ Effects --> Export[List offline export / screenshots]
+ Export --> Sink[Encoding and muxing / image files]
+ Bridge --> Queue[Export queue: per-job settings snapshot]
Queue --> Export
```
-QML 管界面,视频由原生 D3D12 呈现。列表/节点共用引擎,未连接草稿不运行;导出不是录制预览窗口。
+QML renders UI; native D3D12 renders video. List/Nodes share the engine, disconnected drafts do not execute, and export does not record the preview window.
-## 开源与构建
+## Source and build
-Veyra 原有代码 GPL-3.0;含 Chiaki 串流的组合程序同时适用 AGPL-3.0 与上游 OpenSSL 例外(见 licenses/remoteplay)。[第三方来源与许可](THIRD_PARTY_NOTICES.md)、[2.0.0 构建与对应源码](docs/BUILD_2.0.0.md)。源码与运行库/模型分离;Release manifest 用于发行审计,不用哈希锁阻止用户替换 DLL。
+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.0.2 build/source](docs/BUILD_2.0.2.md). Source Git excludes proprietary runtimes/models. Release manifests audit publisher files, not hash-lock user DLL replacements.
-## 支持与反馈
+## Support
<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/v1.4.0/docs/images/1.4.0/donate-wechat.jpg" alt="WeChat donation" width="220">
&nbsp;&nbsp;&nbsp;&nbsp;
- <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v2.0.0/docs/images/2.0.0/community-group.png" alt="Veyra 交流群 4" width="220">
+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v2.0.0/docs/images/2.0.0/community-group.png" alt="Veyra community group 4" width="220">
</p>
-左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-10-09 前**有效,过期请查看仓库更新。
+Left: optional donation, no feature restrictions. Right: community group; QR valid **before 2026-10-09** as shown. Check repository updates after expiry.
diff --git a/README_CN.md b/README_CN.md
new file mode 100644
index 00000000..dd88900e
--- /dev/null
+++ b/README_CN.md
@@ -0,0 +1,138 @@
+# Veyra
+
+<p align="center"><img src="assets/veyra-app-icon.png" alt="Veyra" width="160"></p>
+
+<p align="center">
+ <a href="https://github.com/Likely7/Veyra-NRVideo/blob/main/assets/veyra-2.0.0-promo.mp4">
+ <img src="assets/veyra-2.0.0-promo.webp" alt="Veyra 2.0 宣传动画(点击播放视频)" width="960">
+ </a>
+</p>
+
+[English](README.md) | 简体中文
+
+<p align="center"><img src="docs/images/2.0.0/professional-mode.png" alt="Veyra 2.0.0 专业模式" width="1200"></p>
+
+Windows 视频、图片、采集卡与串流增强工具。在同一处理链组合超分辨率、NR 画面增强、调色、RTX Video HDR 与补帧。社区增强能力保留实验性质。
+
+[下载 2.0.2 免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.0.2) · [完整更新(English / 中文)](docs/RELEASE_NOTES_2.0.2.md) · [反馈](https://github.com/Likely7/Veyra-NRVideo/issues)
+
+## 2.0.0 重点
+
+- **全新界面**:首页、极简、专业列表、节点、调色、导出和设置重新组织;支持简中、繁中、English、日本語。
+- **节点编辑与多层 NR**:连线编排处理顺序,NR/调色独立参数;列表与节点各自保存配置、会话和预设。
+- **PC / Xbox 串流**:Moonlight/Sunshine 协议 PC 串流、非官方实验 Xbox 接入,与 PS5、采集卡、屏幕捕获共用增强。
+- **导出页重做**:可编辑顺序队列、剪辑、MP4/MKV、多音轨/内嵌字幕、取消重试和完成提示音。
+- **增强与兼容**:NR 三版本(50 系 NVIDIA 原版、Lecram、SF-v2)、DLSS/XeSS/FSR 补帧入口、采集优化及带重启确认的 OBS 游戏采集开关。详细新功能与修复见 Release。
+
+## 2.0.2 新增与修复
+
+- 恢复 50 系 NVIDIA 原版 NR,与 Lecram、SF-v2 共三版切换,已有设置保留。
+- 设置可开启启动自动继续上次视频及进度,或按已保存的采集卡配置直接开始;启动页可选极简或专业。
+- 极简与专业播放栏都支持 1× / 1.5× / 2× / 3× 视频倍速,声音保调。
+- 加入小飞机 RTSS 自动兼容,修复 Xbox 协商/关闭异常与 VRR 采集时序;包含 GPU 重置后断点续导。全屏显存异常自动退窗改为可选开关,**默认关闭**,5060 Ti 显存增长根因仍未确认。
+
+## 下载、启动与升级
+
+1. 下载 **Veyra-2.0.2-win64-portable.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 覆盖新版。
+
+## 新版操作
+
+### 片源与页面
+
+首页选择 **打开视频、采集卡、PS5 串流、PC 串流、Xbox 串流、屏幕捕获**;本地视频/图片也可拖入。底部导航切换首页、极简、专业、调色、导出和设置;隐藏时移到下沿唤出。
+
+- **极简**以画面为主,悬浮条控制片源、进度、音量和全屏,可在设置中隐藏。
+- **专业列表**右侧为画质、补帧、色彩、声音、显示;顶部处理顺序可定位设置,底部显示输入/输出、GPU 耗时和负载。
+- 文件画面点击暂停/继续,左右键跳转 5 秒;双击或点按钮切全屏。全屏移到顶沿可切换极简/专业,列表全屏按 **Home** 打开快速调节,**Ctrl+L** 锁定控制条。快捷键可在设置修改。
+- 顶部 **截图** 保存处理画面;预设菜单保存、管理、导入自己的配置,不强加内置画质预设。
+
+### 列表模式
+
+列表与节点的 **NR 版本** 均可选 RTX 50 · NVIDIA 原版、RTX 50 · Lecram、RTX 20–50 · SF-v2,切换时全 NR 链同步,原有默认选择保留。[运行组件身份](docs/RUNTIME_COMPONENTS_2.0.2.md)。
+
+顶部选 **列表**,按需开启超分、NR、RTX Video HDR。NR 最多四层,独立调整内部尺寸、强度等参数;总开关关闭全部 NR,重开恢复各层原状态。
+
+列表的 **NR 全局保护区域**排除区域内全部 NR 层效果,保留非 NR 处理结果,可用于 HUD/字幕。调色页提供基础调整、曲线、混色器、色轮、LUT 与颜色预设。
+
+补帧页选可用后端/倍率,并核对内容节奏、显示同步、低延迟队列、输出上限。原画/增强对比期间补帧暂停,退出恢复。提交 FPS 不等于物理屏幕显示帧数或端到端延迟。
+
+### 节点模式:编排自己的处理链
+
+专业页顶部选 **节点**。这是实际执行的处理链,不只是示意图。
+
+1. 从输入到输出保持有效连接。空白处右键或点 **添加节点**。
+2. 拖动输出端口到输入端口,或依次点击两端。节点拖到线上可插入;拖离主链或按住 **Alt** 松手可断开。
+3. 在节点内直接调参数,NR/调色可独立设置、按允许顺序放在超分前后。右键可删除、复制、重置;复制产生独立的**未连接副本**,接入前不运行。
+4. **中键平移、滚轮缩放**;适配视图/自动排列整理布局。“草稿未运行”表示编辑链未连通或不合法,不代表所有可见节点都生效。
+5. 光流在输入后计算并共享,超分为单实例;RTX Video HDR 在补帧前,补帧固定末端,DLSS/XeSS/FSR 选一个后端。不是任意分支混合图。
+6. 列表和节点分别保存参数、预设、会话。切回列表恢复原列表配置,节点链保留;切换重建处理链,可能短暂停顿。
+
+**2.0.2 节点模式不支持离线导出,也没有列表的 NR 全局保护区域。** 导出前切回列表并确认效果,不会自动转换节点链。
+
+### 采集与串流
+
+| 来源 | 操作要点 |
+|---|---|
+| 采集卡 | 选设备、格式、尺寸、帧率和音频输入;关闭其他程序占用。PQ/HLG/709、Limited/Full 匹配实际信号。美乐威 Pro Capture 有专用低延迟选项。 |
+| PS5 | 主机启用远程游玩,搜索或手填 IP,使用 PSN Account ID 和主机八位配对码;已保存主机可重连。 |
+| PC | 主机自行安装配置 Sunshine;Veyra 发现/添加主机、PIN 配对、选应用或桌面连接。Sunshine 不随包安装。 |
+| Xbox | 按设备码流程登录,选开启远程功能的主机。非官方实验功能,服务、账号与主机限制可能影响连接。 |
+| 屏幕 | 选窗口/显示器,避免捕获 Veyra 自身形成递归。 |
+
+暂停采集/串流冻结预览并保留会话,不会暂停主机游戏。实卡、网络、HDR、手柄需按设备验证。
+
+### 导出
+
+切到**列表**确认效果,再打开导出页。添加文件后可排序、逐项修改、设置剪辑、MP4/MKV 与编码质量;音轨/内嵌字幕可保留全部或指定。
+
+“保留全部”遇到封装不支持的轨道会跳过并提示;明确指定不支持轨道则报错。可暂停、取消重试,完成可响铃。默认 VBR 8 Mbps、导出时关闭当前播放以释放 GPU,可修改。实时补帧不代表所有后端支持离线补帧,以导出页接受的配置为准。
+
+### OBS 与设置
+
+OBS 游戏采集前,开启 **设置 → 通用与外观 → OBS 游戏采集兼容**。立即保存,选“是”重启生效,“否”下次生效;导出时需等任务结束。兼容模式 UI 软件绘制,部分阴影/模糊简化,视频增强仍用 GPU。游戏采集抓**视频**;录完整界面用 Windows 10 (1903+) 窗口采集。
+
+**设置 → 通用与外观 → 启动后自动继续上次内容** 可选开启,恢复视频及进度,或采集卡设备、格式、帧率与音频配置;启动页面可选择极简或专业。双页面播放栏的倍速按钮可选 1× / 1.5× / 2× / 3×,不改变采集/串流和离线导出的速度。
+
+**监控软件兼容** 默认“自动”:启动时检测到小飞机 RTSS,界面软件绘制,OSD 只显示在视频上。RTSS 后启动时按提示重启 Veyra。与 OBS 游戏采集同开,在 RTSS 给 Veyra 开启 “Use Microsoft Detours API hooking”,或改用 OBS 窗口采集。
+
+设置还包含语言/缩放、快捷键、GPU 监控显卡、音频设备、组件信息。反馈附显卡/驱动、素材、效果组合、发生时间及 `logs/veyra-qml.log`,崩溃附 `.dmp`;分享前检查私人信息。
+
+## 已知边界
+
+RTSS 7.3.7 在本机 RTX 5070 已验证兼容,游戏加加及其他叠加层/显卡组合尚未验证。真实 Xbox 长时间串流、主机经 VRR 采集卡输入仍待现场复测。RTX 30/40 社区 NR/补帧、FSR 4 ML 实卡、部分 NR TDR/显存增长与跨设备串流仍有未验证或未解决项,详见 Release。社区运行库不代表厂商认证或完整官方 DLSS 5 集成。
+
+## 架构
+
+```mermaid
+flowchart TD
+ UI[Qt Quick / QML 页面] --> Bridge[共享 Bridge / 配置 / 会话 / 预设]
+ Sources[文件 / 采集卡 / PS5 / PC / Xbox / 屏幕] --> Source[FrameSource:帧、时间戳、色彩]
+ Bridge --> Graph[共享 EnhanceGraph:有效处理链]
+ Source --> Graph
+ Graph --> Effects[多 NR / 单 SR / 调色 / Video HDR]
+ Effects --> Live[实时预览:可选末端补帧]
+ Live --> Present[原生 D3D12 视频窗口]
+ Effects --> Export[列表离线导出 / 截图]
+ Export --> Sink[编码封装 / 图片保存]
+ Bridge --> Queue[导出队列:每任务配置快照]
+ Queue --> Export
+```
+
+QML 管界面,视频由原生 D3D12 呈现。列表/节点共用引擎,未连接草稿不运行;导出不是录制预览窗口。
+
+## 开源与构建
+
+Veyra 原有代码 GPL-3.0;含 Chiaki 串流的组合程序同时适用 AGPL-3.0 与上游 OpenSSL 例外(见 licenses/remoteplay)。[第三方来源与许可](THIRD_PARTY_NOTICES.md)、[2.0.2 构建与对应源码](docs/BUILD_2.0.2.md)。源码与运行库/模型分离;Release manifest 用于发行审计,不用哈希锁阻止用户替换 DLL。
+
+## 支持与反馈
+
+<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">
+ &nbsp;&nbsp;&nbsp;&nbsp;
+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v2.0.0/docs/images/2.0.0/community-group.png" alt="Veyra 交流群 4" width="220">
+</p>
+
+左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-10-09 前**有效,过期请查看仓库更新。
diff --git a/README_EN.md b/README_EN.md
index 98351399..b2b9174c 100644
--- a/README_EN.md
+++ b/README_EN.md
@@ -1,126 +1,5 @@
# Veyra
-<p align="center"><img src="assets/veyra-app-icon.png" alt="Veyra" width="160"></p>
+The English README is now the [repository homepage](README.md).
-<p align="center">
- <a href="https://github.com/Likely7/Veyra-NRVideo/blob/main/assets/veyra-2.0.0-promo.mp4">
- <img src="assets/veyra-2.0.0-promo.webp" alt="Veyra 2.0 promo (click to play the video)" width="960">
- </a>
-</p>
-
-[简体中文](README.md) | English
-
-<p align="center"><img src="docs/images/2.0.0/professional-mode.png" alt="Veyra 2.0.0 professional mode" width="1200"></p>
-
-A Windows enhancement player for videos, images, capture cards and streaming. Super-resolution, NR, colour grading, RTX Video HDR and frame generation share one engine. Community enhancements remain experimental.
-
-[Download 2.0.0 portable](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.0.0) · [Full changelog: Chinese / English](docs/RELEASE_NOTES_2.0.0.md) · [Issues](https://github.com/Likely7/Veyra-NRVideo/issues)
-
-## Highlights
-
-- **Rebuilt interface:** Home, Cinema, Professional List, Nodes, Colour, Export and Settings; Simplified/Traditional Chinese, English and Japanese.
-- **Node editing and layered NR:** executable connections, independent NR/colour parameters, separate List/Node configurations, sessions and presets.
-- **PC / Xbox streaming:** Moonlight/Sunshine-compatible PC streaming and unofficial experimental Xbox support, alongside PS5, capture cards and screen capture.
-- **New export workflow:** editable ordered queue, trimming, MP4/MKV, multiple audio/embedded subtitle tracks, cancellation/retry and completion sound.
-- **Enhancement and compatibility:** two NR runtime choices, DLSS/XeSS/FSR options, capture improvements and a persistent OBS Game Capture switch with restart confirmation. Full details are in the Release.
-
-## Install and upgrade
-
-Download **Veyra-2.0.0-win64-portable.zip**, extract into a new writable folder and run **veyra_qml_ui.exe**. Source archives are for developers. 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.
-
-## Using 2.0
-
-### Sources and pages
-
-Home offers files, capture card, PS5, PC, Xbox and screen capture. Files/images can also be dropped into the window. Move to the bottom edge to reveal navigation between Home, Cinema, Professional, Colour, Export and Settings.
-
-- Cinema prioritises the picture with a floating source/transport/audio/fullscreen bar, optionally hidden in settings.
-- Professional List has Picture, Frame generation, Colour, Sound and Display tabs. The order strip locates effects; bottom panels report source/output, GPU stage time and load.
-- Click a file's picture to pause/resume; left/right arrows seek five seconds. Double-click or use the fullscreen button. The fullscreen top-edge bar switches Cinema/Professional; **Home** opens quick controls in fullscreen List mode, **Ctrl+L** locks controls. Shortcuts are configurable.
-- Use Screenshot and the preset menu to save pictures and personal settings. No imposed built-in quality presets.
-
-### List mode
-
-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.
-
-List mode's global NR protection region excludes every NR layer inside it while retaining non-NR effects, useful for HUDs/subtitles. Colour controls include basic adjustments, curves, mixer, wheels, LUTs and colour presets.
-
-Choose a supported FG backend/multiplier and check cadence, display sync, low-queue mode and output cap. Original/enhanced comparison temporarily pauses FG; leaving it resumes FG. Submitted FPS is not physical display FPS or end-to-end latency.
-
-### Node mode — build a processing chain
-
-Select Nodes at the top of Professional. This is an executable chain editor:
-
-1. Keep a valid connected path from input to output. Right-click blank canvas or choose Add node.
-2. Drag an output port to an input port, or click the two ports in order. Drop a node on a wire to insert; drag it away or release with **Alt** held to disconnect.
-3. Edit parameters inside nodes. NR/colour nodes have independent settings and supported positions before/after SR. Right-click to delete, duplicate or reset. A duplicate is an independent **disconnected copy** until connected.
-4. **Middle-drag to pan, wheel to zoom.** Fit/auto-layout organise the graph. “Draft not running” means invalid/disconnected edits, not that every visible node executes.
-5. Optical flow is shared after input; SR is a single instance. RTX Video HDR stays before final FG; select one DLSS/XeSS/FSR backend. This is not an arbitrary branching/mixing graph.
-6. List and Node settings, presets and sessions are separate. Returning to List restores its settings and retains the node graph. Switching rebuilds processing and may briefly pause the picture.
-
-**2.0.0 Node mode does not support offline export or List mode's global NR protection region.** Switch to List and verify its effects before exporting; graphs are not silently converted.
-
-### Capture and streaming
-
-| Source | Setup |
-|---|---|
-| Capture card | Select device, format, resolution, rate and audio input. Close competing apps. Match PQ/HLG/709 and Limited/Full to the signal. Magewell Pro Capture has a dedicated low-latency option. |
-| PS5 | Enable Remote Play, discover/enter IP, use PSN Account ID and the console's eight-digit pairing code; reconnect saved hosts. |
-| PC | Install/configure Sunshine yourself; discover/add the host, PIN-pair, select app/desktop and connect. Sunshine is not bundled. |
-| Xbox | Follow device-code sign-in and select a console with remote features enabled. Unofficial/experimental; account, service and console restrictions apply. |
-| Screen | Select a window/display; avoid recursively capturing Veyra itself. |
-
-Pausing capture/streaming freezes the preview while keeping the session, not the host game. Physical hardware, networks, HDR and controllers need individual validation.
-
-### Export
-
-Use **List mode**, confirm effects, then open Export. Add/reorder files, edit individual jobs, trim, select MP4/MKV and encoding quality, and keep all or selected audio/subtitle tracks.
-
-Keep all skips unsupported tracks with a notice; explicitly choosing an incompatible track is an error. Pause/cancel/retry and completion sound are available. Defaults are VBR 8 Mbps and closing playback on export to free GPU resources, both adjustable. Live FG does not imply every backend supports offline FG; follow accepted export settings.
-
-### OBS and settings
-
-For OBS Game Capture, enable **Settings → General & appearance → OBS Game Capture compatibility**. Saved immediately: Yes restarts now; No applies next launch. Finish exports before restarting. Software UI rendering simplifies some shadows/blur; video enhancement stays on GPU. Game Capture targets **video**; use Windows 10 (1903+) Window Capture for the whole UI.
-
-Settings include language/scale, shortcuts, monitoring GPU, audio devices and component info. Report GPU/driver, media, effects, time and `logs/veyra-qml.log`; include a crash `.dmp` if available. Review private data before sharing.
-
-## Limitations
-
-RTSS/GamePP adaptation was cancelled; the OBS switch does not certify their compatibility. RTX 30/40 community NR/FG, FSR 4 ML hardware, some NR TDR/VRAM-growth reports and cross-device streaming retain unresolved/unverified cases. See the Release. Community runtimes are not vendor certification or a complete official DLSS 5 integration.
-
-## Architecture
-
-```mermaid
-flowchart TD
- UI[Qt Quick / QML pages] --> Bridge[Shared Bridge / settings / sessions / presets]
- Sources[Files / capture / PS5 / PC / Xbox / screen] --> Source[FrameSource: frames, timestamps, colour]
- Bridge --> Graph[Shared EnhanceGraph: valid chain]
- Source --> Graph
- Graph --> Effects[Multiple NR / single SR / colour / Video HDR]
- Effects --> Live[Live preview: optional final FG]
- Live --> Present[Native D3D12 video window]
- Effects --> Export[List offline export / screenshots]
- Export --> Sink[Encoding and muxing / image files]
- Bridge --> Queue[Export queue: per-job settings snapshot]
- Queue --> Export
-```
-
-QML renders UI; native D3D12 renders video. List/Nodes share the engine, disconnected drafts do not execute, and export does not record the preview window.
-
-## Source and build
-
-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.0.0 build/source](docs/BUILD_2.0.0.md). Source Git excludes proprietary runtimes/models. Release manifests audit publisher files, not hash-lock user DLL replacements.
-
-## Support
-
-<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">
- &nbsp;&nbsp;&nbsp;&nbsp;
- <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v2.0.0/docs/images/2.0.0/community-group.png" alt="Veyra community group 4" width="220">
-</p>
-
-Left: optional donation, no feature restrictions. Right: community group; QR valid **before 2026-10-09** as shown. Check repository updates after expiry.
+[English](README.md) | [简体中文](README_CN.md)
diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md
index 4c54ffdf..ffe853b3 100644
--- a/THIRD_PARTY_NOTICES.md
+++ b/THIRD_PARTY_NOTICES.md
@@ -648,3 +648,7 @@ seven u32 fields and RTP key; `XboxSessionSource.cpp` records actual arrival,
decode submission/completion and presentation-return times.
`WebRtcSession.cpp` sends one bounded report per presented source frame, without
an unbounded metadata queue. These CPU timestamps do not claim physical scanout.
+
+## NVIDIA original NR restored in 2.0.2
+
+The user-approved, unmodified NVIDIA-signed 310.8.0.0 NR (SHA256 E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E) is distributed only as a release runtime at runtime/experimental/nr-original/nvngx_dlssnr.dll. Existing community Lecram/SF-v2 choices and notices remain. See docs/RUNTIME_COMPONENTS_2.0.2.md and the publisher manifest. This experimental integration is not NVIDIA certification or complete official DLSS 5 support. No proprietary binary has been added to source Git.
diff --git a/docs/BUILD_2.0.2.md b/docs/BUILD_2.0.2.md
new file mode 100644
index 00000000..a065b784
--- /dev/null
+++ b/docs/BUILD_2.0.2.md
@@ -0,0 +1,20 @@
+# Veyra 2.0.2 — corresponding source and build
+
+The release has one runnable download, `Veyra-2.0.2-win64-portable.zip`. The following source downloads are for rebuilding; they are not needed to run Veyra:
+
+- [Exact Veyra v2.0.2 source](https://github.com/Likely7/Veyra-NRVideo/archive/refs/tags/v2.0.2.zip). Includes the original SoundTouch 2.4.1 sources, its LGPL-2.1 licence, Veyra's static-library integration, build scripts and patches.
+- [Matching dependency source bundle](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.0/Veyra-2.0.0-dependency-source.zip), unchanged from 2.0.0: 538838710 bytes, SHA256 `a293552434381a71169c1c27658f07202d67243ca82e748936b9db15077ce0de`. Contains patched FFmpeg/dav1d, Chiaki/Remote Play, Moonlight, Xbox/libdatachannel dependencies, OpenSSL, Qt 6.8.3 source modules/SBOM and FidelityFX source/build materials. Keep the existing 2.0.0 asset available with this release.
+
+Use both downloads. The dependency versions/build instructions in [BUILD_2.0.0.md](BUILD_2.0.0.md) still apply. The application version is now 2.0.2; no FFmpeg, Qt or WebRTC dependency binary was replaced. Keep FFmpeg's PS5 H.264 32→256 slice patch and its build manifest. SoundTouch is built from `third_party/soundtouch`; modify it and rebuild the full application to relink it. The complete application source is available for that purpose.
+
+Use Visual Studio 2022 C++20 x64, CMake/Ninja and the dependency paths described in the earlier build guide. Configure the `x64-release` preset with QML, Remote Play, Moonlight and Xbox enabled, then build `veyra_qml_ui`. Required checks for this release include `veyra_preset_library_tests`, `veyra_repair_preset_tests`, `veyra_effect_chain_tests`, `veyra_xbox_tests`, `veyra_live_timing_tests`, `veyra_audio_playback_rate_tests`, `veyra_ui_contract_tests`, `veyra_qml_data_tests`, `veyra_ui_i18n_tests` and `veyra_qml_quick_tests`.
+
+The package is assembled with `scripts/package-qml-release.py --label 2.0.2 --release`. Supply explicit `--build`, `--runtime-source`, `--original-nr`, `--legacy-licenses`, `--qt`, `--qt-licenses` and `--output` paths. The publisher lock is `RELEASE_2.0.2_RUNTIME_LOCK.json`: it keeps every 2.0.0 identity and adds the approved NVIDIA original NR in its own folder. Runtime/SDK/model binaries are excluded from source Git. Obtain proprietary development SDKs under their own terms; no unknown DLL download is part of the build.
+
+The original Veyra code is GPL-3.0; the combined Chiaki application also follows AGPL-3.0 with the documented OpenSSL exception. Qt remains dynamically linked and replaceable. SoundTouch is LGPL-2.1; its corresponding source and build integration are in the tagged application source. See the packaged `licenses/` and `THIRD_PARTY_NOTICES.md` for all third-party notices. These links provide source without adding separate downloadable assets to the 2.0.2 release.
+
+## 中文
+
+运行软件只需下载一个便携压缩包。需要重编译时,下载上面的 **v2.0.2 应用源码** 和 **2.0.0 依赖源码包**,后者未改动,哈希如上。SoundTouch 2.4.1 的完整源码、许可证和静态构建接入已放入应用源码,可修改后重新链接整个应用。原有 Qt、patched FFmpeg、Chiaki、Moonlight、Xbox 等构建材料沿用;必须保留 PS5 H.264 slice 补丁。具体工具链和依赖路径见 2.0.0 构建说明。
+
+NR 新增 NVIDIA 原版独立目录,其余两版及运行组件不变。发行 manifest 是发布者核验清单,不阻止用户替换 DLL。实验运行组件不代表厂商认证或完整官方 DLSS 5 集成。
diff --git a/docs/CURRENT_STATUS.md b/docs/CURRENT_STATUS.md
index c0686bce..4062aae5 100644
--- a/docs/CURRENT_STATUS.md
+++ b/docs/CURRENT_STATUS.md
@@ -1,5 +1,11 @@
# 当前项目状态 / Current Status
+## 2026-10-03 2.0.2 集成与发布
+
+用户最新明确授权恢复 NVIDIA 原版 NR,与 Lecram、SF-v2 共三版,并合并 Claude `28a440b` 和 Codex `bfafbea` 后发布 2.0.2。两边已合入隔离发布分支,新增原版用 ID 3,旧 ID/默认值保留。已通过编译、11 组回归、真实列表/节点 NR 切换与重启保存、倍速与启动恢复。英文 README 为首页,中文见 README_CN.md;Release 英文在前中文在后,保留 2.0.0 主要更新与双 220px 二维码,资产为单个便携 ZIP。发布和最终包证据见 WORKLOG 与 RELEASE_2.0.2_PLAN_2026-10-03.md;以下“未授权/README 不动/候选不发布”等是此前历史,不覆盖此次授权。
+
+RTSS 冲突按本机复现修复;Xbox 协议/关闭竞态及 VRR 输入时序软件回归通过,但真实 Xbox 长稳、主机 VRR 实卡与 5060 Ti 显存增长根因仍未确认。全屏退窗保护可选且默认关闭。
+
## 2026-10-03 独立候选:Xbox/采集 VRR、启动恢复与倍速
当前 `codex/player-startup-speed-20261003` 已实现:默认关闭的全屏显存保护开关,启动自动继续视频进度/采集配置,双页面 1/1.5/2/3× 保调倍速;修复 Xbox 关闭时发送异常、回调寿命、空字段并补帧反馈;修复 VRR 可变采集间隔被固定帧率条件反复重置以及补帧相位使用标称间隔。软件回归及实际播放/普通采集测试通过,详情见 `PLAYER_STARTUP_SPEED_PLAN_2026-10-03.md` 和 WORKLOG。Xbox 反馈者连接稳定性、VRR 主机实卡结果、5060 Ti 显存根因仍未确认。D3D12 UI 的 0x887A002B 在新旧候选都可复现,软件 UI 对照通过;不与 Claude 的 RTSS 分支重叠改动。未合并 main、未推送、未发布 2.0.1;下方历史保护“自动退出”现在仅显式启用时执行。
diff --git a/docs/GROUP_ANNOUNCEMENT_2.0.2.md b/docs/GROUP_ANNOUNCEMENT_2.0.2.md
new file mode 100644
index 00000000..4c583509
--- /dev/null
+++ b/docs/GROUP_ANNOUNCEMENT_2.0.2.md
@@ -0,0 +1,16 @@
+Veyra 2.0.2 已发布,本次把 2.0.0 新功能和后续修复一起整理了:
+
+• 全新界面:极简/专业模式、节点编辑、最多四层 NR、独立调色和新版导出队列,支持四种语言。
+• 增加 PC(Sunshine/Moonlight)与实验性 Xbox 串流,与 PS5、采集卡共用增强链。
+• NR 现在有三版可切换:50 系 NVIDIA 原版、Lecram、20–50 系 SF-v2,原有设置保留。
+• 新增自动继续上次:设置中开启后,启动自动恢复视频及进度,或按上次配置打开采集卡;启动页可选极简/专业。
+• 极简和专业模式都加入 1× / 1.5× / 2× / 3× 视频倍速,声音保调。
+• 修复小飞机 RTSS 叠加导致的卡死/异常,默认自动兼容,监控数值只叠在视频上。
+• 修复 Xbox 协商空值和断开时异常,补齐视频反馈;修正 VRR 采集输入反复清空补帧历史的问题。
+• 包含导出遇到 GPU 重置后的断点恢复、抗闪烁关闭后画面定住、继续采集没声音、多层 NR 负载显示和调色效果等修复。
+
+全屏显存异常自动退窗已改为设置开关,默认关闭。5060 Ti 显存增长根因仍未确认;Xbox 长时间稳定性和主机 VRR 采集效果请受影响的朋友继续反馈,不能保证所有设备都已解决。
+
+下载只需一个压缩包,完整解压运行 veyra_qml_ui.exe。建议解压到新目录,保留旧版方便回退。小飞机和 OBS 游戏采集同时用时,在 RTSS 给 Veyra 开启 “Use Microsoft Detours API hooking”,或改用 OBS 窗口采集。
+
+下载:https://github.com/Likely7/Veyra-NRVideo/releases/tag/v2.0.2
diff --git a/docs/RELEASE_2.0.2_PLAN_2026-10-03.md b/docs/RELEASE_2.0.2_PLAN_2026-10-03.md
new file mode 100644
index 00000000..0243a4c5
--- /dev/null
+++ b/docs/RELEASE_2.0.2_PLAN_2026-10-03.md
@@ -0,0 +1,13 @@
+# Veyra 2.0.2 integration and release
+
+Current user explicitly authorises restoring the known NVIDIA RTX 50 original NR DLL alongside Lecram and SF-v2, merging Claude's and Codex's completed fixes into main, pushing to Likely7/Veyra-NRVideo and publishing 2.0.2. README.md becomes English with a Chinese language switch; Release is English first, Chinese second, retaining the main 2.0.0 changes and both 220px support QR images. Upload one portable ZIP; link corresponding application and unchanged dependency sources from the release and package. Draft a Chinese 2.0.0–2.0.2 group announcement, without sending messages.
+
+This replaces earlier README/no-publication holds and the historical UI-only freeze for these specific changes. Field uncertainty is disclosed, not converted into a claim that all reported failures are solved.
+
+Isolation: E:/项目/Veyra/worktrees/release-2.0.2-20261003, branch codex/release-2.0.2-20261003. Main checkpoint checkpoint/pre-release-2.0.2-20261003 is 8f42fd5. Merge Codex bfafbea and Claude 28a440b, preserving both sets of preference keys and translations. Do not touch the dirty desktop checkout or the source branches. Build/tests/logs/tmp/archives/verify use E:/项目/Veyra/<purpose>/release-2.0.2-20261003; final output releases/2.0.2. Each test <=300 seconds.
+
+- Add NR ID 3 (NvidiaOriginal) at runtime/experimental/nr-original/nvngx_dlssnr.dll. Keep IDs 0=Lecram, 2=SF-v2 and legacy 1→2 migration; keep existing defaults. List and node use the shared selector and graph. Save/load, all-layer switching, failure rollback and actual GPU Evaluate must work.
+- Original DLL: 310.8.0.0, 165840496 bytes, SHA256 E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E, Valid NVIDIA signature. Copy the approved local original unchanged. Add a new release publisher lock; leave 2.0.0 historical lock unchanged. No runtime/SDK/models in source Git, no runtime hash lock.
+- Validate merged RTSS settings/default UI, playback speed/resume, Xbox protocol and capture timing regressions. Test all three NR variants on the local RTX 5070, list/node preset persistence, clean package extraction and actual playback. Check patched FFmpeg provenance and all runtime hashes/signatures.
+- Keep 2.0.0 major features in each language, append cumulative post-2.0.0 fixes. Distinguish RTSS's locally reproduced fix, Xbox parsing/shutdown/protocol fixes, VRR timing regression and the still-unconfirmed 5060 Ti VRAM growth. Fullscreen fallback is opt-in/default-off. Real-console Xbox/VRR and other GPU families remain unverified.
+- After checks, merge candidate into clean main, push main/tag v2.0.2 to nrvideo, publish one ZIP. Verify remote tag, body, asset digest and accessible QR/source URLs. Record exact commands and results in WORKLOG.
diff --git a/docs/RELEASE_2.0.2_RUNTIME_LOCK.json b/docs/RELEASE_2.0.2_RUNTIME_LOCK.json
new file mode 100644
index 00000000..8ff0d90b
--- /dev/null
+++ b/docs/RELEASE_2.0.2_RUNTIME_LOCK.json
@@ -0,0 +1,536 @@
+{
+ "schema": 1,
+ "enforcedAtRuntime": false,
+ "provenance": "2.0.0 approved identities unchanged; 2026-10-03 user restored NVIDIA original NR as independent third choice. No runtime binary in source Git.",
+ "files": [
+ {
+ "name": "nvngx_dlss.dll",
+ "path": "runtime/experimental/nvngx_dlss.dll",
+ "size": 58977904,
+ "sha256": "BE6E434A94CA32499515EB62CA0E6C274526055D568D0426E4C652DCDFB6EE6E",
+ "fileVersion": "310.7.0.0",
+ "signer": "CN=NVIDIA Corporation, OU=1005bk6, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "official-dlss-sdk-310.7.0-rel",
+ "experimental": false,
+ "removable": true,
+ "source": "official-dlss-sdk-310.7.0-rel",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "nvngx_dlssg.dll",
+ "path": "runtime/experimental/nvngx_dlssg.dll",
+ "size": 7460976,
+ "sha256": "FF6E90EB78B827927DFF5B4ECC6B1C870C2E9BCA29ED9F48C7D348CC9E170B82",
+ "fileVersion": "310.9.1.0",
+ "signer": "CN=NVIDIA Corporation, OU=1005bk6, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "official-dlss-sdk-310.9.1-rel",
+ "experimental": true,
+ "removable": true,
+ "source": "official-dlss-sdk-310.9.1-rel",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "nvngx_dlssnr.dll",
+ "path": "runtime/experimental/nvngx_dlssnr.dll",
+ "size": 165840496,
+ "sha256": "F95FEB54137EA11979F9B4EC4F00AFD84B5C98A5624D3388FBF6A87714A39FCC",
+ "fileVersion": "310.8.3.0",
+ "signer": "CN=NVIDIA Corporation, OU=1005bk6, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "user-approved-community-Lecram-310.8.3-RTX50-runtime",
+ "experimental": true,
+ "removable": true,
+ "source": "community Lecram 310.8.3 (RankFTW/rhi-repo dlssnr-310.8.Lecram)",
+ "authenticode": "HashMismatch"
+ },
+ {
+ "name": "nvngx_vsr.dll",
+ "path": "runtime/experimental/nvngx_vsr.dll",
+ "size": 19140144,
+ "sha256": "C3D88EEA5FF7A548EDEFA66414CF6E77464D0947277C904F324DD23ABF58A1ED",
+ "fileVersion": "1.6.0.0",
+ "signer": "CN=NVIDIA Corporation, OU=1-G, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "official-rtx-video-sdk-1.1.0",
+ "experimental": false,
+ "removable": true,
+ "source": "official-rtx-video-sdk-1.1.0",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "nvngx_dlssnr.dll",
+ "path": "runtime/experimental/nr-ampere/nvngx_dlssnr.dll",
+ "size": 165830144,
+ "sha256": "6EB209E764F39872625DEBD6ABAF45E2BB6322F6F270F781F70C059AE30B3927",
+ "fileVersion": "310.8.2.0",
+ "signer": "CN=NVIDIA Corporation, OU=1005bk6, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "user-approved-community-SF-v2-310.8.2-RTX20-RTX50-compatible-runtime",
+ "experimental": true,
+ "removable": true,
+ "source": "community SF-v2 310.8.2 (RankFTW/rhi-repo dlssnr-310.8.SF-v2)",
+ "authenticode": "NotSigned"
+ },
+ {
+ "name": "nvngx_truehdr.dll",
+ "path": "runtime/experimental/nvngx_truehdr.dll",
+ "size": 3955752,
+ "sha256": "9A80575F247190C05FE80EAC0C4BAA1D0D4D932348F26808310B5EC4BF9EEB4B",
+ "fileVersion": "1.1.0.0",
+ "signer": "CN=NVIDIA Corporation, OU=1-G, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "official-rtx-video-sdk-1.1.0",
+ "experimental": true,
+ "removable": true,
+ "source": "official-rtx-video-sdk-1.1.0",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "nvngx_dlssg.dll",
+ "path": "runtime/experimental/fallback-dlssg-310.7/nvngx_dlssg.dll",
+ "size": 7519856,
+ "sha256": "135EAF0733C1E37381A8C28ABCF7A862404A54132B81787C04E35D09EFC5E36F",
+ "fileVersion": "310.7.0.0",
+ "signer": "CN=NVIDIA Corporation, OU=1005bk6, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "fallback-official-dlss-sdk-310.7.0-rel",
+ "experimental": true,
+ "removable": true,
+ "source": "official-dlss-sdk-310.7.0-rel (manual fallback, not loaded)",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "k4000.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4000.ptx",
+ "size": 71483,
+ "sha256": "A58AD1C5F8AB5E82EFD2E15AAEB178113C1720C3EBD8164CA10474B50E1D342A",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4002.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4002.ptx",
+ "size": 89932,
+ "sha256": "78CDADD921AFB74B78B1A2B2798FAE069577AA94931DBCC15C34F1ADBB6AF1FB",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4004.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4004.ptx",
+ "size": 48446,
+ "sha256": "E23F640D68ECAF1FB417BAEFB18D11A90185B4E6E692467177ED4420B6BD3B35",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4006.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4006.ptx",
+ "size": 98810,
+ "sha256": "599EC85597282CFA04F3EA88F727D11D9A1ECA0B508E6CEC2A90750B6798FA29",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4008.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4008.ptx",
+ "size": 17301,
+ "sha256": "8B9F317546591EF6EF13909EDB8C551304ADE391129E9FA8D7ABD73ED63F0D51",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4010.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4010.ptx",
+ "size": 25248,
+ "sha256": "F721C9D6B1970E3FEDA8663364F7E17BB4DE4E6BF280A3742E43420D8764463B",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4012.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4012.ptx",
+ "size": 51047,
+ "sha256": "70666762066C77B0458A4A551DB4F590664B51F164F5ED372A69FA0EDDB72C52",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4014.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4014.ptx",
+ "size": 25546,
+ "sha256": "673FD239C9F6D5614CC1E4A3E4FCCC2A816AD691812741B91E4259E64C052406",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4016.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4016.ptx",
+ "size": 23534,
+ "sha256": "03B91710C6B11DD9DEF1E988474A1EE2FCAD11C6AF73E90B220EB62A098B8563",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4018.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4018.ptx",
+ "size": 23550,
+ "sha256": "DB1BE36D8786F255920754EA484B48F5FA1D7C1DCC3B69CFD5467850674768E2",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4020.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4020.ptx",
+ "size": 19689,
+ "sha256": "7710B2556F76CD501F578D0E1C4FB5039E7E18D94EFBAEB568011C74E93E2243",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4022.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4022.ptx",
+ "size": 14510,
+ "sha256": "3216F263AEB8C4AC2A1565FDC95D99A371DE6718015EDCB42E753CDF1307268E",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4024.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4024.ptx",
+ "size": 54172,
+ "sha256": "C3973E1A88E48471ABEA699433E6097287E800B65467258EA4FECBD9D4CC0293",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4026.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4026.ptx",
+ "size": 29428,
+ "sha256": "B02762FB2452BFDB979AE7987B60176B67249CC762CDDC4F498FAAFBF78FF676",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4028.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4028.ptx",
+ "size": 29428,
+ "sha256": "26C0CF15C83CC36A651AB68FE2C85E03F7C0092594ED03A765C8C66347622C31",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4030.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4030.ptx",
+ "size": 25258,
+ "sha256": "BB110524EDE676DD0093B5E59AB0F2F8A15E27D19DEF02660B03E2A4F23E1572",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4032.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4032.ptx",
+ "size": 25161,
+ "sha256": "047B040D832ABE919AA268DF27E38A149D6B91016266FB240B9E54C53355D57A",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4039.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4039.ptx",
+ "size": 9753,
+ "sha256": "9F14F5C67B9ABF2CA9B17B415072D540CAFCFBC682CBA8BA5C2F4D2A308A8F75",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4042.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4042.ptx",
+ "size": 43249,
+ "sha256": "5E2D0C7E1A9F208624FDDA3B8A529979142FD1C3CD746964F7F755F13E587286",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4044.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4044.ptx",
+ "size": 76235,
+ "sha256": "13B50F00F512B91BDF90AD9F273F5CB8DFE4366ADEB9EA7FDA073F528C694FD2",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4046.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4046.ptx",
+ "size": 76639,
+ "sha256": "81045733D05A039EB34930C5EF96182125A2BB9CAB1DDAA4ADB874C364D8CAB4",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4048.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4048.ptx",
+ "size": 44469,
+ "sha256": "AB908E60BF574E301129A9689E78AD458EF9E90F4B430AF5E50FC400FABF3D74",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4050.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4050.ptx",
+ "size": 79988,
+ "sha256": "988373CF94A46BC2E04B0C161FF336C4D59CCC016CEE4270B27626A611B49F53",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4058.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4058.ptx",
+ "size": 49154,
+ "sha256": "6845C21149ABE8D8E05755765C224DB2970D5F444A113FD8F390775EB1CF2900",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4059.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4059.ptx",
+ "size": 16879,
+ "sha256": "338A1DEB8D7FAA21553214C9F071906CE6BB85946E27A78C7D75C5CFF1E1A989",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4060.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4060.ptx",
+ "size": 55507,
+ "sha256": "8A7B13C21931EE40647D8D177FFCCE9629588569C40DF5345E424C32E42AFB61",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "k4062.ptx",
+ "path": "runtime/experimental/dlssg-kernels/k4062.ptx",
+ "size": 53773,
+ "sha256": "564DDD342268739E0447AE711A2B21EAA5135F4069D063C25EA516145DE1EE4D",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "OutputPull.ptx",
+ "path": "runtime/experimental/dlssg-kernels/OutputPull.ptx",
+ "size": 22605,
+ "sha256": "C7C1951069FECC2A5D37D899FAD1F487FEEB616922E30B411A737DD17227249E",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "OutputPushFine.ptx",
+ "path": "runtime/experimental/dlssg-kernels/OutputPushFine.ptx",
+ "size": 20733,
+ "sha256": "F8D9777F2ADA7D3959DCE515510CA7CBD2194A13AC721EBEDF52ED0F019523BF",
+ "fileVersion": "",
+ "authenticode": "NotSigned",
+ "classification": "community-DLSSG-Transfusion-1.4.5.3-sm86-optimized-kernels",
+ "experimental": true,
+ "removable": true,
+ "source": "SilyNoMeta/DLSSG-Transfusion v1.4.5.3 release binary (no licence granted; see THIRD_PARTY_NOTICES.md)"
+ },
+ {
+ "name": "amd_fidelityfx_loader_dx12.dll",
+ "path": "runtime_local/amd/fidelityfx/amd_fidelityfx_loader_dx12.dll",
+ "size": 26376,
+ "sha256": "E2D85AA05A9BD9ED8B38935FDF5199372CCA6F74C12015143BB6F945EE1608AA",
+ "fileVersion": "2.3.0.2740",
+ "signer": "CN=Advanced Micro Devices, O=Advanced Micro Devices, S=California, C=US",
+ "classification": "official-amd-fidelityfx-sdk-2.3.0-loader",
+ "experimental": true,
+ "removable": true,
+ "source": "official-amd-fidelityfx-sdk-2.3.0-loader",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "amd_fidelityfx_framegeneration_dx12.dll",
+ "path": "runtime_local/amd/fidelityfx/amd_fidelityfx_framegeneration_dx12.dll",
+ "size": 40085776,
+ "sha256": "02297BEEDD285E822D3A64F314CF00FAF378DCEC0EDC47FF0C4DD71B3A8C2F18",
+ "fileVersion": "4.0.1.2740",
+ "signer": "CN=Advanced Micro Devices, O=Advanced Micro Devices, S=California, C=US",
+ "classification": "official-amd-fidelityfx-sdk-2.3.0-framegeneration",
+ "experimental": true,
+ "removable": true,
+ "source": "official-amd-fidelityfx-sdk-2.3.0-framegeneration",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "amd_fidelityfx_upscaler_dx12.dll",
+ "path": "runtime_local/amd/fidelityfx/amd_fidelityfx_upscaler_dx12.dll",
+ "size": 28761864,
+ "sha256": "D0DCCCC74A43C44BA435B7A369B456E0970D8A4464E4BD683119B374F2C9FB46",
+ "fileVersion": "4.1.1.2740",
+ "signer": "CN=Advanced Micro Devices, O=Advanced Micro Devices, S=California, C=US",
+ "classification": "official-amd-fidelityfx-sdk-2.3.0-upscaler",
+ "experimental": true,
+ "removable": true,
+ "source": "official-amd-fidelityfx-sdk-2.3.0-upscaler",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "libxell.dll",
+ "path": "runtime_local/intel/experimental/libxell.dll",
+ "size": 415368,
+ "sha256": "D2030DCD694FDA8F2EC7E044B13E6DB8F0B56D4BA9113A5EFAD334E3F3DED8C7",
+ "fileVersion": "1.3.2.10",
+ "signer": "CN=Intel Corporation, O=Intel Corporation, S=California, C=US",
+ "classification": "official-intel-xess-sdk-3.0.2",
+ "experimental": true,
+ "removable": true,
+ "source": "official-intel-xess-sdk-3.0.2",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "libxess_fg.dll",
+ "path": "runtime_local/intel/experimental/libxess_fg.dll",
+ "size": 22957432,
+ "sha256": "EC5E0C65E075570C6EDE72618BB666D0BE0C2E10B2EA9762C0FE8CB8E375AB27",
+ "fileVersion": "1.3.1.78",
+ "signer": "CN=Intel Corporation, O=Intel Corporation, S=California, C=US",
+ "classification": "official-intel-xess-sdk-3.0.2",
+ "experimental": true,
+ "removable": true,
+ "source": "official-intel-xess-sdk-3.0.2",
+ "authenticode": "Valid"
+ },
+ {
+ "name": "LibMWCapture.dll",
+ "path": "runtime/magewell/LibMWCapture.dll",
+ "size": 241664,
+ "sha256": "360259C46A0F62713EF9FCAD2B403596EF007AC04D9B37A1E9C949C8459B92F9",
+ "fileVersion": "3.3.1.1596",
+ "classification": "official-Magewell-Capture-SDK-3.3.1.1596",
+ "source": "Magewell Capture SDK Windows 3.3.1.1596",
+ "experimental": true,
+ "removable": true,
+ "authenticode": "NotSigned"
+ },
+ {
+ "name": "nvngx_dlssnr.dll",
+ "path": "runtime/experimental/nr-original/nvngx_dlssnr.dll",
+ "size": 165840496,
+ "sha256": "E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E",
+ "fileVersion": "310.8.0.0",
+ "signer": "CN=NVIDIA Corporation, OU=1005bk6, O=NVIDIA Corporation, L=Santa Clara, S=California, C=US",
+ "classification": "user-approved-NVIDIA-original-RTX50-experimental-runtime",
+ "experimental": true,
+ "removable": true,
+ "source": "Preserved local NVIDIA-signed original; restored by user request 2026-10-03",
+ "authenticode": "Valid"
+ }
+ ]
+}
diff --git a/docs/RELEASE_NOTES_2.0.2.md b/docs/RELEASE_NOTES_2.0.2.md
new file mode 100644
index 00000000..387b532c
--- /dev/null
+++ b/docs/RELEASE_NOTES_2.0.2.md
@@ -0,0 +1,162 @@
+# Veyra 2.0.2
+
+## English
+
+All major 2.0.0 updates are retained below, followed by the Chinese version. This patch combines the post-2.0.0 fixes and new playback options; it shares 2.0 settings.
+
+**Download only `Veyra-2.0.2-win64-portable.zip`**, extract to a new writable folder and run `veyra_qml_ui.exe`. Keep the previous version for rollback. One portable asset contains the application, runtimes, licences and manifests. Source for rebuilding: [Application source](https://github.com/Likely7/Veyra-NRVideo/archive/refs/tags/v2.0.2.zip) · [Unchanged dependency sources](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.0/Veyra-2.0.0-dependency-source.zip) · [Build and licence details](https://github.com/Likely7/Veyra-NRVideo/blob/v2.0.2/docs/BUILD_2.0.2.md)
+
+### New in 2.0.2 and cumulative fixes
+
+- **Three NR versions:** restored the unmodified, NVIDIA-signed 310.8.0.0 original for RTX 50 alongside community Lecram 310.8.3 and SF-v2 310.8.2. List and Node selectors switch the whole NR chain. Existing defaults and saved selections are preserved.
+- **RTSS / MSI Afterburner OSD compatibility:** Monitoring compatibility defaults to Auto. When RTSS is running at launch, software UI rendering avoids the competing UI/video swapchains that caused a reproduced device-loss/frozen-picture failure. The video still uses D3D12, and OSD draws on the video only. Starting RTSS later offers a restart. With compatibility off, the GPU interface remains active and RTSS OSD is suppressed in this process. **RTSS plus OBS Game Capture:** enable “Use Microsoft Detours API hooking” in RTSS for Veyra, or use OBS Window Capture. Some software-rendered UI shadows/blur are simplified.
+
+- **An export survives a GPU reset**: some RTX 40 users encountered driver hangs/resets during 8K or long NR exports. Completed parts are kept, a fresh export process resumes, and parts are joined without re-encoding (up to three resets). Recovery was tested with injected device removal; the original driver's hang and the reporting user's 8K result remain unverified.
+- **Optional fullscreen VRAM growth protection (off by default)**: when enabled in Settings, sustained growth makes Veyra return to windowed playback and restrict fullscreen re-entry for that source session, keeping the source, NR and frame generation settings. It avoids repeated rebuilds that do not reclaim memory. Retained memory may require restarting Veyra. **This is containment; the RTX 5060 Ti 4K fullscreen leak and its field outcome remain unconfirmed.** The same NVIDIA plug-in is present in stable local playback, so its presence alone does not establish the cause. OBS game capture compatibility in Settings provides another UI display path for testing.
+- **Xbox nullable replies interrupted negotiation**: null error fields in successful responses are accepted; pending HTTP 200/202 wrappers are polled within a bounded budget; numeric service errors are preserved; nullable ICE metadata no longer aborts connection setup. Failures report their actual stage rather than always blaming blocked UDP. All 83 local protocol/WebRTC checks passed; the reporting user's real-console connection still needs confirmation.
+- **Xbox disconnect safety and frame feedback**: transport send exceptions during shutdown are contained, callbacks cannot touch a closed session, and the reference client's video-frame feedback is now sent. Local-peer negotiation, packets and concurrent shutdown passed; real-console long-session stability needs retesting.
+- **VRR capture frame generation**: variable frame intervals no longer repeatedly reset history merely for departing from the negotiated frame rate; presentation phase follows the real A/B interval. Actual stalls and backward clocks remain protected. Variable-timing regression passed; console/VRR capture hardware remains unverified.
+- **Resume at startup**: optionally reopen the previous video and position, or the saved capture device/configuration; choose Minimal or Professional as the startup page.
+- **Movie playback speed**: 1×, 1.5×, 2× and 3× controls on both pages, preserving audio pitch. Export and live capture rates are unchanged.
+- Already in the refreshed 2.0.0 package and included here: the picture froze after turning the output stabiliser (anti-flicker) on and off; "Continue" on a capture card had no sound; the load gauge counted one of several NR layers; colour Texture / Clarity / Dehaze had no effect; clicking the taskbar button did not minimise; capture device-loss/crash reports include loaded-module diagnostics and actionable plug-in advice; RTSS advice now points to Monitoring compatibility.
+
+
+### Major 2.0.0 updates included in this release
+
+**1. Rebuilt interface.** New Home/recent/resume, Cinema, Professional List, Node canvas, Colour, Export and Settings; consistent dark design, icons, menus, confirmations and animations. New rounded gradient-black EXE/window/taskbar icon and updated screenshot/tutorial. Simplified/Traditional Chinese, English and Japanese; configurable UI scale, startup size, shortcuts, audio device and monitored GPU. Hideable cinema controls, fullscreen mode switching/quick controls/locking, click-to-pause, double-click fullscreen, seeking, aspect/rotation, original/enhanced comparison, SDR preview, screenshots and subtitle/audio controls.
+
+**2. Executable node editing and layered processing.** Add/connect/insert/disconnect/delete/duplicate/reset nodes; middle-pan, wheel zoom, fit and auto-layout. Up to four independent NR instances with individual parameters/resolution; multiple colour instances and supported ordering around a single SR. Duplicates start disconnected. Draft edits and the last valid runtime chain are separate. List/Node sessions, presets and settings persist independently; personal preset content choices/import/export/startup default replace imposed built-ins. Flow is shared after input, Video HDR precedes final FG, one FG backend is selected. This is not arbitrary branching. **Offline export is List-only; node export is deferred.** Global NR protection is List-only. Curves, mixer, wheels, B&W/calibration, group bypass/reset, parameter reset, LUTs and colour presets are connected to real processing.
+
+**3. Enhancement backends and diagnostics.** Lecram/SF-v2 NR selection across the chain; new configurations use SF-v2 on RTX20/30/40 and Lecram on RTX50, still experimental. DLSS FG 310.9.1 with attributed Transfusion compatibility; native RTX50 path retained, RTX30/40 hardware validation outstanding. DLSS 2/3/4/6× and XeSS 2/3/4× follow capability limits. Separate FSR3.1/FSR4 ML 2× entries; FSR4 is AMD-only and requires the actual matching provider. Added 5K/6K/7K SR choices, motion inputs, flow quality/AMD half-resolution, cadence/sync/queue/cap controls, output stabiliser, per-layer/node last-second GPU timings and frame-time/load displays. Crash dumps, device-removal/DRED, module inventory, capture frame age and staged VRAM recovery diagnostics improve investigation, not proof that hangs/leaks are fixed.
+
+**4. Sources and capture.** Moonlight/Sunshine PC discovery/manual hosts, PIN pairing, apps, identity persistence, input and statistics; Sunshine is installed separately. Unofficial Xbox device-code login, session API/native WebRTC and UI. Streaming hardware AV1/HEVC, pairing retention and high-bitrate defaults; all sources reuse the enhancement engine. Magewell Pro Capture low-latency SDK option, reduced native capture upload copies, parallel MJPEG decode/direct NV12 and reduced extra queueing under overload. Specific KUHAIMI27P/RTX5070 static tests measured capture-callback-to-Present-return improvements (2K60 NV12 ~1.95→0.90 ms; 4K30 ~3.2→1.47 ms). **These are internal software intervals, not card latency or screen-to-screen latency and not a universal device result.**
+
+**5. Export workflow.** Ordered editable multi-file queue, per-job snapshots, trim/thumbnails, MP4/MKV, typed bitrate, estimated size and one current-file ETA. Keep all/select audio and embedded subtitles; automatic retention skips incompatible tracks with a notice, explicit incompatible selections fail. Pause/cancel/retry/completion sound; default VBR8Mbps and closing playback/capture/streaming on export (optional). Offline export processes source frames fully; List-only and no implied new XeSS/FSR offline FG support.
+
+**6. OBS compatibility.** Persistent default-off Settings switch asks Yes/No to restart; Yes shuts down normally and relaunches, No applies next launch; active exports defer restart. Software UI avoids competing UI/video DXGI chains, while native GPU video/NR/SR/FG remain unchanged; some shadows/blur simplify. Game Capture targets video; use Windows10(1903+) Window Capture for the full UI. The RTSS compatibility added in 2.0.2 is described above; GamePP remains unverified.
+
+### Baseline 2.0.0 fixes
+
+- **Layers/state:** stacked NR black frames/only one temporal instance, copied parameter isolation, List/Node contamination, mixed preset restoration, drafts changing live state, invalid FG multipliers and reset/slider binding synchronisation.
+- **FG/presentation:** independent FSR output textures and safer hot switching; rollback UI after rejected FSR4; XeSS temporary-iterator undefined behaviour/capability controls; low queue no longer changes NR/SR order; shallow vsync queue. Comparison explicitly reports FG paused.
+- **Windows/UI:** display/DPI crashes, picture covering controls/menus/tooltips, cinema bars/clipping, seek dragging the window, empty-source selection, portrait layout, fullscreen/taskbar/mode transitions, bare Alt stalls, disappearing dialogs, typed frame-rate resets; editable sliders and arrow keys.
+- **Readouts/navigation:** monitor one GPU instead of summing adapters; stable stage bars and per-layer NR timings; half-rate budget; stable Home cards and navigation logs. The un-reproduced Xbox/PS5 wrong-dialog report is not claimed conclusively diagnosed.
+- **Capture/streaming:** stop competing DirectShow video in Magewell SDK mode; resize-failure backoff; colour-control boundaries, excessive history resets on MJPEG drops, remembered audio selection, stale source picture, live-source pause/resume, pairing/decoding and Reflex unload fixes.
+- **Export:** cancellation retry, queue/job state, incompatible subtitle handling, paused/duplicate ETA and slow GPU frames incorrectly failing after two seconds. Device faults/timeouts remain explicit failures with diagnostics.
+- **OBS/icons:** compatibility mode avoids reproduced multi-swapchain resize crashes/UI-only capture. The failed Vulkan experiment was discarded. Explicit Qt window icons replace generic taskbar placeholders.
+
+
+### Validation and remaining limits
+
+The merged build passed 11 regression groups (including 83 Xbox checks and 32 Qt Quick checks), three NR variants in List/Node mode and restart persistence, plus measured 1.5×/2×/3× playback and startup resume. RTSS Auto/Off paths also passed NR/SR, DLSS/XeSS/FSR3 and fullscreen transitions with actual OSD content. Package verification is recorded in the 2.0.2 execution log. Tests on the local RTX 5070 do not replace RTX 20/30/40/other 50-series, real-console Xbox long runs or console/VRR capture-card validation. The RTX 5060 Ti 4K fullscreen VRAM-growth root cause remains unconfirmed; optional fallback is containment, not a cured leak. Some RTX 40 NR TDRs, specific RTX 5090 XeSS/cadence reports, GC573/4K X cases, HDR display quality/end-to-end latency and long runs remain unresolved or unverified. RTSS was tested locally with 7.3.7; GamePP and other overlay versions remain unverified.
+
+The application version does not remove experimental runtime limits. Community NR/FG components are not vendor certification or complete official DLSS 5 support. The restored original DLL has a valid NVIDIA signature; its integration is still experimental. User DLL replacement remains possible without an ABI/driver guarantee.
+
+---
+
+## 中文
+
+保留 2.0.0 的主要更新,并整合其后全部修复与本次新增功能;与 2.0.0 共用设置。
+
+**只需下载 `Veyra-2.0.2-win64-portable.zip`**,完整解压到可写新目录并运行 `veyra_qml_ui.exe`,保留旧版便于回退。软件、运行库、许可证和清单在同一包内;需要重编译时获取[应用源码](https://github.com/Likely7/Veyra-NRVideo/archive/refs/tags/v2.0.2.zip)与[未改动的依赖源码](https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.0/Veyra-2.0.0-dependency-source.zip),见[构建说明](https://github.com/Likely7/Veyra-NRVideo/blob/v2.0.2/docs/BUILD_2.0.2.md)。
+
+### 2.0.2 新增与累计修复
+
+- **NR 三版本切换**:恢复 NVIDIA 有效签名的 310.8.0.0 原版(RTX 50),保留 Lecram 310.8.3 与 SF-v2 310.8.2 社区版本;列表/节点全 NR 链同步切换,原有默认值与已保存选择保留。
+- **小飞机 RTSS / MSI Afterburner OSD 兼容**:设置中的“监控软件兼容”默认自动。启动时检测到 RTSS,界面采用软件绘制,避免已复现的界面/视频双交换链冲突引起设备丢失、画面冻结;视频仍用 D3D12,OSD 只显示在视频上。RTSS 后启动会提示重启;关闭兼容则保留 GPU 界面并抑制本进程的 RTSS OSD。**与 OBS 游戏采集同时使用**:在 RTSS 给 Veyra 开启 “Use Microsoft Detours API hooking”,或改用 OBS 窗口采集。兼容界面的部分阴影/模糊简化。
+
+- **导出时显卡被系统重置,不再整段作废**:8K、长视频开 NR 导出时,有 40 系用户遇到驱动卡死并被 Windows 重置。现在已导出的部分会自动保存,新开一个导出进程从断点接着导,最后无损拼接成一个文件,不重新编码;最多续 3 次。这是重置后的恢复,不代表驱动挂起根因已修复;已用模拟设备移除验证续导,8K 反馈者实机结果待确认。
+- **全屏显存异常增长保护(默认关闭)**:仅在设置中开启后检测持续增长,自动退出全屏并在本次播放中限制再次进入,保持片源、NR 和补帧设置,用窗口继续播放,避免原先反复重建却继续增长。已分配的异常显存不保证释放,重新开程序可重测。**这是应急保护,5060 Ti 的 4K 全屏泄漏根因尚未确认、现场结果待验证**;本机加载同一 NVIDIA 插件也能稳定播放,不能仅凭模块出现就认定它是原因。设置中的 OBS 游戏采集兼容可用于切换界面显示路径后重测。
+- **Xbox 空值应答导致协商中断**:成功应答里的 `null` 错误字段不会再触发字符串异常;HTTP 200/202 的未完成应答继续有限轮询,数字错误码保留,空 ICE 元数据不会再次中断连接。协商失败显示实际阶段,不再一律提示 UDP 被拦截。本机 83 项协议/本地 WebRTC 测试通过,反馈者真实 Xbox 连接结果待确认。
+- **Xbox 断开时崩溃与视频反馈**:关闭期间的输入/控制发送异常被捕获,异步回调不会访问已关闭的会话;补齐参考客户端的视频帧反馈。已验证本地双端握手、报文和并发关闭,真实主机长时间稳定性待复测。
+- **采集卡 VRR 补帧**:可变帧间隔不再仅因偏离标称帧率就反复重置补帧历史,呈现相位跟随实际 A/B 时间差;保留真实断流与时间倒退保护。可变间隔软件回归通过,主机/VRR 采集卡组合仍待实测。
+- **启动继续上次内容**:设置中可开启自动恢复视频与播放进度,或按上次采集配置直接开始;启动页可选极简/专业。
+- **视频倍速**:极简与专业播放栏均可选 1×、1.5×、2×、3×,音调保持;导出与实时采集不变速。
+- 以下几项已在 2.0.0 的更新包里修过,2.0.2 一并包含:
+ - 输出稳定器·抗闪烁打开再关闭后画面定住;
+ - 首页"继续上次"的采集卡没有声音;
+ - 多层 NR 时性能球只算一层;
+ - 调色"效果"组的纹理 / 清晰度 / 去朦胧没有效果;
+ - 点击任务栏图标不能最小化;
+ - 采集开始发生设备丢失或崩溃时,记录加载模块并给出 NVIDIA App 插件/叠加层排查提示;RTSS 建议已更新为监控软件兼容设置。
+
+
+### 2.0.0 主要更新(本版全部保留)
+
+**1. 全新界面与操作**
+
+- 新首页、最近使用/继续上次、极简观影、专业列表、节点画布、独立调色、导出和设置页;统一暗色外观、图标、字体、菜单、确认框、滚动条与动效。
+- 全新圆角渐变黑底 Logo,EXE 与 Qt 窗口/任务栏图标统一。README 用新版专业模式截图替换旧动图,并重写操作教程。
+- 简体中文、繁体中文、English、日本語,支持跟随系统;设置包含界面缩放、启动尺寸、快捷键、音频设备和单显卡 GPU 占用监控。
+- 极简悬浮播放条可隐藏;全屏自动隐藏控制、顶部极简/专业切换、Home 快速调节与控制锁定。文件画面点击暂停、双击全屏、左右键跳转。
+- 文件比例/旋转信息、适应/原始/填充、原画/增强分屏、按住 V 对比、强制 SDR 预览、截图、字幕/音轨入口和高级字幕设置接入新界面。
+
+**2. 节点模式与多层增强**
+
+- 新增真实节点处理链:添加、端口拖拽/点击连接、拖到线上插入、拖离断开、右键删除/复制/重置、中键平移、滚轮缩放、适配视图与自动排列。
+- NR 最多四层,每层独立 Feature 实例、内部尺寸与参数;列表总开关支持恢复各层开关状态。调色可多实例,NR/调色可在允许拓扑中穿插于超分前后。
+- 复制节点保留参数并旁置为未连接副本;编辑草稿与最后有效运行链区分,非法/断线状态明确提示,不将可见节点冒充运行节点。
+- 列表/节点参数、会话和预设独立保存;切换恢复各自状态。个人预设支持内容选项、导入/导出、启动默认,取消强加内置预设。
+- 输入后共享光流、单个超分、Video HDR 在补帧前、单个末端补帧;不是任意分支混合图。**节点离线导出延期,2.0.0 只支持列表离线导出。**
+- 列表提供全局 NR 保护区域(含形状参数),排除区域内全部 NR 层并保留非 NR 处理;节点不提供保护区域。
+- 调色补齐曲线、八色混色器、色轮、黑白/校准、组旁路/复位、逐参数复位、LUT 文件导入、颜色预设和原图对比。
+
+**3. 增强后端、补帧与诊断**
+
+- NR 提供 Lecram / SF-v2 社区运行版本选择并全链切换;新配置按显卡分档选择(RTX20/30/40 SF-v2,RTX50 Lecram),保留实验边界。
+- DLSS FG 运行库升级 310.9.1,接入记录来源的 Transfusion 兼容路径;50 系原生路径保留,30/40 系实卡仍待验证。DLSS 倍率按能力提供 2/3/4/6×。
+- XeSS 选项与 SDK 能力对齐,支持适用环境中的 2/3/4×;FSR 3.1 与 FSR 4 ML 分开显示,FSR 为 2×,FSR 4 限 AMD 且需实际匹配 provider,不把回退 3.1 标成 4。
+- 超分增加 5K/6K/7K 尺寸选项与独立运动输入设置;运动估算质量、AMD 半分辨率光流、内容节奏、同步/低队列/输出上限在新版页面可调。
+- 输出稳定器/抗闪烁控制、逐层 NR/节点 GPU 最近一秒平均耗时、帧时间折线、处理预算与排队诊断。软件提交 FPS 不等于物理显示帧数。
+- 崩溃转储、设备移除/DRED 停止点、加载模块、采集驱动帧龄、显存回收诊断与分阶段重建 watchdog;这些诊断不等于已根治 TDR/显存增长。
+
+**4. 更多来源与采集优化**
+
+- PC 串流:Moonlight/Sunshine 协议、发现/手填主机、PIN 配对、应用列表、身份保存、键鼠/手柄输入与统计。主机 Sunshine 自行安装。
+- Xbox:账号设备码登录、主机会话与原生 WebRTC、首页/弹窗入口;非官方实验功能,不保证所有服务/主机环境可用。
+- 串流接入硬件 AV1/HEVC 解码、配对保持与高码率默认配置;PS5、PC、Xbox 共用现有增强链,不另造三套效果器。
+- 美乐威 Pro Capture SDK 低延迟入口;普通采集路径保留。原生格式采集上传减少拷贝,MJPEG 多解码器并行并直接写 NV12;高负载下减少额外排队。
+- 已有特定 KUHAIMI 27P/RTX5070 静态测试中,2K60 NV12 采集回调至 Present 返回约 1.95→0.90 ms,4K30 约 3.2→1.47 ms;**只代表该软件内部区间,不是采集卡固有延迟或屏幕端到端延迟,不外推所有设备。**
+
+**5. 新导出工作流**
+
+- 多文件可编辑顺序队列、每任务独立设置快照、剪辑范围/缩略图、MP4/MKV、码率直接输入、预计体积与单项剩余时间。
+- 多音轨与内嵌字幕保留全部/指定轨道;自动保留时跳过不支持封装的轨道并提示,手选不兼容轨道则明确失败。
+- 暂停、取消、重试、完成提示音;默认 VBR 8 Mbps。默认开始导出即关闭当前播放/采集/串流以释放 GPU,可关闭此选项。
+- 离线导出完整处理源帧;节点模式不导出,FSR/XeSS 实时补帧不等于新增对应离线补帧支持。
+
+**6. OBS 游戏采集兼容**
+
+- 设置 → 通用与外观新增持久化开关(默认关闭),保存后询问“是/否”重启。是正常释放播放器后重新启动,否下次生效;导出时提示等待。
+- 软件绘制 UI 避免 UI 与视频 DXGI 交换链竞争,视频/NR/SR/FG 仍走原 GPU 链;部分界面阴影和模糊简化。
+- 游戏采集针对视频,完整 UI 使用 Windows 10 (1903+) 窗口采集。2.0.2 的 RTSS 兼容另见上方;游戏加加未验证。
+
+### 2.0.0 基础修复
+
+- **多层与状态**:修复堆叠 NR 黑帧/仅一层时域执行、层参数复制隔离、列表/节点配置互相污染、预设恢复混用、断线草稿改动污染运行链、非法倍率写入预设、参数复位与滑条外部状态不同步。
+- **补帧与呈现**:FSR 改独立生成纹理,修复同窗口热切换资源生命周期;FSR 4 拒绝后 UI 正确回滚;修复 XeSS 临时字符串迭代器未定义行为和倍率入口;低延迟队列不再误改 NR/SR 顺序;垂直同步保持低深度排队。对比模式明确显示“补帧暂停”,避免误报无效。
+- **窗口与 UI**:修复切屏/DPI 崩溃、视频覆盖控制条/菜单/提示、极简黑边与播放条裁剪、拖进度误拖窗口、空页面无法选源、竖屏适配、全屏任务栏/模式切换、Alt 导致输入停顿、弹窗不再出现、输入帧率被刷新打断、滑条支持直接输入与方向键。
+- **信息显示**:GPU 占用不再累加多块显卡;阶段时间条不反复重建闪跳;列表显示每层 NR 耗时;负载预算跟随半速节奏;首页卡片稳定更新副标题,减少重建时点击丢失并增加导航日志(未将未复现的 Xbox/PS5 误开报告宣称为已完全定位)。
+- **采集/串流**:美乐威 SDK 模式停止并行 DirectShow 视频以避免争用;ResizeBuffers 失败退避;修正采集颜色控制边界、MJPEG 丢帧过度重置历史、音频设备选择保存、源切换残留画面;采集/串流可以暂停再恢复;保存配对、解码路径与 Reflex 卸载修复。
+- **导出**:取消后可重试、队列顺序/条目状态、格式不兼容字幕处理、暂停时 ETA 继续走、重复 ETA、慢 GPU 帧被固定两秒超时误杀。现按设备状态等待并记录慢帧/故障,不将真实 GPU 卡死当作导出成功。
+- **OBS**:默认 GPU UI 下复现缩放崩溃和捕获 UI 而非视频;新兼容模式规避多交换链冲突。此前 Vulkan 方案弃用,不计入成果。
+- **图标**:EXE 新图标及 Qt 窗口/任务栏图标显式设置,解决任务栏默认占位图标。
+
+
+### 验证与尚存边界
+
+合并构建通过 11 组回归(含 83 项 Xbox、32 项 Qt Quick)、三版 NR 列表/节点切换与重启保存,以及实际 1.5×/2×/3× 播放和启动恢复;RTSS 开启 OSD 内容时,自动/关闭兼容两种路径均通过 NR/SR、DLSS/XeSS/FSR3 与全屏切换。打包验证记录在 2.0.2 执行日志。本机 RTX 5070 测试不能替代 RTX 20/30/40/其他 50 系、真实 Xbox 长时间串流和主机 VRR 采集卡实测。5060 Ti 的 4K 全屏显存增长根因仍未确认,可选退窗只是应急保护。部分 RTX 40 NR TDR、5090 特定 XeSS/节奏、GC573/4K X、HDR 屏幕画质/端到端延迟和长稳问题仍未解决或未验证。RTSS 本机验证版本为 7.3.7,游戏加加与其他版本未验证。
+
+应用版本号不改变实验运行库边界。社区 NR/FG 不代表厂商认证或完整官方 DLSS 5 集成;新增原版 DLL 有效签名也不等于 Veyra 获得官方认证。用户仍可替换 DLL,但不保证 ABI/驱动兼容。
+
+## Support & feedback / 支持与反馈
+
+<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">
+ &nbsp;&nbsp;&nbsp;&nbsp;
+ <img src="https://raw.githubusercontent.com/Likely7/Veyra-NRVideo/v2.0.0/docs/images/2.0.0/community-group.png" alt="Veyra 交流群 4" width="220">
+</p>
+
+Left: optional donation; right: community group. QR valid before 2026-10-09.
+
+左:微信赞助(自愿,不影响功能);右:交流群。群码按图片标注于 **2026-10-09 前**有效,过期请查看仓库更新。
diff --git a/docs/RUNTIME_COMPONENTS_2.0.2.md b/docs/RUNTIME_COMPONENTS_2.0.2.md
new file mode 100644
index 00000000..a7e3fadd
--- /dev/null
+++ b/docs/RUNTIME_COMPONENTS_2.0.2.md
@@ -0,0 +1,15 @@
+# Veyra 2.0.2 NR runtime choices
+
+All three choices appear in the same NR selector in List and Node mode. Changing the selection rebuilds every NR layer together. Existing saved selections and defaults are preserved: new RTX 50 configurations use Lecram; RTX 20/30/40 use SF-v2. The NVIDIA original is an explicit RTX 50 choice. Availability is experimental and is not a claim of validation on every model.
+
+| Choice / 选择 | File relative to package | Version | Signature |
+|---|---|---|---|
+| RTX 50 · Lecram | `runtime/experimental/nvngx_dlssnr.dll` | 310.8.3.0 | HashMismatch; community modified |
+| RTX 20–50 · SF-v2 | `runtime/experimental/nr-ampere/nvngx_dlssnr.dll` | 310.8.2.0 | NotSigned; community build |
+| RTX 50 · NVIDIA original / 原版 | `runtime/experimental/nr-original/nvngx_dlssnr.dll` | 310.8.0.0 | Valid / NVIDIA |
+
+Original file: 165840496 bytes, SHA256 `E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E`. It is the previously approved local original, copied unchanged. The signature describes this binary; Veyra's experimental Feature 18 integration is not NVIDIA certification or complete official DLSS 5 support.
+
+All other identities remain those of [2.0.0](RUNTIME_COMPONENTS_2.0.0.md). The complete 43-file publisher lock is `RELEASE_2.0.2_RUNTIME_LOCK.json`; the package includes `release-runtime-manifest.json`. Proprietary runtime/SDK files are not in source Git. Delete an unused variant's DLL to remove it; selecting a missing/incompatible variant fails explicitly and restores the previous working settings. Publisher hashes do not block replacement DLLs at application startup.
+
+列表与节点都提供上述三种 NR,切换时全链同步,原有选择和默认值保留。历史 ID 0 仍是 Lecram,ID 2 是 SF-v2,退役 ID 1 继续迁移为 SF-v2;新增原版用 ID 3,避免旧预设被悄悄改成其他 DLL。原版签名有效不代表 Veyra 获得 NVIDIA 官方认证。用户可自行替换 DLL,兼容性需自行确认。
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index 79a747a4..ce188cf5 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -1,5 +1,22 @@
# Veyra 工作记录
+## 2026-10-03 2.0.2 集成、三版 NR 与发布准备
+
+- `python -B .../rtss-tests-v2.py`:RTSS 7.3.7 实际运行,临时空闲共享 OSD 槽写入测试文字(不改 RTSS/OBS 配置,结束已释放)。Auto 软件 UI 与 Off D3D12 UI 各 52 秒,NR+SR、DLSS 2×、XeSS、FSR3、全屏/窗口/专业/首页均通过;按日志断言实际后端而非请求值,无 ERROR/FATAL、无设备移除。截图确认 Auto 视频上有 OSD、首页无 OSD;Off 本进程无 OSD。此轮保留 Claude 的 OBS 真正捕获证据,未声称本轮重做 OBS 抓帧。
+- RTSS v1 测试虽然计时脚本返回 0,但审计发现旧 field 测试目录没有 XeSS/FSR provider,两次切换回退 DLSS,因此判失败并保留日志。现按 2.0.2 清单补齐并逐 SHA 核对 43 个运行文件,验收 helper 额外断言各后端实际生效;v2 才记通过。测试 staging 脚本已同步修正。
+- 内容审核:对照 GitHub 实际 2.0.0 Release,除已被本轮替代的 RTSS 边界文字,其余主要功能和基础修复段落保留;英文先于中文,双 QR 各 220px;两分支 tip 都是合并 HEAD 祖先;Git 待提交源文件无 DLL/EXE/LIB/PDB/模型/SDK archive。结果 `logs/.../content-audit.json`。
+- 最新用户授权:恢复 50 系原版 NR,保留 Lecram/SF-v2,合并双方改动到 main 并发布 2.0.2;英文 README 首页、中文切换,Release 英文在前中文在后、保留 2.0.0 主要更新和双 220px 支持二维码,上传一个便携 ZIP,起草群公告。此授权覆盖历史冻结/README 不动/候选暂不发布要求,未把现场未确认问题说成根治。
+- 隔离工作树 `E:/项目/Veyra/worktrees/release-2.0.2-20261003`,分支 `codex/release-2.0.2-20261003`;main 开工 `8f42fd5` / checkpoint/pre-release-2.0.2-20261003。先 fast-forward Codex `bfafbea`,再 merge Claude `28a440b`,合并点 `2787d15`;保留两边日志、按中文源串及翻译上下文合并 catalog。第一次合并辅助脚本错误地只按中文串去重而断言失败,随后按 `(zh,ctx)` 修正并在继续前修正本地 merge commit;无冲突标记进入交付。桌面脏工作树与两边原分支未改。
+- 原版 NR 从桌面已批准原件读取,165840496 bytes / 310.8.0.0 / Valid NVIDIA / E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E。增加 ID 3 与 nr-original 独立目录;旧 ID 0/2 与 1→2 迁移不变。新增 2.0.2 publisher lock,其余 42 个运行组件身份保持;仅 Release 带 DLL,不进 Git。
+- 全部新产物为 `E:/项目/Veyra/build|tests|logs|tmp|archives|verify/release-2.0.2-20261003`,正式包目标 `releases/2.0.2`。外部 baseline 是固定 `2787d15` Git blob SHA256;guard 按 git ls-files --eol 对文本规范化 CRLF,与不可变 blob 比较,未修改 baseline。初版 guard 比较 checkout CRLF 与 Git LF 导致全树误报,记录后修正比较表示。
+- 命令 `python -B scripts/acceptance/release-2.0.2-build.py build-v1.log ...` 与 build-v2.log:最终 13 个产品/测试目标编译退出 0;EXE FileVersion/ProductVersion 均为 2.0.2。现存 C4244 警告保留,不称无警告。
+- `...release-2.0.2-tests.py regression-v1` 发现新增预设夹具缺少 v1 共享调色字段,以及旧 UI 测试错误期待退役 NR ID 1 原样返回;修正夹具,并测试 0/1/2/3 的既定迁移规则。实际 NR v1 首次选择 ID 3 被加载目录限制拒绝,已补充精确的 nr-original 本地/发行路径;回退到先前 SF-v2 正常。
+- `...release-2.0.2-tests.py regression-v2` 十一组全部退出 0:audio_playback_rate、live_timing、xbox(83)、repair_contract(243)、qml_data、ui_i18n、qml_quick(32)、preset_library、repair_preset、effect_chain、ui_contract。新增三版预设与 list/node session 保存回读通过。原失败日志保留。
+- `python -B E:/项目/Veyra/tmp/release-2.0.2-20261003/nr-tests.py`:nr-three-v2 / nr-restore-v2 均退出 0。本机 RTX 5070、4K30 实际素材,列表两层 NR 与节点分别 0→2→3→0,均实际 Evaluate 且进度前进;保存 ID 3 列表/节点预设,重启回读均为 3,旧默认仍 Lecram。末尾截图请求与 close 同时到达导致 NO WINDOW,未把该空截图当视觉证据;数值/日志断言及进程关闭检查通过。
+- `python -B .../product-tests.py product-default-ui`:合并后的默认启动检测 RTSS 并用软件界面、D3D12 视频,实测 1.499625× / 2.000000× / 3.001501×,暂停、跳转、切回 1×、保存 26.9333 秒后重启恢复、专业/极简启动页与关闭自动恢复全部通过。原始前轮普通采集/保护实测见上方候选记录,未重复冒充 VRR 主机验证。
+- `python -B .../package-validator.py`:沿用 ZIP 负例测试,输出改本任务路径,10/10 通过。`scripts/i18n/extract.py --check`:1901 条,三语言缺失 0、占位符错误 0。git diff --check 无本轮空白问题;上游 SoundTouch COPYING 历史原有空白不修改。源 DLL/SDK 未纳入 Git。
+- 发布结构:README.md 英文、README_CN.md 中文、README_EN.md 保留兼容跳转;2.0.2 Release 包含各语言完整六组 2.0.0 主要更新和基础修复,追加本轮累计修复。源码通过 v2.0.2 Git tag 下载(含 SoundTouch 全源),其余对应依赖引用未改动的 2.0.0 dependency-source.zip,538838710 bytes / a293552434381a71169c1c27658f07202d67243ca82e748936b9db15077ce0de;不再另上传源码/SHA 资产。两张二维码及依赖源码 URL 已实际 HEAD 200,图像类型正确。
+
## 2026-10-03 启动恢复、倍速、Xbox 断开与采集 VRR(独立候选)
- 完成交付候选 `E:/项目/Veyra/releases/2.0.1-player-xbox-vrr-20261003`,包/源码快照 `0f736be`,标签 `checkpoint/player-xbox-vrr-candidate-20261003`。`package-qml-release.py` 使用本轮 build、已批准 2.0.1 runtime source、既有 1.4.4 licenses、Qt 6.8.3 及已保存 Qt licenses,退出 0;1516 文件与发布者运行组件身份核验通过。便携 ZIP 412960904 bytes / SHA256 `5a9715e57f04620ebf5518f3418977f1adc4bd9639f088720b23c354b2f0b350`;EXE `3e867d707ab0fd7ec3f4ae5783a0fc7fffce8f33573171a371457da479c3c966`。对应 Veyra source ZIP `94c35b9d4dcc9efdadff9ccc84943330dcb56a9932e9d3fff0fabd584580f312`,同目录配对原依赖源码 `a293552434381a71169c1c27658f07202d67243ca82e748936b9db15077ce0de`;SoundTouch 原始源码已经在前者中。
diff --git a/i18n/catalog.json b/i18n/catalog.json
index 279b3787..ed0f3707 100644
--- a/i18n/catalog.json
+++ b/i18n/catalog.json
@@ -1246,6 +1246,13 @@
"en": "PSN account",
"ja": "PSN アカウント"
},
+ {
+ "zh": "RTX 50 · NVIDIA 原版",
+ "src": "qml/Veyra/NrLayerEditor.qml",
+ "zh-TW": "RTX 50 · NVIDIA 原版",
+ "en": "RTX 50 · NVIDIA original",
+ "ja": "RTX 50 · NVIDIA オリジナル"
+ },
{
"zh": "RTX Video HDR 之后只能接补帧",
"src": "src/engine/EffectChain.cpp",
diff --git a/include/veyra/engine/EnhancementSettings.h b/include/veyra/engine/EnhancementSettings.h
index 8b64de2a..97e1584c 100644
--- a/include/veyra/engine/EnhancementSettings.h
+++ b/include/veyra/engine/EnhancementSettings.h
@@ -68,7 +68,13 @@ constexpr std::wstring_view captureAudioIngressName(CaptureAudioIngress mode) {
}
return L"自动(优先 PCM,必要时位流解码)";
}
-enum class NrRuntime { Original, Community, Ampere };
+// The original slot (0) became Lecram in 2.0.0. Give the restored NVIDIA
+// binary a new value so existing presets keep selecting the same DLL.
+enum class NrRuntime { Original = 0, Community = 1, Ampere = 2, NvidiaOriginal = 3 };
+constexpr bool validNrRuntime(NrRuntime runtime) {
+ return runtime == NrRuntime::Original || runtime == NrRuntime::Community ||
+ runtime == NrRuntime::Ampere || runtime == NrRuntime::NvidiaOriginal;
+}
// Persisted value 1 selected the retired RTX40 DLL. Never load that DLL in
// current builds; preserve 0 (Lecram) and 2 (SF-v2) as explicit user choices.
constexpr NrRuntime currentNrRuntime(NrRuntime runtime) {
@@ -79,6 +85,7 @@ constexpr std::string_view nrRuntimeName(NrRuntime runtime) {
case NrRuntime::Original:return "community-Lecram-RTX50";
case NrRuntime::Community:return "community-SF-v2-RTX20-RTX50-legacy40";
case NrRuntime::Ampere:return "community-SF-v2-RTX20-RTX50";
+ case NrRuntime::NvidiaOriginal:return "NVIDIA-original-RTX50-310.8.0";
}
return "unknown";
}
@@ -302,7 +309,7 @@ struct EnhancementSettings {
auto range=[](float v,float hi){return std::isfinite(v)&&v>=0&&v<=hi;};
if(auto error=protection.validate();!error.empty())return error;
if(!revision)return "settingsRevision must be nonzero";
- if(nrRuntime!=NrRuntime::Original&&nrRuntime!=NrRuntime::Community&&nrRuntime!=NrRuntime::Ampere)return "invalid NR runtime";
+ if(!validNrRuntime(nrRuntime))return "invalid NR runtime";
if(captureAudio<CaptureAudioIngress::Auto||captureAudio>CaptureAudioIngress::BitstreamPreferred)return "invalid capture audio ingress mode";
if(captureBuffer<source::CaptureBufferMode::Auto||captureBuffer>source::CaptureBufferMode::DriverDefault)return "invalid capture buffer mode";
if(audioSync<AudioSyncMode::Automatic||audioSync>AudioSyncMode::Off||audioOffsetMs<-250||audioOffsetMs>250)return "invalid audio sync setting";
@@ -324,7 +331,7 @@ struct EnhancementSettings {
n.model.uiCorrection<0||n.model.uiCorrection>1)return "invalid NR layer experimental parameter";
for(float v:{n.residual.total,n.residual.darken,n.residual.brighten,n.residual.color,n.residual.luminance})
if(!range(v,2))return "NR layer residual parameter out of range";
- if(n.runtime!=NrRuntime::Original&&n.runtime!=NrRuntime::Community&&n.runtime!=NrRuntime::Ampere)
+ if(!validNrRuntime(n.runtime))
return "invalid NR layer runtime";
if(n.enabled&&(n.runtime!=nrRuntime||n.lowLatencyPairing!=lowLatency))
return "active NR layers must share runtime and NR/SR order";
diff --git a/qml/Veyra/NrLayerEditor.qml b/qml/Veyra/NrLayerEditor.qml
index 7bc36855..21a36df0 100644
--- a/qml/Veyra/NrLayerEditor.qml
+++ b/qml/Veyra/NrLayerEditor.qml
@@ -65,8 +65,10 @@ ColumnLayout {
hint: qsTr("全链共享 · 切换会重建 NR 管线")
VSelect {
objectName: "nr-runtime"
- value: editor.layerData.runtime === 2 ? "RTX 20–50 · SF-v2" : "RTX 50 · Lecram"
- options: [{id:"0",label:"RTX 50 · Lecram"},{id:"2",label:"RTX 20–50 · SF-v2"}]
+ value: editor.layerData.runtime === 3 ? qsTr("RTX 50 · NVIDIA 原版")
+ : editor.layerData.runtime === 2 ? "RTX 20–50 · SF-v2" : "RTX 50 · Lecram"
+ options: [{id:"0",label:"RTX 50 · Lecram"},{id:"2",label:"RTX 20–50 · SF-v2"},
+ {id:"3",label:qsTr("RTX 50 · NVIDIA 原版")}]
onPicked: id => editor.edited(editor.layerData.index, "runtime", Number(id))
}
}
diff --git a/scripts/acceptance/release-2.0.2-build.py b/scripts/acceptance/release-2.0.2-build.py
new file mode 100644
index 00000000..563e5298
--- /dev/null
+++ b/scripts/acceptance/release-2.0.2-build.py
@@ -0,0 +1,45 @@
+"""Bounded isolated build with the current product's validated dependency paths."""
+import os
+import subprocess
+import sys
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[2]
+BASE = Path('E:/项目/Veyra')
+TASK = 'release-2.0.2-20261003'
+BUILD, TMP, LOGS = (BASE / part / TASK for part in ('build', 'tmp', 'logs'))
+CONTROL = ROOT / 'scripts/acceptance/release-2.0.2-control.py'
+subprocess.run([sys.executable, '-B', str(CONTROL)], check=True)
+for p in (BUILD, TMP, LOGS):
+ p.mkdir(parents=True, exist_ok=True)
+settings = []
+for line in (BASE / 'build/main-merge-20261002/CMakeCache.txt').read_text(encoding='utf8').splitlines():
+ if ':' not in line or '=' not in line or line.startswith(('#', '//')):
+ continue
+ keytype, value = line.split('=', 1)
+ key, kind = keytype.split(':', 1)
+ if kind in ('INTERNAL', 'STATIC'):
+ continue
+ if key.startswith('VEYRA_') or key in ('CMAKE_PREFIX_PATH', 'CMAKE_MAKE_PROGRAM', 'PROTOC', 'PKG_CONFIG_EXECUTABLE'):
+ settings.append(f'set({key} [[{value}]] CACHE {kind} "Existing product dependency" FORCE)')
+(TMP / 'dependencies.cmake').write_text('\n'.join(settings), encoding='utf8')
+targets = sys.argv[2:] or ['veyra_qml_ui', 'veyra_xbox_tests']
+if any(not t.replace('_', '').isalnum() for t in targets):
+ raise SystemExit('Invalid target')
+cmd = TMP / 'build.cmd'
+cmd.write_text('@echo off\nchcp 65001 >nul\ncall "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Auxiliary\\Build\\vcvars64.bat" >nul 2>&1\nif errorlevel 1 exit /b 4\n"%TASK_CMAKE%" --preset x64-release -S "%TASK_ROOT%" -B "%TASK_BUILD%" -C "%TASK_TMP%\\dependencies.cmake"\nif errorlevel 1 exit /b 5\n"%TASK_CMAKE%" --build "%TASK_BUILD%" --parallel 6 --target ' + ' '.join(targets) + '\nexit /b %errorlevel%\n', encoding='ascii')
+env = os.environ.copy()
+env.update(VSLANG='1033', TASK_ROOT=str(ROOT), TASK_BUILD=str(BUILD), TASK_TMP=str(TMP),
+ TEMP=str(TMP), TMP=str(TMP),
+ TASK_CMAKE='C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe')
+log = LOGS / sys.argv[1]
+with log.open('x', encoding='utf8') as output:
+ try:
+ result = subprocess.run(['cmd.exe', '/d', '/c', str(cmd)], cwd=ROOT, env=env,
+ stdout=output, stderr=subprocess.STDOUT, timeout=890).returncode
+ except subprocess.TimeoutExpired:
+ result = 124
+print('BUILD', result, log)
+print('\n'.join(log.read_text(encoding='utf8', errors='replace').splitlines()[-25:]))
+subprocess.run([sys.executable, '-B', str(CONTROL)], check=True)
+raise SystemExit(result)
diff --git a/scripts/acceptance/release-2.0.2-control.py b/scripts/acceptance/release-2.0.2-control.py
new file mode 100644
index 00000000..5a62de2c
--- /dev/null
+++ b/scripts/acceptance/release-2.0.2-control.py
@@ -0,0 +1,40 @@
+"""Limit release integration changes to the user-authorised 2.0.2 scope."""
+import hashlib
+import json
+import subprocess
+from pathlib import Path
+
+ROOT = Path(__file__).resolve().parents[2]
+BASELINE = Path('E:/项目/Veyra/archives/release-2.0.2-20261003/scope-baseline.json')
+ALLOWED = {
+ 'CMakeLists.txt', 'README.md', 'README_EN.md', 'README_CN.md', 'THIRD_PARTY_NOTICES.md',
+ 'include/veyra/engine/EnhancementSettings.h', 'src/pipeline/EnhanceGraph.cpp',
+ 'src/ngx/DlssNrRuntimeAdapter.cpp', 'tests/unit/UiContractTests.cpp',
+ 'src/engine/PresetLibrary.cpp', 'src/ui/QmlPlayerBridge.cpp', 'qml/Veyra/NrLayerEditor.qml',
+ 'i18n/catalog.json', 'tests/unit/RepairPresetTests.cpp', 'tests/unit/PresetLibraryTests.cpp',
+ 'tests/integration/NrRuntimeSwitchTests.cpp', 'scripts/package-qml-release.py',
+ 'scripts/acceptance/release-2.0.2-control.py', 'scripts/acceptance/release-2.0.2-build.py',
+ 'scripts/acceptance/release-2.0.2-tests.py', 'scripts/acceptance/release-2.0.2-nr.qml',
+ 'docs/WORKLOG.md', 'docs/CURRENT_STATUS.md', 'docs/RELEASE_2.0.2_PLAN_2026-10-03.md',
+ 'docs/RELEASE_2.0.2_RUNTIME_LOCK.json', 'docs/RELEASE_NOTES_2.0.2.md',
+ 'docs/BUILD_2.0.2.md', 'docs/RUNTIME_COMPONENTS_2.0.2.md', 'docs/GROUP_ANNOUNCEMENT_2.0.2.md',
+}
+baseline = json.loads(BASELINE.read_text(encoding='utf8'))
+names = subprocess.check_output(['git', 'ls-files', '--cached', '--others', '--exclude-standard', '-z'], cwd=ROOT).decode('utf8').split('\0')
+# Baseline hashes are Git blobs. Windows checkout may have CRLF; compare the
+# same representation without rewriting either files or the immutable baseline.
+lf = {line.split('\t', 1)[1] for line in subprocess.check_output(
+ ['git', 'ls-files', '--eol', '-z'], cwd=ROOT).decode('utf8').split('\0') if line.startswith('i/lf ')}
+current = {}
+for p in names:
+ if p and (ROOT/p).is_file():
+ data=(ROOT/p).read_bytes()
+ if p in lf:
+ data=data.replace(b'\r\n', b'\n')
+ current[p]=hashlib.sha256(data).hexdigest()
+changed = {p for p in current.keys() | baseline['files'].keys() if current.get(p) != baseline['files'].get(p)}
+unexpected = changed - ALLOWED
+print('RELEASE 2.0.2 SCOPE', 'FAIL' if unexpected else 'PASS', len(changed), 'changed files')
+if unexpected:
+ print('\n'.join(sorted(unexpected)))
+raise SystemExit(bool(unexpected))
diff --git a/scripts/acceptance/release-2.0.2-nr.qml b/scripts/acceptance/release-2.0.2-nr.qml
new file mode 100644
index 00000000..a504bb8a
--- /dev/null
+++ b/scripts/acceptance/release-2.0.2-nr.qml
@@ -0,0 +1,82 @@
+ Timer { interval: 150; running: true; repeat: true; onTriggered: veyra.logUi("uitest-tick", "") }
+ Timer {
+ interval: 250; running: true; repeat: true
+ property int phase: 0
+ property int ticks: 0
+ property int total: 0
+ property int choice: 0
+ property real beforePosition: 0
+ property var choices: [0, 2, 3, 0]
+ property bool restore: Qt.application.arguments.indexOf("--nr-restore") >= 0
+ function check(ok, message) { if (!ok) throw new Error(message) }
+ function next(p) { phase=p; ticks=0 }
+ function preset(name) { for (var i=0;i<veyra.presets.length;++i) if(veyra.presets[i].name===name)return i;return -1 }
+ function choose(id) {
+ beforePosition=veyra.position
+ check(veyra.setNrLayerParameter(veyra.nrLayers[0].index,"runtime",id),"select NR "+id)
+ check(veyra.nrLayers.every(n=>n.runtime===id),"all layers select NR "+id)
+ }
+ function findItem(item, name) {
+ if (item.objectName===name) return item
+ const children=item.children || []
+ for(var i=0;i<children.length;++i){const found=findItem(children[i],name);if(found)return found}
+ return null
+ }
+ onTriggered: { try {
+ ++ticks; ++total
+ if(total>980||ticks>180)throw new Error("bounded wait phase="+phase)
+ if(phase===0){
+ if(ticks<8)return
+ if(restore){
+ check(veyra.nrLayers.every(n=>n.runtime===3),"list original restores after restart")
+ veyra.nodeMode=1
+ check(veyra.nrLayers.every(n=>n.runtime===3),"node original restores after restart")
+ check(veyra.applyPresetIndex(preset("2.0.2 original node")),"original node preset loads")
+ check(veyra.nrLayers.every(n=>n.runtime===3),"original node preset retains variant")
+ veyra.nodeMode=0
+ check(veyra.applyPresetIndex(preset("2.0.2 original list")),"original list preset loads")
+ check(veyra.nrLayers.every(n=>n.runtime===3),"original list preset retains variant")
+ veyra.logUi("uitest","UITEST_DONE original NR persistence");running=false;root.close();return
+ }
+ check(veyra.nrLayers[0].runtime===0,"RTX 50 fresh Lecram default unchanged")
+ root.goPage("pro");veyra.muted=true;veyra.srEnabled=false;veyra.fgEnabled=false;veyra.nrEnabled=true
+ veyra.openUrl("@VIDEO@");next(1);return
+ }
+ if(phase===1){
+ if(ticks<16||!veyra.running||veyra.applying)return
+ check(veyra.nrActive,"initial NR evaluates")
+ const selector=findItem(root.contentItem,"nr-runtime")
+ check(selector&&selector.options.length===3,"three options exposed in NR editor")
+ check(selector.options.map(x=>x.id).join(",")==="0,2,3","persistent NR IDs exposed")
+ check(!veyra.setNrLayerParameter(veyra.nrLayers[0].index,"runtime",1),"retired ID rejected by UI")
+ check(!veyra.setNrLayerParameter(veyra.nrLayers[0].index,"runtime",4),"invalid ID rejected")
+ check(veyra.duplicateNrLayer(veyra.nrLayers[0].index)>=0,"add second NR layer")
+ choice=0;choose(choices[choice]);next(2);return
+ }
+ if(phase===2||phase===4){
+ if(ticks<16||veyra.applying)return
+ check(veyra.running&&veyra.nrActive&&veyra.position>beforePosition+0.5,"NR playback advances "+choices[choice])
+ check(veyra.nrLayers.every(n=>n.runtime===choices[choice]),"active variant retained")
+ veyra.logUi("uitest","NR_VARIANT_PASS mode="+veyra.nodeMode+" id="+choices[choice]+" position="+veyra.position)
+ if(++choice<choices.length){choose(choices[choice]);ticks=0;return}
+ choose(3)
+ if(phase===2){
+ check(veyra.savePresetAs("2.0.2 original list",15,false),"save original list preset")
+ veyra.nodeMode=1;root.goPage("node");next(3);return
+ }
+ check(veyra.savePresetAs("2.0.2 original node",15,true),"save original node preset")
+ veyra.nodeMode=0;root.goPage("pro");next(5);return
+ }
+ if(phase===3){
+ if(ticks<12||veyra.applying)return
+ if(!veyra.nrLayers.length)check(veyra.addEffect("nr")>=0,"add node NR")
+ choice=0;choose(choices[choice]);next(4);return
+ }
+ if(phase===5){
+ if(ticks<16||veyra.applying)return
+ check(veyra.nrActive&&veyra.nrLayers.every(n=>n.runtime===3),"list original resumes after node mode")
+ veyra.logUi("uitest","UITEST_SHOT original-nr")
+ veyra.logUi("uitest","UITEST_DONE all NR variants");running=false;root.close()
+ }
+ } catch(e) {veyra.logUi("uitest","UITEST_FAIL "+e.message);running=false;root.close()} }
+ }
diff --git a/scripts/acceptance/release-2.0.2-tests.py b/scripts/acceptance/release-2.0.2-tests.py
new file mode 100644
index 00000000..2cb9dcab
--- /dev/null
+++ b/scripts/acceptance/release-2.0.2-tests.py
@@ -0,0 +1,48 @@
+"""Isolated, bounded product regression. All artifacts live under the task root."""
+import hashlib, json, math, os, shutil, struct, subprocess, sys, wave
+from pathlib import Path
+ROOT=Path(__file__).resolve().parents[2]
+BASE=Path('E:/项目/Veyra');TASK='release-2.0.2-20261003'
+BUILD=BASE/'build'/TASK;TESTS=BASE/'tests'/TASK;APP=TESTS/'app'
+QT=Path('C:/veyra-deps/qt-veyra/6.8.3/msvc2022_64')
+def main():
+ subprocess.run([sys.executable,'-B',str(ROOT/'scripts/acceptance/release-2.0.2-control.py')],check=True)
+ label=sys.argv[1]
+ if not label.replace('-','').isalnum():raise ValueError('label')
+ out=TESTS/label;out.mkdir(exist_ok=False)
+ tmp=BASE/'tmp'/TASK/label;tmp.mkdir(exist_ok=False)
+ env=os.environ.copy();env.update(TEMP=str(tmp),TMP=str(tmp),
+ PATH=str(QT/'bin')+os.pathsep+'C:/veyra-deps/ffmpeg-ps5-dav1d-installed/bin'+os.pathsep+env['PATH'])
+ if not APP.exists():
+ shutil.copytree(BASE/'tests/field-2.0.1-20261002/app',APP)
+ for f in BUILD.glob('*.exe'):shutil.copy2(f,APP/f.name)
+ shutil.copytree(ROOT/'qml',APP/'qml',dirs_exist_ok=True)
+ shutil.copytree(ROOT/'tests/qml/quick',APP/'qml-tests',dirs_exist_ok=True)
+ for name in ('Qt6Test.dll','Qt6QuickTest.dll'):shutil.copy2(QT/'bin'/name,APP/name)
+ # Earlier field-test stages omitted XeSS/FSR providers. Exercise the same
+ # complete runtime set as the package instead of accepting silent rollback.
+ runtime_source=BASE/'releases/2.0.1-20261002/Veyra-2.0.1-win64-portable'
+ lock=json.loads((ROOT/'docs/RELEASE_2.0.2_RUNTIME_LOCK.json').read_text(encoding='utf8'))
+ for record in lock['files']:
+ source=Path('C:/Users/123/Desktop/Veyra DLSS Video Player/nvngx_dlssnr.dll') if '/nr-original/' in record['path'] else runtime_source/record['path']
+ if source.stat().st_size!=record['size'] or hashlib.sha256(source.read_bytes()).hexdigest()!=record['sha256'].lower():
+ raise ValueError('Runtime fixture identity mismatch: '+record['path'])
+ target=APP/record['path'];target.parent.mkdir(parents=True,exist_ok=True);shutil.copy2(source,target)
+ (out/'ui-contract').mkdir()
+ tone=out/'tone.wav'
+ with wave.open(str(tone),'wb') as f:
+ f.setnchannels(2);f.setsampwidth(2);f.setframerate(48000)
+ f.writeframes(b''.join(struct.pack('<hh',*(2*[int(12000*math.sin(2*math.pi*440*i/48000))])) for i in range(240000)))
+ env.update(QT_QPA_PLATFORM='offscreen',QT_QUICK_BACKEND='software',QT_QUICK_CONTROLS_STYLE='Basic',
+ QML_DISABLE_DISK_CACHE='1',QT_FORCE_STDERR_LOGGING='1',VEYRA_EXPORT_TEST_ARTIFACTS=str(out/'qml-images'))
+ (out/'qml-images').mkdir()
+ results=[]
+ for name in ('audio_playback_rate','live_timing','xbox','repair_contract','qml_data','ui_i18n','qml_quick','preset_library','repair_preset','effect_chain','ui_contract'):
+ args=[str(tone)] if name=='audio_playback_rate' else [str(out/'data')] if name=='qml_data' else [str(out/'presets.v1')] if name=='repair_preset' else [str(out/'ui-contract')] if name=='ui_contract' else []
+ with (out/(name+'.log')).open('xb') as log:
+ try:code=subprocess.run([str(APP/('veyra_'+name+'_tests.exe')),*args],cwd=APP,env=env,stdout=log,stderr=subprocess.STDOUT,timeout=290).returncode
+ except subprocess.TimeoutExpired:code=124
+ results.append({'name':name,'exit':code});print(results[-1],flush=True)
+ (out/'summary.json').write_text(json.dumps(results,indent=2),encoding='utf8')
+ raise SystemExit(any(r['exit'] for r in results))
+if __name__=='__main__':main()
diff --git a/scripts/package-qml-release.py b/scripts/package-qml-release.py
index 903eb70f..365f1379 100644
--- a/scripts/package-qml-release.py
+++ b/scripts/package-qml-release.py
@@ -134,12 +134,14 @@ def main():
p.add_argument('--verify', type=Path)
p.add_argument('--build', type=Path)
p.add_argument('--runtime-source', type=Path)
+ p.add_argument('--original-nr', type=Path, help='Approved original NR DLL, audited against the version runtime lock')
p.add_argument('--legacy-licenses', type=Path)
p.add_argument('--qt', type=Path)
p.add_argument('--qt-licenses', type=Path)
p.add_argument('--output', type=Path)
p.add_argument('--label', default='2.0.0')
p.add_argument('--no-archive', action='store_true')
+ p.add_argument('--release', action='store_true', help='Require a clean source tree and include corresponding-source links')
args = p.parse_args()
if args.verify:
print(json.dumps(verify_zip(args.verify), indent=2))
@@ -149,8 +151,15 @@ def main():
p.error('Missing --' + field.replace('_', '-'))
if not re.fullmatch(r'2\.0\.\d+(?:-[a-z0-9.-]+)?', args.label):
raise ValueError('Expected a 2.0.x version or an explicit test suffix')
- # 2.0.x patch releases ship the 2.0.0 runtime lock unchanged; the notes follow the version.
version = args.label.split('-')[0]
+ lock_path = ROOT / 'docs' / ('RELEASE_' + version + '_RUNTIME_LOCK.json')
+ if not lock_path.is_file():
+ lock_path = ROOT / 'docs/RELEASE_2.0.0_RUNTIME_LOCK.json'
+ if args.release:
+ if subprocess.check_output(['git', '-C', str(ROOT), 'status', '--porcelain']).strip():
+ raise ValueError('Public release requires a clean source tree')
+ if not (ROOT / 'docs' / ('BUILD_' + version + '.md')).is_file():
+ raise ValueError('Public release requires version-specific corresponding-source instructions')
notes = 'RELEASE_NOTES_' + version + '.md' if (ROOT / 'docs' / ('RELEASE_NOTES_' + version + '.md')).is_file() else 'RELEASE_NOTES_2.0.0.md'
if not args.output.resolve().is_relative_to(ARTIFACTS.resolve()):
raise ValueError('Candidate output must stay in the E: artifact tree')
@@ -206,18 +215,20 @@ def main():
copy(ffmpeg / 'bin/dav1d.dll', 'dav1d.dll')
# These are the pinned, already approved runtime identities, including kernels.
- lock = json.loads((ROOT / 'docs/RELEASE_2.0.0_RUNTIME_LOCK.json').read_text(encoding='utf8'))
+ lock = json.loads(lock_path.read_text(encoding='utf8'))
audit_env = env.copy()
# A parent PowerShell 7 session may otherwise force Windows PowerShell 5 to
# import incompatible copies of its built-in Security module.
audit_env = {k: v for k, v in audit_env.items() if k.upper() != 'PSMODULEPATH'}
audit_env.update(VEYRA_PACKAGE_RUNTIME=str(args.runtime_source),
- VEYRA_PACKAGE_LOCK=str(ROOT / 'docs/RELEASE_2.0.0_RUNTIME_LOCK.json'))
+ VEYRA_PACKAGE_LOCK=str(lock_path),
+ VEYRA_PACKAGE_ORIGINAL_NR=str(args.original_nr) if args.original_nr else '')
signature_check = r"""$ErrorActionPreference='Stop';
$lock=Get-Content -LiteralPath $env:VEYRA_PACKAGE_LOCK -Raw -Encoding UTF8 | ConvertFrom-Json;
foreach($f in $lock.files) {
if(-not $f.path.EndsWith('.dll')) { continue };
$p=Join-Path $env:VEYRA_PACKAGE_RUNTIME $f.path;
+ if($f.path -eq 'runtime/experimental/nr-original/nvngx_dlssnr.dll' -and $env:VEYRA_PACKAGE_ORIGINAL_NR) { $p=$env:VEYRA_PACKAGE_ORIGINAL_NR };
$s=Get-AuthenticodeSignature -LiteralPath $p;
$v=(Get-Item -LiteralPath $p).VersionInfo;
$version="$($v.FileMajorPart).$($v.FileMinorPart).$($v.FileBuildPart).$($v.FilePrivatePart)";
@@ -227,6 +238,8 @@ foreach($f in $lock.files) {
env=audit_env, check=True, timeout=290)
for record in lock['files']:
source = args.runtime_source / relative(record['path'])
+ if record['path'] == 'runtime/experimental/nr-original/nvngx_dlssnr.dll' and args.original_nr:
+ source = args.original_nr
if source.stat().st_size != record['size'] or digest(source) != record['sha256'].lower():
raise ValueError('Publisher runtime mismatch: ' + record['path'])
copy(source, record['path'])
@@ -262,11 +275,16 @@ foreach($f in $lock.files) {
copy(ROOT / name, name)
copy(ROOT / 'README.md', 'README.md')
copy(ROOT / 'README_EN.md', 'README_EN.md')
+ if (ROOT / 'README_CN.md').is_file():
+ copy(ROOT / 'README_CN.md', 'README_CN.md')
for name in ('veyra-app-icon.png', 'veyra-2.0.0-promo.webp'):
copy(ROOT / 'assets' / name, 'assets/' + name)
for name in sorted({'RUNTIME_COMPONENTS_2.0.0.md', 'BUILD.md', 'BUILD_2.0.0.md', 'RELEASE_NOTES_2.0.0.md', notes}):
copy(ROOT / 'docs' / name, 'docs/' + name)
copy(ROOT / 'docs' / notes, 'RELEASE_NOTES.md')
+ for name in ('BUILD_' + version + '.md', 'RUNTIME_COMPONENTS_' + version + '.md'):
+ if (ROOT / 'docs' / name).is_file():
+ copy(ROOT / 'docs' / name, 'docs/' + name)
tree(ROOT / 'docs/images/2.0.0', 'docs/images/2.0.0')
records = []
@@ -280,7 +298,12 @@ foreach($f in $lock.files) {
commit = subprocess.check_output(['git', '-C', str(ROOT), 'rev-parse', 'HEAD']).decode().strip()
changed = subprocess.check_output(['git', '-C', str(ROOT), 'status', '--porcelain']).decode('utf8')
manifest = dict(schema=2, version=version, candidate=args.label, baseCommit=commit,
- worktreeDirty=bool(changed), releaseReady=False, files=records)
+ worktreeDirty=bool(changed), releaseReady=args.release, files=records)
+ if args.release:
+ manifest['correspondingSource'] = dict(
+ application='https://github.com/Likely7/Veyra-NRVideo/archive/refs/tags/v' + version + '.zip',
+ dependencies='https://github.com/Likely7/Veyra-NRVideo/releases/download/v2.0.0/Veyra-2.0.0-dependency-source.zip',
+ instructions='docs/BUILD_' + version + '.md')
if not args.no_archive:
manifest['sourceSnapshot'] = source_snapshot(args.output, args.label, digest(stage / 'veyra_qml_ui.exe'))
(stage / 'package-manifest.json').write_text(json.dumps(manifest, indent=2), encoding='utf8')
diff --git a/src/engine/PresetLibrary.cpp b/src/engine/PresetLibrary.cpp
index 1da1b7e1..b5db55f1 100644
--- a/src/engine/PresetLibrary.cpp
+++ b/src/engine/PresetLibrary.cpp
@@ -661,7 +661,7 @@ bool PresetLibrary::parse(const std::string& data, std::vector<PresetEntry>& out
if (r.left > r.right) { std::swap(r.left, r.right); r.ellipse = true; }
}
if (!(in >> hdrEnabled >> node.videoHdr.contrast >> node.videoHdr.saturation >> node.videoHdr.middleGray >> node.videoHdr.peakNits)) { error = L"预设库 HDR 字段损坏"; return false; }
- if (type < 0 || type >= int(EffectType::Count) || enabled < 0 || enabled > 1 || runtime < 0 || runtime > 2 ||
+ if (type < 0 || type >= int(EffectType::Count) || enabled < 0 || enabled > 1 || !validNrRuntime(static_cast<NrRuntime>(runtime)) ||
temporal < 0 || temporal > 1 || lowLatency < 0 || lowLatency > 1 || protEnabled < 0 || protEnabled > 1 || hdrEnabled < 0 || hdrEnabled > 1) {
error = L"预设库节点取值超出范围"; return false;
}
diff --git a/src/ngx/DlssNrRuntimeAdapter.cpp b/src/ngx/DlssNrRuntimeAdapter.cpp
index ee7efea7..35ae487a 100644
--- a/src/ngx/DlssNrRuntimeAdapter.cpp
+++ b/src/ngx/DlssNrRuntimeAdapter.cpp
@@ -409,7 +409,8 @@ bool DlssNrRuntimeAdapter::load(const std::wstring& runtimeDir, Status& status)
// Development staging and the explicitly named experimental Release pack.
const auto allowed=[&](const wchar_t* suffix){const size_t n=wcslen(suffix);return dllPath_.size()>n&&_wcsicmp(dllPath_.c_str()+dllPath_.size()-n,suffix)==0;};
- if (!allowed(L"\\runtime_local\\nvidia\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime_local\\nvidia\\nr-community\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nr-community\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime_local\\nvidia\\nr-ampere\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nr-ampere\\nvngx_dlssnr.dll")) {
+ if (!allowed(L"\\runtime_local\\nvidia\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime_local\\nvidia\\nr-community\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nr-community\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime_local\\nvidia\\nr-ampere\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nr-ampere\\nvngx_dlssnr.dll")
+ &&!allowed(L"\\runtime_local\\nvidia\\nr-original\\nvngx_dlssnr.dll")&&!allowed(L"\\runtime\\experimental\\nr-original\\nvngx_dlssnr.dll")) {
status = Status::InvalidArgument;
veyra::log::error("ngx", "nr-adapter: resolved runtime path is outside approved staging/experimental directory; refusing to load");
return false;
diff --git a/src/pipeline/EnhanceGraph.cpp b/src/pipeline/EnhanceGraph.cpp
index 021be655..9a22f401 100644
--- a/src/pipeline/EnhanceGraph.cpp
+++ b/src/pipeline/EnhanceGraph.cpp
@@ -1152,10 +1152,11 @@ bool EnhanceGraph::initNgxFeatures()
if(nrEnabled_){
failedBackend_=engine::FailedBackend::Nr;
- if(desc_.nrRuntime!=engine::NrRuntime::Original&&desc_.nrRuntime!=engine::NrRuntime::Community&&desc_.nrRuntime!=engine::NrRuntime::Ampere)return false;
+ if(!engine::validNrRuntime(desc_.nrRuntime))return false;
const auto selectedNr=engine::currentNrRuntime(desc_.nrRuntime);
auto nrDirectory=std::filesystem::path(desc_.runtimeAbsPath);
if(selectedNr==engine::NrRuntime::Ampere)nrDirectory/=L"nr-ampere";
+ if(selectedNr==engine::NrRuntime::NvidiaOriginal)nrDirectory/=L"nr-original";
veyra::log::info("nr-runtime",std::format("selected={} requestedId={} path={}",engine::nrRuntimeName(selectedNr),int(desc_.nrRuntime),nrDirectory.string()));
nrAdapter_ = std::make_unique<ngx::DlssNrRuntimeAdapter>();
if (!nrAdapter_->load(nrDirectory.wstring(), st) ||
diff --git a/src/ui/QmlPlayerBridge.cpp b/src/ui/QmlPlayerBridge.cpp
index 48f1050d..588efa17 100644
--- a/src/ui/QmlPlayerBridge.cpp
+++ b/src/ui/QmlPlayerBridge.cpp
@@ -3804,7 +3804,7 @@ bool QmlPlayerBridge::setNrLayerParameter(int index,const QString& key,double va
if(index<0||uint32_t(index)>=impl_->chain.nodeCount||
impl_->chain.nodes[index].type!=engine::EffectType::NrEnhance||!std::isfinite(value))return false;
if(key=="runtime") {
- if(value!=0&&value!=2)return false;
+ if(value!=0&&value!=2&&value!=3)return false;
const auto before=impl_->chain;
for(uint32_t i=0;i<impl_->chain.nodeCount;++i)
if(impl_->chain.nodes[i].type==engine::EffectType::NrEnhance)
diff --git a/tests/integration/NrRuntimeSwitchTests.cpp b/tests/integration/NrRuntimeSwitchTests.cpp
index d510a33a..04c5c914 100644
--- a/tests/integration/NrRuntimeSwitchTests.cpp
+++ b/tests/integration/NrRuntimeSwitchTests.cpp
@@ -31,7 +31,7 @@ int wmain(int argc,wchar_t** argv) {
engine.open(window,argv[1],{});
check(wait([](const auto& s){return s.frames>30&&!s.nrActive&&!s.srActive&&!s.fgActive&&s.nrEvaluated==0&&s.generated==0;}),"fresh defaults play without enhancement");
int cycle=0;
- for(const auto runtime:{veyra::engine::NrRuntime::Ampere,veyra::engine::NrRuntime::Original,veyra::engine::NrRuntime::Community,veyra::engine::NrRuntime::Ampere}) {
+ for(const auto runtime:{veyra::engine::NrRuntime::Original,veyra::engine::NrRuntime::Ampere,veyra::engine::NrRuntime::NvidiaOriginal,veyra::engine::NrRuntime::Original}) {
if(failures)break;
auto settings=engine.snapshot().desired;settings.nr=true;settings.nrRuntime=runtime;
if(!check(engine.requestSettings(settings),"request runtime switch"))break;
diff --git a/tests/unit/PresetLibraryTests.cpp b/tests/unit/PresetLibraryTests.cpp
index 0a695e49..2a28893c 100644
--- a/tests/unit/PresetLibraryTests.cpp
+++ b/tests/unit/PresetLibraryTests.cpp
@@ -881,7 +881,29 @@ __declspec(noinline) void testRenderingChoices(){
check(sw.save(*session),"rendering: v4 session with editor saves");
ChainSessionStore nr(sessionPath);check(nr.load(*restored)&&*session==*restored,"rendering: v4 editor globals restore exactly");
}
+void testNrVariants() {
+ for (const auto runtime : {NrRuntime::Original, NrRuntime::Ampere, NrRuntime::NvidiaOriginal}) {
+ auto settings=sample(); settings.nrRuntime=runtime;
+ const auto path=scratch((L"nr-"+std::to_wstring(int(runtime))+L".v1").c_str());
+ PresetLibrary writer(path); writer.setIncludeBuiltins(false);
+ PresetEntry entry; entry.name=L"NR variant"; entry.chain=toChain(settings);
+ entry.color=settings.color; // v1 stores the shared colour payload outside the chain.
+ entry.fg={settings.multiplier,settings.frameGenerationBackend};
+ check(writer.load()&&writer.put(entry), "NR variant: save preset");
+ PresetLibrary reader(path); reader.setIncludeBuiltins(false);
+ check(reader.load()&&reader.entries().size()==1&&reader.entries()[0]==entry,
+ "NR variant: preset retains exact DLL selection");
+ const auto sessionPath=scratch((L"nr-session-"+std::to_wstring(int(runtime))+L".v1").c_str());
+ auto session=std::make_unique<ChainSession>(ChainSession::initial(settings));
+ check(session->select(ChainMode::Node), "NR variant: initialize node session");
+ ChainSessionStore store(sessionPath);
+ auto restored=std::make_unique<ChainSession>(ChainSession::initial({}));
+ check(store.save(*session)&&store.load(*restored)&&*restored==*session,
+ "NR variant: list and node sessions retain exact DLL selection");
+ }
+}
int main() {
+ testNrVariants();
testRenderingChoices();
std::setvbuf(stdout, nullptr, _IONBF, 0);
testLegacyProtectionMigration();
diff --git a/tests/unit/RepairPresetTests.cpp b/tests/unit/RepairPresetTests.cpp
index 22a2f2e2..04d44c5d 100644
--- a/tests/unit/RepairPresetTests.cpp
+++ b/tests/unit/RepairPresetTests.cpp
@@ -216,7 +216,8 @@ ok=ok&&b.entries().size()==1&&b.defaultSettings()==s;
auto badFlow=s;badFlow.opticalFlowBackend=static_cast<OpticalFlowBackend>(3);ok=ok&&!b.put(L"invalid flow backend",badFlow);
auto ampere=s;ampere.nr=true;ampere.nrRuntime=NrRuntime::Ampere;ok=ok&&b.put(L"RTX30",ampere);PresetStore ampereReload(p);ok=ok&&ampereReload.load()&&ampereReload.entries().back().settings==ampere&&b.erase(1);
- auto badNr=s;badNr.nrRuntime=static_cast<NrRuntime>(3);ok=ok&&!b.put(L"invalid NR runtime",badNr);
+ auto original=s;original.nr=true;original.nrRuntime=NrRuntime::NvidiaOriginal;ok=ok&&b.put(L"NVIDIA original",original);PresetStore originalReload(p);ok=ok&&originalReload.load()&&originalReload.entries().back().settings==original&&b.erase(1);
+ auto badNr=s;badNr.nrRuntime=static_cast<NrRuntime>(4);ok=ok&&!b.put(L"invalid NR runtime",badNr);
auto half=s;half.content=ContentRate::Capture60To30;ok=ok&&b.put(L"capture half rate",half);PresetStore halfReload(p);ok=ok&&halfReload.load()&&halfReload.entries().back().settings.content==ContentRate::Capture60To30&&b.erase(1);
// 5 is the AMD FSR upscaling slot now, so it must round-trip; 6 stays invalid.
auto fsrSr=s;fsrSr.videoSrQuality=veyra::engine::kVideoSrFsr;ok=ok&&b.put(L"FSR SR",fsrSr);
diff --git a/tests/unit/UiContractTests.cpp b/tests/unit/UiContractTests.cpp
index 2f42ce66..3204358e 100644
--- a/tests/unit/UiContractTests.cpp
+++ b/tests/unit/UiContractTests.cpp
@@ -124,7 +124,7 @@ int wmain(int argc,wchar_t** argv){try{
// range check. Both silently reset window size, volume and subtitle style.
{ui::UiPreferences audio;audio.volume=.9f;audio.muted=true;audio.inspector=4;audio.inspectorWidth=380;audio.width=1600;audio.height=900;require(prefs.save(audio,nullptr),"audio-page preferences save");ui::UiPreferenceStore reload(dir);const auto back=reload.load();require(std::abs(back.volume-.9f)<1e-6&&back.inspector==4&&back.inspectorWidth==380&&back.width==1600,"audio page and geometry survive the version 3 round trip");}
auto setting=loaded.startup({});before.revision=setting.revision;require(setting==before,"all confirmed parameters round trip");
- for(int enabled:{0,1}){p.enhancementEnabled=enabled;before.nr=true;before.nrRuntime=engine::NrRuntime::Community;before.nrTemporal=true;require(prefs.save(p,&before),"master and runtime save");ui::UiPreferenceStore restart(dir);require(restart.load().enhancementEnabled==enabled,"master state survives restart");auto restoredSettings=restart.startup({});require(restoredSettings.nr&&restoredSettings.nrRuntime==before.nrRuntime&&restoredSettings.nrTemporal,"bypassed effects, runtime and temporal NR survive restart");}
+ for(int enabled:{0,1})for(const auto runtime:{engine::NrRuntime::Original,engine::NrRuntime::Community,engine::NrRuntime::Ampere,engine::NrRuntime::NvidiaOriginal}){p.enhancementEnabled=enabled;before.nr=true;before.nrRuntime=runtime;before.nrTemporal=true;require(prefs.save(p,&before),"master and runtime save");ui::UiPreferenceStore restart(dir);require(restart.load().enhancementEnabled==enabled,"master state survives restart");auto restoredSettings=restart.startup({});require(restoredSettings.nr&&restoredSettings.nrRuntime==engine::currentNrRuntime(runtime)&&restoredSettings.nrTemporal,"bypassed effects, selected runtime (legacy migrated) and temporal NR survive restart");}
for(bool enabled:{false,true})for(unsigned mode=0;mode<3;++mode)for(unsigned sync=0;sync<3;++sync)for(unsigned rate=0;rate<3;++rate){p.presentation={enabled,engine::PacingMode(mode),engine::DisplaySync(sync),engine::OutputRateMode(rate),rate==2?119.88:60.0};require(prefs.save(p,nullptr),"presentation atomic save");ui::UiPreferenceStore restart(dir);require(restart.load().presentation==p.presentation,"all presentation combinations and output caps survive restart");}
auto path=dir/"ui-preferences.v1";
for(int lines:{0,1,2,8})for(bool fit:{false,true}){p.subtitleLines=lines;p.subtitleFitToLines=fit;require(prefs.save(p,nullptr),"subtitle layout save");ui::UiPreferenceStore restart(dir);auto back=restart.load();require(back.subtitleLines==lines&&back.subtitleFitToLines==fit,"subtitle lines and explicit fitting survive restart");}