Giter Site home page Giter Site logo

nukem9 / dlssg-to-fsr3 Goto Github PK

View Code? Open in Web Editor NEW
3.7K 39.0 148.0 50.65 MB

Adds AMD FSR 3 Frame Generation to games by replacing Nvidia DLSS-G Frame Generation (nvngx_dlssg).

License: GNU General Public License v3.0

CMake 8.12% PowerShell 0.45% C++ 91.27% C 0.17%
amd directx-12 game-development nvidia vulkan

dlssg-to-fsr3's Introduction

dlssg-to-fsr3's People

Contributors

nukem9 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dlssg-to-fsr3's Issues

Doesn't work in Cyberpunk with HDR on

First of all, thanks for this! :)

My only problem is that Cyberpunk crashes on launch with this mod and HDR enabled (in game, with Windows AutoHDR it works fine).

I hope it gets fixed in future releases.

Tested Games

Tanks for the mod..i tested in games works great on Cyberpunk 2077, Spiderman Miles Morales, Spiderman Remaster, Ratchet & Crank, and the Witcher..

Crashing in the Witcher 3 when moving mouse really fast

The game crashes when the mod is active, framegen enabled in the witcher 3 and you move the mouse really fast.
First happened when I mistakenly pushed the mouse away.
Could not replicate the same problem in Cyberpunk.

Hogwarts Legacy Crash NVIDIA Drivers

I tried the mod on hogwarts legacy, everything works until you reach the game menu and enable FG.
I used the version with DLSSTweaks, as the normal one doesn't work on EU games. Installed everything in the main binary file in the Phoenix folder. Thank you for your work, it is greatly appreciated by the community.

UPDATE 19/12/2023: I had to reopen the reporting ticket, after playing for some time the mod causes a crash in the nvidia drivers, and no errors are reported in the logs. This happens with both the traditional method (nvngx.dll) and the DLSSTweaks method.

OLD: MSI Afterburner and RTSS was causing game crash with this mod, Now everything works as expected.
Don't use VSYNC and DLSS Sharpening.
If the game keeps crashing when enabling FG, go to %localappdata% and here you should find the Hogwarts Legacy folder, inside this look for WindowsNoEditor and delete it, this restores the game options to default.

Both zip files works, with DLSSTweaks and without DLSSTweaks (0.41 and 0.5).
https://ibb.co/2Fr20dg
https://ibb.co/4PxjRVk

How to use, instructions needed

Hello i downloaded the zip file over "master"..

And i need instructions to generate those mentioned dlls files in the readme text file.

As far as i could understand i need to use cmake and install visual studio. I did that ive installed vs lastest version and i am using cmake gui. But is providing me an error over "CMake Error at source/maindll/CMakeLists.txt:104 (find_package):
Could not find a package configuration file provided by "spdlog" with any
of the following names:

spdlogConfig.cmake
spdlog-config.cmake

Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
"spdlog_DIR" to a directory containing one of the above files. If "spdlog"
provides a separate development package or SDK, be sure it has been
installed.

Configuring incomplete, errors occurred!"

If someone can provide the dlls files mentioned could be easier for me since i am not skilled over this , thanks!

Not support VRR

If I open the Nvidia control panel V-Sync the Game (Cyberpunk 2077) will so LAG and VRR also not working
I disable the Nvidia control panel V-Sync, the game will not lag again and also VRR is not not working

Portal Prelude RTX Testing

Hello,
I've managed to load up Frame Generation(or well at least the toggle) into Portal Prelude RTX (Streamline game that uses DXVK) using the dlsstweaks method, i guess any streamline game will support this kind of injection?

Considering it uses DXVK but VK isn't fully supported can somebody with more expertise try this game out too?

With framegen off in a room i was having 55fps but with it on i was jumping to 90-100 (and ingame console doesn't reflect this fps growth)

I suspect the frames aren't exactly interpolated but in some sort they're being duplicated but they're behind 1fps, it feels stuttery and moving objects at high speed leave a ghosting trail of their silhouette compared to cp2077 and tw3

I was just wondering if vk support is completely absent for now from fsr3.0(not officialy supported yet) or something else is at fault and catch the errors that are being thrown

This was an interesting experience i was surprised it even booted and not straight up crash (rtx 3070 150w laptop)

In Full Screen Mode game run smoother?

I don't really know how to explain this, but seems i have sensitive eyes and i feel that something wrong with smoothness in Borderless Window mode. It looks like you have 60FPS but in gameplay feels it like not. And this is not about input lag. I trying in Cyberpunk and Robocop with v-sync on in Nvidia Control Panel on 60HZ monitor, i have stable 60FPS and after day o testing i certainly sure that is Full Screen mode Frame Generation works smoother. I dont think this placebo.

Doesn't work in Cyberpunk2077

Doesn't work in Cyberpunk2077.

I am on game version 2.1, gpu is rtx 2060, driver 546.33, HAGS enabled. The "DLSS Frame Generation" switch is grayed out and not available.

Doesn't Work on starfield

With the first two tries on starfield, it crashes when trying to start the game, even when in game you try to enable frame gen.

Any chance to make it work on non RTX GPUs?

As stated in the title, it doesn't work on GTX series cards (only speaking about 10 and 16 series, don't expect anything from older gens).
Is it possible to make it work on them, or is that like driving against a titanium wall?

