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(test): 1.3.1beta test package for cross-GPU acceptance

Veyra Goal Agentcd631a3ff17c
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 50d2f370..fb22429d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,9 @@
cmake_minimum_required(VERSION 3.24)
-project(veyra VERSION 1.3.0 LANGUAGES CXX RC)
+project(veyra VERSION 1.3.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.3.1beta" CACHE STRING "Human-readable version string")
# Match the compiler's actual bytes, including on localized Windows installs.
# CMake's cached, decoded prefix can leave Ninja with zero header dependencies.
diff --git a/apps/veyra/version.rc.in b/apps/veyra/version.rc.in
index 812e36ac..e2c55ca9 100644
--- a/apps/veyra/version.rc.in
+++ b/apps/veyra/version.rc.in
@@ -14,9 +14,9 @@ BEGIN
BLOCK "040904B0"
BEGIN
VALUE "FileDescription", "Veyra Video Player"
- VALUE "FileVersion", "@PROJECT_VERSION@"
+ VALUE "FileVersion", "@VEYRA_DISPLAY_VERSION@"
VALUE "ProductName", "Veyra"
- VALUE "ProductVersion", "@PROJECT_VERSION@"
+ VALUE "ProductVersion", "@VEYRA_DISPLAY_VERSION@"
VALUE "OriginalFilename", "Veyra.exe"
VALUE "LegalCopyright", "Veyra contributors. GPL-3.0."
END
diff --git a/docs/RELEASE_NOTES_1.3.1.md b/docs/RELEASE_NOTES_1.3.1.md
new file mode 100644
index 00000000..7e5544c2
--- /dev/null
+++ b/docs/RELEASE_NOTES_1.3.1.md
@@ -0,0 +1,74 @@
+# Veyra 1.3.1beta 测试包说明(隔离分支构建,未发布)
+
+**这是给用户实机测试用的 beta 包,不是正式发布。** 构建来源:分支
+`codex/framegen-fsr-dolby-20260916`(main 未合并、未推送、未创建 Release)。
+
+## 帧生成
+
+- **DLSS 6X(50 系)**:能力驱动倍率,UI 只提供该 GPU 真正支持的上限(Ada=2X、Blackwell 到 6X);
+ 超上限请求被明确拒绝并提示,不再把补帧整档关掉。实测 6X:445 真实帧 / 2215 生成帧。
+- **XeSS MFG 解锁(2X/3X/4X)**:移植 OptiScaler 五处字节补丁,进程内修改、逐项校验、退出回滚。
+ 实测 4X:563 真实 / 1677 生成,退出 `rolled back 5/5`。
+- **XeSS 节奏修正(本次重点)**:>2X 时提供方把一 burst 的生成帧背靠背推出,观感是"挤一串 + 空一截"。
+ 现在把中间帧交给提供方自己的调度器。4K/30fps 素材 4X 实测同 burst 内间距
+ mean≈8.30ms(目标 8.33ms,min 8.19 / max 8.39),`refused=0`。
+- **修掉 XeSS 2X 静默失效**:以前选 2X 会因为"无需解锁"被判失败,整个 XeSS 会话退回原生呈现
+ (等于没补帧)。现在 2X 走 Intel 原生路径,实测 280 真实 / 276 生成。
+- **AMD FSR 帧生成(2X,厂商无关)**:新增 `--fg-fsr` 与设置项「AMD FSR 帧生成 · 2X」。
+ 实测 1080p 226/222、4K 559/555;生成帧经时间中点验证(方块中心 1041.5 vs 理论 1040)。
+- **40 系 DLSS MFG 解锁**:移植 MFGAdaUnlock-RenoDx(MIT):两处架构比较 + PTX 中点修正
+ + 8 个 kernel 描述符重定向,全部进程内;只在 Ada(deviceId 0x2680-0x28FF)生效,
+ **50 系完全不进这段代码**(实测 6X 不受影响)。
+
+## 超分
+
+- **AMD FSR 超分(3.1.x)**:图内 SR 新档位「AMD FSR 超分 · 3.1.x(N卡可用)」,
+ 支持非 NVIDIA 形状(AMD 光流 + FSR 超分)。实测 205-226 次 dispatch 0 失败;
+ 同帧 4K 对照平均绝对差 0.31/255(内容正确)。
+ **注意**:本片段上它比直通缩放略软(梯度能量比 0.888),不宣称更清晰。
+
+## 音频
+
+- **杜比/DTS 位流解码兜底**:采集卡送 Dolby Atmos / Dolby Audio / DTS 位流时解码回 PCM
+ 进既有 5.1 管线(AC-3 / E-AC-3 / TrueHD / DTS / DTS-HD,含 IEC 61937 解框)。
+ 本地用真实 AC-3/E-AC-3 位流验证过 6 声道与幅度映射。
+- **采集音频手动选择**(用户要求):采集面板新增「采集音频(变更需重连)」:
+ 自动 / 强制线性 PCM / 位流优先。
+
+## 其它
+
+- 采集卡窗口标题修复(连接串不再当文件名显示)。
+- 工具层看门狗与内存闸:防止验证层挂住把机器内存打爆。
+
+## 测试重点(按显卡)
+
+| 显卡 | 建议测试项 |
+| --- | --- |
+| RTX 50 | DLSS 6X、FSR 帧生成 2X、FSR 超分 |
+| RTX 40 | DLSS MFG 解锁 3X/4X(本次重点)、XeSS 4X 节奏、FSR 全系 |
+| RTX 30 | FSR 帧生成 2X(未在 30 系实机验证)、FSR 超分、NR 兼容选项 |
+| 任意 | 杜比/DTS 位流采集(需支持位流的采集设备 + PS5 设 Dolby 输出) |
+
+40 系验收命令与期望日志:
+
+```powershell
+.\Veyra.exe --fg-multiplier 4 --smoke-seconds 15 <视频>
+# 期望:[ada-mfg] ... unlock applied=1 gates=2 descriptors=8 kernel=1
+# [graph] FG capability available=true multiFrameMax=5
+```
+
+## 已知边界
+
+- FSR 帧生成上限就是 2X(3.1.x 提供方每个真实帧只生成一张),UI 只给 2X。
+- FSR 超分:HDR 输出下不启用;光流分辨率必须与源一致,否则退回直通。
+- 杜比:本机采集卡不提供位流,位流分支需在有 Dolby 输出+支持位流的设备上验收;
+ TrueHD / DTS-HD 只验证了解码器存在,没有真实素材。
+- 40 系解锁行为未在本机验证(本机只有 50 系);Ada 缺硬件 flip metering 是否冻结需实机结论。
+- XeSS 4X 未移植上游时间戳/截止时间层;若仍不匀,那是下一层工作。
+
+## 包内容
+
+- `Veyra.exe`、FFmpeg 运行库、VC 运行库、`shaders/`
+- `runtime/experimental/`(NVIDIA 组件)、`runtime_local/intel/experimental/`(XeSS)、
+ `runtime_local/amd/fidelityfx/`(AMD FidelityFX SDK 2.3.0,MIT,AMD 签名)
+- 许可证、第三方 notices、`release-runtime-manifest.json`
diff --git a/docs/REMOTEPLAY_BUILD_1.3.1.md b/docs/REMOTEPLAY_BUILD_1.3.1.md
new file mode 100644
index 00000000..9b6363db
--- /dev/null
+++ b/docs/REMOTEPLAY_BUILD_1.3.1.md
@@ -0,0 +1,15 @@
+# Remote Play build and corresponding source / 串流构建与对应源码
+
+The 1.3.1 portable package enables `VEYRA_ENABLE_REMOTEPLAY`. The default build without this option does not include PS5 Remote Play.
+
+Application source: https://github.com/Likely7/Veyra-NRVideo/tree/v1.3.1
+
+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.3.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 five dynamic FFmpeg DLLs; Windows networking, WinHTTP, DPAPI, WASAPI, DirectX, and GPU driver components are not redistributed.
+
+The PS5 connection and normal USB controller path have user test evidence. Offline tests do not prove Sony authorization, all Bluetooth controllers, physical HDR output, 5.1 transport, or uninterrupted long sessions. PS5 Remote Play remains limited to the upstream stereo audio path; Veyra does not claim Dolby/Atmos transport.
+
+AV1 playback adds app-local dav1d 1.5.4 (SHA256 `38E09F960822A081FC46FC296FB3EF5F841D1A6C15A39F20684C2F9D88A9FC52`). FFmpeg is rebuilt with `--enable-libdav1d` while retaining the PS5 slice patch; avcodec SHA256 `22D1321B8D31161E7CB0920EC08C43B51884436A066E62C70A0C564ACD4C813E`. The portable package carries dav1d notices and provenance; the FFmpeg source asset includes dav1d source and its vcpkg port. All eight enhancement runtimes keep the previously approved identities.
diff --git a/docs/RUNTIME_COMPONENTS_1.3.1.md b/docs/RUNTIME_COMPONENTS_1.3.1.md
new file mode 100644
index 00000000..869c72e7
--- /dev/null
+++ b/docs/RUNTIME_COMPONENTS_1.3.1.md
@@ -0,0 +1,47 @@
+# Veyra 1.3.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.
+
+## 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 |
+
+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, not a claim of verified RTX30 compatibility. 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 optical-flow 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`). FFmpeg is rebuilt with `--enable-libdav1d` while retaining the PS5 slice patch; avcodec SHA256 `22D1321B8D31161E7CB0920EC08C43B51884436A066E62C70A0C564ACD4C813E`. The portable package carries dav1d notices and provenance; the FFmpeg source asset includes dav1d source and its vcpkg port. All eight enhancement runtimes keep the previously approved identities.
+# Veyra 1.3.1beta 运行组件清单(测试包)
+
+本清单说明测试包里 `runtime/` 与 `runtime_local/` 下的运行组件来源与身份,
+与 `release-runtime-manifest.json` 一一对应。1.3.1beta 相对 1.3.0 **新增 AMD FidelityFX 组件**
+(MIT 许可,AMD 签名),用于 FSR 帧生成与 FSR 超分;NVIDIA / Intel 组件身份不变。
+
+## 新增(1.3.1beta)
+
+| 文件 | 目录 | 版本 | 类别 |
+| --- | --- | --- | --- |
+| `amd_fidelityfx_loader_dx12.dll` | `runtime_local/amd/fidelityfx` | 2.3.0.2740 | AMD FidelityFX SDK 2.3.0 loader |
+| `amd_fidelityfx_framegeneration_dx12.dll` | `runtime_local/amd/fidelityfx` | 4.0.1.2740 | 帧生成提供方(本机枚举到 3.1.6/3.1.7 能力) |
+| `amd_fidelityfx_upscaler_dx12.dll` | `runtime_local/amd/fidelityfx` | 4.1.1.2740 | 超分提供方(本机枚举到 3.1.5/2.3.4) |
+
+三者的 SHA-256、签名状态(AMD 有效签名)与大小见 manifest;许可证文本在
+`licenses/AMD-FIDELITYFX-LICENSE.txt`(MIT)。**注意**:这些是 AMD 官方签名产物,
+不是 NVIDIA 运行库,不受 NVIDIA EULA 的 Release Runtime Pack 限制。
diff --git a/docs/WORKLOG.md b/docs/WORKLOG.md
index b2593860..d3c06c00 100644
--- a/docs/WORKLOG.md
+++ b/docs/WORKLOG.md
@@ -2351,6 +2351,40 @@ DLSSG 能力门控没有排除 FSR,导致 FSR 会话下任何就地设置变
### 2026-09-16 XeSS 节奏 hook(A-2)移植 + 用 4K/30fps 素材实测
+### 2026-09-16 1.3.1beta 测试包(用户统一验收用)
+
+版本号改成 **1.3.1beta**:CMake 数值版本 1.3.1(`project(VERSION)` 不接受非数字),
+新增 `VEYRA_DISPLAY_VERSION=1.3.1beta` 写入 EXE 版本资源(`FileVersion`/`ProductVersion`
+实测均为 `1.3.1beta`)。打包脚本新增 `-Label beta` 只影响 staging/ZIP 名,
+版本校验改为"数值前缀匹配",并新增 1.3.1 起把 **AMD FidelityFX 组件**放进包:
+
+| 文件 | 目录 | 版本 | 签名 | SHA-256 |
+| --- | --- | --- | --- | --- |
+| amd_fidelityfx_loader_dx12.dll | runtime_local/amd/fidelityfx | 2.3.0.2740 | Valid (AMD) | E2D85AA0…608AA |
+| amd_fidelityfx_framegeneration_dx12.dll | 同上 | 4.0.1.2740 | Valid (AMD) | 02297BEE…C2F18 |
+| amd_fidelityfx_upscaler_dx12.dll | 同上 | 4.1.1.2740 | Valid (AMD) | D0DCCCC7…C9FB46 |
+
+许可证 `licenses/AMD-FIDELITYFX-LICENSE.txt`(MIT,取自 vendored SDK `docs/license.md`),
+三者单独写在 `runtime_local/amd/fidelityfx/release-runtime-manifest.json`(含大小/哈希/版本/签名类别/
+experimental/removable)——这一步是补的:脚本原先只给两个旧目录写 manifest,AMD 目录会漏。
+
+产物:`C:\veyra-test-packages\final\Veyra-1.3.1beta-win64-portable.zip`
+469,750,063 字节 / SHA256 `CD72F80456736E0FC7A110B273ED33B7EB87ED7D87D31450F0B143C55707D000`,
+包内 `Veyra.exe` 报告版本 `1.3.1beta`,`package-manifest.json` 107 个文件。
+
+**从包内实跑验证(不是只打包)**:
+
+| 路径 | 结果 |
+| --- | --- |
+| FSR 帧生成 `--fg-fsr`(4K 源) | `using the retained AMD proxy swapchain`,282 真实 / 278 生成,exit 0 |
+| XeSS 4X `--fg-xess --fg-multiplier 4`(4K 源) | unlock 5/5、`pacing installed`、inBurstGaps mean **8.305ms**(目标 8.33)、refused=0、exit 0 |
+| FSR 超分 `--video-sr 5`(1080p→4K) | `fsr-sr providers count=2 selected=3.1.5`、`graph sr=1`、228 帧 exit 0 |
+| DLSS 6X `--fg-multiplier 6`(1080p 源) | `multiFrameMax=5`、160 真实 / 790 生成、exit 0 |
+
+注:4K 源 + 默认 4K 目标时 SR 不会被应用(`sr=0`,无需放大),这是正确行为,不是包的问题。
+先前一次打包(AMD 目录缺 manifest)的产物仍在 `C:\veyra-test-packages\` 根目录,属被取代的版本,
+本环境策略禁止 Agent 删文件,需用户自行删除。
+
移植 `Coldwood1026/OptiScaler`(GPL-3.0,`70676c5f`)`XeFGPacing.h` 的**核心调度调用**到
`include/veyra/gfx/XessPacing.h` + `src/gfx/XessPacing.cpp`(present thunk `0x25C0` 用既有
`ThunkHook` 接管,返回地址过滤 `0x2202ED`/`0x220467`,把循环里的生成帧交给提供方自己的调度器
diff --git a/scripts/package-portable.ps1 b/scripts/package-portable.ps1
index 0c578dd2..728e1e2e 100644
--- a/scripts/package-portable.ps1
+++ b/scripts/package-portable.ps1
@@ -2,14 +2,17 @@ param(
[Parameter(Mandatory = $true)][string]$Root,
[Parameter(Mandatory = $true)][ValidatePattern('^\d+\.\d+\.\d+$')][string]$Version,
[Parameter(Mandatory = $true)][string]$OutputDirectory,
- [string]$BuildDirectory
+ [string]$BuildDirectory,
+ # Suffix used only for the staging/archive name (e.g. "beta" -> Veyra-1.3.1beta-win64-portable).
+ # The numeric $Version still names the docs and must match the EXE's numeric parts.
+ [string]$Label = ''
)
$ErrorActionPreference = 'Stop'
$resolvedRoot = (Resolve-Path -LiteralPath $Root).Path
$resolvedOutput = [IO.Path]::GetFullPath($OutputDirectory)
$bin = Join-Path $resolvedRoot 'out/build/x64-release'
if ($BuildDirectory) { $bin = (Resolve-Path -LiteralPath $BuildDirectory).Path }
-$stage = Join-Path $resolvedOutput "Veyra-$Version-win64-portable"
+$stage = Join-Path $resolvedOutput "Veyra-$Version$Label-win64-portable"
$archive = "$stage.zip"
# Preserve existing candidates and their verification evidence.
if ((Test-Path -LiteralPath $stage) -or (Test-Path -LiteralPath $archive)) { throw 'Output exists; choose a new staging directory.' }
@@ -31,7 +34,9 @@ if ([version]$Version -ge [version]'0.0.5') {
if ($cache -notmatch 'VEYRA_ENABLE_REMOTEPLAY:BOOL=ON') { throw '0.0.5 package requires the real PS5 backend enabled' }
}
$appVersion = [Diagnostics.FileVersionInfo]::GetVersionInfo((Join-Path $bin 'veyra.exe'))
-if ($appVersion.ProductVersion -ne $Version) { throw "EXE version $($appVersion.ProductVersion) does not match $Version" }
+# The display string may carry a label ("1.3.1beta"); the numeric parts still have
+# to match the version the package is built as.
+if (-not $appVersion.ProductVersion.StartsWith($Version)) { throw "EXE version $($appVersion.ProductVersion) does not match $Version" }
# Publisher audit only. The application permits users to replace these DLLs.
$runtimeFiles = @(
@{ Name='nvngx_dlss.dll'; Folder='runtime/experimental'; Source='runtime_local/nvidia/nvngx_dlss.dll'; Hash='BE6E434A94CA32499515EB62CA0E6C274526055D568D0426E4C652DCDFB6EE6E'; Category='official-dlss-sdk-310.7.0-rel'; Experimental=$false },
@@ -42,6 +47,15 @@ $runtimeFiles = @(
@{ Name='libxell.dll'; Folder='runtime_local/intel/experimental'; Source='runtime_local/intel/experimental/libxell.dll'; Hash='D2030DCD694FDA8F2EC7E044B13E6DB8F0B56D4BA9113A5EFAD334E3F3DED8C7'; Category='official-intel-xess-sdk-3.0.2'; Experimental=$true },
@{ Name='libxess_fg.dll'; Folder='runtime_local/intel/experimental'; Source='runtime_local/intel/experimental/libxess_fg.dll'; Hash='EC5E0C65E075570C6EDE72618BB666D0BE0C2E10B2EA9762C0FE8CB8E375AB27'; Category='official-intel-xess-sdk-3.0.2'; Experimental=$true }
)
+if ([version]$Version -ge [version]'1.3.1') {
+ # AMD FidelityFX SDK 2.3.0 runtime (MIT licensed, AMD-signed). Needed for the
+ # FSR frame-generation and FSR upscaling paths; loaded from runtime_local/amd/fidelityfx.
+ $runtimeFiles += @(
+ @{ Name='amd_fidelityfx_loader_dx12.dll'; Folder='runtime_local/amd/fidelityfx'; Source='runtime_local/amd/fidelityfx/amd_fidelityfx_loader_dx12.dll'; Hash='E2D85AA05A9BD9ED8B38935FDF5199372CCA6F74C12015143BB6F945EE1608AA'; Category='official-amd-fidelityfx-sdk-2.3.0-loader'; Experimental=$true },
+ @{ Name='amd_fidelityfx_framegeneration_dx12.dll'; Folder='runtime_local/amd/fidelityfx'; Source='runtime_local/amd/fidelityfx/amd_fidelityfx_framegeneration_dx12.dll'; Hash='02297BEEDD285E822D3A64F314CF00FAF378DCEC0EDC47FF0C4DD71B3A8C2F18'; Category='official-amd-fidelityfx-sdk-2.3.0-framegeneration'; Experimental=$true },
+ @{ Name='amd_fidelityfx_upscaler_dx12.dll'; Folder='runtime_local/amd/fidelityfx'; Source='runtime_local/amd/fidelityfx/amd_fidelityfx_upscaler_dx12.dll'; Hash='D0DCCCC74A43C44BA435B7A369B456E0970D8A4464E4BD683119B374F2C9FB46'; Category='official-amd-fidelityfx-sdk-2.3.0-upscaler'; Experimental=$true }
+ )
+}
if ([version]$Version -ge [version]'1.1.1') {
$runtimeFiles += @{ Name='nvngx_dlssnr.dll'; Folder='runtime/experimental/nr-ampere'; Source='runtime_local/nvidia/nr-ampere/nvngx_dlssnr.dll'; Hash='DCC0DC2414AEDEC4A8E084647070383BE068554042587180C20C784D4772D36F'; Signature='HashMismatch'; Size=165840496; Version='310.8.0.0'; Category='user-provided-NeuralScreen-1.8.2-modified-RTX30-experimental-runtime'; Experimental=$true }
}
@@ -118,11 +132,25 @@ Copy-Payload (Join-Path $resolvedRoot 'assets/icons/lucide/LICENSE') 'licenses/L
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'
+if ([version]$Version -ge [version]'1.3.1') {
+ # MIT licence of the FidelityFX SDK that ships the AMD runtime above.
+ $amdLicense = Join-Path $resolvedRoot 'third_party_local/amd/FidelityFX-SDK-2.3.0/docs/license.md'
+ if (-not (Test-Path -LiteralPath $amdLicense -PathType Leaf)) {
+ $amdLicense = Join-Path $resolvedRoot 'third_party_local/amd/FidelityFX-SDK-2.3.0/Kits/FidelityFX/docs/license.md'
+ }
+ if (Test-Path -LiteralPath $amdLicense -PathType Leaf) {
+ Copy-Payload $amdLicense 'licenses/AMD-FIDELITYFX-LICENSE.txt'
+ } else {
+ throw 'AMD FidelityFX licence text not found in the vendored SDK'
+ }
+}
Copy-Payload (Join-Path $resolvedRoot 'third_party_local/intel/xess-3.0.2/LICENSE.txt') 'licenses/INTEL_XESS_LICENSE.txt'
Copy-Payload (Join-Path $resolvedRoot 'third_party_local/intel/xess-3.0.2/third-party-programs.txt') 'licenses/INTEL_THIRD_PARTY_PROGRAMS.txt'
Copy-Payload (Join-Path $resolvedRoot 'third_party_local/amd/FidelityFX-SDK/LICENSE.txt') 'licenses/AMD_FIDELITYFX_LICENSE.txt'
foreach ($item in $runtimeFiles) { Copy-Payload (Join-Path $resolvedRoot $item.Source) "$($item.Folder)/$($item.Name)" }
-foreach ($folder in @('runtime/experimental','runtime_local/intel/experimental')) {
+$manifestFolders = @('runtime/experimental','runtime_local/intel/experimental')
+if ([version]$Version -ge [version]'1.3.1') { $manifestFolders += 'runtime_local/amd/fidelityfx' }
+foreach ($folder in $manifestFolders) {
$relative = "$folder/release-runtime-manifest.json"
[ordered]@{schema=1;package="Veyra $Version";mode='user-authorized-runtime-pack';enforcedAtRuntime=$false;warning='Community experimental integration; not vendor certification or endorsement.';files=@($records | Where-Object {$_.path.StartsWith("$folder/")})} | ConvertTo-Json -Depth 6 | Set-Content -LiteralPath (Join-Path $stage $relative) -Encoding UTF8
$allowed.Add($relative)