fix(vk): Skip Upscaler Wait, the late-page rules and Reflex Off's calls behind one Debug row, off by default #3287

Closed
Veix wants to merge 2 commits from Veix/Longshot:ui/skip-upscaler-wait-debug into main
Member

Summary

Skip Upscaler Wait, the two late-page rules and Reflex Off's NVIDIA calls go behind one row on the Debug tab, off by
default: with V-Sync they make the game's frames uneven in light scenes.

With V-Sync (FIFO), all four on make the game's frame times alternate where frames are short. Kokiri Forest, 4K DLSS
from 1080p, RTX 4070 SUPER: fps rises 10 %, the real presents stay even, but 37 % of the game's frames are over 1.25x the
median (0 % without) and the 1 % low falls from 75.6 to 62.8 fps. An RTX 3090 report comparing v3.2.0 with nightly 1179
on Linux shows the same pattern (+4 % fps, 1 % low -23 % in Kokiri, -15 % in Hyrule Field), likely because a compositor
holds presents to the refresh. With V-Sync off the four are better in every measure.

What changes:

  • The row: Skip Upscaler Wait moves from the Graphics tab to the Debug tab, defaults to off, applies after a
    restart, and is shown with every Upscaler. With Upscaler Off the skip applies too (the linear stretch stands in for
    the game's network), while the row was hidden there.
  • One row for all four: skip_row_at_start() (gpu/vk/vk_replay.cpp) gives the row as the run started.
    late_by_part_on(), late_read_same_on() (gpu/vk/vk_memory.cpp) and off_paced() (gpu/vk/vk_reflex.cpp) are now
    their switch and that value; the skip itself follows the row at once, as before. The late rules judge a page at the
    capture, the take and the fix's build, so they are read once for the run; the Reflex calls need the swapchain made in
    latency mode.
  • HOS_FRAME_SKIP_TAIL, RX_VK_LATE_BY_PART, RX_VK_LATE_READ_SAME and RX_VK_REFLEX_OFF_PACED stay kill switches;
    HOS_FRAME_SKIP_TAIL=1 turns the row on for a run.
  • The row's old help text leaves the 13 translation files (the Debug tab is not translated). Three checks that compile
    these functions alone get a stand-in for the row.

Read first: the skip_upscaler_wait row in game/mods/graphics/mod.toml, then skip_row_at_start in
gpu/vk/vk_replay.cpp.

Testing

Tested: Windows 11, RTX 4070 SUPER, NVIDIA 621.24, 4K DLSS from 1080p, uncapped, standing still (numbers below):
Kokiri Forest with the four switches off against on, V-Sync off and on; and this PR's build with the row off (no
switch) against on (HOS_FRAME_SKIP_TAIL=1) in the Market, Hyrule Field and Kokiri. Row off logs Skip Upscaler Wait (HOS_FRAME_SKIP_TAIL): off, repairs 52 pages a capture (the old late rule) and makes no Reflex call; row on logs on,
repairs 0.9 pages a capture and puts the swapchain in latency mode. The changed files' checks pass; the ones that fail
also fail on main 2d87a5c9a.

Still to test:

  • Linux, NVIDIA, compositor: the row off against on in Kokiri at 4K DLSS from 1080p, expecting the game's 1 % low no
    lower with the row off (by hand)

Measurements

Verdict: off by default trades the four's fps gain for even game frames with V-Sync.