DLSS Frame gen greyed out, with DLSSTweaked Edition.

I tried everything, I have Hardware-accelerated GPU scheduling activated, vsync ON from the Nvidia control panel, OFF in game, the latest drivers as of 12/18/23 which are 546.33, even with EnableNvidiaSigOverride, but it is still grayed out, I installed TweakedDLSS and made the configuration from Notepad++, removing ";", I left the two DLLs in the root folder of the game and it still won't let me enable it. Something strange is that I don't have any message when I start the game, so I suspect it's my fault, but I tried everything they say in the previous posts, any help would be more than appreciated. And likewise, thank you for the work and dedication to make this mod.'

My GPU is: RTX 3060 TI MSI GAMING X TRIO.

DLSSTWEAKED.INI
notepad++_IzcXELHN50

IN GAME SETTINGS

DLSS TWEAKED

REGEDIT HKEY_LOCAL_MACHINE\SOFTWARE\NVIDIA Corporation\Global

regedit_nb2DVzeZrk

REGEDIT HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\nvlddmkm

regedit_iyxoJWhMhS

Disables Nvidia Reflex in Cyberpunk.

The Nvidia Reflex option gets greyed out, I can't turn it on. The input lag is pretty bad in this game without Reflex. It's jarring to get more FPS and have the game feel much worse.

HDR Support

HDR won't be supported any time soon. Don't use it.

Why? Because I don't own an HDR-capable monitor to test with.

edit:
Testing is appreciated but ultimately I need a plethora of developer tools to debug games locally. Think Microsoft PIX, Nsight, Visual Studio, et cetera...

Dying Light 2 doesn't work

No message box warning on game startup, dbghelp.dll can't be deleted while the game is running(as far as I understand it's hooked).

How to install on ARK Survival Ascended ?

I tried to put dbghelp.dll & dlssg_to_fsr3_amd_is_better.dll in ARK Survival Ascended\ShooterGame\Binaries\Win64
But no popup, nothing changed at all.

Am I missing anything ?

Unreal Engine games

Most games that have DLSS framegen seem to be UE4/5 games and the way the plugins are handled in those are kind of different. Some games have the dbghelp.dll in the plugins folder while others will have it missing straight up as they are probably wrapped up with someone else.

The games I've tried so far are Returnal, Remnant 2, Robocop, Lords of the Fallen, Atomic Heart, Hogwarts Legacy. And I've tried deploying it in the plugins folder as well as the main folder where Game.exe resides.

Lords of the Fallen has Easy Anti Cheat, so it flags up the modded dbghelp.dll file but I'd imagine even if it didn't, it wouldn't work.

Either ways deploying it in Unreal Engine games doesn't seem to work, unless someone has figured out a way to do it?

Edit: I should add I'm not using dlsstweaks, maybe I should try with that.

Any way to activate for Jedy Survival?

I don't find dbghelp.dll but i try however to copy the 2 files in:
Jedi Survivor\Engine\Plugins\Runtime\Nvidia\DLSS\Binaries\ThirdParty\Win64
Jedi Survivor\Engine\Plugins\Runtime\Nvidia\Streamline\Binaries\ThirdParty\Win64
Jedi Survivor\SwGame\Binaries\Win64

Probably the Dll don't hook up without the dbghelp.dll and so it's useless to try?

Thanks

No V-Sync. Gameplay dont't feel smooth.

Greetings @Nukem9 !

I just try it in Cyberpunk 2077. It looks like work, but v-sync is disabled and greyed out. It most probably hardlock, because game think i using DLSS Frame Generation.
But like i know AMD FSR 3.0 Frame Generation NEED V-Sync for smooth gameplay. Otherwise i don't know reason of micro stutters.

Danger?

what are the chances of my video card dying from this?

Enabling Frame Generation

Frame generation requires a few steps to set things up correctly:

  1. Own a game with Nvidia Frame Generation support.
  2. Own an Nvidia RTX graphics card with updated drivers.
  3. Ensure Hardware-accelerated GPU scheduling is enabled in Windows Settings.
  4. Install this mod in your game directory.
  5. Launch your game and disable vertical sync (V-Sync) in the settings menu. Then toggle frame generation.

This will result in screen tearing. To restore vertical sync and keep frame generation working properly, open Nvidia Control Panel, navigate to "Manage 3D settings", and enable "Vertical sync" for your specific game.

Old framerate limiters don't work correctly. Check if they explicitly support frame generation first.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.