Nukem9 / dlssg-to-fsr3

Adds AMD FSR 3 Frame Generation to games by replacing Nvidia DLSS-G Frame Generation (nvngx_dlssg).
GNU General Public License v3.0
4.25k stars 160 forks source link

Ghostrunner 2 #106

Open ImASadBoy opened 9 months ago

ImASadBoy commented 9 months ago

Hello! Ghostrunner 2 crashes on activation of FG with following error:

https://imgur.com/a/vtNRcKO

Using 0.50 non-DLSSTweaks

Gaffer13 commented 9 months ago

And DLSSTweaks version doesn't do anything. You get the dialog at launch, can toggle frame generations menu slider when you disable, then enable DLSS - but it doesn't generate frames.

ImASadBoy commented 9 months ago

@Gaffer13 DLSS Tweaks doesn't give the pop-up to me

Gaffer13 commented 9 months ago

Have you edited the path to DLSSG file in

Z:\Ghostrunner 2\Ghostrunner2\Binaries\Win64\dlsstweaks.ini

Have you put the files in that folder in the first place?

ImASadBoy commented 9 months ago

Yes, I have done both

context: https://imgur.com/a/ci4UKh2

doktorsleepelss commented 9 months ago

I get the pop up and it doesn't crash for me. But the frame gen toggle is greyed out. You can ungrey it by toggling off dlss and turning it back on, but turning it on still doesn't do anything. And if you go back to the settings, it'll be greyed out again.

Gaffer13 commented 9 months ago

Same for me.

ImASadBoy commented 9 months ago

Problem still persists with v0.60

ImASadBoy commented 9 months ago

Works here. If frame gen is greyed out, make sure you launched game with -dx12 launch argument as it is a requirement. If it crashes when enabled, open GameUserSettings.ini in %localappdata%\Ghostrunner2\Saved\Config\WindowsNoEditor change "DLSSG=0" to "DLSSG=1", save the file and run the game.

Yes I already tried to force it via the .ini amd set the ini read-only. Problem is: the FG is on and looks on but is not generating any frame, try toggoling it off, you'll see no frametate difference.

Gaffer13 commented 9 months ago

I forced DX12, but now I'm getting "DXGI ERROR INVALID CALL" when I try to enable frame generation.

Gaffer13 commented 9 months ago

Still crashes with 0.70

ImASadBoy commented 9 months ago

ACtually now you can turn on FG without the game crashing, but the screen shows a static black image (sounds still work tho)

xCaptainTroy commented 9 months ago

now with the latest version the FG works perfect

Gaffer13 commented 9 months ago

Works for me too - but performance in DX12 is often much worse than in DX11, so there's no point in switching to DX12 only to use frame generation. More importantly, I'm getting serious performance degradation after a while - as if the game is running out of VRAM.

RTX2060 6GB, "Setting the stage" - even going back to a mid-level checkpoint after quitting the game, performance slows to a crawl in a couple of minutes. Doesn't happen without the mod, so might be a memory leak, not just low VRAM.

xCaptainTroy commented 9 months ago

Works for me too - but performance in DX12 is often much worse than in DX11, so there's no point in switching to DX12 only to use frame generation. More importantly, I'm getting serious performance degradation after a while - as if the game is running out of VRAM.

RTX2060 6GB, "Setting the stage" - even going back to a mid-level checkpoint after quitting the game, performance slows to a crawl in a couple of minutes. Doesn't happen without the mod, so might be a memory leak, not just low VRAM.

I confirm that isssue but only happened to me at 4k full maxed out, but at 1080 full maxed out + ray tracing DLSS Q + FG I got better performance than dx 11 280~310 FPS

Gaffer13 commented 9 months ago

My point was, baseline performance is worse in DX12. It's still as good as, or better after FG - but in effect you're trading some real frames for generated ones.

Of course, if you want raytracing, you have to use DX12. It's just it looks like there's no point switching to DX12 just for frame generation.

ImASadBoy commented 9 months ago

Confirming it works! I updated the wiki page for the game, the VRAM crash thing only happens with Raytracing ON since Raytracing is currently not officially supported by the developers , looks like it doesn't flush the memory so the longer you play the heavier it will be on VRAM.

Gaffer13 commented 9 months ago

Confirming it works! I updated the wiki page for the game, the VRAM crash thing only happens with Raytracing ON since Raytracing is currently not officially supported by the developers , looks like it doesn't flush the memory so the longer you play the heavier it will be on VRAM.

I've had issues (not a crash) even with raytracing off. The "base" seems fine, but when I get into the (rather large) "Setting the stage" level, I get the slowdown. How much VRAM do you have? Are you using the DLSSTweaks version?

ImASadBoy commented 9 months ago

Confirming it works! I updated the wiki page for the game, the VRAM crash thing only happens with Raytracing ON since Raytracing is currently not officially supported by the developers , looks like it doesn't flush the memory so the longer you play the heavier it will be on VRAM.

I've had issues (not a crash) even with raytracing off. The "base" seems fine, but when I get into the (rather large) "Setting the stage" level, I get the slowdown. How much VRAM do you have? Are you using the DLSSTweaks version?

The issue is not the mod is the game in DX12, that's why developers disabled it. I'd say wait for patches to officially support it.

Gaffer13 commented 9 months ago

Like I said, I tried removing the mod and loading the same checkpoint - even if the issue is with the game, the mod might be making it worse. I'll try other games, of course.

Gaffer13 commented 8 months ago

Looks like the game has performance degradation even in DX11 and even without the mod.