Setup: Windows 11, RTX 4070 SUPER, Ryzen 9 9900X; Kokiri Forest standing 30 s, 4K output, DLSS at 50 % (1080p in),
uncapped, windowed; one pair each, on one build (main 2d87a5c9a plus this branch's first commit) with the four switches
at 1 (main's behaviour) and at 0 (what this PR's default gives). 1 % low = the slowest 1 % of the game's frame times, as
fps. The row on this PR's build follows below.

Before: main @ 2d87a5c9a (the four on) After: this PR @ e2e09f516 (the row off) Change
V-Sync off: average fps 104.6 82.5 -21.1 %
V-Sync off: 1 % low 88.5 73.9 -16.5 %
V-Sync off: p99 (lower is better) 10.9 ms 13.3 ms +22.0 %
V-Sync on: average fps 91.6 83.6 -8.7 %
V-Sync on: 1 % low 62.8 75.6 +20.4 %
V-Sync on: p99 (lower is better) 15.4 ms 13.0 ms -15.6 %
V-Sync on: frames over 1.25x the median (lower is better) 37.3 % 0.0 % -37.3 points

The row on this PR's build, standing 40 s, the same settings, one pair each (1 % low in fps):

Area V-Sync fps row off fps row on Change 1 % low row off 1 % low row on Change Frames over 1.25x the median, off / on
Market off 90.6 114.3 +26 % 73.3 90.9 +24 % 0.3 % / 0.5 %
Hyrule Field off 99.5 111.5 +12 % 83.1 95.1 +14 % 0.2 % / 0.1 %
Market on 92.5 99.5 +8 % 77.6 49.4 -36 % 0.1 % / 23.5 %
Hyrule Field on 100.1 98.7 -1 % 86.9 60.8 -30 % 0.0 % / 24.5 %
Kokiri Forest on 80.6 90.6 +12 % 64.6 63.9 -1 % 0.3 % / 36.3 %

Risks

Players lose the four's fps gain by default (here +27 % in Kokiri with V-Sync off); the Debug row brings it back after a
restart. A player who had the row on keeps their saved value. A revert is enough.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named): the changed files' checks pass;
    test_settings_area_keys, test_i18n_complete, test_present_image_free, test_input_background,
    test_present_semaphores, test_dlssg, test_present_held_image, test_vk_draw_overhead_lean and
    test_present_acquire_ahead fail on main 2d87a5c9a too.
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A switch added or changed: it ships at the default the measurements chose, with its row in gpu/vk/switches.def.
  • A check under tests/ that reads changed source is updated, not weakened.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

Written with help from Claude (Anthropic), reviewed and tested by me.

🤖 Generated with Claude Code

