Installation manual · step by step, written for a first install

DLSSG Installation Manual

This project lets RTX 20 / 30 graphics cards use DLSS Frame Generation, and on RTX 40 / 50 it uses this project's frame-generation kernels by default; on RTX 30 / 20 you can also turn on this project's INT8 Super Resolution kernels. Follow the steps below one at a time: each step says where to go and what to click.

中文 · EnglishFor the DLSSG 0.4.0 release packageEvery setting in full: docs\INSTALL.en.md
Read these three first
  1. Only NVIDIA RTX 20 / 30 / 40 / 50 series graphics cards are supported. GTX cards and AMD or Intel graphics cannot use it. Frame generation works only in DirectX 12 games.
  2. Never install it in online games with anti-cheat, such as Delta Force, Naraka: Bladepoint, Marvel Rivals, Call of Duty or GTA V: you risk a ban.
  3. Every time you copy files or change a setting, fully quit the game and start it again for the change to take effect.
1

Prepare: turn on Hardware-accelerated GPU scheduling

Frame generation needs Windows' Hardware-accelerated GPU scheduling to be on. While it is off, the frame generation option cannot be turned on in any game.

  1. Open the Start menu, type graphics settings and open the result (on Windows 11 the page is called Graphics).
  2. Find Hardware-accelerated GPU scheduling and turn it on. On Windows 11 you first click "Change default graphics settings" (called "Advanced graphics settings" in some versions) to see it.
  3. If you have just turned it on, restart the PC. If it was already on, there is nothing to do.

Two more things:

2

Unzip the release package

  1. Right-click the release zip, choose Extract All…, then click "Extract". 7-Zip, WinRAR or Bandizip work too.
  2. Always extract first; do not drag files straight out of the zip.

In the unpacked folder only the 3 items highlighted below go into the game; leave the rest for now:

unpacked folder\
├─ version.dll
├─ dlssg_sm86.ini
├─ dlssg_sm86\              (the whole folder)
├─ alternatives\            only when the game does not load version.dll, see the FAQ
├─ MANUAL.en.html           this installation manual
├─ README.en.md             release notes, opens in Notepad
└─ docs\ and a few others   not needed
3

Find the game's EXE folder

The files go next to the EXE the game actually runs. Many games have only a launcher in their install folder and the real EXE in a deeper folder; in the wrong place nothing happens.

The sure way (works for every game)

  1. Start the game as usual and get to the main menu.
  2. Press Ctrl + Shift + Esc to open Task Manager and go to Details (on Windows 10, click "More details" first if the window is small).
  3. Find the game's process (its name is usually close to the game's, and the one using the most CPU and memory usually is it), right-click it and choose Open file location.
  4. The folder that opens is where the files go. Keep this window open, then fully quit the game.

A few common games

In your Steam library right-click the game → "Manage" → "Browse local files", then go into the folder below:

GameFolder with the EXE
The Witcher 3: Wild HuntThe Witcher 3\bin\x64_dx12
Cyberpunk 2077Cyberpunk 2077\bin\x64
Black Myth: WukongBlackMythWukong\b1\Binaries\Win64
Hogwarts LegacyHogwarts Legacy\Phoenix\Binaries\Win64

Most Unreal Engine games keep it in GameName\Binaries\Win64.

4

Copy the files

  1. First check whether the game folder already has any of these files: version.dll, winmm.dll, dbghelp.dll, dinput8.dll, dxgi.dll, d3d12.dll.
    • None of them: go on to the next step.
    • Some, and you put them there when you installed this project before: go on to the next step and delete the old ones.
    • Some, and you don't know what they are (most likely another mod): create a folder on the desktop called "game backup" and cut these files into it; put them back when you uninstall this project.
  2. If you installed this project before (any version): first delete the old version.dll, winmm.dll, dbghelp.dll, dinput8.dll, dlssg_sm86.ini and the dlssg_sm86 folder from the game folder (older versions placed four DLLs; now only one is used). If you had changed settings in the old dlssg_sm86.ini, note what you changed and make the same changes in the new one after installing.
  3. Go back to the unpacked folder, hold Ctrl and click these 3 items one after another: version.dll, dlssg_sm86.ini and the dlssg_sm86 folder, then press Ctrl + C.
  4. Switch to the game folder and press Ctrl + V. If Windows asks "Replace or Skip Files", choose Replace the files in the destination.

After copying, the game folder should look like this:

folder with the game's EXE\
├─ (the game's own EXE and other files, leave them alone)
├─ version.dll
├─ dlssg_sm86.ini
└─ dlssg_sm86\
   ├─ backend\
   ├─ kernels\
   ├─ runtime\
   └─ sr\
Only one DLL at a time

This project gets into the game through this one file, version.dll. That works for the vast majority of games; when a game does not load it, use another one from alternatives instead (see Try another DLL), but never put more than one in the game folder. The three items also have to stay together: copying only the DLL without the dlssg_sm86 folder does nothing.

5

