Files
foxhound/docs/multi-frame-generation.md
readmet3xt-lab 1a473b43dd Frame generation 5x and 6x on RTX 50 cards (VICTORY_FRAMEGEN_FRAMES up to 6)
DLSS Multi Frame Generation could be asked for 3x or 4x. The layer now takes 2 to 6 frames shown for each rendered one, still asking Streamline for no more than the card and driver report (num_frames_to_generate_max), so a card or driver that offers fewer gives that many. The launcher lists 5x and 6x beside 3x and 4x on RTX 50 cards only, as before; other cards keep Off, 2x, FSR 3 and Lossless Scaling. README, status and the frame generation doc say so. Untested on an RTX 50 card here; not compiled yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 11:03:23 +05:30

61 lines
3.7 KiB
Markdown

# Frame generation, multi frame generation, and third-party unlockers
## What the layer does by itself
* **DLSS Frame Generation** (launcher: Frame Generation On) needs DLSS on, NVIDIA's
Streamline folder, and a card whose driver reports DLSS-G: RTX 40 and RTX 50. It shows
one generated frame for each rendered one (2x).
* **DLSS Multi Frame Generation** (launcher: 3x to 6x) is the same with two to five
generated frames; only RTX 50 cards report it. The launcher passes
`VICTORY_FRAMEGEN_FRAMES=3` to `6`, and the layer asks Streamline for no more than the
card reports (`num_frames_to_generate_max`); on any other card they become 2x, and on a
card or driver that reports fewer, that many.
* **FSR 3 frame generation** (launcher: AMD FSR 3) runs on any card, with AMD's FidelityFX
DLLs in a `fidelityfx` folder beside `victory.exe`.
* On RTX 20 and RTX 30 cards Streamline reports no DLSS Frame Generation, so the layer
leaves it off; DLSS upscaling still works there.
## Unlockers (third-party, not part of this project)
Some players use an "MFG unlocker" (for example `MFGUnlocker.dll`, MIT-licensed, source
published by its author) to get DLSS frame generation at more than 2x, or at all on RTX
20/30 cards. Its documentation says it drives NVIDIA's DLSS Frame Generation through the
game's existing Streamline integration (up to 6x), can make an RTX 20/30 card appear as an
RTX 40-class card to the game's frame generation check, opens its own menu with Backspace,
and alternatively offers Intel XeSS frame generation. We do not ship, test or support it;
reports of problems with it loaded go to its author first.
### How players load it
Its usual way in is as a stand-in for a system DLL (`winmm.dll`, `version.dll`, ...)
beside the executable. Here that executable is `victory.exe` (the launcher starts it), and
then:
**Recommended:** put the DLL into `%LOCALAPPDATA%\victory\mods` under its own name
instead of renaming it to a system DLL beside `victory.exe` (why: see below).
1. Turn DLSS on and Frame Generation on in the launcher (the Streamline folder must be set).
2. In the game, Backspace opens the unlocker's menu; choose its mode there.
### What to know when it is loaded
* **It loads before the layer.** `victory.exe` imports `winmm.dll`, so a `winmm.dll` beside
it runs before the layer's first line: before the address space the layer keeps free for
the program's large heaps and for ray tracing's upload memory (`reserve_title_spare`,
`reserve_upload_space`). Whatever it allocates at that moment can sit where those
reservations were meant to go. Crashes at the program's first large allocation, or "failed
to allocate upload buffer", with an unlocker present should be retried without it.
* **The layer's own mod folder is the cleaner way in.** Every DLL in
`%LOCALAPPDATA%\victory\mods` is loaded by name after those reservations and before
Streamline starts, with no system DLL impersonated. Whether a given unlocker works when
loaded that way (rather than as `winmm.dll`) is up to the unlocker; try it there first.
* **Memory.** Each generated frame needs video memory. On 6 and 8 GB cards, 3x and more
with a high resolution can push the card over its budget: frame-generation failures,
stutter, or a device removed. Lower the resolution profile, or the VRAM limit, first.
* **Card name.** When the unlocker presents the card as another model, the layer's own
decisions do not change (they use the card's reported memory and capabilities, not its
name), but logs then name the wrong card. Say in a report that an unlocker was loaded.
* **Anything else that replaces `winmm.dll`, `dxgi.dll` or `d3d12.dll` beside
`victory.exe`** (overlays, other mods) is loaded the same early way. Remove such files
before reporting a crash.