## Summary **Skip Upscaler Wait, the two late-page rules and Reflex Off's NVIDIA calls go behind one row on the Debug tab, off by default: with V-Sync they make the game's frames uneven in light scenes.** With V-Sync (FIFO), all four on make the game's frame times alternate where frames are short. Kokiri Forest, 4K DLSS from 1080p, RTX 4070 SUPER: fps rises 10 %, the real presents stay even, but 37 % of the game's frames are over 1.25x the median (0 % without) and the 1 % low falls from 75.6 to 62.8 fps. An RTX 3090 report comparing v3.2.0 with nightly 1179 on Linux shows the same pattern (+4 % fps, 1 % low -23 % in Kokiri, -15 % in Hyrule Field), likely because a compositor holds presents to the refresh. With V-Sync off the four are better in every measure. What changes: - **The row:** Skip Upscaler Wait moves from the Graphics tab to the Debug tab, defaults to off, applies after a restart, and is shown with every Upscaler. With Upscaler Off the skip applies too (the linear stretch stands in for the game's network), while the row was hidden there. - **One row for all four:** `skip_row_at_start()` (`gpu/vk/vk_replay.cpp`) gives the row as the run started. `late_by_part_on()`, `late_read_same_on()` (`gpu/vk/vk_memory.cpp`) and `off_paced()` (`gpu/vk/vk_reflex.cpp`) are now their switch and that value; the skip itself follows the row at once, as before. The late rules judge a page at the capture, the take and the fix's build, so they are read once for the run; the Reflex calls need the swapchain made in latency mode. - `HOS_FRAME_SKIP_TAIL`, `RX_VK_LATE_BY_PART`, `RX_VK_LATE_READ_SAME` and `RX_VK_REFLEX_OFF_PACED` stay kill switches; `HOS_FRAME_SKIP_TAIL=1` turns the row on for a run. - The row's old help text leaves the 13 translation files (the Debug tab is not translated). Three checks that compile these functions alone get a stand-in for the row. Read first: the `skip_upscaler_wait` row in `game/mods/graphics/mod.toml`, then `skip_row_at_start` in `gpu/vk/vk_replay.cpp`. ## Testing **Tested:** Windows 11, RTX 4070 SUPER, NVIDIA 621.24, 4K DLSS from 1080p, uncapped, standing still (numbers below): Kokiri Forest with the four switches off against on, V-Sync off and on; and this PR's build with the row off (no switch) against on (`HOS_FRAME_SKIP_TAIL=1`) in the Market, Hyrule Field and Kokiri. Row off logs `Skip Upscaler Wait (HOS_FRAME_SKIP_TAIL): off`, repairs 52 pages a capture (the old late rule) and makes no Reflex call; row on logs `on`, repairs 0.9 pages a capture and puts the swapchain in latency mode. The changed files' checks pass; the ones that fail also fail on main 2d87a5c9a. **Still to test:** - Linux, NVIDIA, compositor: the row off against on in Kokiri at 4K DLSS from 1080p, expecting the game's 1 % low no lower with the row off (by hand) ## Measurements **Verdict:** off by default trades the four's fps gain for even game frames with V-Sync. Setup: Windows 11, RTX 4070 SUPER, Ryzen 9 9900X; Kokiri Forest standing 30 s, 4K output, DLSS at 50 % (1080p in), uncapped, windowed; one pair each, on one build (main 2d87a5c9a plus this branch's first commit) with the four switches at 1 (main's behaviour) and at 0 (what this PR's default gives). 1 % low = the slowest 1 % of the game's frame times, as fps. The row on this PR's build follows below. | | Before: main @ 2d87a5c9a (the four on) | After: this PR @ e2e09f516 (the row off) | Change | |---|---|---|---| | V-Sync off: average fps | 104.6 | 82.5 | -21.1 % | | V-Sync off: 1 % low | 88.5 | 73.9 | -16.5 % | | V-Sync off: p99 (lower is better) | 10.9 ms | 13.3 ms | +22.0 % | | V-Sync on: average fps | 91.6 | 83.6 | -8.7 % | | V-Sync on: 1 % low | 62.8 | 75.6 | +20.4 % | | V-Sync on: p99 (lower is better) | 15.4 ms | 13.0 ms | -15.6 % | | V-Sync on: frames over 1.25x the median (lower is better) | 37.3 % | 0.0 % | -37.3 points | The row on this PR's build, standing 40 s, the same settings, one pair each (1 % low in fps): | Area | V-Sync | fps row off | fps row on | Change | 1 % low row off | 1 % low row on | Change | Frames over 1.25x the median, off / on | |---|---|---|---|---|---|---|---|---| | Market | off | 90.6 | 114.3 | +26 % | 73.3 | 90.9 | +24 % | 0.3 % / 0.5 % | | Hyrule Field | off | 99.5 | 111.5 | +12 % | 83.1 | 95.1 | +14 % | 0.2 % / 0.1 % | | Market | on | 92.5 | 99.5 | +8 % | 77.6 | 49.4 | -36 % | 0.1 % / 23.5 % | | Hyrule Field | on | 100.1 | 98.7 | -1 % | 86.9 | 60.8 | -30 % | 0.0 % / 24.5 % | | Kokiri Forest | on | 80.6 | 90.6 | +12 % | 64.6 | 63.9 | -1 % | 0.3 % / 36.3 % | ## Risks Players lose the four's fps gain by default (here +27 % in Kokiri with V-Sync off); the Debug row brings it back after a restart. A player who had the row on keeps their saved value. A revert is enough. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named): the changed files' checks pass; `test_settings_area_keys`, `test_i18n_complete`, `test_present_image_free`, `test_input_background`, `test_present_semaphores`, `test_dlssg`, `test_present_held_image`, `test_vk_draw_overhead_lean` and `test_present_acquire_ahead` fail on `main` 2d87a5c9a too. - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A switch added or changed: it ships at the default the measurements chose, with its row in `gpu/vk/switches.def`. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. Written with help from Claude (Anthropic), reviewed and tested by me. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The row stays on by default and keeps its key (system/graphics:skip_upscaler_wait). It moves from the
Graphics tab to the Debug tab, and is shown with every Upscaler: with Upscaler Off the frame limiter still
waits only up to the gameplay upscale's dispatch (the linear stretch stands in for the network), so the
skip applies there too, while the row was hidden.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(vk): Skip Upscaler Wait, the late-page rules and Reflex Off's calls behind one Debug row, off by default
Some checks failed
PR description / Title and description (pull_request_target) Waiting to run
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
e2e09f5167
With V-Sync (FIFO), the four make the game's frame times alternate in light scenes: Kokiri, 4K DLSS from 1080p,
an RTX 4070 SUPER, the 1 % low 75.6 -> 62.8 fps and 37 % of frames over 1.25x the median, though the real
presents stay even and fps rises 10 %. An RTX 3090 report (Linux, v3.2.0 against nightly 1179) shows the same
pattern. With V-Sync off the four are better in every measure.

