Repository navigation
0.0.3.3
New: skip the network on every Nth frame
The network's edit is small and low-frequency, so it survives being carried across frames by motion vectors.
With temporal reuse on, the network runs on every Nth frame only. A frame in between is built from its own
input plus the stored edit, moved where the accumulated motion says each pixel went. Off by default.
- ReShade route:
ReuseEveryandReuseGateon the add-on's page, or a[Reuse]section withEveryandGate. - OptiScaler route: the
[Reuse]section ofdlssnr-amd.ini(Every = 2). Changing it from 0 to 2 or more the
first time rebuilds the network once. - Works from the game's motion vectors, or from the runtime's own motion estimator when the game gives none.
- A frame is never skipped when the recent motion times the frames to carry exceeds the gate (default 40 px of a
1080p-wide frame); a motion that jumps fades the edit out instead of showing a wrong one. A reset always runs
the network. The periodic log line reports frames that ran the network, frames that skipped it, the gate's
trips, and the mean and peak motion, so the gate can be set from what a game does.
Measured offline on a captured 1080p sequence: a skipped frame costs 0.6 to 0.8 ms against
14.4 ms for a network frame, an average of 7.6 ms at N = 2 and 5.3 ms at N = 3. Skipped frames score 37 to 43 dB
against running the network every frame at about 17 px of motion a frame. From the motion estimator alone they
score 38.8 and 40.4 dB (32.9 and 35.8 dB in a faster window).
Faster
Network time per frame, one pass, 100 % model resolution (RX 7900 XTX):
| 720p | 1080p | 1440p | 4K | |
|---|---|---|---|---|
| Now | 8.3 ms | 14.6 ms | 25.0 ms | 55.8 ms |
| 0.0.3-31 | 8.7 ms | 15.2 ms | 26.5 ms | 57.7 ms |
About 3 to 6 % less time: the e4m3 rounding constant no longer carries the sign of the value, register operands are
built with every k pair swapped, and the ViT FFN expand runs on eight waves with no register spill. The picture is
bit-identical to the previous builds. Score against NVIDIA's single-frame outputs: 45.47 dB at 1080p, 47.71 dB at
1440p, 49.02 dB at 4K.
Install
bash install.sh "<folder with the game's exe>" <route> --dll <nvngx_dlssnr.dll or zip>.
Choosing a route
optiscaler: games with a DLSS, FSR or XeSS option.reshade: D3D10/11/12 games without one (Call to Arms: Ostfront).vulkan: Vulkan and D3D9 games.