Check that it is installed

  1. RTX 20 / 30: start the game and open its graphics settings. If "DLSS Frame Generation", which used to be grayed out or missing, can now be turned on, it is installed.
  2. RTX 40 / 50 (where frame generation was available anyway), or to be sure:
    1. Following How to edit the settings file, change Level=1 under [Logging] to Level=2 and save.
    2. Start the game, turn on frame generation and play for a minute or two, then fully quit the game.
    3. Open dlssg_sm86\logs in the game folder. If there is a file like loader_<numbers>.jsonl, it is installed.
An empty logs folder is normal

The factory setting Level=1 writes a log only when something goes wrong, so until you change it to 2, an empty dlssg_sm86\logs, or none at all, is normal. Afterwards you can change it back to 1 or keep 2 (the logs get a bit bigger).

If with Level=2 and frame generation on there is still no file starting with loader_ in logs, it is not installed. First make sure you used the right folder, then follow Try another DLL.

6

Use it

6.1 Frame generation All RTX cards

  1. Turn on DLSS Frame Generation in the game's graphics settings (some games call it DLSS Multi Frame Generation). Pick the multiplier (2X / 3X / 4X) in the game: whatever the game offers can be selected.
  2. The factory limit is 4X. If the game's menu offers 6X or a "dynamic" multi frame generation and you want 6X: following How to edit the settings file, change MaxGeneratedFrames=3 under [FrameGeneration] to 5. If the frame-generation component the game ships supports only 4X, it stays at 4X after this change.
  3. Frame generation needs a high enough base frame rate to look good: if the frame rate with frame generation off is too low, turning it on tends to bring ghosting and broken edges, more visibly the higher the multiplier. Then lower the graphics settings first to raise the base frame rate.
RTX 40 / 50 note

The first time you turn on frame generation the picture freezes for a few seconds while the driver compiles this project's kernels; it does not happen again, except once more after a driver update. This is normal.

The multipliers you can pick are decided by the game; this project does not change them (for example many games offer only 2X on RTX 40). To switch back to NVIDIA's official frame-generation kernels, add the line AccelerateNewerGpus=0 under [Compatibility].

6.2 Super Resolution INT8 RTX 30 / 20 only

It is off from the factory (Mode=Off under [SuperResolution]). On RTX 40 / 50 skip this section: this project does not change super resolution on 40 / 50, and On has no effect there.

  1. Following How to edit the settings file, change Mode=Off under [SuperResolution] to Mode=On and save.
  2. In the game's graphics settings set DLSS Super Resolution (some games call it DLSS mode or upscaling mode) to Performance or Ultra Performance. In most games only these two modes use this project's INT8 super resolution; Quality, Balanced and DLAA stay NVIDIA's own as usual.
  3. If the game has DLSS Ray Reconstruction, turn it off: while it is on the game does not use super resolution, and this setting does nothing.
  4. If you use the NVIDIA App: if you set a DLSS override (model presets) for this game in the NVIDIA App, turn it off first, or choose "Latest".
One mode per session

Within one run of the game, only the first of Performance and Ultra Performance you use is accelerated. To switch to the other one: change it in the settings, fully quit the game and start it again. If you switch back and forth inside the game, the mode you switched to is not accelerated this time. This is not a fault.

Once it is on, the game's DLSS Super Resolution is replaced with the version in the package (310.7.129). If the game's own version is older, not all of the change in picture and frame rate comes from INT8.

6.3 Other settings Usually left alone

They are all in dlssg_sm86.ini; see How to edit the settings file. For a setting marked "not present", add a line under that section yourself.

SettingSectionFactoryWhen to change it
Optimized[DLSSG]2Frame generation's acceleration level. If the generated frames look wrong, try 1 (its picture is exactly the same as with no acceleration at all); 0 means no acceleration at all. Settings files from older versions have it under [FrameGeneration]; that still works.
MaxGeneratedFrames[FrameGeneration]3 (up to 4X)Change to 5 for 6X (see 6.1).
Preset[DLSSG]AutoC = FG Lite: roughly a third to a half less GPU time per generated frame, slightly lower image quality (mostly on the HUD and at object edges). Also runs this project's accelerated kernels, whatever DLSS-G version the game ships. B (UI recomposition forced on) only works when the game provides both a HUD-less image and a UI plane, which most games do not; the log then has one preset_ineffective record.
Engine[FrameGeneration]DLSSXeSS = generate frames with Intel's XeSS-FG model (2X only). On RTX 30 it is slower than the default DLSS (about 3 ms more per generated frame at 4K) and uses about 0.4-0.5 GB more video memory; a game whose back buffer is RGBA16F (some HDR output) switches back to DLSS by itself. See 6.4.
Mode[SuperResolution]OffChange to On on RTX 30 / 20 to use INT8 super resolution (see 6.2).
Level[Logging]1 (errors only)Change to 2 to check the install or to report a problem.
FrameTiming[Logging]not present (off)Add FrameTiming=1 to record what every frame costs (frame interval, GPU time of super resolution and of frame generation); the logs get one more file, starting with frames_.
AccelerateNewerGpus[Compatibility]not present (on)Add AccelerateNewerGpus=0 on RTX 40 / 50 to switch back to NVIDIA's official frame-generation kernels.