The Skip Upscaler Wait row (Debug tab) now defaults to off and applies after a restart. skip_row_at_start()
gives its value as the run started; RX_VK_LATE_BY_PART, RX_VK_LATE_READ_SAME and RX_VK_REFLEX_OFF_PACED are now
their switch and that value. The skip itself still follows the row at once. The env switches stay kill switches;
HOS_FRAME_SKIP_TAIL=1 turns the row on for a run. The old help text leaves the translations (the Debug tab is not
translated); the checks that cut these functions out get a stand-in for the row.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

Tested in game: Windows 11, RTX 4070 SUPER: Kokiri at 4K DLSS from 1080p, the four off against on, V-Sync off and on; the branch's build starts with the row off

Tested in game: Windows 11, RTX 4070 SUPER: Kokiri at 4K DLSS from 1080p, the four off against on, V-Sync off and on; the branch's build starts with the row off
Member

Possibly related, for context:

  • PR #3135 perf(vk): Skip Upscaler Wait, the frame limiter no longer waits for the upscale and the HUD — Introduced the Skip Upscaler Wait row and frame-limiter optimization this PR reconfigures.
  • PR #3212 perf(vk): Skip Upscaler Wait on GPUs whose upscale network does not translate, and late pages judged by the part that wrote them back — Added the late-page rules being gated by this PR's Debug option.
Possibly related, for context: - PR #3135 perf(vk): Skip Upscaler Wait, the frame limiter no longer waits for the upscale and the HUD — Introduced the Skip Upscaler Wait row and frame-limiter optimization this PR reconfigures. - PR #3212 perf(vk): Skip Upscaler Wait on GPUs whose upscale network does not translate, and late pages judged by the part that wrote them back — Added the late-page rules being gated by this PR's Debug option.
Author
Member
@review
BeanBot left a comment

Recommendation: Request changes. The default sacrifices substantial performance with V-Sync off, and disabling Reflex's Off-mode calls also restores a previously observed NVIDIA frame-generation stall. The reported V-Sync improvement needs repeated measurements on the actual branch and coverage of the other affected paths.

Moves Skip Upscaler Wait to Debug and uses its startup value to control two late-page optimizations and Reflex Off-mode calls. This can improve frame-time consistency with V-Sync, but couples unrelated optimizations and makes players pay their costs even when V-Sync is off.

Blocking (2): must change before merging.

  1. L1 game/mods/graphics/mod.toml:659: The new default disables all four optimizations even when V-Sync is off, where the reported result is substantially worse in every metric. (more on the line) Do: Keep the optimizations enabled for V-Sync-off presentation, and address the FIFO pacing problem without making those players find and restart with a Debug setting.
  2. L2 gpu/vk/vk_reflex.cpp:98: Gating Reflex Off-mode calls on this unrelated setting restores the NVIDIA frame-generation stall that those calls were introduced to prevent. (more on the line) Do: Keep Off-mode pacing available independently when frame generation needs it, including when Skip Upscaler Wait is off.

