/dlssg-to-fsr3

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

Primary LanguageC++GNU General Public License v3.0GPL-3.0

dlssg-to-fsr3

...is a drop-in mod/replacement for games utilizing Nvidia's DLSS-G Frame Generation technology, allowing people to use AMD's FSR 3 Frame Generation technology instead. Only RTX 1600, RTX 2000, and RTX 3000 series GPUs are currently supported.

Download Link

https://www.nexusmods.com/site/mods/738

Building

Requirements

  • This repository and all of its submodules cloned.
  • The Vulkan SDK and VULKAN_SDK environment variable set.
  • Visual Studio 2022 17.9.6 or newer.
  • CMake 3.26 or newer.
  • Vcpkg.

FidelityFX SDK

  1. Open a Visual Studio 2022 x64 Tools Command Prompt instance.
  2. Navigate to the dependencies\FidelityFX-SDK\sdk\ subdirectory.
  3. Run BuildFidelityFXSDK.bat and wait for compilation.
  4. Done.

dlssg-to-fsr3 (Option 1, Visual Studio UI)

  1. Open CMakeLists.txt directly or open the root folder containing CMakeLists.txt.
  2. Select one of the preset configurations from the dropdown, e.g. Universal Release x64.
  3. Build and wait for compilation.
  4. Build files are written to the bin folder. Done.

dlssg-to-fsr3 (Option 2, Powershell Script)

  1. Open a Powershell command window.
  2. Run .\Make-Release.ps1 and wait for compilation.
  3. Build files from each configuration are written to the bin folder and archived. Done.

Installation (User)

  1. Double click on DisableNvidiaSignatureChecks.reg and select Run. Click Yes on the next few dialogs.
  2. Find your game's installation folder. For Cyberpunk 2077, this is the directory containing Cyberpunk2077.exe. An example path is C:\Program Files (x86)\Steam\steamapps\common\Cyberpunk 2077\bin\x64\.
  3. Copy dlssg_to_fsr3_amd_is_better.dll and the new nvngx.dll to your game's installation folder.
  4. A log file named dlssg_to_fsr3.log will be created after you launch the game.

Installation (Developer)

  1. Open CMakeUserEnvVars.json with a text editor and rename ___GAME_ROOT_DIRECTORY to GAME_ROOT_DIRECTORY.
  2. Change the path in GAME_ROOT_DIRECTORY to your game of choice. Built DLLs are automatically copied over.
  3. Change the path in GAME_DEBUGGER_CMDLINE to your executable of choice. This allows direct debugging from Visual Studio's interface.
  4. Manually copy resources\dlssg_to_fsr3.ini to the game directory for FSR3 visualization and debug options.

License