Force 3x DLSS frame generation on RTX 40 through MFG Unlocker (F1 menu and -ForceMfg) #702

Open
Smoodie7 wants to merge 1 commit from upstream-pr/702 into main
Smoodie7 commented 2026-11-28 03:51:49 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Smoodie7 on 2026-11-28T03:51:49Z.


What this adds

A way to ask for 3x DLSS frame generation on an RTX 40 card, through MFG Unlocker (github.com/dashdogy/MFG-Unlocker, MIT), which this fork already fetches for RTX 20/30 cards (pinned v1.7.2, checked against the author's SHA-256 by scripts/get-mfg-unlocker.ps1). Its README lists DLSS MFG controls with fixed multipliers up to 6x on RTX 50, 40, 30 and 20. Today on an RTX 40 the F1 menu's 3X falls back to 2x, because Streamline reports one generated frame at most.

Off by default. Nothing changes for anyone who does not turn it on.

Changes (62 lines, 5 files)

  • F1 menu: a new line FORCE 3X ON RTX 40 (MOD) (OFF/ON), right under MFG UNLOCKER. While it is picked, the box says what it does and costs: it uses a mod; RTX 40 has no hardware flip metering, so pacing is less even than at 2x; if the card still reports fewer frames, 2x stays; it applies at the next start.
  • victory play: with it on, VICTORY_MFG_UNLOCKER=1 is set (the DLL is fetched if missing, as for RTX 20/30), and frame generation that was on at 2x goes to 3x. Off stays off, and 4x to 6x stay as chosen.
  • scripts/play-foxhound.ps1: -ForceMfg (or the saved menu choice) runs get-mfg-unlocker.ps1 and names the DLL to victory.exe with VICTORY_MFG_UNLOCKER_DLL.
  • victory run: now loads the mod named by VICTORY_MFG_UNLOCKER_DLL, like play does (before the device and Streamline). The script launcher starts the title with run, and the mod was never loaded on that path: this is also a fix for RTX 20/30 players who use the script.
  • F3 panel: on a DLSS-FG card with the mod loaded, the second line reads MORE THAN 2X: UNLOCKED BY MFG UNLOCKER (A MOD) instead of MORE THAN 2X NEEDS AN RTX 50 CARD.
  • The safety check is unchanged: before setting the options, the layer still asks Streamline how many frames the card generates and keeps what it gives (more frames asked than this card generates asked=3 given=2). So if the mod does not raise the limit, the game stays at a working 2x instead of failing.

Tested on my PC

RTX 4070 Ti SUPER 16 GB (driver 621.40), Ryzen 7 7700, 32 GB, Windows 11 Pro 26300. Series X profile at 2560x1440, DLSS Quality, -Fast (PR #18 merged locally), ray tracing off.

  • Build and tests: cargo test -p victory-gpu --lib menu (6 passed, including the new line's width and glyph checks) and cargo test -p victory --bin victory (25 passed). play-foxhound.ps1 parses without errors.
  • Fetching: -ForceMfg downloaded MFG Unlocker v1.7.2, and get-mfg-unlocker.ps1 checked it against the published SHA-256 (15.1 MB DLL with its licence beside it).
  • Fallback, seen in a 40-minute session: in my first run the mod did not load, which is what led to the run fix above. Frame generation was asked for at 3x; the layer logged asked=3 given=2 and stayed at 2.00x (median frames shown per present over 681 samples). The game played normally: 19.7 rendered FPS median (p10 13.9), about 40 shown, 7,477 draws a frame, no crash.
  • 3x with the mod loaded: not confirmed in game yet. I'll post the numbers (shown per present, frame times, pacing) here after my next session with this branch. Draft until then.

Note for anyone merging this with #592

In my local merge with #592 (frame generation re-armed when stuck at one frame), asking for 3x on a card that gives 2x switched frame generation off and on again hundreds of times a minute (switched ... on=false times=3). The cause is the asked-3/given-2 gap. It does not happen on main, which does not have #592, but #592 probably needs to compare against the given count rather than the asked one.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5536401500 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/702). Originally posted by [Smoodie7](https://github.com/Smoodie7) on 2026-11-28T03:51:49Z. --- ## What this adds A way to ask for **3x DLSS frame generation on an RTX 40 card**, through MFG Unlocker (github.com/dashdogy/MFG-Unlocker, MIT), which this fork already fetches for RTX 20/30 cards (pinned v1.7.2, checked against the author's SHA-256 by `scripts/get-mfg-unlocker.ps1`). Its README lists DLSS MFG controls with fixed multipliers up to 6x on RTX 50, 40, 30 and 20. Today on an RTX 40 the F1 menu's 3X falls back to 2x, because Streamline reports one generated frame at most. Off by default. Nothing changes for anyone who does not turn it on. ## Changes (62 lines, 5 files) - **F1 menu:** a new line `FORCE 3X ON RTX 40 (MOD)` (OFF/ON), right under MFG UNLOCKER. While it is picked, the box says what it does and costs: it uses a mod; RTX 40 has no hardware flip metering, so pacing is less even than at 2x; if the card still reports fewer frames, 2x stays; it applies at the next start. - **`victory play`:** with it on, `VICTORY_MFG_UNLOCKER=1` is set (the DLL is fetched if missing, as for RTX 20/30), and frame generation that was on at 2x goes to 3x. Off stays off, and 4x to 6x stay as chosen. - **`scripts/play-foxhound.ps1`:** `-ForceMfg` (or the saved menu choice) runs `get-mfg-unlocker.ps1` and names the DLL to `victory.exe` with `VICTORY_MFG_UNLOCKER_DLL`. - **`victory run`:** now loads the mod named by `VICTORY_MFG_UNLOCKER_DLL`, like `play` does (before the device and Streamline). The script launcher starts the title with `run`, and the mod was never loaded on that path: this is also a fix for RTX 20/30 players who use the script. - **F3 panel:** on a DLSS-FG card with the mod loaded, the second line reads `MORE THAN 2X: UNLOCKED BY MFG UNLOCKER (A MOD)` instead of `MORE THAN 2X NEEDS AN RTX 50 CARD`. - **The safety check is unchanged:** before setting the options, the layer still asks Streamline how many frames the card generates and keeps what it gives (`more frames asked than this card generates asked=3 given=2`). So if the mod does not raise the limit, the game stays at a working 2x instead of failing. ## Tested on my PC RTX 4070 Ti SUPER 16 GB (driver 621.40), Ryzen 7 7700, 32 GB, Windows 11 Pro 26300. Series X profile at 2560x1440, DLSS Quality, `-Fast` (PR #18 merged locally), ray tracing off. - Build and tests: `cargo test -p victory-gpu --lib menu` (6 passed, including the new line's width and glyph checks) and `cargo test -p victory --bin victory` (25 passed). `play-foxhound.ps1` parses without errors. - Fetching: `-ForceMfg` downloaded MFG Unlocker v1.7.2, and `get-mfg-unlocker.ps1` checked it against the published SHA-256 (15.1 MB DLL with its licence beside it). - **Fallback, seen in a 40-minute session:** in my first run the mod did not load, which is what led to the `run` fix above. Frame generation was asked for at 3x; the layer logged `asked=3 given=2` and stayed at 2.00x (median frames shown per present over 681 samples). The game played normally: 19.7 rendered FPS median (p10 13.9), about 40 shown, 7,477 draws a frame, no crash. - **3x with the mod loaded:** not confirmed in game yet. I'll post the numbers (shown per present, frame times, pacing) here after my next session with this branch. Draft until then. ## Note for anyone merging this with #592 In my local merge with #592 (frame generation re-armed when stuck at one frame), asking for 3x on a card that gives 2x switched frame generation off and on again hundreds of times a minute (`switched ... on=false times=3`). The cause is the asked-3/given-2 gap. It does not happen on `main`, which does not have #592, but #592 probably needs to compare against the given count rather than the asked one.
trustno1-coder commented 2026-11-29 08:28:07 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by trustno1-coder on 2026-11-29T08:28:07Z.


Thank you! An earlier version of this pull request was merged into main with its original commits and is part of v2026.11.29.01, where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7253123526 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/702#issuecomment-7253123526). Originally posted by [trustno1-coder](https://github.com/trustno1-coder) on 2026-11-29T08:28:07Z. --- Thank you! An earlier version of this pull request was merged into main with its original commits and is part of [v2026.11.29.01](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.01), where you are credited. GitHub does not show it as merged because new commits were pushed here after that merge. It stays open so those newer commits can be looked at next.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/702:upstream-pr/702'
git switch 'upstream-pr/702'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/702'
git switch 'upstream-pr/702'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/702'
git switch 'upstream-pr/702'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/702'
git switch 'main'
git merge --squash 'upstream-pr/702'
git switch 'main'
git merge --ff-only 'upstream-pr/702'
git switch 'main'
git merge 'upstream-pr/702'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!702
No description provided.