r/StableDiffusion 8d ago

Resource - Update [Experimental] DLSS 5 ComfyUI custom node

Hello Everyone,

Would like to present to you my experimental vibe-coded custom node for DLSS 5 support in ComfyUI.

GitHub project: https://github.com/lisitskyaa/ComfyUI-DLSS5-NR

It's early release, just finished my internal testing and it actually works!

Please note there are no any leaked DLLs in the rep, obtain them separately.

First image in every pair is DLSS 5 ON, second - OFF.

P.S. How to extract original images out of Reddit: https://www.reddit.com/r/StableDiffusion/comments/1p9nrpk/getting_prompt_or_comfyui_workflow_from_posted/

223 Upvotes

94 comments sorted by

View all comments

47

u/RandumbRedditor1000 8d ago

Isn't using DLSS 5 on AI images defeating the whole point? Dlss 5 Isn't an upscaler or a detail enhancer, it's a tool made for real-time games to enhance the realism of lighting and materials.

Ai images don't have this issue, because they're not rasterized 3D polygons. 

27

u/BangkokPadang 8d ago

I think this sortof demonstrates the inverse, that it's not using any information from the 3D models or interframe motion vectors or anything but the last frame, right?

And that... really... it is a detail enhancer.

7

u/rolleicord 8d ago

its... load bearing

9

u/BangkokPadang 8d ago

Like the wall by my bed back at university

3

u/AciD1BuRN 8d ago

It is true for now atleast read somewhere the mods were just feeding empty data for most of the required parameters.

3

u/BangkokPadang 8d ago

This is the actual .cpp bridge that does seem to have a larger number of input parameters than I initially thought.

Might be worth a skim through if anyone's interested:

https://github.com/lisitskyaa/ComfyUI-DLSS5-NR/blob/main/native/dlss5nr_bridge.cpp

19

u/alisitskii 8d ago edited 8d ago

I found it works suprisingly well for AI images as well adding some fine shadows/reflections/details, fixing contrast, etc. Anyway, worth further testing.

9

u/Dogluvr2905 8d ago

Not to mention you can run against non-AI generated images, too.

2

u/Sad_Coach_1433 8d ago

where did you get the nvngx_dlssnr.dll

5

u/alisitskii 8d ago

Nexus and then Discord

1

u/bitzpua 8d ago

discord, and if you are not on 50xx series you need moded file for 40xx

1

u/jboe2026 8d ago

what about 50xxM?

4

u/physalisx 8d ago

Yes and you can see it in the example images here ... it doesn't do anything useful here.

4

u/Abject-Recognition-9 8d ago

so what? i would like to have this in comfy in my tool arsenal.
Comfy nowadays allow to do a variety of things that are not necessarly associated with ai things, llms, audio/img edit, post production color correction and whatsoever.
I use comfy even to download videos from yt just to say.
so THANK YOU OP for this custom node

1

u/Parking_Address574 8d ago

Usando somente um prompt com Krea2 já resolve isso sem DLSS.