No other setting is in the factory file and they are rarely needed; all of them are described in docs\INSTALL.en.md (opens in Notepad).

6.4 XeSS frame generation (optional) All RTX cards

Following how to edit the settings file, change Engine=DLSS under [FrameGeneration] to Engine=XeSS. Turn on DLSS frame generation in the game as usual; the multiplier is 2X only (a higher value in the settings file still gives 2X). The [XeSSFG] section has two settings: FlowResolution (Coarse / Middle / Fine, factory Middle; finer is slower) and UseHudless (factory 1: use the game's HUD-less image when it provides one, otherwise not). The [DLSSG] settings do nothing under XeSS.

When the game's back buffer is RGBA16F (some HDR output uses it) or lacks an input XeSS needs, that game uses DLSS frame generation instead, and the log (at the factory level) has one xefg_fallback record naming the reason.

7

How to report a problem

  1. Following How to edit the settings file, change Level under [Logging] to 2 (skip this if it already is).
  2. Delete the old files in dlssg_sm86\logs first, then start the game, make the problem happen once and fully quit the game.
  3. Compress the whole dlssg_sm86\logs folder from the game folder: right-click logs → "Compress to ZIP file" (on Windows 10: right-click → "Send to" → "Compressed (zipped) folder").
  4. Submit that zip, together with the text below filled in, wherever you downloaded this project (for example the Issues of its GitHub page).
  5. For picture problems attach a screenshot or a recording: Win + Shift + S takes a screenshot, Win + Alt + R starts recording.
Version: 0.4.0
DLL in use (version.dll, or which one you switched to):
GPU model:
Driver version:
Game name and version:
Resolution:
DLSS Super Resolution mode:
Frame generation multiplier:
Changes to dlssg_sm86.ini (write "none" if unchanged):
The problem (in which scene, how it happens):
Where to find the GPU model and driver version

Press Ctrl + Shift + Esc to open Task Manager → "Performance" → the GPU on the left that says NVIDIA. The GPU model is at the top right, and "Driver version" below it is the driver version. A photo or a screenshot of it is fine too.

How to edit the settings file

All settings are in dlssg_sm86.ini in the game folder (editing the copy in the unpacked folder does nothing).

  1. Fully quit the game.
  2. In the game folder right-click dlssg_sm86.ini → "Open with" → "Notepad". On Windows 11 you may have to click "Show more options" first.
  3. Find the section in square brackets, for example [Logging], find the line to change below it and change only the value after the equals sign, for example Level=1 to Level=2. Lines that start with a semicolon ; are explanations; leave them alone.
  4. For a setting you add as a new line (for example AccelerateNewerGpus=0): write it on a line of its own below that section's bracket line and before the next bracket line, never inside another section.
  5. Press Ctrl + S to save, close Notepad, then start the game.
A typo does no harm

A value that is written wrong falls back to its default on its own, and every other setting still applies (the log records one configuration_warning). To go back to the factory settings, copy dlssg_sm86.ini from the unpacked folder over it again.

Upgrade

  1. Fully quit the game.
  2. As in step 4: first delete the old DLL (version.dll, or the one you switched to), dlssg_sm86.ini and the dlssg_sm86 folder from the game folder, then copy the 3 new items.
  3. Make the settings you had changed again in the new dlssg_sm86.ini.
  4. If you are upgrading from 0.3.x you can also delete the folder %LOCALAPPDATA%\DlssgSm86 (type that into File Explorer's address bar and press Enter to open it); the new version no longer uses it.

Uninstall

  1. Fully quit the game.
  2. Delete version.dll (or the DLL you switched to), dlssg_sm86.ini and the dlssg_sm86 folder from the game folder.
  3. If you backed up files in step 4, put them back.
  4. To be extra sure: in your Steam library right-click the game → "Properties" → "Installed Files" → "Verify integrity of game files". It restores game files that were overwritten but does not delete extra files, so item 2 above you always do yourself.

FAQ

The frame generation option is still grayed out

Level is 2, but logs is still empty

Try another DLL

The unpacked alternatives folder holds the same program under 5 other names. Try them one at a time in the order below, with only one in the game folder each time:

  1. Fully quit the game and delete version.dll (or the one you tried last) from the game folder.
  2. Copy the next one from alternatives to the game folder, in this order: winmm.dll → dbghelp.dll → dinput8.dll → dxgi.dll → d3d12.dll.
  3. Start the game, turn on frame generation and play for a minute or two, quit, and check whether a file starting with loader_ appeared in dlssg_sm86\logs (Level has to be 2 first, see step 5). If it did, keep this one; if not, go back to item 1 and try the next.

If none of the five works, report it to us. dxgi.dll and d3d12.dll come last because they sit on the game's rendering path: use them only when the earlier ones fail, and never both at once.

The game does not start or crashes

Generated frames flicker, show corruption or ghosting

Super resolution is on, but nothing seems to change

I changed a setting, but nothing seems to change

With frame generation on, the controls feel slightly delayed