Skip to content

Commit 6bf6ffb

Browse files
committed
Merge validated v0.4.3 release into main
2 parents afd264b + 5ed4cee commit 6bf6ffb

9 files changed

Lines changed: 215 additions & 16 deletions

File tree

‎README.md‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[简体中文](#简体中文) · [English](#english)
44

5-
[下载最新正式版 / Download latest stable](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/latest)
5+
[下载最新正式版 / Download latest stable](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/latest)
66

77
## 简体中文
88

@@ -35,7 +35,7 @@ NR Nexus 通过 [ReShade](https://reshade.me/) 为兼容游戏提供 NVIDIA DLSS
3535
<a id="zh-features"></a>
3636
### 核心特色
3737

38-
本页介绍 v0.4.2 的功能;特殊组合的兼容性条件见指南。
38+
本页介绍 v0.4.3 的功能;特殊组合的兼容性条件见指南。
3939

4040
| 能力 | 玩家用途 |
4141
| --- | --- |
@@ -62,7 +62,7 @@ NR Nexus 通过 [ReShade](https://reshade.me/) 为兼容游戏提供 NVIDIA DLSS
6262
<a id="zh-install"></a>
6363
### 下载、安装与使用
6464

65-
**v0.4.2**:[Windows x64 插件 ZIP、SHA-256 与 Release Notes](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/tag/v0.4.2)。在版本页面下载 ZIP 和对应的 `.zip.sha256`。GitHub 的 **Source code** ZIP 是源码,不是安装包。
65+
**v0.4.3**:[Windows x64 插件 ZIP、SHA-256 与 Release Notes](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/tag/v0.4.3)。在版本页面下载 ZIP 和对应的 `.zip.sha256`。GitHub 的 **Source code** ZIP 是源码,不是安装包。
6666

6767
**需要:** Windows x64、兼容 **ReShade API 18** 的[完整 Add-on 支持版 ReShade](https://reshade.me/)、
6868
合法取得的兼容 NVIDIA **`nvngx_dlssnr.dll`**,以及该 Runtime 支持的显卡和驱动。
@@ -74,7 +74,7 @@ NR Nexus 通过 [ReShade](https://reshade.me/) 为兼容游戏提供 NVIDIA DLSS
7474
2. 选择游戏,在 **Game Overrides → ReShade Channel** 使用 **Stable**(完整 Add-on 支持),然后安装 **ReShade**。不要选 **No Addons**。
7575
3. 在 **DLSS / Streamline → Neural Rendering** 列选择合适的版本,例如当前社区 **`310.9.16 (20/30/40/50)`**,点 **Deploy DLL** 部署 NR Runtime。RHI 2.8.8 还会尝试部署最新 SR DLL(`nvngx_dlss.dll`),并备份已有文件;希望保留原 SR 版本、或找不到此栏时,按指南使用手动安装。
7676
4. 点游戏标题区或右键菜单中的 **Browse** 打开游戏目录,核对实际 EXE(可能在 `Binaries/Win64` 等子目录)。关闭游戏,备份现有插件及设置。
77-
5. 下载上方 **v0.4.2 ZIP**,将 **`renodx-dlss5.addon64`** 解压到 ReShade 实际加载的 Add-on 目录,通常是 EXE 旁;若 `ReShade.ini` 配置了 `AddonPath`,按该路径部署。保留许可文件。Runtime 可放插件旁或 EXE 旁,插件旁的 DLL 优先。
77+
5. 下载上方 **v0.4.3 ZIP**,将 **`renodx-dlss5.addon64`** 解压到 ReShade 实际加载的 Add-on 目录,通常是 EXE 旁;若 `ReShade.ini` 配置了 `AddonPath`,按该路径部署。保留许可文件。Runtime 可放插件旁或 EXE 旁,插件旁的 DLL 优先。
7878
6. 启动游戏,按 ReShade 已设置的菜单键(通常为 **Home**),在 **Add-ons → NR Nexus** 确认已加载版本,接着按下方快速上手体验。未出现插件时见[安装排查](docs/USER_GUIDE.md#zh-status)。
7979

8080
**避免重复 NR 插件:** RHI 的 **Install Neural Rendering** 会安装 ShortFuse、DLSS5 Tool 等独立 NR 工具,与上面的 **Deploy DLL** 不同。使用 Nexus 时不要额外安装这些工具;已有安装应先按各自流程卸载,并将旧 Lecram/Nexus 副本移出生效的 Add-on 目录。RHI 可备份、更新或恢复它管理的文件;检查 `AddonPath` 与自动更新设置,避免旧副本重新生效。
@@ -211,7 +211,7 @@ Runtime DLL、模型和游戏资源另行获取。
211211
#### 版本与发布
212212

213213
[version.h](version.h) 定义插件版本,Git Commit 标识源码。`dev.N` 和可选的 `rc.N` 为预发布版本;
214-
安装以[最新正式版](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/latest)为准;较早正式版与预发布的功能变化统一查阅 [Release Notes](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases)。
214+
安装以[最新正式版](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/latest)为准;较早正式版与预发布的功能变化统一查阅 [Release Notes](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases)。
215215
[CI](.github/workflows/ci.yml) 构建源码,版本 Tag 触发[发布工作流](.github/workflows/release.yml)。
216216
日常提交和 Actions artifacts 是开发构建。从 v0.2.1 起,Windows ZIP 附带 **NR-Nexus-Guide.html 离线玩家手册**:解压后双击,即可在浏览器阅读完整中英文 README 与指南,无需联网或 Markdown 阅读器。手册内嵌配图,游戏画面采用已审核的 SDR 静态预览;在线交互对比、下载和外部参考链接需要网络。原 README、玩家指南、配图和许可文件仍保留。已发布的 v0.2.0 安装包不变。
217217

@@ -263,7 +263,7 @@ The Witcher 3 — Velen · Crookback Bog
263263
<a id="en-features"></a>
264264
### What makes Nexus different
265265

266-
This page describes the features in v0.4.2. See the guide for compatibility conditions on specific combinations.
266+
This page describes the features in v0.4.3. See the guide for compatibility conditions on specific combinations.
267267

268268
| Feature | What you can use it for |
269269
| --- | --- |
@@ -290,9 +290,9 @@ The interface offers **15 languages and seven themes**, with automatic ReShade l
290290
<a id="en-install"></a>
291291
### Download, install and use
292292

293-
**[Download v0.4.2 (Windows x64 ZIP)](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/tag/v0.4.2)** · **[View latest stable release](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/latest)**
293+
**[Download v0.4.3 (Windows x64 ZIP)](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/tag/v0.4.3)** · **[View latest stable release](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/latest)**
294294

295-
This page covers **v0.4.2**. Download the ZIP and matching `.zip.sha256` from the [release page](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/tag/v0.4.2), which also contains the Release Notes. GitHub's **Source code** ZIP is source, not the add-on installation package.
295+
This page covers **v0.4.3**. Download the ZIP and matching `.zip.sha256` from the [release page](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/tag/v0.4.3), which also contains the Release Notes. GitHub's **Source code** ZIP is source, not the add-on installation package.
296296

297297
**Requirements:** Windows x64; [ReShade with full add-on support](https://reshade.me/), compatible with
298298
**ReShade API 18**; a legally obtained compatible NVIDIA **`nvngx_dlssnr.dll`**;
@@ -305,7 +305,7 @@ For a first installation, use the third-party **RHI** tool to prepare ReShade an
305305
2. Select the game, use **Game Overrides → ReShade Channel → Stable** (full add-on support), then install **ReShade**. Do not choose **No Addons**.
306306
3. Under **DLSS / Streamline → Neural Rendering**, choose a suitable version, such as the current community **`310.9.16 (20/30/40/50)`**, and click **Deploy DLL** to deploy the NR runtime. RHI 2.8.8 also attempts to deploy the latest SR DLL (`nvngx_dlss.dll`), backing up an existing file. To keep the original SR version, or if the column is missing, follow manual installation in the guide.
307307
4. Use **Browse** in the game header or right-click menu to open the game folder. Confirm the actual EXE location, which may be a subfolder such as `Binaries/Win64`. Close the game and back up existing add-ons/settings.
308-
5. Download the **v0.4.2 ZIP** above. Extract **`renodx-dlss5.addon64`** into ReShade's actual add-on directory, normally beside the EXE; follow `AddonPath` if configured in `ReShade.ini`. Keep the licenses. The runtime can sit beside the add-on or the EXE; the add-on-side DLL takes priority.
308+
5. Download the **v0.4.3 ZIP** above. Extract **`renodx-dlss5.addon64`** into ReShade's actual add-on directory, normally beside the EXE; follow `AddonPath` if configured in `ReShade.ini`. Keep the licenses. The runtime can sit beside the add-on or the EXE; the add-on-side DLL takes priority.
309309
6. Start the game, use ReShade's configured menu key (usually **Home**) and confirm the loaded version under **Add-ons → NR Nexus**, then follow Quick Start below. If the add-on is missing, see [installation troubleshooting](docs/USER_GUIDE.md#en-status).
310310

311311
**Avoid duplicate NR add-ons:** RHI's **Install Neural Rendering** installs separate tools such as ShortFuse or DLSS5 Tool; it is different from **Deploy DLL** above. Do not install those alongside Nexus. Uninstall existing methods through their own procedures and move older Lecram/Nexus copies out of active add-on directories. RHI can back up, update or restore files it manages; check `AddonPath` and automatic-update settings so old copies do not become active again.
@@ -455,7 +455,7 @@ DLLs, models and game assets are obtained separately.
455455
#### Versions and releases
456456

457457
[version.h](version.h) defines the add-on version; Git commits identify the source.
458-
`dev.N` and optional `rc.N` identify pre-releases. Use the [latest stable release](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases/latest) for installation;
458+
`dev.N` and optional `rc.N` identify pre-releases. Use the [latest stable release](https://github.com/williamstosh/DLSS5-NR-Nexus/releases/latest) for installation;
459459
see [Release Notes](https://github.com/williamstosh/RenoDX-DLSSNR-Nexus/releases) for earlier stable and pre-release feature changes.
460460
[CI](.github/workflows/ci.yml) builds the source, and version tags trigger the
461461
[release workflow](.github/workflows/release.yml). Daily commits and Actions artifacts are development builds.

‎dlssnr.hpp‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8785,6 +8785,10 @@ inline void BindCodec(
87858785
command_list->SetPipelineState(pipeline);
87868786
const D3D12_GPU_DESCRIPTOR_HANDLE heap_start =
87878787
resources.descriptors->GetGPUDescriptorHandleForHeapStart();
8788+
// The shared root signature can retain ControlMask's depth table from
8789+
// another workset. Rebind it whenever this codec selects its own heap.
8790+
command_list->SetComputeRootDescriptorTable(
8791+
3, DescriptorHeapSlot(heap_start, kDescriptorControlMaskDepthNullSrv, resources.descriptor_size));
87888792
command_list->SetComputeRootDescriptorTable(
87898793
4, DescriptorHeapSlot(heap_start, kDescriptorControlMaskMotionNullSrv, resources.descriptor_size));
87908794
command_list->SetComputeRootDescriptorTable(

‎docs/releases/v0.4.3.md‎

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# NR Nexus v0.4.3 — 更多自适应档位与可靠准备 / More adaptive levels and reliable preparation
2+
3+
<!-- Previous: v0.4.1 -->
4+
5+
[简体中文](#简体中文) · [English](#english)
6+
7+
## 简体中文
8+
9+
### 版本亮点
10+
11+
自适应分辨率新增「默认」或 2–15 档选择。启用后先准备所选档位,全部就绪后再自动调节;正常切档复用已准备资源。准备过程分步推进,并改进关闭、恢复和资源清理。
12+
13+
### 新增功能与改进
14+
15+
- 继续以目标输出 FPS 操作,无需额外帧率程序。档数包含手动上限;实际不同尺寸受最低比例和取整限制,最低 67% 最多 8 档,最低 33% 最多 15 档。
16+
- 兼容设置修改复用已有档位,减少插件自身引起的重复准备;更多档位提供更细的调节步距,同时增加首次准备时间和显存使用。
17+
- 将首次管线准备分散到多个处理机会,减轻集中创建的阻塞;所需管线和档位完成前保留合法游戏输出。
18+
- 开发工具新增本地控制接口和同帧区域诊断。正式 Publishing 安装包编译排除该诊断与控制路径;容量复用及少量热备实验仍默认关闭。
19+
20+
### 修复内容
21+
22+
- 修复 Render 路径准备备用档位和原生帧生成颜色处理切换描述符堆时遗留旧资源绑定的问题。
23+
- 必需的 HUDless 输入持续缺失时暂停自动调节,避免永久停在准备状态;输入恢复后重置相应历史再恢复。
24+
- 修复 NR 关闭时私有 FG 记录阻挡资源退休的问题,保留 GPU 完成及外部资源安全条件。
25+
- 改进阶段设置错误提示、准备中关闭和重新启用的恢复路径,并扩展相应自动回归。
26+
27+
### 验证情况
28+
29+
已完成受影响的 CPU、严格软件 WARP/MOCK、配置事务、真实 ImGui 交互、界面快照及普通/开发构建检查。原生 NGX 工具在单颜色、单 Pass 条件下验证了默认档数和 15 档的完整准备、就绪后切档零新增资源及 OFF 清理。
30+
31+
《巫师 3》DX12 的游戏内验证使用 **6 档固定静态场景**,覆盖准备就绪、有限阶段往返、关闭释放,以及准备中关闭后重新启用。**未进行游戏内 15 档或动态画质验收**。真实宿主的确认弹窗 Cancel 点击未完成,现有 ImGui/配置事务测试覆盖其取消语义;该宿主输入触发问题尚未定位。
32+
33+
v0.4.3 Tag 流程重新执行 Publishing 构建、软件自动测试、PE 版本及打包检查;最终附件在公开前核对源码身份、诊断隔离和 SHA-256。此前实机证据对应开发候选,最终发布附件不另计为已完成游戏验收。
34+
35+
### 已知限制
36+
37+
自适应主要支持原生 DX12 单阶段及兼容的同尺寸 FG 链;跨阶段、FG 异尺寸、DX11 Bridge 和 Vulkan 继续使用手动分辨率。初次启用、模型或游戏资源变化仍可能需要准备,单次驱动/NGX 调用可能短暂停顿;显存不足时保留选择并暂停,可减少档数后重试。
38+
39+
游戏内自动降档/回升的动态流畅度、细节与闪烁以及实际 CG/读档恢复仍待人工验收。本版本未扩大游戏兼容性结论,也不包含隔帧编辑复用。
40+
41+
### 安装说明
42+
43+
下载 Windows x64 ZIP 与对应 `.zip.sha256` 并校验。关闭游戏,备份插件及设置,替换 `renodx-dlss5.addon64`,避免重复加载并保留许可文件。另行准备支持完整 Add-on/API 18 的 ReShade 和合法取得的兼容 `nvngx_dlssnr.dll`。安装包包含中英文离线 HTML 玩家手册,不附带厂商 Runtime、模型、SDK 或 ReShade 加载器。
44+
45+
## English
46+
47+
### Highlights
48+
49+
Adaptive resolution now offers Default or 2–15 levels. It prepares the selected collection before automatic adjustment begins, then reuses ready resources during normal level changes. Preparation proceeds in steps, with improved shutdown, recovery and resource cleanup.
50+
51+
### Features & Improvements
52+
53+
- Keep using a target output FPS without an extra frame-rate program. The count includes the manual upper limit. Distinct sizes depend on the minimum scale and rounding: 67% allows up to eight levels, and 33% up to fifteen.
54+
- Compatible setting edits reuse existing levels, reducing unnecessary preparation caused by the add-on. More levels offer smaller adjustment steps at the cost of additional initial preparation time and video memory.
55+
- Initial pipeline preparation is spread across processing opportunities to reduce concentrated blocking. Valid game output is retained until the required pipelines and levels are ready.
56+
- Development tools add a local control interface and same-frame region diagnostics. The official Publishing package compiles out these diagnostic and control paths. Capacity-reuse and small-standby experiments remain off by default.
57+
58+
### Fixes
59+
60+
- Fixed stale resource bindings when preparing standby levels in the Render path and switching descriptor heaps for native frame-generation color processing.
61+
- Sustained loss of required HUDless input pauses automatic adjustment instead of leaving preparation pending indefinitely. Recovery resets the relevant history before resuming.
62+
- Fixed private FG recordings blocking resource retirement when NR is disabled, while retaining GPU-completion and external-resource safety requirements.
63+
- Improved stage-setting error messages and recovery when disabling NR during preparation and enabling it again, with corresponding automated regression coverage.
64+
65+
### Validation
66+
67+
Affected CPU, strictly software WARP / MOCK, configuration transaction, real ImGui interaction, UI snapshot, and ordinary/development build checks passed. Independent native NGX tools validated full preparation, ready switches without new resources, and OFF cleanup for the default count and 15 levels under a single-color, single-pass contract.
68+
69+
In-game Witcher 3 DX12 checks used **six levels in a fixed static scene**, covering readiness, limited stage round trips, resource release, and disabling NR during preparation followed by recovery. **Fifteen levels in game and dynamic image quality were not tested.** The confirmation dialog's Cancel click was not completed in the real host; existing ImGui and configuration transaction tests cover cancellation semantics. The host input-trigger issue remains unlocated.
70+
71+
The v0.4.3 tag workflow reruns the Publishing build, software automated tests, PE version and packaging checks. Final assets are checked for source identity, diagnostic isolation and SHA-256 before publication. Earlier in-game evidence belongs to development candidates; the final release assets do not receive an additional in-game acceptance claim.
72+
73+
### Known Limitations
74+
75+
Adaptive sizing primarily supports native DX12 single-stage paths and compatible same-size FG chains. Cross-stage chains, mismatched FG sizes, DX11 Bridge and Vulkan retain manual resolution. Initial activation and changes to models or game resources may still require preparation. Individual driver/NGX calls can briefly stall; insufficient video memory preserves the selection and pauses adjustment, allowing a retry with fewer levels.
76+
77+
Dynamic in-game down/up shifts, smoothness, detail, flicker, and actual cutscene/load recovery still await manual acceptance. This release makes no broader game-compatibility claim and does not include alternate-frame editing reuse.
78+
79+
### Installation
80+
81+
Download and verify the Windows x64 ZIP and matching `.zip.sha256`. Close the game, back up the add-on/settings, replace `renodx-dlss5.addon64`, avoid duplicate active copies and keep the licenses. Supply ReShade with full add-on/API 18 support and a legally obtained compatible `nvngx_dlssnr.dll` separately. The package includes the bilingual offline HTML player guide; vendor runtimes, models, SDKs and the ReShade loader are not bundled.

‎fg_native.hpp‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,17 @@ inline bool PrepareNativeColorInputs(Stream* stream, Slot* slot, const fg::Frame
274274
}
275275
if (slot->color_heap == nullptr) {
276276
const D3D12_DESCRIPTOR_HEAP_DESC desc{.Type = D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV,
277-
.NumDescriptors = 6, .Flags = D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE};
277+
.NumDescriptors = 8, .Flags = D3D12_DESCRIPTOR_HEAP_FLAG_SHADER_VISIBLE};
278278
if (FAILED(stream->device->CreateDescriptorHeap(&desc, IID_PPV_ARGS(&slot->color_heap)))) return false;
279+
const auto cpu = slot->color_heap->GetCPUDescriptorHandleForHeapStart();
280+
const auto stride = stream->device->GetDescriptorHandleIncrementSize(D3D12_DESCRIPTOR_HEAP_TYPE_CBV_SRV_UAV);
281+
D3D12_SHADER_RESOURCE_VIEW_DESC null_srv{
282+
.Format = DXGI_FORMAT_R32_FLOAT,
283+
.ViewDimension = D3D12_SRV_DIMENSION_TEXTURE2D,
284+
.Shader4ComponentMapping = D3D12_DEFAULT_SHADER_4_COMPONENT_MAPPING, .Texture2D = {.MipLevels = 1}};
285+
stream->device->CreateShaderResourceView(nullptr, &null_srv, DescriptorHeapSlot(cpu, 6, stride));
286+
null_srv.Format = DXGI_FORMAT_R16G16_FLOAT;
287+
stream->device->CreateShaderResourceView(nullptr, &null_srv, DescriptorHeapSlot(cpu, 7, stride));
279288
}
280289
return true;
281290
}
@@ -310,6 +319,10 @@ inline void RecordNativeColorInputs(Stream* stream, Slot* slot, ID3D12GraphicsCo
310319
const auto gpu = slot->color_heap->GetGPUDescriptorHandleForHeapStart();
311320
list->SetComputeRootDescriptorTable(0, gpu);
312321
list->SetComputeRootDescriptorTable(1, {gpu.ptr + static_cast<uint64_t>(4) * stride});
322+
// The shared codec root signature also retains depth/motion tables across
323+
// heap switches, even though this color shader does not read them.
324+
list->SetComputeRootDescriptorTable(3, {gpu.ptr + static_cast<uint64_t>(6) * stride});
325+
list->SetComputeRootDescriptorTable(4, {gpu.ptr + static_cast<uint64_t>(7) * stride});
313326
const uint32_t size[4]{input.color_width, input.color_height};
314327
list->SetComputeRoot32BitConstants(2, 4, size, 0);
315328
list->Dispatch((input.color_width + 15) / 16, (input.color_height + 15) / 16, 1);

0 commit comments

Comments
 (0)