From 433cc62ccebe890ee94f439c3e914386c3998a22 Mon Sep 17 00:00:00 2001 From: chrg6 Date: Thu, 12 Nov 2026 19:43:57 -0500 Subject: [PATCH] Leave the shared DLSS feature off until it has run on a card. It was compiled and linked only, and in this game the dynamic resolution's steps may never change the scene's render size, so it has nothing to gain by default yet. dlss_range = 1 turns it on. Co-Authored-By: Claude Fable 5.2 --- nx2navi.ini.example | 5 +++-- runtime/cfg.c | 2 +- runtime/vk_dlaa.c | 3 ++- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/nx2navi.ini.example b/nx2navi.ini.example index b0578041..36025a24 100644 --- a/nx2navi.ini.example +++ b/nx2navi.ini.example @@ -560,8 +560,9 @@ # the smaller render sizes DLSS allows on it (dynamic resolution's steps with dyn_res = 1, a screen that renders # smaller than play), so a change of size makes no new network and keeps the picture DLSS has built up. 0: every # render size has its own network and starts its picture anew. The log says for each network which render sizes it -# takes, and counts the changes of size that kept the picture against those that made a network. Read at start. -# dlss_range = 1 +# takes, and counts the changes of size that kept the picture against those that made a network. 0 is the default: +# the shared network has been compiled and not yet run on a graphics card. Read at start. +# dlss_range = 0 # Per-object motion vectors for DLSS: characters, animals and moving objects get their own motion instead of the # camera's, so DLSS keeps their history instead of smearing or rejecting it. Costs some CPU time each frame (about 1-2 ms # on a laptop CPU); 0 leaves camera-only motion. Read at start. diff --git a/runtime/cfg.c b/runtime/cfg.c index c1d2c5ae..269e2a6e 100644 --- a/runtime/cfg.c +++ b/runtime/cfg.c @@ -186,7 +186,7 @@ static const CfgMeta metas[] = { {"STANDIN_FILTER", "easu", "easu|bilinear", LIVE}, // vk_tonemap.c vk_tonemap_record: how the scene is scaled to the picture {"DLAA", "0", "0|1", LIVE}, {"DLSS", "dlaa", "dlaa|quality|balanced|performance|ultra_performance", LIVE}, {"DLSS_PRESET", "default", "default|k|j", LIVE}, {"DLSS_IDLE_FREE", "1", "0|1|2", RESTART}, {"TAA", "dlss", "dlss|fsr3", LIVE}, // vk_dlaa.c fsr3 - {"DLSS_RANGE", "1", "0|1", RESTART}, // vk_dlaa.c range_on: one DLSS feature for the render sizes of a mode + {"DLSS_RANGE", "0", "0|1", RESTART}, // vk_dlaa.c range_on: one DLSS feature for the render sizes of a mode {"FSR4", "0", "0|1", LIVE}, // vk_ffx.cpp vk_ffx_fsr4 {"FSR4_FG", "0", "0|1", LIVE}, // vk_fg.cpp use4 {"FRAMEGEN", "off", "off|fsr3|dlss", LIVE}, // vk_fg.cpp, vk_dlssg.c diff --git a/runtime/vk_dlaa.c b/runtime/vk_dlaa.c index 59531ccc..0707ae95 100644 --- a/runtime/vk_dlaa.c +++ b/runtime/vk_dlaa.c @@ -2051,7 +2051,8 @@ static void fsr3_sharpen(VkCommandBuffer cb, struct Size *e, uint32_t w, uint32_ } // ---------------------------------------------------------------- one feature for a range of render sizes -// NX2NAVI_DLSS_RANGE (nx2navi.ini dlss_range; 1 by default, 0: every render size has a feature of its own). +// NX2NAVI_DLSS_RANGE (nx2navi.ini dlss_range; 1 on; 0, the default until it has run on a card: every render size has +// a feature of its own). // The render size changes under one output size when dynamic resolution steps it (dynres.c) and when a screen renders // at another share than play. With a feature per size, each new size cost a feature creation (tens of milliseconds and // a wait for the GPU, release_kept) and each change a new history, a frame or more of soft picture.