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: Veyra 1.4.1 RTX30/40 DLSS and sustained frame-generation fixes
Veyra Goal Agent0999a86caf43
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 3b4c5566..7120fa3f 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -1,9 +1,9 @@cmake_minimum_required(VERSION 3.24)-project(veyra VERSION 1.4.0 LANGUAGES CXX RC)+project(veyra VERSION 1.4.1 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 "1.4.0" CACHE STRING "Human-readable version string")+set(VEYRA_DISPLAY_VERSION "1.4.1" 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 projectdiff --git a/README.md b/README.mdindex 025fc35b..32260e39 100644--- a/README.md+++ b/README.md@@ -13,7 +13,15 @@Windows 视频播放器与采集卡增强工具。支持视频、图片、采集卡实时预览和 PS5 局域网串流,可组合使用超分辨率、NR 画面增强与补帧。-[下载 1.4.0 免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.4.0) · [更新记录](docs/RELEASE_NOTES_1.4.0.md) · [反馈问题](https://github.com/Likely7/Veyra-NRVideo/issues)+[下载 1.4.1 免安装版](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.4.1) · [更新记录](docs/RELEASE_NOTES_1.4.1.md) · [反馈问题](https://github.com/Likely7/Veyra-NRVideo/issues)++## 1.4.1 更新++**重点修复 RTX 30/40 DLSS 补帧**:修复无法开启、错误回落到 2X,以及 RTX 3060 开启后卡死的问题,支持最高 6X。修复持续播放后显卡未满载却一直显示“补帧受限”的调度问题,以及 6X 的批次数组、计时和呈现资源同步错误。RTX 50 保持原生路径。受影响用户已反馈测试可用,兼容解锁仍为社区实验功能,不代表所有型号和驱动组合均已验证。++**播放器与采集**:可选择 MKV 内嵌主/副字幕和音轨;优化多字幕大文件打开与拖动;修复 NR/SR 等设置重启丢失、播放时进入屏保或休眠、先开 NR 再开 XeSS 的呈现一致性问题,以及音频输出故障引起采集图误重启和画面卡顿。++**导出**:修复 NVENC 接口版本兼容和错误提示,取消导出资格门禁与结束后的整片逐帧复检,保留可变帧率时间间隔和所选音轨;HDR 选择 H.264 时自动使用 HEVC Main10。完整变化、验证记录和边界见 [1.4.1 更新说明](docs/RELEASE_NOTES_1.4.1.md)。## 1.4.0 更新@@ -36,7 +44,7 @@ Windows 视频播放器与采集卡增强工具。支持视频、图片、采集## 下载与运行-1. 在 [Releases](https://github.com/Likely7/Veyra-NRVideo/releases) 下载 **Veyra-1.3.0-win64-portable.zip**,不要下载 Source code。+1. 在 [Releases](https://github.com/Likely7/Veyra-NRVideo/releases) 下载 **Veyra-1.4.1-win64-portable.zip**,不要下载 Source code。2. 完整解压到一个可写文件夹,双击 **Veyra.exe**。无需安装 SDK、Python 或开发工具。首次启动 NR、超分和内部补帧均关闭,确认基础画面后按需开启;导入旧设置会恢复原来的开关。3. 使用当前显卡驱动。要使用 NVIDIA NR、DLSS、RTX Video SR 和 NVENC,需兼容的 NVIDIA RTX 显卡;本版本主要在 RTX 5070 上验证。@@ -112,7 +120,7 @@ BUG反馈与新功能专业模式 → 增强 → NR 运行版本,可选 NVIDIA 原版、RTX 40/50 社区版或 **RTX 30 兼容 · 实验**。选择版本后再手动开启 NR。切换会短暂停顿,失败恢复上一套设置。-两种社区组件分别在 `runtime/experimental/nr-community/` 和 `nr-ampere/`,无需覆盖原版;均为修改文件,签名状态 `HashMismatch`。三种运行版本已在 RTX5070 验证切换和 NR 执行,**RTX30 实卡性能、画质与稳定性仍待验收**。30系先试实时 NR,关闭 SR/FG;该选项不解锁 DLSS 补帧。+两种社区组件分别在 `runtime/experimental/nr-community/` 和 `nr-ampere/`,无需覆盖原版;均为修改文件,签名状态 `HashMismatch`。三种运行版本已在 RTX5070 验证切换和 NR 执行。1.4.1 的 RTX30/40 修复经受影响用户反馈可用,具体性能与画质仍取决于显卡、素材和设置。NR 运行版本与 DLSS 补帧分别设置;RTX30/40 最高 6X 由补帧兼容层提供。### OBS 直播与录制@@ -131,7 +139,7 @@ NR 与 DLSS 帧生成属于 **community experimental / 社区实验集成**,## 开发与许可-[构建说明](docs/BUILD.md) · [组件清单](docs/RUNTIME_COMPONENTS_1.3.0.md) · [第三方许可](THIRD_PARTY_NOTICES.md)+[构建说明](docs/BUILD.md) · [组件清单](docs/RUNTIME_COMPONENTS_1.4.1.md) · [第三方许可](THIRD_PARTY_NOTICES.md)Veyra 原有源码采用 [GPLv3](LICENSE);含串流的组合程序同时适用 [AGPLv3 与上游 OpenSSL 例外](licenses/remoteplay/CHIAKI_AGPL3_OPENSSL.txt)。应用源码对应版本标签,Release 另附串流依赖与 FFmpeg 对应源码包,普通用户无需下载。SDK、模型和运行时不进入源码仓库;Release 组件按各自许可与实验发布范围单独提供。diff --git a/README_EN.md b/README_EN.mdindex 1b16f13b..93a96097 100644--- a/README_EN.md+++ b/README_EN.md@@ -14,7 +14,15 @@ English | [简体中文](README.md)A Windows video player and capture-card enhancement tool. Play videos, process images, and preview capture devices with optional super resolution, NR enhancement, and frame generation.-[Download 1.4.0 Portable](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.4.0) · [Release Notes](docs/RELEASE_NOTES_1.4.0.md) · [Report an Issue](https://github.com/Likely7/Veyra-NRVideo/issues)+[Download 1.4.1 Portable](https://github.com/Likely7/Veyra-NRVideo/releases/tag/v1.4.1) · [Release Notes](docs/RELEASE_NOTES_1.4.1.md) · [Report an Issue](https://github.com/Likely7/Veyra-NRVideo/issues)++## 1.4.1 Update++**RTX 30/40 DLSS frame generation fixes, up to 6X**: fixes initialization failures, unintended 2X fallback and RTX 3060 freezes when enabling FG. Also repairs sustained-playback scheduling that could leave FG limited despite low total GPU utilization, plus 6X batch capacity, timestamps and presentation synchronization. RTX 50 retains its native path. Affected users report successful testing; compatibility unlocks remain community experimental, with no claim that every GPU/driver combination was tested.++**Playback and capture**: selectable embedded primary/secondary subtitles and audio tracks, faster large-MKV opening and seeking, persistent NR/SR settings, sleep/screensaver prevention during playback, consistent presentation when enabling NR before XeSS, and recovery from audio-output faults without unnecessarily restarting video capture.++**Export**: NVENC ABI compatibility and clearer errors; removes qualification gates and the final full-file frame-by-frame decode, preserves variable frame timing and selected audio, and automatically uses HEVC Main10 for HDR requests with H.264 selected. See the [complete 1.4.1 notes](docs/RELEASE_NOTES_1.4.1.md) for changes, evidence and limits.## 1.4.0 Update@@ -54,11 +62,11 @@ See [1.3.0 release notes](docs/RELEASE_NOTES_1.3.0.md) for the full list and limDaily mode focuses on watching. Professional mode expands the controls, diagnostics, and export tools without reopening the video. The application currently uses a Chinese interface.-Features introduced in 1.2.0 include HDR file/capture enhancement, HDR10 export and HDR screenshots, retained 5.1 PCM, and a live Convert to SDR display switch. Fresh installations still disable all enhancements. RTX30 hardware validation is still pending.+Features introduced in 1.2.0 include HDR file/capture enhancement, HDR10 export and HDR screenshots, retained 5.1 PCM, and a live Convert to SDR display switch. Fresh installations still disable all enhancements. Affected users have confirmed the 1.4.1 RTX30/40 repairs; other hardware combinations require individual testing.## Download and Run-1. Download **Veyra-1.3.0-win64-portable.zip** from [Releases](https://github.com/Likely7/Veyra-NRVideo/releases). The Source code archives are for developers.+1. Download **Veyra-1.4.1-win64-portable.zip** from [Releases](https://github.com/Likely7/Veyra-NRVideo/releases). The Source code archives are for developers.2. Extract the entire archive into a writable directory and run **Veyra.exe**. No SDK, Python, or development tools are needed.NR, upscaling and internal frame generation start disabled. Enable them as needed; importing old preferences restores their switches.3. Use a current GPU driver. NVIDIA NR, DLSS, RTX Video SR, and NVENC require compatible NVIDIA RTX hardware; this version was primarily tested on an RTX 5070.@@ -123,7 +131,7 @@ You may replace DLLs while Veyra is closed. NVIDIA components belong in `runtimeIn Professional mode, select the NVIDIA original, community RTX40/50, or **RTX30 compatibility · Experimental** runtime, then enable NR. Switching briefly interrupts playback; failed changes restore the previous configuration. Community variants are included separately in `runtime/experimental/nr-community/` and `nr-ampere/`; both have Authenticode status `HashMismatch`.-All three runtime paths were tested on RTX5070; a user reported the RTX40/50 variant working on RTX4060. **RTX30 hardware performance, quality and stability remain unverified.** Start with realtime NR and SR/FG disabled. This option does not unlock DLSS frame generation.+All three runtime paths were tested on RTX5070. Affected users report the 1.4.1 RTX30/40 repairs working; performance and image quality depend on the GPU, content and settings. NR runtime selection is separate from DLSS frame generation. A dedicated FG compatibility layer provides up to 6X on RTX30/40.### OBS Streaming and Recording@@ -143,7 +151,7 @@ NR and DLSS frame generation are **community-experimental integrations**, not NV## Development and License-[Build Instructions](docs/BUILD.md) · [Runtime Components](docs/RUNTIME_COMPONENTS_1.3.0.md) · [Third-Party Notices](THIRD_PARTY_NOTICES.md)+[Build Instructions](docs/BUILD.md) · [Runtime Components](docs/RUNTIME_COMPONENTS_1.4.1.md) · [Third-Party Notices](THIRD_PARTY_NOTICES.md)Original Veyra source is [GPLv3](LICENSE); the combined streaming program also falls under [AGPLv3 and the upstream OpenSSL exception](licenses/remoteplay/CHIAKI_AGPL3_OPENSSL.txt). Application source matches the release tag. The RemotePlay-source and FFmpeg-source assets provide dependency source and are not needed to run the player. SDKs, models, and runtimes are excluded from this source repository. Release components retain their separate licenses and experimental distribution boundaries.diff --git a/docs/BUILD.md b/docs/BUILD.mdindex c577cf77..74cdf71c 100644--- a/docs/BUILD.md+++ b/docs/BUILD.md@@ -2,7 +2,13 @@普通用户下载Release免安装包即可。以下用于开发者构建,不需要把SDK提交到Git。-## Current local candidate / 当前本地候选(2026-09-15)+## Current release / 当前版本(2026-09-18)++Version 1.4.1 merges the post-1.4.0 player, scheduling, RTX30/40 FG and export repairs plus the AverMedia initialization repair. The release build uses `out/build/scheduling-audit-20260918`, RemotePlay ON and `C:/veyra-deps/ffmpeg-ps5-dav1d-installed`. See [release execution](RELEASE_1.4.1_EXECUTION.md), [corresponding source instructions](REMOTEPLAY_BUILD_1.4.1.md) and [runtime identities](RUNTIME_COMPONENTS_1.4.1.md).++NVENC requires **nv-codec-headers tag n13.0.19.0**, staged at `third_party_local/nvidia/nv-codec-headers-13.0`, or an equivalent path supplied as `VEYRA_NVENC_HEADERS_ROOT`. The API structures must match this ABI; changing only a runtime version number is not an ABI fallback. Do not stage a newer header revision under this name.++## Previous 1.3.0 build referenceVersion 1.3.0 integrates the repairs through `14b6ee0`. The release build uses `out/build/audio-continuity-repair-20260915`, RemotePlay **ON**, and `C:/veyra-deps/ffmpeg-ps5-dav1d-installed` (PS5 slice patch retained, dav1d enabled). Full machine-specific build arguments are recorded in [audio repair §6](CAPTURE_AUDIO_WAVEFORM_REPAIR_PLAN_2026-09-15.md#6-用户要求先修已知缺陷后的实施2026-09-15); use equivalent paths on your machine. See [1.3.0 source instructions](REMOTEPLAY_BUILD_1.3.0.md) and [runtime identities](RUNTIME_COMPONENTS_1.3.0.md).diff --git a/docs/RELEASE_1.4.1_EXECUTION.md b/docs/RELEASE_1.4.1_EXECUTION.mdnew file mode 100644index 00000000..08c20487--- /dev/null+++ b/docs/RELEASE_1.4.1_EXECUTION.md@@ -0,0 +1,55 @@+# Veyra 1.4.1 release execution++## Authorization and scope++2026-09-18: user confirmed the latest test build works ("测试好了都可用") and explicitly authorized merging all post-1.4.0 repairs into main and publishing 1.4.1 to Likely7/Veyra-NRVideo. RTX30/40 and sustained FG limitation are the release focus. This user acceptance supersedes the pending target-card status in earlier repair records; historical test logs remain unchanged. It does not imply a complete model/driver test matrix.++## Integration++- Baseline main: `bd7cc0f`; public 1.4.0: `890d200`.+- Preserved main checkpoint: `checkpoint/pre-release-1.4.1-main-20260918`.+- Repair snapshot: `89f4f7f`, also tagged `checkpoint/post140-tested-r4-20260918`; merged `codex/post140-field-repair-20260917` with full history.+- Merged `codex/avermedia-51-switch-20260917` commit `c566dda` for device-tree name, initialization delay and vendor logs. Its separate worktree's uncommitted diagnostic probe is preserved there; it is not a product fix or a release dependency.+- Color, capture-decode and MKV/export repair branches were already ancestors of main. Old source-archive and Smooth Motion experiment branches are not post-1.4.0 repairs and remain separate.+- Runtime identities unchanged. Package script now includes RTX40MFG MIT and HDE BSD notices; archive audit checks all 11 shipped enhancement components, including AMD.++## Verification++Hardware: RTX5070 / driver 616.56. User target-card acceptance is recorded separately above.++- `cmd.exe /c out\build\3060-incremental.cmd`: exit0, 218 build steps; `out/logs/release-1.4.1-build.log`. Uses VS2022 BuildTools vcvars64 and CMake build of `out/build/scheduling-audit-20260918`, parallel 6. Cache retains RemotePlay ON, experimental NR ON, DLSS SDK 310.7.0, NVENC headers n13.0.19.0 and patched FFmpeg/dav1d prefix.+- `scripts/gates/delivery.ps1 -Root . -BuildDirectory out/build/scheduling-audit-20260918`: PASS, 74.8993521 seconds, 26 checks. Result: `logs/delivery/ccccf48711ca4544835b226163872bd3/result.json`. Real NR/NVOF, native4K correctness, playback/controls/color, image processing, H.264/HEVC export with audio and cancellation are included.+- EXE FileVersion/ProductVersion: 1.4.1. SHA256: `99EDAF165D742E8D677A71286149B26F2F6C53CFA030440FB06E915F90B43B20`.++- `out/tmp/release-1.4.1-targeted.ps1`: eight cases PASS, logs `out/logs/release-1.4.1-targeted/` and `out/logs/release-1.4.1-targeted.log`. AverMedia switch unit tests, repair/UI contracts, native/Ampere/Ada lifecycle (6,2,5,3,4,6), Ampere Init-failure rollback and `mfg6-exact-rgb-planar-detail` content case. Each child bounded to 45 seconds (content case 60). Real Create/Evaluate succeeded; compatibility tests on RTX5070 do not replace the user's RTX30/40 test.++Prior r4 evidence remains in `RTX3060_FG_FREEZE_2026-09-18.md`; earlier limitations have not been erased.++## Package audit++Assets staged at `C:/veyra-releases/1.4.1/`. Commands:++```powershell+scripts/package-portable.ps1 -Root . -Version 1.4.1 -OutputDirectory C:/veyra-releases/1.4.1 -BuildDirectory out/build/scheduling-audit-20260918+python scripts/package-ffmpeg-source.py --prefix C:/veyra-deps/ffmpeg-ps5-dav1d-installed --vcpkg C:/veyra-deps/vcpkg --source C:/veyra-deps/ffmpeg-ps5-slices-source --dav1d-source C:/veyra-deps/vcpkg/buildtrees/dav1d/src/1.5.4-179377b46e.clean --output C:/veyra-releases/1.4.1/Veyra-1.4.1-FFmpeg-source.zip --version 1.4.1+python scripts/package-remoteplay-source.py --root . --output C:/veyra-releases/1.4.1/Veyra-1.4.1-RemotePlay-source.zip --version 1.4.1+python scripts/acceptance/release-archive-audit.py --directory C:/veyra-releases/1.4.1 --version 1.4.1 --output C:/veyra-releases/1.4.1/archive-audit.json+```++All exit0. Logs: `out/logs/release-1.4.1-{package,ffmpeg-source,remoteplay-source-final,archive-audit}.log`. RemotePlay source was regenerated after the build documentation update; the earlier archive was retained outside the final upload directory. No product test failures occurred in this release run. An initial whitespace audit with `core.autocrlf=false` misclassified Windows CRLFs; rerunning with the repository's actual configuration passed without changing source line endings.++| Asset | Bytes | SHA256 |+| --- | ---: | --- |+| Veyra-1.4.1-win64-portable.zip | 464924466 | `9E9E0D5E349BE6B9A8DEA69A15D9635B4123B40C396725792B68660154679071` |+| Veyra-1.4.1-FFmpeg-source.zip | 25277829 | `15A77217BEDCEB4280FC680D5C0761544170356CA85E871F1558B61C86EE5F02` |+| Veyra-1.4.1-RemotePlay-source.zip | 143753286 | `272E41BC128C9BD86D7A9A93E4F0150DD92DB6B9D00909643336B9E01561F166` |++112 portable files match their manifest. All 11 enhancement runtimes match approved hashes/signatures; two community NR files retain HashMismatch. MIT/BSD compatibility notices are present. FFmpeg binary/build provenance matches the patched source with dav1d. No SDK, source headers, model, PDB/LIB, log, test media or personal settings are included in the portable archive; dependency source archives exclude proprietary binaries. Git introduces no new runtime/SDK/media files.++## Extracted package execution++Expanded the final ZIP to `C:/veyra-releases/1.4.1-verify`. Ran `out/tmp/smoke-post140-package.ps1 -PackageOverride C:/veyra-releases/1.4.1-verify/Veyra-1.4.1-win64-portable -OutputOverride 'C:/Users/123/Desktop/Veyra DLSS Video Player/out/logs/release-1.4.1-portable-smoke' -MediaOverride 'C:/Users/123/Desktop/Veyra DLSS Video Player/out/logs/rtx30-package-motion-fixture.mkv' -RequireNonblank`.++Seven cases PASS: baseline 187 source frames; original/community/Ampere NR + native 6X each 141 source / 565 generated; forced Ampere 2X 78/52, forced Ampere 6X 78/260, forced Ada 6X 108/410. Counts include initialization and smoke-control pause/seek transitions; they are not steady-state FPS measurements. Every case exits normally and has a nonblank/nonconstant screenshot; the Ampere/Ada 6X images were also visually inspected. FFmpeg/CRT/NR/FG DLLs load from the extracted package with system-only PATH and TEMP working directory. EXE hash matches the tested build.++Evidence: `out/logs/release-1.4.1-portable-smoke.log`, per-case logs/JPEGs and `out/logs/release-1.4.1-portable-smoke/result.json`. No final-package test failed. Publication is authorized; GitHub asset verification is recorded after upload.diff --git a/docs/RELEASE_BODY_1.4.1.md b/docs/RELEASE_BODY_1.4.1.mdnew file mode 100644index 00000000..096dbb46--- /dev/null+++ b/docs/RELEASE_BODY_1.4.1.md@@ -0,0 +1,31 @@+Windows 视频播放器与采集卡增强工具。**1.4.1 重点修复 RTX 30/40 DLSS 补帧,以及持续运行后“补帧受限”的问题。**++下载 **`Veyra-1.4.1-win64-portable.zip`**,完整解压后运行 `Veyra.exe`。另两个 ZIP 是依赖对应源码,普通用户无需下载。++## 重点修复++- **RTX 30/40 最高 6X DLSS 补帧**:修复无法开启、请求高倍率却回到 2X,以及 **RTX 3060 开启后卡死**。修正兼容初始化、网络选择、资源处理和异常探测退出。+- **运行一段时间后补帧受限**:修复统计、队列等待和恢复调度错误,避免显卡未满载却长期不再补帧;同步修复 6X 的批次数组、计时与资源交接。+- **RTX 50 保持原生路径**。受影响用户已反馈最新测试包可用;30/40 兼容解锁仍属社区实验功能,未宣称所有型号和驱动组合均已验证。++## 其他更新++- MKV **主/副字幕可选、内嵌音轨可切换**,导出跟随所选音轨;多字幕大文件改为单次后台扫描,优化打开速度和拖动定位。+- 修复 **NR/SR 等设置重启后丢失**、启动增强时拖动卡住,以及无声视频欠速后播放变慢。+- 播放期间阻止自动屏保和休眠;暂停、停止后恢复系统正常策略。+- 修正先开 NR 再开 XeSS 时的呈现缓冲索引不一致。+- 修复音频输出故障触发整个采集图误重启、画面突然卡顿;改进圆刚音频设备定位、初始化时序与诊断。+- 修复 **NVENC 版本兼容与导出错误回传**;取消导出资格门禁和完成后的整片逐帧复检,编码封装完成即可结束。保留 VFR 时间间隔,HDR 自动选择 HEVC Main10,并修复 6X 资源容量和取消导出清理。+- 整合色彩分组折叠、预设保存行与底部设置状态改进。++完整变更、测试与边界:[1.4.1 更新说明](https://github.com/Likely7/Veyra-NRVideo/blob/v1.4.1/docs/RELEASE_NOTES_1.4.1.md)。++高分辨率全增强仍受单帧处理预算限制,本次不承诺所有设置满帧率。部分合成图案的 6X 插值位置误差仍有待改善。圆刚各型号 5.1、AMD/Intel 组合仍需对应硬件验证。实验运行组件不代表厂商认证;原有 DLL 身份、许可证和源码分离方式保持。++## English++**Fixes RTX 30/40 DLSS FG up to 6X, RTX 3060 freezes on enabling FG, and persistent FG limitation during sustained playback.** RTX 50 keeps its native path. Affected users report successful testing; compatibility unlocks remain community experimental.++Also fixes embedded subtitle/audio selection, large-MKV startup and seeking, saved settings, sleep prevention, NR/XeSS presentation, capture audio recovery and AverMedia initialization. Export corrects NVENC ABI compatibility, preserves variable timing/selected audio, removes qualification gates and the final full-file decode, and handles HDR through HEVC Main10.++Download the portable ZIP. The other two archives provide corresponding dependency source. See the full notes for testing and remaining limitations.diff --git a/docs/RELEASE_NOTES_1.4.1.md b/docs/RELEASE_NOTES_1.4.1.mdnew file mode 100644index 00000000..ac052b6c--- /dev/null+++ b/docs/RELEASE_NOTES_1.4.1.md@@ -0,0 +1,58 @@+# Veyra 1.4.1++相对公开版本 1.4.0 的修复汇总。发布日期:2026-09-18。++## 重点:RTX 30/40 DLSS 与持续补帧++- 修复 RTX 30/40 无法开启 DLSS 补帧、能力识别不完整及请求高倍率却回落到 2X 的问题,支持最高 6X。兼容初始化覆盖 NGX 初始化、能力查询、Feature 创建与释放,不再只改界面倍率。+- 修复 RTX 3060 开启补帧直接卡死:恢复真实架构参与网络选择,按上游范围重建兼容程序,修正程序长度、压缩段和字体资源处理。预览兼容探测失败后及时结束子进程,避免异常清理继续拖死播放器。+- 修复 DLSS 4X/6X 正常运行一段时间后一直“补帧受限”:修正软重置后的统计饥饿、过期呈现成本、重复计入 GPU 等待和固定退避;负载恢复后可重新生成帧。+- DLSS 增强与呈现使用独立队列和资源交接,实时采集限制在途增强批次,避免旧任务积压、生成帧尚未显示便过期。保持真实时间戳,不以降低播放速度掩盖欠速。+- 修复 6X 批次数组容量、编码描述符容量和第 4/5 张生成帧的 GPU 计时槽覆盖;播放中切换倍率、暂停、拖动与恢复后同步实际能力。+- RTX 50 继续使用原生路径,不安装 RTX 30/40 兼容补丁。磁盘上的 NVIDIA DLL 未修改。++受影响用户已在本轮测试后确认“测试好了都可用”;这是用户实卡反馈,不是开发机对所有 30/40 型号的覆盖。兼容解锁仍为社区实验功能,来源、固定提交及改动见 `THIRD_PARTY_NOTICES.md`。++## 播放器++- MKV 内嵌字幕可以选择,主字幕和副字幕独立设置,选中即启用。多轨字幕改为单次后台扫描并渐进显示,不再为每条字幕重复扫描整部影片。+- 增加内嵌音轨选择,可切换英语、西班牙语等语言,保留播放位置、暂停状态与音量;导出也使用所选音轨。+- 优化大 MKV 打开与拖动:音频跳转使用视频索引定位后裁切,去掉拖动结束的重复 seek。测试文件含 32 条字幕、17 条音轨;本机热缓存首帧约 367ms,数次跳转约 31ms,其他机器和冷缓存可能不同。+- 修复启动增强期间拖动导致音视频互相等待;无声文件欠速时保持媒体时钟推进,按真实时间均匀跳过过期预览机会。+- 修复 NR、SR、NR 运行版本等设置关闭软件后丢失;效果总开关关闭时仍保存已调好的参数。+- 播放时阻止系统自动休眠和屏保,全屏观看无需定时触碰鼠标;暂停、停止和关闭时释放请求。+- 修正先开 NR 再开 XeSS 时代理交换链缓冲索引不一致,资源屏障、绘制和呈现使用同一个缓冲区索引。+- 整合 1.4.0 发布后的色彩分组折叠、预设保存行、底部设置状态和测试启动脚本改进。++## 采集与音频++- 修复音频输出设备短暂故障时,仍在输入的音频未被统计,进而被误判断流并重启整个采集图的问题;恢复输出期间不积压陈旧音频,真正的输入断流仍能恢复。+- 修复音频恢复和启动 seek 的状态切换,补充持续欠速、输出中断和恢复的回归检查。+- 合并 AVerMedia 音频切换修复:使用设备树中的真实名称定位视频功能,按组件要求等待初始化与卸载,在当前连接内尝试另一 USB 功能,并保留厂商组件自身的错误日志。具体圆刚型号的 5.1 直通仍需逐台验收。++## 导出++- 固定匹配的 NVENC 13.0 ABI,修复只回退 apiVersion 却沿用另一套结构定义的问题;能力/版本查询用于诊断,实际调用失败时保留系统编码器回退和具体错误。+- 取消 120 帧资格扫描、严格 CFR 资格门禁、独立 FG 预探测、音轨查询/损坏标记的提前拦截,以及结束后重新打开成片逐帧解码检查。编码、封装、关闭文件完成后直接结束,避免额外等待整片复检。+- 可变帧率按真实源帧时间间隔封装,编码帧号与封装时间戳分开管理;缺失或倒退时间戳自动补齐并记录。源帧全部保留,生成帧按相邻源帧间隔分配。+- 修复 6X 导出资源容量、帧池回调释放顺序、取消后清理和 worker 错误回传;导出不再静默改成 2X 或关闭补帧。+- 导出使用当前请求的效果与所选音轨,不再等待预览先成功出帧;HDR 选择 H.264 时自动改用 HEVC Main10。+- 实际编码、封装、写盘失败仍报告错误,已有文件保护仍保留。重复帧只用于时间槽补齐,不计作 DLSS 生成帧。++## 验证与边界++- 用户确认最新测试包可用;开发机为 RTX 5070 / 616.56。此前本机通过真实 NR/FG、强制 Ampere/Ada 2X 至 6X 生命周期、实际异常探测恢复、字幕/音轨/设置、音频连续性、导出和 USB3 采集故障恢复测试。正式版本构建、交付短测和解压包证据见 [发布记录](RELEASE_1.4.1_EXECUTION.md)。+- 部分合成图案仍存在内容相关的 6X 插值位置偏差。高分辨率 NR+SR+FG 可能超过单帧预算,低总 GPU 占用不代表串行链路一定能达到目标帧率;本次不承诺 4K 全增强 360fps。+- 原 5090 NR→XeSS 故障未在本机复现,已修正确定的缓冲索引问题并验证两种启用顺序;不能据此认定所有类似卡死均已覆盖。+- AMD/Intel 导出、全部采集卡/音频设备和长片整段播放未逐一验收;HDR MaxCLL/MaxFALL 仍沿用来源,未重新计算。+- 运行组件沿用原包,社区 NR 组件保留 `HashMismatch` 标识;不代表 NVIDIA、Intel 或 AMD 认证。附 patched FFmpeg 与 Remote Play 对应源码和第三方许可证。++## English++Veyra 1.4.1 focuses on RTX 30/40 DLSS frame generation up to 6X, RTX 3060 freezes on enabling FG, and sustained playback incorrectly remaining FG-limited. It corrects compatibility initialization and cleanup, 6X batch/timestamp capacity, GPU queue handoffs and overload recovery. RTX 50 retains its native path. Affected users confirmed successful testing; this does not establish coverage of every model and driver.++Other changes include selectable embedded dual subtitles and audio tracks, one background subtitle scan, faster large-MKV opening/seeking, saved NR/SR/runtime settings, playback sleep prevention, consistent NR/XeSS presentation, capture recovery without unnecessary video restarts, and AverMedia device naming/initialization fixes.++Export now uses a consistent NVENC ABI, preserves variable source timing and selected audio, supports recovery and accurate worker errors, and automatically chooses HEVC Main10 for HDR. Qualification gates and the final full-file decode pass are removed; real encoding/muxing/I/O failures still report errors. No source frames are discarded, and timing-fill repeats are not labeled as generated frames.++Community unlocks remain experimental. Content-dependent synthetic interpolation deviations and hardware-dependent performance limits remain documented. See the execution record for final build/package evidence and the runtime component list for unchanged binary identities.diff --git a/docs/REMOTEPLAY_BUILD_1.4.1.md b/docs/REMOTEPLAY_BUILD_1.4.1.mdnew file mode 100644index 00000000..b6d77205--- /dev/null+++ b/docs/REMOTEPLAY_BUILD_1.4.1.md@@ -0,0 +1,25 @@+# Remote Play build and corresponding source / 串流构建与对应源码++The 1.4.1 portable package enables `VEYRA_ENABLE_REMOTEPLAY`. The default build without this option does+not include PS5 Remote Play. This package is built from `main` (the isolated colour/AverMedia/export+branches were merged before the build); the `v1.4.1` tag will be created when the build is released.++Application source: https://github.com/Likely7/Veyra-NRVideo (tag `v1.4.1` at release time)++Chiaki is pinned to `0e16950165f06e5c3291537c2eeba6e852be7120` from https://github.com/streetpea/chiaki-ng,+with the reviewed patches in `scripts/remoteplay/patches/`. The combined program is subject to Chiaki's+AGPL-3.0-only license and OpenSSL exception as well as retained dependency notices; original Veyra source+remains GPLv3.++`Veyra-1.4.1-RemotePlay-source.zip` supplies the clean pinned Chiaki tree and recursive submodule files,+reviewed patches, dependency source and vcpkg port provenance for json-c, libevent, miniupnpc, OpenSSL,+Opus, and SDL3. It also contains the open-source FidelityFX source used by the static optical-flow backend.+FFmpeg corresponding source is a separate asset. No NVIDIA or Intel SDK/runtime, credentials, local+configuration, logs, or test media are included.++To build: use Visual Studio 2022 x64 tools, CMake, Ninja, Python, protobuf tooling, the dependency paths+recorded in the source archive, and separately licensed enhancement SDKs described in `BUILD.md`. Build the+pinned Chiaki checkout with `scripts/remoteplay/build-native.ps1`, then run+`scripts/build.ps1 -Root . -Preset x64-release -RemotePlay` with the same dependency paths. The release uses+static Chiaki/SDL/dependencies and the existing dynamic FFmpeg DLLs; Windows networking, WinHTTP, DPAPI,+WASAPI, DirectX, and GPU driver components are not redistributed.diff --git a/docs/RUNTIME_COMPONENTS_1.4.1.md b/docs/RUNTIME_COMPONENTS_1.4.1.mdnew file mode 100644index 00000000..3d21165a--- /dev/null+++ b/docs/RUNTIME_COMPONENTS_1.4.1.md@@ -0,0 +1,49 @@+# Veyra 1.4.1 Runtime Components++发布包组件清单 / Shipped components. NVIDIA and Intel DLLs are separate Release assets and never source Git content. NR and DLSS FG are community-experimental integrations, not vendor endorsement or certification.++1.4.1 沿用 1.4.0 的全部增强运行组件身份,不替换或修改磁盘 DLL。+RTX30/40 补帧兼容修复在进程内完成,RTX50 保持原生路径;FSR 补帧界面入口继续隐藏。+对应移植代码的许可证见包内 RTX40MFG_LICENSE.txt 和 HDE_LICENSE.txt。++## Locations and replacement++NVIDIA files are in `runtime/experimental/`; XeSS/XeLL files are in `runtime_local/intel/experimental/`.+Exit Veyra before replacing a DLL and preserve its filename. The manifests record the publisher package+only and do not lock user replacement; ABI, API, driver, and hardware compatibility still apply.++允许用户自行替换 DLL,但不保证兼容。删除某个运行组件只会禁用对应增强功能;不需要修改 manifest。+完整解压包不包含个人预设、凭据、SDK、模型、PDB、LIB、测试媒体或日志。++## Enhancement runtime records++| Path | Version | SHA-256 | Signature / scope |+| --- | --- | --- | --- |+| `runtime/experimental/nvngx_dlss.dll` | 310.7.0.0 | `BE6E434A94CA32499515EB62CA0E6C274526055D568D0426E4C652DCDFB6EE6E` | Valid; DLSS SR |+| `runtime/experimental/nvngx_dlssg.dll` | 310.7.0.0 | `135EAF0733C1E37381A8C28ABCF7A862404A54132B81787C04E35D09EFC5E36F` | Valid; experimental DLSS FG |+| `runtime/experimental/nvngx_dlssnr.dll` | 310.8.0.0 | `E16BCF15E16E13F527491CDF7845B2FE6521A738D8F7C9C721866A8496E1FC8E` | Valid; pinned experimental NR |+| `runtime/experimental/nvngx_vsr.dll` | 1.6.0.0 | `C3D88EEA5FF7A548EDEFA66414CF6E77464D0947277C904F324DD23ABF58A1ED` | Valid; RTX Video SR |+| `runtime_local/intel/experimental/libxess_fg.dll` | 1.3.1.78 | `EC5E0C65E075570C6EDE72618BB666D0BE0C2E10B2EA9762C0FE8CB8E375AB27` | Valid; XeSS preview FG |+| `runtime_local/intel/experimental/libxell.dll` | 1.3.2.10 | `D2030DCD694FDA8F2EC7E044B13E6DB8F0B56D4BA9113A5EFAD334E3F3DED8C7` | Valid; XeLL timing |+| `runtime/experimental/nr-community/nvngx_dlssnr.dll` | 310.8.0.0 | `984BEE0F775C277D5829B8FD6775D53A7B0F75396C852B3AAF06A18375F81014` | **HashMismatch**; user-provided RTX40/50 community experimental NR |+| `runtime/experimental/nr-ampere/nvngx_dlssnr.dll` | 310.8.0.0 | `DCC0DC2414AEDEC4A8E084647070383BE068554042587180C20C784D4772D36F` | **HashMismatch**; user-provided RTX30 experimental NR |+| `runtime_local/amd/fidelityfx/amd_fidelityfx_loader_dx12.dll` | 2.3.0.2740 | 见 manifest | Valid (AMD); MIT;FSR 提供方装载器 |+| `runtime_local/amd/fidelityfx/amd_fidelityfx_framegeneration_dx12.dll` | 4.0.1.2740 | 见 manifest | Valid (AMD);**1.4.0 起界面不再提供 FSR 补帧入口**,后端保留 |+| `runtime_local/amd/fidelityfx/amd_fidelityfx_upscaler_dx12.dll` | 4.1.1.2740 | 见 manifest | Valid (AMD);FSR 超分(3.1.x 能力) |++The two community NR binaries are copied unchanged and are explicitly marked `HashMismatch`; their+included NVIDIA notices do not establish a general redistribution grant or NVIDIA support. The RTX30 file+is an experimental choice. Affected users confirmed the 1.4.1 repairs work on their+RTX30/40 systems; this is not validation of every model or driver. Fresh installations leave NR, SR,+and internal FG off.++The package includes FFmpeg 9.0.1#1 DLLs, application-local x64 Visual C++ redistributables, Intel license+files, AMD FidelityFX notices, Lucide notices, Remote Play notices, and compiled shader files. GPU drivers+supply `nvofapi64.dll` and `nvEncodeAPI64.dll`; they are not redistributed. ReShade/RenoDX add-ons, FRUC,+development SDKs, models, and AMD NR networks are not included.++The shipped FFmpeg includes the Veyra PS5 H.264 32-to-256 slice-capacity patch.+`licenses/FFMPEG-VEYRA-BUILD.json` records the binary identity; the separate FFmpeg source asset contains+the exact patched source, patch, build configuration, port provenance, and notices.++AV1 playback adds app-local dav1d 1.5.4 (SHA256 `38E09F960822A081FC46FC296FB3EF5F841D1A6C15A39F20684C2F9D88A9FC52`).diff --git a/docs/WORKLOG.md b/docs/WORKLOG.mdindex eb0991d6..e4d23286 100644--- a/docs/WORKLOG.md+++ b/docs/WORKLOG.md@@ -1,5 +1,13 @@# 2026-09-11 继续修复目标模式执行中+## 2026-09-18 1.4.1 合并与发布验收++用户确认最新测试包“测试好了都可用”,明确授权汇总 1.4.0 后全部修复、合并 main 并发布 1.4.1。该反馈更新此前 RTX30/40 待实卡确认状态,但不代表所有型号、驱动和画质场景均已覆盖。++集中修复提交 `89f4f7f`,通过 `1a0671b` 合并;圆刚分支 `c566dda` 通过 `1efbcbc` 合并。其他色彩、采集解码、MKV/export 分支已经在 main 历史内。main 合并前和实测 r4 源码均已建立 checkpoint;圆刚工作区未提交的独立诊断工具保留原处。版本、双语 README、完整更新说明、组件说明与开源许可证打包同步更新。++正式构建 `cmd.exe /c out\build\3060-incremental.cmd` exit0,日志 `out/logs/release-1.4.1-build.log`;EXE FileVersion/ProductVersion 均 1.4.1,SHA256 `99EDAF165D742E8D677A71286149B26F2F6C53CFA030440FB06E915F90B43B20`。`scripts/gates/delivery.ps1 -Root . -BuildDirectory out/build/scheduling-audit-20260918` PASS,74.90 秒,结果 `logs/delivery/ccccf48711ca4544835b226163872bd3/result.json`。实际发布资产、专项回归与解压包验证见 `docs/RELEASE_1.4.1_EXECUTION.md`。+## 2026-09-18 RTX3060 开启 DLSS 补帧卡死,r4 候选依据用户 `Desktop/logs/`:Create 成功、正式 Evaluate `0xBAD00002 / 0xC0000005` 后子进程停在 stage3。修正全局 Blackwell 架构伪装及全部69个 fatbin 改写,按固定上游只重建25个注册程序和精确匹配的字体程序,保留真实架构;补齐描述符长度、CUDA 函数预检和 D3D12 LUID 匹配。失败探测子进程直接退出,绕过异常运行库的清理挂死,保留错误和播放器恢复。diff --git a/scripts/acceptance/release-archive-audit.py b/scripts/acceptance/release-archive-audit.pyindex 3939f85d..242bb32e 100644--- a/scripts/acceptance/release-archive-audit.py+++ b/scripts/acceptance/release-archive-audit.py@@ -35,9 +35,12 @@ for archive in archives:assert PurePosixPath(e['path']).suffix.lower() not in {'.h', '.hpp', '.cpp', '.c', '.obj', '.lib', '.pdb', '.log', '.mp4', '.zip', '.onnx', '.pth', '.addon64'}assert PurePosixPath(e['path']).name not in {'last-applied.v1', 'ui-preferences.v1', 'presets.v1', 'veyra.ini'}runtime = []- for folder in ['runtime/experimental/', 'runtime_local/intel/experimental/']:+ for folder in ['runtime/experimental/', 'runtime_local/intel/experimental/',+ 'runtime_local/amd/fidelityfx/']:runtime += json.loads(z.read(prefix + folder + 'release-runtime-manifest.json').decode('utf-8-sig'))['files']- assert len(runtime) == 8 and sum(e['authenticode'] == 'HashMismatch' for e in runtime) == 2+ assert len(runtime) == 11 and sum(e['authenticode'] == 'HashMismatch' for e in runtime) == 2+ for notice in ['RTX40MFG_LICENSE.txt', 'HDE_LICENSE.txt']:+ assert prefix + 'licenses/' + notice in namesfor e in runtime:assert hashlib.sha256(z.read(prefix + e['path'])).hexdigest() == e['sha256'].lower()build = json.loads(z.read(prefix + 'licenses/FFMPEG-VEYRA-BUILD.json').decode('utf-8-sig'))diff --git a/scripts/package-portable.ps1 b/scripts/package-portable.ps1index 728e1e2e..6ba3cea9 100644--- a/scripts/package-portable.ps1+++ b/scripts/package-portable.ps1@@ -129,6 +129,9 @@ if (Test-Path -LiteralPath $ffmpegLocalBuild) {Copy-Payload $ffmpegLocalBuild 'licenses/FFMPEG-VEYRA-BUILD.json'}Copy-Payload (Join-Path $resolvedRoot 'assets/icons/lucide/LICENSE') 'licenses/LUCIDE-LICENSE.txt'+foreach ($name in @('RTX40MFG_LICENSE.txt','HDE_LICENSE.txt')) {+ Copy-Payload (Join-Path $resolvedRoot "src/ngx/compat/$name") "licenses/$name"+}Copy-Payload (Join-Path $resolvedRoot 'third_party_local/nvidia/DLSS_repo/LICENSE.txt') 'licenses/NVIDIA_RTX_SDK_LICENSE.txt'Copy-Payload (Join-Path $resolvedRoot 'third_party_local/nvidia/RTX_Video_SDK_1.1.0/NVIDIA_RTX_Video_SDK_License.pdf') 'licenses/NVIDIA_RTX_VIDEO_SDK_LICENSE.pdf'Copy-Payload (Join-Path $resolvedRoot 'third_party_local/nvidia/Optical_Flow_SDK_5.0.7/LicenseAgreement.pdf') 'licenses/NVIDIA_OPTICAL_FLOW_SDK_LICENSE.pdf'