feat(dlss): DLSS 5 neural rendering when NVIDIA's nvngx_dlssnr.dll is in place #2503
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2503
Loading…
Reference in a new issue
No description provided.
Delete branch "pmwork-personal/Longshot:feat/dlss5-drop-in"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type: feat · Risk: medium · Tested on: Windows 11, RTX 5090 · Needs: Windows, NVIDIA RTX 50 with NVIDIA's nvngx_dlssnr.dll, Linux build
Summary
DLSS 5 is NVIDIA's neural rendering model: it adds detail to faces, skin and surfaces. This PR brings TheDevil's DLSS 5
work (#619 and #620, from HypeZ85's Hookshot PR 1590) to current main as a drop-in: a player puts NVIDIA's own
nvngx_dlssnr.dllin the game'sngxfolder (or%LOCALAPPDATA%\Longshot\ngx), and DLSS 5 appears on the Graphicstab under the Upscaler's rows; without the file there is no row and no message. The Graphics tab gets three rows (DLSS 5,
a Default/Custom preset tuned in the game, and DLSS 5 settings, which opens a page with the Bloodborne PC port's tuning
rows); the preset says "Custom" once a row on the page is moved. It ran in the game on
an RTX 5090 with NVIDIA's unchanged, signed file: 43,800 frames through every row and preset, no failure; with DLSS 5 Off
(the default) it measures the same as main.
Credits
a1f730de): NGX feature 18 and itsDLSSNR.*parameters.scaled proxies, the NR time and VRAM lines, most of the tests). This PR starts from #619/#620's code as one commit
with TheDevil as co-author, then changes it as below.
GPL-3.0): the public source of how the model is driven, and the composition the Bloodborne port's follows.
its blend between the picture's own colour and the model's follows RenoDX's DLSS 5 addon (clshortfuse).
Breakdown
NVIDIA DLSS, DLAA or AMD FSR as the Upscaler.
vk_menu.cpp's table (Enable, Intensity, NR resolutionscale, Stage, Compare, Retry detection), shown in every NGX build, conflicting with main's menu modules, and had not run
in the game.
gpu/vk/menu/dlss5.cpp: three rows on the Graphics tab, the tuning rows on a DLSS 5settings page; the rows show only when the DLL is found where NGX searches;
the model runs after the upscaler only (no jitter there, so it keeps its history); its picture comes back through the
Bloodborne port's composition; the four model strengths are sent only at Model strengths Applied; a model resolution
change settles 350 ms before the model is made again.
dispatch; DLSS, DLAA, FSR, XeSS and frame generation as on main. Longshot does not include, download or change NVIDIA's
file.
the composite's blend run on the CPU); headless runs through the control bridge; a 25-minute screen run on an RTX 5090
through every row; a DLSS 5 Off A/B against main.
why it does not start); AMD FSR as the Upscaler with DLSS 5 on screen.
Why
#619 and #620 showed DLSS 5 runs through NGX's normal API with NVIDIA's signed file. The review on #619 asked for a run in
the game, fewer player rows, the parameters' source, and checks cut with
srccut. This PR:nvngx_dlssnr.dll310.9.16.0 (Testing);tab, the tuning rows on a page of their own;
public OptiScaler DLSS-NR fork; nothing is decompiled, no NVIDIA file is in the repository, and the player supplies
NVIDIA's file;
uses them to find the default; the plan is to drop the sliders once it is settled and keep the Default preset;
NGX is checked before anything is made;
version.dllcomes from System32.What changed
gpu/vk/menu/dlss5.cpp,dlss5.h(new): on the Graphics tab right after Sharpness, DLSS 5, DLSS 5 preset (Default,Custom) and DLSS 5 settings, no heading of their own (the menu draws a section's title over rows all hidden); the
DLSS 5 settings page holds Model resolution, Detail strength, Colour strength, Style, Model strengths, Intensity, Local
structure, Local tone, Skin structure, Automatic skin mask and Highlight guard; the rows past On show while On; the
four strengths locked unless Applied; every DLSS 5 row's help starts with
[EXPERIMENTAL]; keys intests/test_menu_ini_keys.py's FROZEN.gpu/vk/vk_menu.cpp: the page'sslot (
TAB_DLSS5, beside the Simulated turf page's; Back returns to Graphics).gpu/vk/vk_dlss.cpp,vk_dlss.h: DLSS 5 (NGX feature 18) from #619/#620, after the upscaler only;nr_runtime()/dlss_nr_offered()look for the DLL in every folder NGX searches (runtime_dirs); the strengths sent only at Applied;the model's preset 2 (the Bloodborne port's); DLSS's own
prepare,evaluate,releaseanddlss_retryas on main.gpu/vk/dlss_nr_settings.h,dlss_nr_support.h: the model's settings and their settle, the working size, why DLSS 5does not run (messages for the row's line).
gpu/vk/shaders/dlss_nr_composite.comp(+ header, glslang 16.6.0): detail strength (a power above 1), the two-sidedhighlight guard, colour strength (OkLab chroma above 1, as much as the detail strength takes of the model's picture up
to 1, so detail 0 is the upscaler's picture at any colour strength; the Bloodborne port adds it at any detail, and from
detail 1 the two are the same).
gpu/vk/vk_temporal.cpp: DLSS 5 after the upscaler's evaluation, before the HUD.gpu/vk/vk_menu.cpp:RX_VK_DLSS_NRat the start; the FPS counter's NR time and NR VRAM lines (Dev level). WithDLSS 5 Off and nothing of it made, the chain returns before DLSS's lock; the DLL is looked for once a run.
RX_VK_DLSS_NR_INTENSITYand the menutranslations (the texts changed; translations can follow).
docs/user/dlss5.md(new), the settings table,docs/dev/reference/switches.md, twodocs/tested/files.website/src/repo-docs/graphics-settings.ts) gets the DLSS 5 rows'two conditions as badges and registers the preset and page rows, with a site test;
scripts/screenshots/menu.cppstands in for the menu's six new DLSS 5 calls;
settings-graphics.pngis kept after a source review(
docs/user/images/guide/source-review-6b76485a.md, the manifest's review record).test_dlss5_menu.py,test_dlss_nr_runtime.py(new);test_dlss_nr_chain.py(was_stage); the compositecheck runs the blend on the CPU; the checks that cut changed source follow it (
test_pass_barrier,test_menu_slider_ends,test_menu_env_overrides); #619/#620's Compare, controls, i18n, menu and release checks gowith what they checked.
Measurements
Verdict: with DLSS 5 Off (the default) the branch costs nothing measurable: median 83.6 fps against main's 81.7, within
the spread of the runs (main 77.5 to 81.8, the branch 77.3 to 86.6). DLSS 5 On is the player's choice and costs a lot of
GPU time (Risks).
Setup: Windows 11 Pro build 26300, NVIDIA GeForce RTX 5090, driver 621.24, AMD Ryzen 7 9800X3D, 64 GB; Kokiri Forest,
5120x2160 with NVIDIA DLAA; the presents counted over 60 s, headless, A B A B A B (details below)
Hardware: Windows 11 Pro build 26300; NVIDIA GeForce RTX 5090, driver 621.24; AMD Ryzen 7 9800X3D, 64 GB
Scene: Kokiri Forest (child), the repository's kokiri-start save, camera still; 5120x2160, NVIDIA DLAA before the bloom,
frame generation and V-Sync off, the frame cap off (HOS_FPS_MAX=1000), the tester's own settings otherwise (pinned
with HOS_OPTIONS_FILE, a fresh copy each run, no DLSS 5 key: Off)
Method: the game off-screen (HOS_HEADLESS=1) from the control bridge, each run a timing job of the PC's queue, A B A B A B;
a warm-up of 1,800 presents, then the presents counted over 60 s; the median of 3 runs each. Both sides on the shared
base of main
9046a8d7(main alone, and this branch's pack over it), so the comparison is like for like (dev.py abwould have built a base of its own)
Builds: main @
9046a8d7; this PR @ced68f16(the same base). The head adds the settings page, the preset's name andthe self-review's fixes after it; with DLSS 5 Off they only take work away (the chain returns before its lock), so the
numbers hold
9046a8d7ced68f16(DLSS 5 Off)Every run:
switches set (8): HOS_AUDIO_MUTE=1, HOS_CONTROL, HOS_DISCORD=0, HOS_FPS_MAX=1000, HOS_HEADLESS=1, HOS_OPTIONS_FILE, LONGSHOT_BUILD_NAME, RX_VK_FRAMEGEN=0;NVIDIA DLSS: feature 1 made ... 5120x2160 ... mode 5 ... (DLAA before the bloom); no DLSS 5 line on either side.On main
fb724339(after #2286's Rust builder and #2411'sgame/move; merged into this PR in68b15b72and309593ca): not measured again. The merge changes no DLSS 5 code, and with DLSS 5 Off the chain returns at its first line, so the comparison above still holds; absolute fps onfb724339differ from 9046a8d7's by #2286's builder, on both sides alike.Flags and settings
Adds
RX_VK_DLSS_NR,RX_VK_DLSS_NR_DEBUG,RX_VK_DLSS_NR_LINUX,RX_VK_NR_TEST_REJECT_INTENSITYand the optionsfile's
dlss5anddlss5_*keys.RX_VK_DLSS_NR=1/=0over the DLSS 5 rowRX_VK_DLSS_NR_DEBUG1..5: its input, the raw output, difference x20, depth, motionRX_VK_DLSS_NR_LINUX=1shows the rows and asks the native NGXRX_VK_NR_TEST_REJECT_INTENSITYLONGSHOT_NR_TESTINGbuildsdlss5,dlss5_*(options file)Testing
Tested: Windows 11, RTX 5090, driver 621.24, NVIDIA's
nvngx_dlssnr.dll310.9.16.0 (signed by NVIDIA, unchanged) inthe game's
ngxfolder:feature 18 with Longshot's project ID ("DLSS 5 preflight: ... ready"); Model strengths Applied made it again with the
four strengths, the preset row said Custom, choosing Longshot (now Default) put every row back; 50% made it at 1712x720; DLAA after
the bloom (the SDR route) kept it running; Off let it go after 2 s. 4,421 frames, no failure.
100%, the four strengths, the skin mask, the preset, DLSS with dynamic resolution, DLAA again and HDR Native: NGX made
the model 87 times in 35-170 ms of CPU each and evaluated 43,800 frames, no failure, no refused setting; many fast
Off/On (the model kept within 2 s). The tester's values became the Default preset.
after the fix, headless, the same 7 steps 0.15 s apart made it once, at 3328x1408.
d5c92e21), headless: DLSS 5 On from the tester's settings, then the page's Model resolution in 7 stepsthrough the control bridge: one make, at 3328x1408; no Vulkan error in the log.
tests/run_all.pyat the headd5c92e21: 910 pass, 24 fail, 55 skipped; 22 of the 24 fail on main9046a8d7on this PCtoo (test_auto_handheld, test_cmpflags, test_crash_dialog, test_dev_ab, test_dev_build, test_dev_migrate,
test_fastfp_fma, test_float_add_subgroup, test_fma_soft, test_fpx_sticky, test_fpxkeep, test_game_menu_mouse_buttons,
test_input_movie, test_linux_preflight, test_pads_after_menu, test_perf_report, test_portable_builder_startup,
test_sdiv_overflow, test_spawn_emit, test_vbytes, test_vecfp, test_vfpx_elem); the other 2 (test_job_queue,
test_sampler_admission) ran inside a job of the PC's queue and pass alone.
349bb6f4): the site'sreadGraphicsSettingsand the new site test's checks pass withNode 24 (
npm ciand the full site build not run here); the Guide screenshots job's three steps pass; the 14 Pythonchecks that read the changed files pass; the screenshot fixture's menu sources, linked on Windows, leave the same
symbols unresolved on main and here (none of DLSS 5's).
2f3acd71):test_dlss_nr_composite.pychecks detail 0 at colour 0, 1,1.26 and 2, the half step and the full boost from detail 1 (the detail-0 check fails on the old shader). Headless on
the RTX 5090 (5120x2160, DLAA, DLSS 5 On at Default): detail 1.64, 0, 0.5 and 1.64 for 600 frames each: one model made,
2,400 frames evaluated, no DLSS 5 refusal, no Vulkan error.
Not run here: a Linux build and Linux DLSS 5 (no native NR runtime here; the rows stay hidden without
RX_VK_DLSS_NR_LINUX=1); RTX 20/30/40; AMD FSR 3.1 / FSR 4 as the Upscaler with DLSS 5 on screen. No screenshots areattached: with DLSS 5 Off (the default) the picture is main's, and with it On the look is the tester's preset.
Still to test:
"@Beanstalk build this PR on Linux and start the game").
to say NVIDIA could not start it and the game to run on as with it Off (by hand).
output resolution, expecting the picture as with DLSS as the Upscaler and no DLSS 5 refusal in the log (by hand).
Risks
What could break: with DLSS 5 On: a lot of GPU time (in the screen run at 5120x2160 with the model at 65% and HDR
Native, the presents were mostly 22-30 ms apart, against 77-86 fps with it Off in the A/B; not a controlled
measurement), the model's own video memory, and the picture where the model is wrong. With it Off or without the file:
nothing runs (the chain returns at its first line).
Turning it off: the DLSS 5 row Off (the default),
RX_VK_DLSS_NR=0, or remove the file; revert the commit.Compatibility: new keys in
longshot_options.ini(dlss5,dlss5_*); no save, cache or ABI change.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
gpu/vk/switches.def.tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.Co-Authored-By: vivens12345671-netizen [email protected]
Co-Authored-By: Claude Opus 5.5 [email protected]
🤖 Generated with Claude Code
Tested in game: Windows 11 Pro 26300, RTX 5090, NVIDIA 621.24, NVIDIA's signed nvngx_dlssnr.dll 310.9.16.0 in the game's ngx folder: about 25 minutes on screen in Kokiri Forest at 5120x2160 with DLAA, every DLSS 5 row and style, the preset, model resolution 50-100%, DLSS with dynamic resolution, DLAA again and HDR Native; NGX made feature 18 87 times and evaluated 43,800 frames after the upscaler with no failure. Headless on the head
d5c92e21: DLSS 5 On, the settings page's model resolution in 7 steps made the model once. With DLSS 5 Off: the same fps as main in a 3+3-run A/B.@review
Recommendation: Request changes. At the default colour strength, setting Detail strength to zero still changes the picture’s saturation, although that setting promises the upscaler’s picture. The feature’s visual result, enabled cost, and untested platform paths also need evidence before merge.
Adds an optional NVIDIA neural-rendering pass after the temporal upscaler, with a settings page and diagnostics. It ran on an RTX 5090, but adds substantial GPU work when enabled and its default composition can alter colour even when detail is set to zero.
Blocking (4): must change before merging.
gpu/vk/shaders/dlss_nr_composite.comp:71: Colour amplification still runs when Detail strength is zero, so zero does not return the upscaler's picture as the row promises. (more on the line) Do: Make zero detail an identity regardless of colour strength, and add a composite test using detail 0 and colour greater than 1.Guide screenshots / Guide images and local UI source review (pull_request)fails on this head and passes on the base branch: Failing after 16s.CI / Website build and checks (pull_request)fails on this head and passes on the base branch: Failing after 19s.Website / Website builds (pull_request)fails on this head and passes on the base branch: Failing after 29s.Testing before merging (3) (runs on the systems it can change; it doesn't hold the recommendation)
@fixcan do L1, L5, L6 and L7.More: does it help, other systems, switches, what was read
Does it help: Unproven visually: the author reports 43,800 evaluated frames on an RTX 5090 but supplies no before-and-after images. With DLSS 5 off, three headless runs per side measured medians of 81.7 fps on main and 83.6 fps on an earlier PR commit, within the reported run-to-run spread; there is no controlled enabled-cost comparison.
Other systems: The new pass can follow DLSS, DLAA and FSR, including HDR and dynamic resolution. The reported Windows run covers DLAA, DLSS dynamic resolution and HDR on an RTX 5090; FSR on screen, older RTX cards and a Linux build and start remain untested. The off-path comparison is headless and predates the final commits.
Switches: RX_VK_DLSS_NR defaults to the saved row, which defaults Off; RX_VK_DLSS_NR_DEBUG defaults to 0; RX_VK_DLSS_NR_LINUX defaults Off; RX_VK_NR_TEST_REJECT_INTENSITY is unset and only acts in test builds. These have switch-table entries. The saved DLSS 5 controls default to the author's tuned preset; its visual suitability beyond the tested scene is unproven.
Reviewed:
d5c92e2163against9046a8d750: Read the repository's AGENTS.md, CONTRIBUTING.md, PR template and relevant standards; the commit log, rendering and menu diffs, DLSS 5 settings and support headers, shaders, menu module, and portions of the new tests and recorded runs. Skimmed generated SPIR-V and did not read every changed test or every unchanged portion of the large renderer files in full. docs/review-checklist.md was absent.; nothing run (a code review).Checked and fine:
Testing: Read-only review; no builds, scripts or tests were run. The supplied CI reports three head-only failures, which the review bot handles separately.
Overlaps and merge order: Not checked; network access is unavailable.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
@ -0,0 +68,4 @@float amplified = pow(max(ratio, 1e-6), 1.0 + max(pc.detail - 1.0, 0.0));float guard = max(pc.guard, 1.0);float bounded = clamp(amplified, 1.0 / guard, guard);up *= bounded / max(ratio, 1e-6);L1 (blocking): Colour amplification still runs when Detail strength is zero, so zero does not return the upscaler's picture as the row promises.
When: With the default colour strength of 1.26 and Detail strength set to 0, the blend initially selects the original pixel, then the OkLab chroma multiplication increases its saturation. This affects both the full-resolution path and the scaled residual path.
Do: Make zero detail an identity regardless of colour strength, and add a composite test using detail 0 and colour greater than 1.
- website/src/repo-docs/graphics-settings.ts: badges for DLSS 5's conditions ("shown only with NVIDIA's `nvngx_dlssnr.dll`", "shown while DLSS 5 is On"); the DLSS 5 preset (a view of the page's rows) and the DLSS 5 settings page row registered as Dynamic resolution's and Simulated turf's are. The site's build stopped at "The table names no condition for DLSS 5". A site test for both. - docs/user/graphics-and-controls.md: the DLSS 5 preset's line names its condition. - scripts/screenshots/menu.cpp: stand-ins for the menu's six new DLSS 5 calls (no DLL: no DLSS 5 row). - docs/user/images/guide: settings-graphics.png kept after reviewing the six changed UI sources and five new ones (source-review-2c4516b8.md); the manifest's review record and fixture hash follow. Co-Authored-By: Claude Opus 5.5 <[email protected]>Thanks for the review. At the new head:
2f3acd71): the extra chroma above colour strength 1 now follows Detail strength up to 1: none at 0, all ofit from 1. Detail 0 is the upscaler's picture at any colour strength, as its row says. From detail 1 the shader does the
same operations as before, so the Default preset (detail 1.64) looks the same. The Bloodborne port's composite adds the
chroma at any detail; the PR description and
docs/user/dlss5.mdsay where this differs.tests/test_dlss_nr_composite.pynow checks detail 0 at colour 0, 1, 1.26 and 2, the half step at detail 0.5 and the full boost from detail 1; the
detail-0 check fails on the old shader. Headless on the RTX 5090 (5120x2160, DLAA, DLSS 5 On at Default): detail 1.64, 0, 0.5 and 1.64 for 600
frames each: one model made, 2,400 frames evaluated, no DLSS 5 refusal, no Vulkan error.
349bb6f4): the website's settings check now knows the DLSS 5 rows' two conditions and registersthe preset and page rows, with a site test. The Graphics guide image is kept after a source review
(
docs/user/images/guide/source-review-2c4516b8.md): with no DLSS 5 file the fixture, like a PC without it, shows noDLSS 5 row. The fixture gets stand-ins for the menu's six new DLSS 5 calls.
resolution; the FPS counter's Dev level shows DLSS 5's GPU time and VRAM. Whether an On comparison is needed before
merge is for the maintainers.
Farm), an older RTX with the DLL (by hand).
@review
Recommendation: Approve. The code is ready: only testing is left. The detail-strength fix addresses the reported colour amplification. The enabled look and cost, FSR path, Linux startup, and older RTX fallback still need the runs identified in the ledger. Recommend approval; not approved on the forge.
Adds optional DLSS 5 neural rendering and tuning controls for players who supply NVIDIA's runtime. It adds a rendering pass and settings complexity, with a substantial GPU cost when enabled.
Testing before merging (3) (runs on the systems it can change; it doesn't hold the recommendation)
Since the last review (on
d5c92e2163)Resolved: L1 (Colour amplification still runs when Detail strength is zero, so zero does not return the…); L5 (The check
Guide screenshots / Guide images and local UI source review (pull_request)fai…); L6 (The checkCI / Website build and checks (pull_request)fails on this head and passes on…); L7 (The checkWebsite / Website builds (pull_request)fails on this head and passes on the b…)Still open: L2 (The new default look and its enabled GPU cost have not been compared with the original pic…); L3 (The FSR-to-DLSS 5 path has not been exercised on screen.); L4 (The changed platform code has not yet been built and started on Linux, and the unsupported…)
More: does it help, other systems, switches, what was read
Does it help: Unproven for the enabled visual result and cost: there is no controlled comparison with the original picture. The reported Off comparison was 81.7 versus 83.6 median FPS across three runs per side on an RTX 5090, within the run-to-run spread.
Other systems: The RTX 5090 DLAA path ran on screen; FSR with DLSS 5, Linux build and startup, and older RTX fallback remain untested. The default-off path was measured on Windows with NVIDIA hardware.
Switches: RX_VK_DLSS_NR overrides the saved Off default; RX_VK_DLSS_NR_DEBUG and RX_VK_DLSS_NR_LINUX default unset; RX_VK_NR_TEST_REJECT_INTENSITY is restricted to testing builds. The dlss5 options default to Off with a tuned preset; the Off default is supported by the reported measurements.
Reviewed:
2f3acd718cagainst9046a8d750: Read the composite shader, changed website settings parser and screenshot fixture diff, repository rules and pull request template; skimmed the recorded runs, shader and documentation changes. The full original pull request diff, generated headers, and all changed code files were not read in full.; nothing run (a code review).Checked and fine:
Testing: No commands from the project or tests were run. The author reports a Windows RTX 5090 screen run and headless checks; the outstanding hardware runs are listed in the ledger.
Overlaps and merge order: Not checked; network access is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.
fb724339into feat/dlss5-drop-in 68b15b72f8Merged main
fb724339(68b15b72,309593ca). The two conflicts were docs and website only (the guide manifest's review hashes,graphics-settings.ts's coverage condition), andtest_dlss5_menunow linksgame/menu's rows ascompile_menudoes since #2411. The A/B compared main and this change with DLSS 5 Off; the merge changes no DLSS 5 code, which does nothing while DLSS 5 is Off, so that comparison still holds (absolute FPS onfb724339differ by #2286's builder, on both sides). The renderer compiles on the merge, andrun_all.py --changedpasses except for main's own failures on this PC. CI part 1/4 failed only in downloading glslang (curl 56); a re-run should pass.@review
Recommendation: Approve. The code is ready: only testing is left. DLSS 5 ran on an RTX 5090, but its enabled default look and cost still need a controlled comparison, and the FSR, Linux and older-RTX paths remain untested. Recommend approval; not approved on the forge.
The change adds an optional DLSS 5 pass and tuning controls for players who supply NVIDIA's runtime. It is off by default; enabling it adds GPU work and changes the picture.
Testing before merging (3) (runs on the systems it can change; it doesn't hold the recommendation)
Since the last review (on
2f3acd718c)Still open: L2 (The new default look and its enabled GPU cost have not been compared with the original pic…); L3 (The FSR-to-DLSS 5 path has not been exercised on screen.); L4 (The changed platform code has not yet been built and started on Linux, and the unsupported…)
Checks: Failing on this head, which is behind its base, where it passes:
CI / Lint (pre-commit, ShellCheck) (pull_request).@rebase(or@fix) brings it up to date and runs it again; not held against it. Still running: 9 checks.More: does it help, other systems, switches, what was read
Does it help: Unproven for the enabled default look and cost: no controlled on/off visual and GPU-time comparison is recorded. With DLSS 5 off, the earlier three-run medians were 81.7 fps on main and 83.6 fps on the branch, within the reported run-to-run spread; these measurements predate the merge to the current base.
Other systems: The recorded on-screen run covers Windows and an RTX 5090 with DLAA, dynamic-resolution DLSS and HDR Native. FSR 3.1 and FSR 4 with DLSS 5 on screen, Linux build and startup, and the older-RTX fallback remain open. CI is still running.
Switches: RX_VK_DLSS_NR is unset by default and overrides the saved Off setting; RX_VK_DLSS_NR_DEBUG defaults to 0; RX_VK_DLSS_NR_LINUX defaults off; RX_VK_NR_TEST_REJECT_INTENSITY is available only in testing builds. The saved DLSS 5 setting defaults Off. These are reasonable defaults for an experimental feature, subject to the outstanding runs.
Reviewed:
500358d403againstfb724339ae: Read the since-ledger changes in the DLSS 5 menu and test files, the DLSS 5 menu diff, the settings and support headers, and the recorded-run summaries. The full base diff and all changed code files were not read in full; generated files and the guide manifest were not fully reviewed.; nothing run (a code review).Checked and fine:
Testing: No tests or project code were run during this review. The author reports a Windows RTX 5090 game run and an off-state A/B; CI remains in progress.
Overlaps and merge order: Not checked.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.