Skip to content

feat(vk): add optional NVIDIA DLSS Super Resolution and DLAA - #1071

Closed
rac08241988 wants to merge 1 commit into
NotRexed:mainfrom
rac08241988:cursor/vk-optional-dlss-71b4
Closed

rac08241988 wants to merge 1 commit into
NotRexed:mainfrom
rac08241988:cursor/vk-optional-dlss-71b4

Conversation

@rac08241988

Copy link
Copy Markdown

DLSS takes the place of the game's TAAU network when the Insert menu asks for it and hookshot_ngx.dll is beside the renderer. Without that DLL, or on a GPU that is not NVIDIA's, the network runs as before. NVIDIA's SDK and nvngx_dlss.dll are not in this tree; the bridge build points at a checkout of the SDK.

The Sharpness slider's window pass is a contrast-adaptive sharpen one source pixel apart, so it still has an effect when the window is larger than the picture.

Assisted-by: Cursor Grok 4.7

DLSS takes the place of the game's TAAU network when the Insert menu
asks for it and hookshot_ngx.dll is beside the renderer. Without that
DLL, or on a GPU that is not NVIDIA's, the network runs as before.
NVIDIA's SDK and nvngx_dlss.dll are not in this tree; the bridge build
points at a checkout of the SDK.

The Sharpness slider's window pass is a contrast-adaptive sharpen one
source pixel apart, so it still has an effect when the window is larger
than the picture.

Assisted-by: Cursor Grok 4.7
Co-authored-by: Rattlehead <rac08241988@users.noreply.github.com>
@rac08241988

rac08241988 commented Nov 9, 2026 •

Copy link
Copy Markdown
Author

I tested on my system and it seems to work very well. gains some frames when the quality is changed. Dlaa is working and makes the game look amazing. This is my 5th version. I didn't know someone else was already working on dlss maybe merge these 2. My fixes with his.

Ryzen 7 5800x3d
3070ti
32gb ram

@NotRexed NotRexed mentioned this pull request Nov 9, 2026
3 tasks done
@hckrman101

Copy link
Copy Markdown
Collaborator

There's already an advanced branch #841 which supports both Windows and Linux, taking a look at this one

@hckrman101

hckrman101 commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Thanks for this, and for testing on a 3070 Ti! I'm working on the other DLSS PR, #841, and I'm folding your improvements into it rather than running two DLSS branches side by side.

#841 covers DLSS Super Resolution, DLAA and Reflex on both Windows and Linux. It links NGX directly, so no bridge DLL is needed. It also has:

  • sub-pixel camera jitter;
  • per-object motion vectors for characters, so they don't trail;
  • an opt-in tick in the Builder that fetches NVIDIA's files after their license is accepted.

From this PR I'm taking:

  • The Sharpness fix: sampling one source pixel apart, with an RCAS-style contrast-adaptive sharpen. This goes in its own small PR, crediting this one, since it fixes Sharpness for everyone, not just DLSS.
  • A DLSS model choice (Transformer / newer models / NVIDIA's default) in the menu.
  • A video-memory note for 8 GB cards, like yours.

If you have time, a test of #841 on your 3070 Ti would be really useful. It has been tested on an RTX 3090 (Linux) and an RTX 5080 (Windows), but not yet on an 8 GB card. The checklist in its description says what to look at.

@hckrman101

Copy link
Copy Markdown
Collaborator

Closing this now that #841 is merged (it shipped in v2.0.11). Thanks again for the work here and the 3070 Ti testing!

From this PR, these made it into main:

  • The DLSS model choice: the Upscaler's DLSS model row offers Transformer (K), Transformer 2 (M/L) and NVIDIA's default. The pinned 310.9.16 runtime accepts M.
  • The video-memory note: the log gets a status line every 600 frames with VRAM against the driver's allowance, and a one-time warning when it's exceeded. The readme also has a note for 8 GB cards.
  • The Sharpness finding is in its own PR, fix(vk): Sharpness samples one picture pixel apart, RCAS-style, the same at any window size #1256, crediting this one. Measured, the old sharpen did still work (the linear sampler blends neighbouring picture pixels), but its strength depended on the window size, and it clipped more. The RCAS-style version fixes both.

#841 also covers Linux, camera jitter, per-character motion vectors, Reflex and the Builder's opt-in tick. If you can try it on your 3070 Ti, a report on #841 or a new issue would be very welcome: the 8 GB case is the one we haven't seen yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants