dlss-swapper icon indicating copy to clipboard operation
dlss-swapper copied to clipboard

[Feature request] Add Streamline support

Open beeradmoore opened this issue 1 year ago • 20 comments

Is your feature request related to a problem? Please describe. Updating Streamline DLLs may have performance benefit as well. See this Twitter thread by Sebasti66855537

Describe the solution you'd like Add Streamline as another thing to swap.

Additional context It'd likely need to swap all DLLs, not each one.

Streamline SDK can be found here.

What versions are compatible? Can v2.1 go up to v2.7.2, what about v1?

beeradmoore avatar Feb 05 '25 01:02 beeradmoore

+1

SubSonix avatar Feb 06 '25 02:02 SubSonix

+1

Also more info on this Reddit post

Always doing this tediously manually with every game.

Vinci480 avatar Feb 15 '25 06:02 Vinci480

+1

MarkNALIS avatar Feb 20 '25 07:02 MarkNALIS

+1

DrDoakes avatar Feb 25 '25 17:02 DrDoakes

This seems to be mandatory for at least DLSS4 framegen improvements to work properly, manually replacing these is definitely a right pain, as for compatibility I think all are, games using dlss1 such as final fantasy don't even have streamline, it seems to be a dlss2+ thing only

Nypheena avatar Feb 28 '25 12:02 Nypheena

This seems to be mandatory for at least DLSS4 framegen improvements to work properly, manually replacing these is definitely a right pain, as for compatibility I think all are, games using dlss1 such as final fantasy don't even have streamline, it seems to be a dlss2+ thing only

Swapping the newer streamline DLLs only works with games shipped with version 2.X streamline DLLs. Older DLSS FG games (such as The Witcher 3, Returnal, etc) that shipped with version 1.X break if you swap their DLLs with the newer 2.X files.

DrDoakes avatar Feb 28 '25 20:02 DrDoakes

We can do what we did with DLSS, if v1 only allow swapping with v2, if v2 only allow swapping with v2 (or higher)

beeradmoore avatar Mar 01 '25 02:03 beeradmoore

This seems to be mandatory for at least DLSS4 framegen improvements to work properly, manually replacing these is definitely a right pain, as for compatibility I think all are, games using dlss1 such as final fantasy don't even have streamline, it seems to be a dlss2+ thing only

Swapping the newer streamline DLLs only works with games shipped with version 2.X streamline DLLs. Older DLSS FG games (such as The Witcher 3, Returnal, etc) that shipped with version 1.X break if you swap their DLLs with the newer 2.X files.

Not sure if this applies to all Games but sometimes when updating Streamline, you also need to include sl.pcl.dll otherwise it just breaks, not really sure why, but I fixed a few games with that.

Vinci480 avatar Mar 01 '25 11:03 Vinci480

We can do what we did with DLSS, if v1 only allow swapping with v2, if v2 only allow swapping with v2 (or higher)

Take the following with a grain of salt (being on Ampere and using Nukem's dlssg-to-fsr3 mod) but in my testing (updating literally all the files any game has in common with those one can find in Nvidia's official Streamline GitHub repo), only Streamline 2.1 & up games work properly.

Jusant (which uses 2.0) didn't quite like it for some reason (had a purple filter all across the image). That said, considering it's officially whitelisted for NV app overrides, it should be able to work properly so hope 40xx+ users can confirm/deny my claim.

Rool-IO avatar Mar 01 '25 11:03 Rool-IO

I am dumb, I went "I have a 40xx+, I'll double check" only to do the entire test to realise I am on my dev machine that only has a 3060 😂

Fun fact, swapping Streamline 2.0 up to 2.7.2 and DLSS to 310.2.1 and DLSS FG to 310.2 worked perfectly. I could not test FG which I assume the purple is happening? I can try test later.

Another fun fact, this game also defaulted to preset K without me changing anything. This dropped performance in the starting zone from about 95fps to 80fps. So maybe also people should be careful swapping latter DLSS versions on 30 series cards.

