Frame generation: Reflex low latency can be left off (VICTORY_FG_REFLEX_OFF=1): 4x on an RTX 5080 from 27.7 to 37.6 rendered fps #4880

Open
mstrmoos wants to merge 3 commits from upstream-pr/4880 into main
mstrmoos commented 2026-12-01 12:38:32 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mstrmoos on 2026-12-01T12:38:32Z.


What it changes

With DLSS frame generation on, the layer turns Reflex low latency on with it (set_reflex in crates/victory-gpu/src/streamline.rs). In this layer that holds the title back by about 11 ms a frame, and the card starves. The rendered rate drops below what the same scene manages with frame generation off, while the card has room to spare.

This adds VICTORY_FG_REFLEX_OFF=1, off by default, which leaves Reflex's low latency off while frame generation runs. It's the line that picks Reflex's mode, plus a fallback where frame generation stops without Reflex (below) and a README row. Without the switch nothing changes at all.

Why Reflex holds the frames

  • The layer's markers say the whole frame is simulation. It sets SIMULATION_START at the previous present's end, then SIMULATION_END and both render-submit markers together, at the present. In reality the card's work for a frame is submitted all through the title's frame, as the title's command lists are translated.
  • What I measured along the way, all in a diagnostics build:
    • Where the time goes: a timeline (VICTORY_TIMELINE) shows the host's Present taking 6.1 ms a frame on average and up to 18.1 ms with 4x, against 0.2 ms without frame generation. That time is on the presenting thread, and it holds back the title's next frame.
    • Not a full card: nvidia-smi shows the whole card only 87 % busy (80-94 %) at 2,782 MHz and 143 W during that run.
    • Calling slReflexSleep before the next frame's SIMULATION_START, as Streamline's Reflex guide asks, just moves the hold: Present drops to 0.09 ms, the sleep takes 10.8 ms a frame, and the rate is unchanged.
    • Moving the markers to where submission really starts (the title's first ExecuteCommandLists of a frame, after its SIMULATION_START) is also null: 33.3 ms, and 33.8 ms with the sleep as well. A log line confirmed that the markers fired every frame and that Streamline returned 0 for them.
    • Ruled out:
      • queueParallelismMode = eBlockNoClientQueues, with the input snapshots waiting for DLSS-G's inputs fence on the card: 33.0 ms;
      • the present on its own thread (VICTORY_PRESENT_ASIDE=1): 31.5 ms, plus slDLSSGGetState must be synchronized with the present thread warnings;
      • card memory: 9.8 of 15.2 GB in use, nothing evicted.

So it's Reflex's low latency itself, not where it's told the frame starts, that holds this layer's frames. Those experiments aren't in this PR. I can open the marker and sleep changes separately if they're wanted. They're the integration the guide describes, but they made no difference here.

Trade-offs, stated plainly

  • DLSS-G reports status 0x2 (Reflex not seen) and keeps generating: four frames a present throughout at 4x.

  • The rendered frames are less even: p99 41.5 ms against 36.4 ms, and 14 frames over 50 ms against 0 in 90 s. That's the pacing Reflex was doing.

  • Latency is higher in principle, because nothing keeps the title from running a frame ahead. I didn't measure latency.

  • When it helps: when the card is the limit and Reflex leaves it room (here 81-87 % busy with Reflex's low latency on, 100 % with it off). When the CPU is the limit there's no idle card to fill, and only the pacing loss is left: a CPU-bound RTX 5060 Laptop saw more frames over 100 ms with the switch on (see the comments).

  • Where DLSS-G needs Reflex to generate at all: an RTX 3070 Laptop running frame generation through an unlocker showed no generated frames with the switch on. Since 2bcd16b9, 120 presents in a row with Reflex not seen, at most one frame shown, and the window in front turn low latency on again for the rest of the run, with a warning in the log.

Hence a switch rather than a new default.

How it was tested

  • GPU and profile: RTX 5080 16 GB, Ryzen 7 9800X3D, Windows 11, 540 Hz 2560x1440 display. Series X, DLSS Balanced (1484x835 inside), DLSS frame generation 4x, ray tracing off.
  • Bench scene: standing still on a pier for 90 s after a warm-up. Water fills the left of the frame, people sit at a terrace behind, foliage and a far shore are in the distance. About 4,600-5,700 draws a frame, with the title's LOD scale and population held at 0.25 (VICTORY_IMAGE_HOLD), the same in both runs.
  • Before, main 5fabb46e + this, switch unset: 36.1 ms a rendered frame (27.7 fps, about 112 shown), p95 36.4, p99 36.4. Card 81 % busy, the submitting thread working 35.0 ms a frame. Status 0x0.
  • After, the same build with VICTORY_FG_REFLEX_OFF=1: 26.6 ms (37.6 fps, about 152 shown), p95 38.0, p99 41.5. Card 100 % busy, the submitting thread working 20.7 ms. Status 0x2.
  • Same result on another branch: my play branch (#4835) gave 31.3-33.0 ms against 25.0 ms (40.0 fps, about 160 shown).
  • Tests: cargo test --locked -p victory-gpu --lib: 1,094 passed, 1 failed. The failure was host::uav_pool::tests::host_list_uav_pool_lifecycle_retire_trim_and_info_queue, which passes when run on its own, on this branch twice and on main once. It's flaky under the full parallel run, and this change doesn't touch it.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. Related:

    • #3072: Reflex without frame generation.
    • #1938: the card kept awake while Reflex paces.
    • #3411: Reflex's sleep off the submitting thread.

    None changes the mode used with frame generation.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5585841044 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880). Originally posted by [mstrmoos](https://github.com/mstrmoos) on 2026-12-01T12:38:32Z. --- ## What it changes With DLSS frame generation on, the layer turns Reflex low latency on with it (`set_reflex` in `crates/victory-gpu/src/streamline.rs`). In this layer that holds the title back by about 11 ms a frame, and the card starves. The rendered rate drops below what the same scene manages with frame generation off, while the card has room to spare. This adds `VICTORY_FG_REFLEX_OFF=1`, **off by default**, which leaves Reflex's low latency off while frame generation runs. It's the line that picks Reflex's mode, plus a fallback where frame generation stops without Reflex (below) and a README row. Without the switch nothing changes at all. ### Why Reflex holds the frames - **The layer's markers say the whole frame is simulation.** It sets `SIMULATION_START` at the previous present's end, then `SIMULATION_END` and both render-submit markers together, at the present. In reality the card's work for a frame is submitted all through the title's frame, as the title's command lists are translated. - **What I measured along the way**, all in a diagnostics build: - **Where the time goes:** a timeline (`VICTORY_TIMELINE`) shows the host's Present taking 6.1 ms a frame on average and up to 18.1 ms with 4x, against 0.2 ms without frame generation. That time is on the presenting thread, and it holds back the title's next frame. - **Not a full card:** `nvidia-smi` shows the whole card only 87 % busy (80-94 %) at 2,782 MHz and 143 W during that run. - **Calling `slReflexSleep`** before the next frame's `SIMULATION_START`, as Streamline's Reflex guide asks, just moves the hold: Present drops to 0.09 ms, the sleep takes 10.8 ms a frame, and the rate is unchanged. - **Moving the markers** to where submission really starts (the title's first `ExecuteCommandLists` of a frame, after its `SIMULATION_START`) is also null: 33.3 ms, and 33.8 ms with the sleep as well. A log line confirmed that the markers fired every frame and that Streamline returned 0 for them. - **Ruled out:** - `queueParallelismMode = eBlockNoClientQueues`, with the input snapshots waiting for DLSS-G's inputs fence on the card: 33.0 ms; - the present on its own thread (`VICTORY_PRESENT_ASIDE=1`): 31.5 ms, plus `slDLSSGGetState must be synchronized with the present thread` warnings; - card memory: 9.8 of 15.2 GB in use, nothing evicted. So it's Reflex's low latency itself, not where it's told the frame starts, that holds this layer's frames. Those experiments aren't in this PR. I can open the marker and sleep changes separately if they're wanted. They're the integration the guide describes, but they made no difference here. ### Trade-offs, stated plainly - **DLSS-G reports status `0x2` (Reflex not seen)** and keeps generating: four frames a present throughout at 4x. - **The rendered frames are less even:** p99 41.5 ms against 36.4 ms, and 14 frames over 50 ms against 0 in 90 s. That's the pacing Reflex was doing. - **Latency is higher in principle,** because nothing keeps the title from running a frame ahead. I didn't measure latency. - **When it helps:** when the card is the limit and Reflex leaves it room (here 81-87 % busy with Reflex's low latency on, 100 % with it off). When the CPU is the limit there's no idle card to fill, and only the pacing loss is left: a CPU-bound RTX 5060 Laptop saw more frames over 100 ms with the switch on (see the comments). - **Where DLSS-G needs Reflex to generate at all:** an RTX 3070 Laptop running frame generation through an unlocker showed no generated frames with the switch on. Since 2bcd16b9, 120 presents in a row with Reflex not seen, at most one frame shown, and the window in front turn low latency on again for the rest of the run, with a warning in the log. Hence a switch rather than a new default. ## How it was tested - **GPU and profile:** RTX 5080 16 GB, Ryzen 7 9800X3D, Windows 11, 540 Hz 2560x1440 display. Series X, DLSS Balanced (1484x835 inside), **DLSS frame generation 4x**, ray tracing off. - **Bench scene:** standing still on a pier for 90 s after a warm-up. Water fills the left of the frame, people sit at a terrace behind, foliage and a far shore are in the distance. About 4,600-5,700 draws a frame, with the title's LOD scale and population held at 0.25 (`VICTORY_IMAGE_HOLD`), the same in both runs. - **Before, `main` 5fabb46e + this, switch unset:** 36.1 ms a rendered frame (27.7 fps, about 112 shown), p95 36.4, p99 36.4. Card 81 % busy, the submitting thread working 35.0 ms a frame. Status 0x0. - **After, the same build with `VICTORY_FG_REFLEX_OFF=1`:** 26.6 ms (37.6 fps, about 152 shown), p95 38.0, p99 41.5. Card 100 % busy, the submitting thread working 20.7 ms. Status 0x2. - **Same result on another branch:** my play branch (#4835) gave 31.3-33.0 ms against 25.0 ms (40.0 fps, about 160 shown). - **Tests:** `cargo test --locked -p victory-gpu --lib`: 1,094 passed, 1 failed. The failure was `host::uav_pool::tests::host_list_uav_pool_lifecycle_retire_trim_and_info_queue`, which passes when run on its own, on this branch twice and on `main` once. It's flaky under the full parallel run, and this change doesn't touch it. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. Related: - #3072: Reflex without frame generation. - #1938: the card kept awake while Reflex paces. - #3411: Reflex's sleep off the submitting thread. None changes the mode used with frame generation.
Aniseto commented 2026-12-01 12:48:31 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Aniseto on 2026-12-01T12:48:31Z.


Ran the full victory-gpu library suite at 743a7b60 on an NVIDIA Blackwell desktop part with 16 GB of VRAM. The new switch is opt-in and was left unset.

Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB, mesh shaders) driver 32.0.16.2140 (621.40), Intel Core i5-12400F, 64 GB RAM, rustc 1.98.1 (48a229cea 2026-09-01), MSVC 14.44.35207, debug build, detached worktree at the exact PR head, own CARGO_TARGET_DIR, no local patches.

cargo test -q --locked -p victory-gpu --lib -- --test-threads=4
1094 passed; 1 failed; 66 ignored; 0 filtered out      (exit 101)

The one failure is host::packed_present_tests::packed_float_single_planes_are_presented, at host.rs:17713 - the same pre-existing failure reproduced on main 5fabb46e on this host with a separate target directory (also 1094/1/66 in the earlier control). The description's different flaky failure (host_list_uav_pool_lifecycle_retim_and_info_queue) did not occur here. No title run was done, so the Reflex/frame-generation A/B was not measured on this adapter.

Not tested: a retail title with DLSS frame generation, VICTORY_FG_REFLEX_OFF=1, the RTX 5080 A/B of the description, Wine, AMD adapters, release profile, game data.

AI-assisted (OpenCode), model: MiMo-V2.6-Flash Free - checked out the PR's head commit in a detached worktree, built it, ran the suite, wrote this report; the worktree was not modified; no game data was used.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7311676613 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7311676613). Originally posted by [Aniseto](https://github.com/Aniseto) on 2026-12-01T12:48:31Z. --- Ran the full `victory-gpu` library suite at `743a7b60` on an NVIDIA Blackwell desktop part with 16 GB of VRAM. The new switch is opt-in and was left unset. Environment: Windows 11 Pro build 26200 x64, NVIDIA GeForce RTX 5070 Ti (Blackwell, 32-lane waves only, 16 GB, mesh shaders) driver 32.0.16.2140 (621.40), Intel Core i5-12400F, 64 GB RAM, rustc 1.98.1 (48a229cea 2026-09-01), MSVC 14.44.35207, debug build, detached worktree at the exact PR head, own `CARGO_TARGET_DIR`, no local patches. ``` cargo test -q --locked -p victory-gpu --lib -- --test-threads=4 1094 passed; 1 failed; 66 ignored; 0 filtered out (exit 101) ``` The one failure is `host::packed_present_tests::packed_float_single_planes_are_presented`, at `host.rs:17713` - the same pre-existing failure reproduced on `main` `5fabb46e` on this host with a separate target directory (also 1094/1/66 in the earlier control). The description's different flaky failure (`host_list_uav_pool_lifecycle_retim_and_info_queue`) did not occur here. No title run was done, so the Reflex/frame-generation A/B was not measured on this adapter. Not tested: a retail title with DLSS frame generation, `VICTORY_FG_REFLEX_OFF=1`, the RTX 5080 A/B of the description, Wine, AMD adapters, release profile, game data. AI-assisted (OpenCode), model: **MiMo-V2.6-Flash Free** - checked out the PR's head commit in a detached worktree, built it, ran the suite, wrote this report; the worktree was not modified; no game data was used.
mstrmoos commented 2026-12-01 12:51:54 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mstrmoos on 2026-12-01T12:51:54Z.


A follow-up on the pacing trade-off. With Reflex's low latency off, its frame-rate limiter (ReflexOptions::frameLimitUs) still works, and it gets most of the evenness back.

One thing to know about the limiter: with frame generation on, it counts every frame shown, generated ones included. A limit of 26,000 µs at 4x held the title to 104 ms a rendered frame (9.6 fps). So for a rendered frame every N µs at Kx, the value to give is N / K.

On my play branch (#4835's code plus this switch), on the same pier as above: 90 s standing still, water in frame, the terrace behind, the far shore, about 4,700 draws a frame. 4x, Reflex low latency off, slReflexSleep called before the next frame's simulation marker:

rendered p95 p99 frames over 50 ms seconds with p95 over 33 ms
no limit 25.0 ms (40.0 fps, ~160 shown) 34.9 38.3 3 84 of 90
frameLimitUs = 6500 (~154 shown) 26.9 ms (37.2 fps) 30.9 36.8 2 11 of 90

The card stays 100 % busy in both. I've kept that on a separate switch on my branch, VICTORY_FG_FRAME_LIMIT_US=<µs>. The slReflexSleep call it relies on is VICTORY_REFLEX_SLEEP=1. Happy to add both here, or open them as their own PR, whichever you prefer.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7311758686 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7311758686). Originally posted by [mstrmoos](https://github.com/mstrmoos) on 2026-12-01T12:51:54Z. --- A follow-up on the pacing trade-off. With Reflex's low latency off, its **frame-rate limiter** (`ReflexOptions::frameLimitUs`) still works, and it gets most of the evenness back. **One thing to know about the limiter:** with frame generation on, it counts every frame *shown*, generated ones included. A limit of 26,000 µs at 4x held the title to 104 ms a rendered frame (9.6 fps). So for a rendered frame every N µs at Kx, the value to give is N / K. On my play branch (#4835's code plus this switch), on the same pier as above: 90 s standing still, water in frame, the terrace behind, the far shore, about 4,700 draws a frame. 4x, Reflex low latency off, `slReflexSleep` called before the next frame's simulation marker: | | rendered | p95 | p99 | frames over 50 ms | seconds with p95 over 33 ms | | --- | --- | --- | --- | --- | --- | | no limit | 25.0 ms (40.0 fps, ~160 shown) | 34.9 | 38.3 | 3 | 84 of 90 | | `frameLimitUs = 6500` (~154 shown) | 26.9 ms (37.2 fps) | **30.9** | **36.8** | 2 | **11 of 90** | The card stays 100 % busy in both. I've kept that on a separate switch on my branch, `VICTORY_FG_FRAME_LIMIT_US=<µs>`. The `slReflexSleep` call it relies on is `VICTORY_REFLEX_SLEEP=1`. Happy to add both here, or open them as their own PR, whichever you prefer.
tikD1337 commented 2026-12-01 13:28:06 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by tikD1337 on 2026-12-01T13:28:06Z.


Tested VICTORY_FG_REFLEX_OFF=1 with DLSS Quality + Frame Generation 2x (VICTORY_FRAMEGEN=1, VICTORY_FRAMEGEN_X=2) on RTX 4070 Ti SUPER 16 GB (Driver 621.1.0) + Ryzen 5 7600 + Win11 26300 (--release, 5fabb46e + #4885 THIN_PEEPHOLE=1 + #4877 + #4872 + #3556 01/03/04, PORT_CONSTANTS=0):

  • Clean 105 s run, 0 crashes: steady base rendered FPS 28.71 FPS (34.83 ms/f), 5 s peaks up to 29.5 FPS base (5.15k–5.65k draws), 22.5–22.8 FPS base in 10.2k–11.1k-draw windows (card=20.8 ms, submit_prep=31.0 ms, VRAM=9546 MB).
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7312671393 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7312671393). Originally posted by [tikD1337](https://github.com/tikD1337) on 2026-12-01T13:28:06Z. --- Tested `VICTORY_FG_REFLEX_OFF=1` with `DLSS Quality` + `Frame Generation 2x` (`VICTORY_FRAMEGEN=1`, `VICTORY_FRAMEGEN_X=2`) on RTX 4070 Ti SUPER 16 GB (Driver `621.1.0`) + Ryzen 5 7600 + Win11 `26300` (`--release`, `5fabb46e` + `#4885` `THIN_PEEPHOLE=1` + `#4877` + `#4872` + `#3556` `01/03/04`, `PORT_CONSTANTS=0`): - **Clean 105 s run, 0 crashes:** steady base rendered FPS **`28.71 FPS` (`34.83 ms/f`)**, 5 s peaks up to **`29.5 FPS` base** (`5.15k–5.65k` draws), **`22.5–22.8 FPS` base** in `10.2k–11.1k`-draw windows (`card=20.8 ms`, `submit_prep=31.0 ms`, `VRAM=9546 MB`).
Freeman022026 commented 2026-12-01 14:04:25 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Freeman022026 on 2026-12-01T14:04:25Z.


Tested VICTORY_FG_REFLEX_OFF=1 on an RTX 4090 24 GB (driver 621.14), Ryzen 7 7800X3D, 64 GB RAM, Windows 11, Series X profile at 2560x1440, DLSS Performance, 2x DLSS Frame Generation, ray tracing off.

This was a local MSVC release build on v2026.11.30.02 (84bd61e2) with a local PR stack that includes #3411 (VICTORY_REFLEX_ASIDE=1), #4872, #4875, #4876, and #4877. I adapted the one-line check in set_reflex to work alongside #3411's reflex_mode() and skipped slReflexSleep while VICTORY_FG_REFLEX_OFF=1 is set.

Observed over a 12-minute session (554 gameplay seconds with at least 180 title lists per frame):

  • slDLSSGGetState reported status=0x2 (Reflex not seen) in 125 of 134 samples (93%), with 11 status-change warnings. On the prior 6-hour run on the same PC with Reflex mode 1 and VICTORY_REFLEX_ASIDE=1, every sample stayed at status=0x0 with 0 status changes.
  • Present() time stayed low (0.50 ms median longest, 1.10 ms p90), and the on-screen FPS readout climbed during lighter scenes.
  • In play, motion felt noticeably jerky and delayed compared to Reflex mode 1 with VICTORY_REFLEX_ASIDE=1, matching the pacing trade-off mstrmoos noted above. Removing VICTORY_FG_REFLEX_OFF=1 was needed to get smooth 2x FG delivery back.

Not tested: VICTORY_FG_REFLEX_OFF=1 combined with ReflexOptions::frameLimitUs, 3x or 4x frame generation, or an isolated build on clean main.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7313649161 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7313649161). Originally posted by [Freeman022026](https://github.com/Freeman022026) on 2026-12-01T14:04:25Z. --- Tested `VICTORY_FG_REFLEX_OFF=1` on an RTX 4090 24 GB (driver 621.14), Ryzen 7 7800X3D, 64 GB RAM, Windows 11, Series X profile at 2560x1440, DLSS Performance, 2x DLSS Frame Generation, ray tracing off. This was a local MSVC release build on `v2026.11.30.02` (`84bd61e2`) with a local PR stack that includes #3411 (`VICTORY_REFLEX_ASIDE=1`), #4872, #4875, #4876, and #4877. I adapted the one-line check in `set_reflex` to work alongside #3411's `reflex_mode()` and skipped `slReflexSleep` while `VICTORY_FG_REFLEX_OFF=1` is set. Observed over a 12-minute session (554 gameplay seconds with at least 180 title lists per frame): - `slDLSSGGetState` reported `status=0x2` (Reflex not seen) in 125 of 134 samples (93%), with 11 status-change warnings. On the prior 6-hour run on the same PC with Reflex mode 1 and `VICTORY_REFLEX_ASIDE=1`, every sample stayed at `status=0x0` with 0 status changes. - `Present()` time stayed low (0.50 ms median longest, 1.10 ms p90), and the on-screen FPS readout climbed during lighter scenes. - In play, motion felt noticeably jerky and delayed compared to Reflex mode 1 with `VICTORY_REFLEX_ASIDE=1`, matching the pacing trade-off mstrmoos noted above. Removing `VICTORY_FG_REFLEX_OFF=1` was needed to get smooth 2x FG delivery back. Not tested: `VICTORY_FG_REFLEX_OFF=1` combined with `ReflexOptions::frameLimitUs`, 3x or 4x frame generation, or an isolated build on clean `main`.
vi-tester-8gb commented 2026-12-01 15:33:51 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by vi-tester-8gb on 2026-12-01T15:33:51Z.


One data point from a CPU-bound 8 GB laptop, where it went the other way: more hitches with VICTORY_FG_REFLEX_OFF=1.

PC: RTX 5060 Laptop GPU 8 GB (driver 621.24), i7-13620H, 32 GB RAM, Windows 11.
Build: v2026.11.30.03 + #4206 + #4294 + #4581 (cef63b9c) + this PR, local --release. Series S profile, DLSS Performance, DLSS FG 2x, --fps 16 (our own cap, not Reflex's frameLimitUs, which stays 0), VICTORY_VRAM_BUDGET_MB=6400. Here the frame is ~60 ms: the submitting thread prepares for ~45-50 ms and the card's own time is about the same. So Reflex's ~11 ms isn't what limits us.

Same exe and settings, one run with VICTORY_FG_REFLEX_OFF=1 and one without, played by hand (not the same route, so read it as a hint):

minutes in world REFLEX_OFF=1: median fps / frames >100 ms without: median fps / frames >100 ms
3-10 16.0 / 6.1 % 14.2 / 4.5 %
10-20 13.6 / 13.2 % 16.0 / 2.5 %
  • FG status 0x2 (Reflex not seen) was logged in 173 of 882 status lines, so the switch was really in effect.
  • Compaction (#4581) never acted in the REFLEX_OFF run (card ≤ 5.9 GB under a 6400 cap), so it isn't behind the difference.
  • The player said, before seeing any numbers, that it felt "choppier and lower".

@mstrmoos's note about the limiter fits this: with low latency off, nothing kept our frames evenly paced. We haven't tried REFLEX_OFF=1 together with Reflex's frameLimitUs yet. For a card-and-CPU-bound 8 GB setup, the default (off) looks like the right choice.

Written up with help from Claude (AI); numbers are from our own logs.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7316126503 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7316126503). Originally posted by [vi-tester-8gb](https://github.com/vi-tester-8gb) on 2026-12-01T15:33:51Z. --- One data point from a CPU-bound 8 GB laptop, where it went the other way: more hitches with `VICTORY_FG_REFLEX_OFF=1`. **PC:** RTX 5060 Laptop GPU 8 GB (driver 621.24), i7-13620H, 32 GB RAM, Windows 11. **Build:** `v2026.11.30.03` + #4206 + #4294 + #4581 (`cef63b9c`) + this PR, local `--release`. Series S profile, DLSS Performance, DLSS FG 2x, `--fps 16` (our own cap, not Reflex's `frameLimitUs`, which stays 0), `VICTORY_VRAM_BUDGET_MB=6400`. Here the frame is ~60 ms: the submitting thread prepares for ~45-50 ms and the card's own time is about the same. So Reflex's ~11 ms isn't what limits us. Same exe and settings, one run with `VICTORY_FG_REFLEX_OFF=1` and one without, played by hand (not the same route, so read it as a hint): | minutes in world | REFLEX_OFF=1: median fps / frames >100 ms | without: median fps / frames >100 ms | |---|---|---| | 3-10 | 16.0 / 6.1 % | 14.2 / 4.5 % | | 10-20 | 13.6 / 13.2 % | 16.0 / 2.5 % | - FG status 0x2 (Reflex not seen) was logged in 173 of 882 status lines, so the switch was really in effect. - Compaction (#4581) never acted in the REFLEX_OFF run (card ≤ 5.9 GB under a 6400 cap), so it isn't behind the difference. - The player said, before seeing any numbers, that it felt "choppier and lower". @mstrmoos's note about the limiter fits this: with low latency off, nothing kept our frames evenly paced. We haven't tried `REFLEX_OFF=1` together with Reflex's `frameLimitUs` yet. For a card-and-CPU-bound 8 GB setup, the default (off) looks like the right choice. _Written up with help from Claude (AI); numbers are from our own logs._
mstrmoos commented 2026-12-01 15:38:37 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mstrmoos on 2026-12-01T15:38:37Z.


Thanks, that's a useful counterpoint, and it fits what the switch does. Reflex's low latency costs a card-bound setup about 11 ms a frame, because it holds the title back while the card has room to spare (100 % busy with it off, 81-87 % with it on, on my 5080). On your laptop the submitting thread is the limit at 45-50 ms. So there's no idle card for the switch to fill, and what you see is only the pacing Reflex was doing. Your 10-20 minute row (13.2 % against 2.5 % over 100 ms) is that pacing loss on its own.

So I'd describe it as: helps when the card is the limit and has room under Reflex; leave it off when the CPU is the limit. I'll add that to the description.

To get some of the pacing back, Reflex's frame limiter still works with low latency off. I've been testing frameLimitUs beside this switch, and it counts shown frames, so it's the rendered frame time divided by the multiplier. On my pier at 4x, 6,500 µs took the seconds with p95 over 33 ms from 84 of 90 down to 11 of 90. A 30-minute run with it today: p95 26.1 ms, p99 29.9 ms, no crash. Your own --fps 16 cap is a different mechanism, so the two may not compare.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7316262742 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7316262742). Originally posted by [mstrmoos](https://github.com/mstrmoos) on 2026-12-01T15:38:37Z. --- Thanks, that's a useful counterpoint, and it fits what the switch does. Reflex's low latency costs a card-bound setup about 11 ms a frame, because it holds the title back while the card has room to spare (100 % busy with it off, 81-87 % with it on, on my 5080). On your laptop the submitting thread is the limit at 45-50 ms. So there's no idle card for the switch to fill, and what you see is only the pacing Reflex was doing. Your 10-20 minute row (13.2 % against 2.5 % over 100 ms) is that pacing loss on its own. So I'd describe it as: **helps when the card is the limit and has room under Reflex; leave it off when the CPU is the limit.** I'll add that to the description. To get some of the pacing back, Reflex's frame limiter still works with low latency off. I've been testing `frameLimitUs` beside this switch, and it counts *shown* frames, so it's the rendered frame time divided by the multiplier. On my pier at 4x, 6,500 µs took the seconds with p95 over 33 ms from 84 of 90 down to 11 of 90. A 30-minute run with it today: p95 26.1 ms, p99 29.9 ms, no crash. Your own `--fps 16` cap is a different mechanism, so the two may not compare.
mstrmoos commented 2026-12-01 15:46:33 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mstrmoos on 2026-12-01T15:46:33Z.


Thanks for the 4090 run. It's the same picture as the laptop above. Reflex's low latency was doing pacing as well as holding frames back, and with it off on 2x and no limiter, delivery gets uneven. That status 0x2 shows in 93 % of samples confirms the switch was in effect.

What I'd try with it on is Reflex's frameLimitUs set to the rendered frame time divided by the multiplier. It counts shown frames, so a ~33 ms rendered frame at 2x needs about 16,500 µs. That's what brought my 4x tail back. Comparing it against VICTORY_REFLEX_ASIDE=1 at mode 1 on your PC would be a good test. If #3411's thread gets the card busy without giving up the pacing, that's the better answer for setups like yours.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7316485034 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7316485034). Originally posted by [mstrmoos](https://github.com/mstrmoos) on 2026-12-01T15:46:33Z. --- Thanks for the 4090 run. It's the same picture as the laptop above. Reflex's low latency was doing pacing as well as holding frames back, and with it off on 2x and no limiter, delivery gets uneven. That status 0x2 shows in 93 % of samples confirms the switch was in effect. What I'd try with it on is Reflex's `frameLimitUs` set to the rendered frame time divided by the multiplier. It counts shown frames, so a ~33 ms rendered frame at 2x needs about 16,500 µs. That's what brought my 4x tail back. Comparing it against `VICTORY_REFLEX_ASIDE=1` at mode 1 on your PC would be a good test. If #3411's thread gets the card busy without giving up the pacing, that's the better answer for setups like yours.
albertik322-sudo commented 2026-12-01 17:00:19 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by albertik322-sudo on 2026-12-01T17:00:19Z.


Negative result on a 30-series laptop, worth knowing before this spreads. PC: RTX 3070 Laptop 8 GB, i7-11800H, 32 GB RAM, Windows 11. Series S, 1080p output, DLSS Performance, FG x4. Frame generation here runs through the Universal MFG Unlocker (MFGUnlocker.dll — the only way to get FG on RTX 30).

With VICTORY_FG_REFLEX_OFF=1 the DLSS FG chain breaks completely: dlfgPresent.cpp updateStatus fails every frame with eDLSSGStatusFailReflexNotDetectedAtRuntime — frame generation stops engaging at all. On this setup Reflex is apparently a required part of the FG pipeline, not an optional add-on. Worse, the error spam destabilizes the unlocker itself (MFGUnlocker.dll failfast crashes minutes later).

So the +36% on the 5080 comes with a caveat: anywhere Reflex is woven into the FG chain (at least RTX 30 laptops with the unlocker), turning it off costs everything instead of gaining anything. Maybe gate the switch off when Reflex detection fails rather than letting FG die.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7318593314 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7318593314). Originally posted by [albertik322-sudo](https://github.com/albertik322-sudo) on 2026-12-01T17:00:19Z. --- Negative result on a 30-series laptop, worth knowing before this spreads. PC: RTX 3070 Laptop 8 GB, i7-11800H, 32 GB RAM, Windows 11. Series S, 1080p output, DLSS Performance, FG x4. Frame generation here runs through the Universal MFG Unlocker (MFGUnlocker.dll — the only way to get FG on RTX 30). With `VICTORY_FG_REFLEX_OFF=1` the DLSS FG chain breaks completely: `dlfgPresent.cpp updateStatus` fails every frame with **eDLSSGStatusFailReflexNotDetectedAtRuntime** — frame generation stops engaging at all. On this setup Reflex is apparently a required part of the FG pipeline, not an optional add-on. Worse, the error spam destabilizes the unlocker itself (MFGUnlocker.dll failfast crashes minutes later). So the +36% on the 5080 comes with a caveat: anywhere Reflex is woven into the FG chain (at least RTX 30 laptops with the unlocker), turning it off costs everything instead of gaining anything. Maybe gate the switch off when Reflex detection fails rather than letting FG die.
mstrmoos commented 2026-12-01 17:06:32 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by mstrmoos on 2026-12-01T17:06:32Z.


Thanks, that's an important one. Your suggestion is in: 2bcd16b9.

Your setup and mine report the same status, 0x2 (Reflex not seen). The difference is what DLSS-G does next: on my 5080 it keeps showing four frames a present, and through the unlocker on your 3070 it shows none. So the switch now watches for that. If DLSS-G shows at most one frame a present for 120 presents in a row with the Reflex bit set and the game window in front, low latency goes back on for the rest of the run, with one warning in the log:

DLSS Frame Generation showed no generated frames with Reflex not seen for that many presents in a row: Reflex low latency is on again (VICTORY_FG_REFLEX_OFF does not hold on this setup)

The window has to be in front because DLSS-G also shows one frame a present while the window is out of focus, and an alt-tab shouldn't turn it back on. There's a unit test for the step: no fallback while frames are generated, fallback at exactly 120, and the count resets on a generating present, a status without the bit, or loss of focus. I can't reproduce your setup, so if you can try 2bcd16b9 with the switch on, the warning should appear about 4 seconds in, and frame generation should come back.

I can't tell whether the unlocker's failfast came from the error spam or from frame generation dropping out. Either way, both should stop once low latency is back on.

I've also added a README row for the switch that says where it helps and where it doesn't: card-bound PCs gain, and CPU-bound ones get more hitches (from the laptop and 4090 reports above).

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7318766256 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4880#issuecomment-7318766256). Originally posted by [mstrmoos](https://github.com/mstrmoos) on 2026-12-01T17:06:32Z. --- Thanks, that's an important one. Your suggestion is in: 2bcd16b9. Your setup and mine report the same status, 0x2 (Reflex not seen). The difference is what DLSS-G does next: on my 5080 it keeps showing four frames a present, and through the unlocker on your 3070 it shows none. So the switch now watches for that. If DLSS-G shows **at most one frame a present for 120 presents in a row** with the Reflex bit set and the game window in front, low latency goes back on for the rest of the run, with one warning in the log: > DLSS Frame Generation showed no generated frames with Reflex not seen for that many presents in a row: Reflex low latency is on again (VICTORY_FG_REFLEX_OFF does not hold on this setup) The window has to be in front because DLSS-G also shows one frame a present while the window is out of focus, and an alt-tab shouldn't turn it back on. There's a unit test for the step: no fallback while frames are generated, fallback at exactly 120, and the count resets on a generating present, a status without the bit, or loss of focus. I can't reproduce your setup, so if you can try 2bcd16b9 with the switch on, the warning should appear about 4 seconds in, and frame generation should come back. I can't tell whether the unlocker's failfast came from the error spam or from frame generation dropping out. Either way, both should stop once low latency is back on. I've also added a README row for the switch that says where it helps and where it doesn't: card-bound PCs gain, and CPU-bound ones get more hitches (from the laptop and 4090 reports above).
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/4880:upstream-pr/4880'
git switch 'upstream-pr/4880'

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/4880'
git switch 'upstream-pr/4880'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4880'
git switch 'upstream-pr/4880'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4880'
git switch 'main'
git merge --squash 'upstream-pr/4880'
git switch 'main'
git merge --ff-only 'upstream-pr/4880'
git switch 'main'
git merge 'upstream-pr/4880'
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!4880
No description provided.