Should fix (1): not blocking, but worth doing before merging.

  • L3 game/mods/graphics/mod.toml:659: The player guide and switch table still describe the previous location, default and behavior. (more on the line) Do: Update the player guide and the affected switch-table entries to describe the final location, defaults, restart behavior and dependencies.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L4 gpu/vk/vk_memory.cpp:2704: The final branch's pacing benefit and the cost of disabling the late-page rules across affected systems remain unmeasured. (more on the line) Do: Run repeated interleaved base-versus-final-head measurements with FIFO and V-Sync off, including NVIDIA on Linux and representative AMD or Intel hardware, and check frame times and 1% lows as well as average fps.

@fix can do L1, L2 and L3.

Questions (1) (not confirmed from the code; they don't hold the recommendation)

  • tests/test_reflex_swapchain_lifetime.py:88: Is there a concrete case where a consumer fails to follow the startup row or its kill switch?

Checks: Still running: 11 checks.

More: does it help, other systems, switches, what was read

Does it help: Unproven as a general default. The author's single Windows RTX 4070 SUPER pair reports V-Sync-on 1% lows improving from 62.8 to 75.6 fps, but V-Sync-off average falls from 104.6 to 82.5 fps and its 1% low from 88.5 to 73.9 fps. The comparison used one build with switches, not repeated runs of the base and final head.

Other systems: The late-page and frame-wait paths affect Vulkan players across GPUs and operating systems. Reflex Off-mode affects NVIDIA, including the built-in frame generator; DLSS Frame Generation uses Streamline's own Reflex. No final-head runs are reported for Linux, AMD, Intel, Steam Deck, other upscalers, or frame generation.

Switches: Skip Upscaler Wait and HOS_FRAME_SKIP_TAIL now default off, are exposed for every upscaler, and also gate RX_VK_LATE_BY_PART, RX_VK_LATE_READ_SAME and RX_VK_REFLEX_OFF_PACED at startup. Those three remain individually disableable, but their switch-table descriptions still say they default on without mentioning the new gate. The off default causes the reported V-Sync-off regression.

Reviewed: e2e09f5167 against 2d87a5c9a3: Read the repository rules, PR template, diff, commit messages, changed setting and Reflex implementation, and traced the changed functions, settings snapshot and relevant callers. Skimmed the translation deletions and changed test fixtures. The large vk_memory.cpp and vk_replay.cpp files and the remaining changed files were not read in full. docs/review-checklist.md was absent.; nothing run (a code review).

Checked and fine:

  • Both commits record AI assistance in Co-Authored-By trailers.
  • The changed files contain no apparent game-derived output, and the saved setting key is retained.
  • The startup snapshot is published with release/acquire ordering, and the new cached value uses atomic accesses.
  • The translation changes remove only the obsolete help-text entries.

Testing: No code or tests were run, as requested. The supplied CI checks are still running; the author reports a Windows game run and checks, with the stated limitations.

Overlaps and merge order: Not checked; network access is unavailable.


Automated code review by BeanBot (gpt-6.1-terra), asked for by Veix. Nothing was run; a maintainer decides.

**Recommendation: Request changes.** The default sacrifices substantial performance with V-Sync off, and disabling Reflex's Off-mode calls also restores a previously observed NVIDIA frame-generation stall. The reported V-Sync improvement needs repeated measurements on the actual branch and coverage of the other affected paths. Moves Skip Upscaler Wait to Debug and uses its startup value to control two late-page optimizations and Reflex Off-mode calls. This can improve frame-time consistency with V-Sync, but couples unrelated optimizations and makes players pay their costs even when V-Sync is off. **Blocking (2)**: must change before merging. 1. **L1** `game/mods/graphics/mod.toml:659`: The new default disables all four optimizations even when V-Sync is off, where the reported result is substantially worse in every metric. (more on the line) **Do:** Keep the optimizations enabled for V-Sync-off presentation, and address the FIFO pacing problem without making those players find and restart with a Debug setting. 2. **L2** `gpu/vk/vk_reflex.cpp:98`: Gating Reflex Off-mode calls on this unrelated setting restores the NVIDIA frame-generation stall that those calls were introduced to prevent. (more on the line) **Do:** Keep Off-mode pacing available independently when frame generation needs it, including when Skip Upscaler Wait is off. **Should fix (1)**: not blocking, but worth doing before merging. - **L3** `game/mods/graphics/mod.toml:659`: The player guide and switch table still describe the previous location, default and behavior. (more on the line) **Do:** Update the player guide and the affected switch-table entries to describe the final location, defaults, restart behavior and dependencies. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L4** `gpu/vk/vk_memory.cpp:2704`: The final branch's pacing benefit and the cost of disabling the late-page rules across affected systems remain unmeasured. (more on the line) **Do:** Run repeated interleaved base-versus-final-head measurements with FIFO and V-Sync off, including NVIDIA on Linux and representative AMD or Intel hardware, and check frame times and 1% lows as well as average fps. `@fix` can do L1, L2 and L3. **Questions (1)** (not confirmed from the code; they don't hold the recommendation) - `tests/test_reflex_swapchain_lifetime.py:88`: Is there a concrete case where a consumer fails to follow the startup row or its kill switch? **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven as a general default. The author's single Windows RTX 4070 SUPER pair reports V-Sync-on 1% lows improving from 62.8 to 75.6 fps, but V-Sync-off average falls from 104.6 to 82.5 fps and its 1% low from 88.5 to 73.9 fps. The comparison used one build with switches, not repeated runs of the base and final head. **Other systems:** The late-page and frame-wait paths affect Vulkan players across GPUs and operating systems. Reflex Off-mode affects NVIDIA, including the built-in frame generator; DLSS Frame Generation uses Streamline's own Reflex. No final-head runs are reported for Linux, AMD, Intel, Steam Deck, other upscalers, or frame generation. **Switches:** Skip Upscaler Wait and HOS_FRAME_SKIP_TAIL now default off, are exposed for every upscaler, and also gate RX_VK_LATE_BY_PART, RX_VK_LATE_READ_SAME and RX_VK_REFLEX_OFF_PACED at startup. Those three remain individually disableable, but their switch-table descriptions still say they default on without mentioning the new gate. The off default causes the reported V-Sync-off regression. **Reviewed:** e2e09f5167a4 against 2d87a5c9a305: Read the repository rules, PR template, diff, commit messages, changed setting and Reflex implementation, and traced the changed functions, settings snapshot and relevant callers. Skimmed the translation deletions and changed test fixtures. The large vk_memory.cpp and vk_replay.cpp files and the remaining changed files were not read in full. docs/review-checklist.md was absent.; nothing run (a code review). **Checked and fine:** - Both commits record AI assistance in Co-Authored-By trailers. - The changed files contain no apparent game-derived output, and the saved setting key is retained. - The startup snapshot is published with release/acquire ordering, and the new cached value uses atomic accesses. - The translation changes remove only the obsolete help-text entries. **Testing:** No code or tests were run, as requested. The supplied CI checks are still running; the author reports a Windows game run and checks, with the stated limitations. **Overlaps and merge order:** Not checked; network access is unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by Veix. Nothing was run; a maintainer decides.</sub>
@ -660,3 +659,1 @@
# (every upscaler but Off, 6: with none there is no upscale to leave behind; "Game's own", 0, is one)
shownIf = "dlss"
shownIn = [1, 2, 3, 4, 5, 7, 8, 9, 10, 0]
default = false
Member

L1 (blocking): The new default disables all four optimizations even when V-Sync is off, where the reported result is substantially worse in every metric.

When: A player using the default with V-Sync off in the measured Kokiri scene loses 21.1% average fps and 16.5% of the 1% low compared with the four enabled.

Do: Keep the optimizations enabled for V-Sync-off presentation, and address the FIFO pacing problem without making those players find and restart with a Debug setting.

**L1** (blocking): The new default disables all four optimizations even when V-Sync is off, where the reported result is substantially worse in every metric. *When:* A player using the default with V-Sync off in the measured Kokiri scene loses 21.1% average fps and 16.5% of the 1% low compared with the four enabled. **Do:** Keep the optimizations enabled for V-Sync-off presentation, and address the FIFO pacing problem without making those players find and restart with a Debug setting.
Member

L3 (should fix): The player guide and switch table still describe the previous location, default and behavior.

When: docs/user/graphics-and-controls.md tells a player that Skip Upscaler Wait is on by default on Graphics and changes immediately; switches.def describes the three gated switches as on without the startup-row condition.

Do: Update the player guide and the affected switch-table entries to describe the final location, defaults, restart behavior and dependencies.

**L3** (should fix): The player guide and switch table still describe the previous location, default and behavior. *When:* docs/user/graphics-and-controls.md tells a player that Skip Upscaler Wait is on by default on Graphics and changes immediately; switches.def describes the three gated switches as on without the startup-row condition. **Do:** Update the player guide and the affected switch-table entries to describe the final location, defaults, restart behavior and dependencies.
@ -2702,3 +2702,3 @@
bool late_by_part_on() {
static const bool on = env_on_or("RX_VK_LATE_BY_PART", 1);
return on;
return on && skip_row_at_start(); // (the Skip Upscaler Wait row as the run started: off by default)
Member

L4 (should fix): The final branch's pacing benefit and the cost of disabling the late-page rules across affected systems remain unmeasured.

When: The reported comparison is a single pair on one NVIDIA Windows system using switches on an earlier build; it does not establish the final startup-row behavior or its effect on other Vulkan paths and hardware.

Do: Run repeated interleaved base-versus-final-head measurements with FIFO and V-Sync off, including NVIDIA on Linux and representative AMD or Intel hardware, and check frame times and 1% lows as well as average fps.

**L4** (should fix): The final branch's pacing benefit and the cost of disabling the late-page rules across affected systems remain unmeasured. *When:* The reported comparison is a single pair on one NVIDIA Windows system using switches on an earlier build; it does not establish the final startup-row behavior or its effect on other Vulkan paths and hardware. **Do:** Run repeated interleaved base-versus-final-head measurements with FIFO and V-Sync off, including NVIDIA on Linux and representative AMD or Intel hardware, and check frame times and 1% lows as well as average fps.
@ -96,3 +96,3 @@
bool off_paced() {
static const bool v = env_on_or("RX_VK_REFLEX_OFF_PACED", 1);
return v;
return v && skip_row_at_start(); // (the Skip Upscaler Wait row as the run started: off by default)
Member

L2 (blocking): Gating Reflex Off-mode calls on this unrelated setting restores the NVIDIA frame-generation stall that those calls were introduced to prevent.

When: With the new default, Reflex Off and the built-in frame generator on, off_paced() returns false, so the swapchain receives no latency mode, markers or sleep. The existing implementation documents NVIDIA holding a present for up to about 200 ms in this configuration, blocking replay submits behind the queue lock.

Do: Keep Off-mode pacing available independently when frame generation needs it, including when Skip Upscaler Wait is off.

**L2** (blocking): Gating Reflex Off-mode calls on this unrelated setting restores the NVIDIA frame-generation stall that those calls were introduced to prevent. *When:* With the new default, Reflex Off and the built-in frame generator on, off_paced() returns false, so the swapchain receives no latency mode, markers or sleep. The existing implementation documents NVIDIA holding a present for up to about 200 ms in this configuration, blocking replay submits behind the queue lock. **Do:** Keep Off-mode pacing available independently when frame generation needs it, including when Skip Upscaler Wait is off.
HumanBean closed this pull request 2026-12-06 02:39:09 +00:00
Some checks failed
PR description / Title and description (pull_request_target) Waiting to run
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!3287
No description provided.