beeradmoore avatar Mar 01 '25 22:03 beeradmoore

Yeah, Purple "filter" was only when using FG but since we on Ampere, we can only do that with Nukem's mod hence the grain of salt. But I'd be curious whether it's happening for you as well (I'm using the universal method with the hook dll as winhttp)

Indeed, new DLSS transformer is quite heavy to run on 20 & 30 series, especially RR in supported games.

Rool-IO avatar Mar 01 '25 23:03 Rool-IO

Just tested on my other PC and I noticed this:

  • Original DLLs game used preset D on my 3060, but preset F on my 4090
  • Swapping to 310.2.1 for both DLSS and DLSS FG (I had pushed an update for FG 310.2.1 between then and now lol) it did go to preset K like the 3060 did
  • Swapping out to streamline 2.7.2 game ran fine with no purple tint

beeradmoore avatar Mar 01 '25 23:03 beeradmoore

Great news & consistent with that game being whitelisted.

Out of your app's scope but would you mind trying Nukem's mod on your 3060 ? Could just be a weird edge case for it with my install but if not, it might be worth confirming, I'd tell Nukem about it so he can have a look.

Rool-IO avatar Mar 02 '25 00:03 Rool-IO

consistent with that game being whitelisted.

The game does not show up in NVIDIA App. I am using the GamePass version of Jusant. But other GamePass games are showing up fine 🤷‍♂️

On to 4090 machine I tried to install the mod so I can confim and compare with 3060 machine. I don't think it worked though, readme says it will generate dlssg_to_fsr3.log but it never does.

I ran the reg file to disable integrity or whatever it was and put nvngx.dll and dlssg_to_fsr3_amd_is_better.dll into E:\XboxGames\Jusant\Content\ASC\Binaries\WinGDK which is where ASC-WinGDK-Shipping.exe lives.

Any idea if this is an issue with GamePass version of the game or something?

EDIT: Using process explorer I can see it loaded nvngx.dll, but it never loaded dlssg_to_fsr3_amd_is_better.dll

beeradmoore avatar Mar 02 '25 02:03 beeradmoore

NVapp is bugged anyway for me (even with the game showing, it says not supported), no idea about game pass versions though.

It's the method used rather. Nvngx with reg file doesn't work anymore afaik and it's never been a desirable one anyway imo. Better run the universal version (I used the winhttp one), it does work for me :)

EDIT: I redid the process but this time getting rid of the streamline development subfolder and didn't get the purple filter... Might have been bad luck on my part when I first got it but it was a couple driver versions back, one nvapp update back & a couple of Nukem's mod versions back as well so considering all of this, hard to get why it got that filter in the first place... Anyway, sorry for bothering you with this out of scope thing. Will be more thorough in the future and avoid bugging you like that.

Rool-IO avatar Mar 02 '25 08:03 Rool-IO

+1 for streamline dlls replacement functionality

theGlaive avatar Mar 02 '25 20:03 theGlaive

Anyway, sorry for bothering you with this out of scope thing.

It's all good, it was about time I checked out this mod anyway

beeradmoore avatar Mar 02 '25 20:03 beeradmoore

Another +1, replacing these files manually is very tedious especially because they are often in nested folders in UE titles.

I noticed that the game doesn't fully utilize DLSS 4 new FG model if the streamline files aren't replaced when looking at the RTSS graph (it becomes thick when it works "properly"), so this may be necessary to make sure it's running as intended.

durrburger93 avatar Mar 03 '25 10:03 durrburger93

I've found a similar software that you can refer to. I hope it can be integrated into DLSS Swapper:https://github.com/SimonMacer/AnWave/releases/tag/AnWave-DLSS

HDWWWW avatar Mar 14 '25 02:03 HDWWWW

+1 for this request. Also for the side suggestion of doing a one-click "upgrade all." Would be huge.

dontpokethebear3893 avatar Jun 21 '25 17:06 dontpokethebear3893