perf(vk): pace presents without frame generation, and step the game by its display queue #3099
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!3099
Loading…
Reference in a new issue
No description provided.
Delete branch "neotoxic/Longshot:perf/present-pacer"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
At a frame rate cap without frame generation, the game was held to the cap at its window acquire, but each frame's replay and GPU work after that took a varying time, so the presents went out as unevenly as that work: camera pans looked choppy while the frame counter said 60 (#2645, #315). The only pacer was frame generation's.
This adds a present pacer for the plain path. The presenter thread now waits, after the copy's fence, for the frame's slot on an even line one period apart. The line follows the game's own clock (each frame's place is the place before plus one period, or the game's present when later), and a slot is its place plus an offset, the frames' work after the game's present. Late frames go out at once; a hitch of a period or more is that frame's alone; a load's frame never waits a period; the offset shrinks 0.25 ms a frame while there is room. When the game's thread waits in its present instead of at its cap (below the cap, or a movie the host paces at 240, #73) the frames go out as they come, and once a quarter of the last 32 frames came late the line stops until 64 frames came at the cap's rate.
The game's real-time step now follows each frame's place in the host's display queue, so held to its cap every frame steps exactly one period: the step the paced pictures show.
Read first:
gpu/vk/present_pace.h(the rule, no Vulkan), thenpace_presentandpresenter_loopingpu/vk/vk_replay.cpp, thenhos_vi_native_presentedinhost/nn_vi.c.The slot line is the idea of HeyListen's
HL_PRESENT_PACE=4, by Sacrappy; written again here, none of its code.See #2645, see #315.
Testing
Tested: Windows 11, RTX 5080, driver 617.42, NVIDIA V-Sync set to the application's setting, cap 60, Frame pacing on. Played, swinging the camera in every direction: one stutter in several minutes, and smoother to the eye than with Frame pacing off. The title movie plays as before (let go, 7 of 560 pictures skipped). An early build (the line taken from the presents) settled a period late and a later one dropped to 5 fps after a load; both fixed and covered by
tests/present_pace_test.cpp.Checks:
tests/test_present_pace.pybuilds and runs the C++ test and checks the wiring.mise run teston this Windows PC: every check that fails here also fails onmain@1c91b18fin the same run (the tools CI has on Linux and this PC lacks, or Linux-only paths), none new. Three fixtures that cut the changed source (test_pacing_policy,test_present_trace,test_present_acquire_ahead) failed to compile at first;b08df2a7declares what the new lines call, and nothing they check changed.On Linux (CachyOS, kernel 7.3, RTX 3060 Laptop, the tools CI uses: clang, glslang, spirv-val),
mise run test@b08df2a7: the 12 checks that fail also fail onmain@1c91b18fthere;test_run_all_junittimed out once in the full run (16 checks at once) and passes alone.dev.py baseanddev.py rtbuild the game for Linux at this head, and it ran in the game there on 04/12 (below).On 04/12,
dev.py abagainstmain@1c91b18fat this head (03156c7c), two interleaved runs a side, 60 s each, cap 60 (--set HOS_FPS_MAX=60, the runs'vk: switches setline readsHOS_FPS_MAX=60 (player)), Frame pacing on (frame_pacing=1in the pinned options file), the camera turning the whole run (HOS_INPUT_SCRIPT=0:RLEFT/900000, about 105° a second, checked on the bridge'scamera), on this PC and on the Linux laptop (COSMIC, native Wayland, the session's own display): Hyrule Field and Lost Woods (the heaviest scenedev.py aboffers) with V-Sync and frame generation off; Hyrule Field with frame generation Fixed 2x (AMD FSR 3.1 frame interpolation: the dev builds have no NGX SDK, so no DLSS) and with V-Sync On (FIFO),HOS_FPS_LOG=1for the game clock's speed. No hang, no black frame, every run 60 s at its scene. These are BeanBot's L2 (two more interleaved runs againstmainat the same spot, and a heavy area near the cap, with average and 1 % low fps and the pacer's stops) and L4 (frame generation on, and FIFO,mainagainst this head, fps and the game's speed), and the Linux run, all three moved from Still to test; numbers in Measurements.By eye, Windows 11 (RTX 5080, 120 Hz), 04/12 morning, the pacer build (Frame pacing on) with frame generation and with V-Sync On: smooth, nothing seen wrong (neo). (Moved from Still to test.)
The 70 checks that fail on main as well, on this PC
test_audio_output_devices, test_audio_output_errors, test_audio_source, test_audio_source_load, test_audio_wave_buffer_release, test_builder_pads_route, test_check_third_party, test_ci_source_times, test_cloth_kernels, test_cloth_loops, test_cloth_step8, test_coverage_run, test_cursor_hidden_in_play, test_cursor_hidden_linux, test_dead_targets_sweep, test_dev_cargoenv, test_dev_vcs, test_display_pointer, test_dlss_why, test_exclusive_marks, test_fsr4_tune, test_fullscreen_monitor_platform, test_game_font, test_game_menu_mouse_buttons, test_hd_rumble, test_helpers_extract, test_hos_ab, test_image_view_retry, test_lifter, test_linux_audio_output, test_longshot_builder, test_lower_depbar, test_lower_lds_after_sts, test_lower_register_markers, test_menu_hooks, test_menu_size, test_mesh_first_types, test_microphone_test_gain, test_monitor_friendly_names, test_mouse_native, test_native_suatom, test_native_zstd, test_nvn_null_pool, test_nvn_tex_builder_guard, test_pad_appcontainer, test_pad_headphones_reader, test_pad_motion_policy, test_pad_speaker, test_pipeline_cache_file, test_pipeline_play_cache, test_precompile_compute_guard, test_prepare_stall, test_program_answer_domains, test_recorder_sync, test_rumble_mapping, test_rumble_refresh, test_run_all_output, test_sampler_admission, test_sampler_stack_walk, test_sandbox_test_mode_start, test_screensaver, test_sdl_monitor_names, test_shader_module_guard, test_shadow_slot, test_svc_core_mask, test_switch_table, test_target_pool_cap, test_tex_desc_memo, test_thinlto_tls, test_vibration_permission
On the screen, PresentMon 2.6.0 over four interleaved 30 s runs (on, off, on, off) while swinging the camera: see Measurements.
Still to test:
pace_cap_periodpaces under FIFO only at a refresh of 1.05 times the cap or more): not run, both displays here are 120 and 165 Hz (@Beanstalk a 60 Hz display, V-Sync On, cap 60, Frame pacing on: the log'svk: present pacer:lines and the game's speed against main).## MeasurementsMeasurements
Verdict: far more even pictures on the screen at the same frame rate: 91.4 to 93.8 % of display intervals within 0.75 ms of the period, against 51.1 % on
mainand 52.2 to 54.9 % with the Frame pacing setting off (PresentMon), for about 2 ms of added wait a frame. The rare hitches over 25 ms (a shader built, a page read) are not the pacer's to fix and stay as they were. Againstmainwithdev.py ab(04/12, at03156c7c): the same frame rate everywhere; 1 % low and p99 within the runs' spread on this PC in every setup and on Linux without V-Sync, while on Linux this head's 1 % low is higher under FIFO (45.3 / 46.0 against 41.3 / 41.9 fps) and lower with frame generation (35.0 / 35.6 against 38.4 / 39.7 fps), two runs a side; under FIFO the frames the driver confirms shown are within 0.75 ms of the period 84.3 to 87.6 % of the time against 60.2 to 61.3 % onmain; the game's speed is 1.000 on both sides with frame generation and under FIFO. Right at the cap (Lost Woods on the laptop, 59.5 to 59.9 fps) the pacer stops in the first 20 s and stays off: no flipping on and off, and no pacing there either (the game's thread is held in its present instead).Against
main,dev.py ab(04/12)Setup: Windows 11 Pro 26300, RTX 5080, driver 617.42, Ryzen 9 7950X, display 120 Hz; and CachyOS (kernel 7.3.7), COSMIC on native Wayland, RTX 3060 Laptop, driver 620.85.02, display 165 Hz.
dev.py ab --runs 2 --set HOS_FPS_MAX=60 --set HOS_INPUT_SCRIPT=0:RLEFT/900000 --options <frame_pacing=1>, 60 s a run after the warm-up, interleaved A1 B1 A2 B2, Render resolution 67 % (Lost Woods on this PC at Native,resolution=1: it holds 60 easily even so).dev.py abprinted every run's line but wrote no Measurements block: on Windows the runs differ in switches that are handles (LONGSHOT_BUILDER_PIPES,LONGSHOT_CRASH_BLOCK,LONGSHOT_NUP_HANDLE), on Linux inLONGSHOT_PADS_FD; the numbers below are its per-run lines (run 1 / run 2). "Presents" is the frame trace'sat_ns, the game's present call (before the pacer); "shown" is the time the driver confirmed the frame shown (shown_at_ns, present-wait: under FIFO only); the pacer's own share is its log line's, over the 6 lines (3600 presents) of the measured stretch.1c91b18f03156c7cvi: game clock, 12 lines)1c91b18f03156c7cOn Linux the pacer stops and lets go in the first 20 to 30 s of a run (the load, the warm-up) and settles at 600 of 600 paced, 97 to 99 % within 0.75 ms, in Hyrule Field once it holds the cap. Under FIFO at 165 Hz the shown intervals fall on the refresh (12.1 and 18.2 ms), so the 0.75 ms share means nothing there (0 % on both sides). With frame generation on the laptop, this head's 1 % low and p99 are lower in both runs (35.6 / 35.0 against 39.7 / 38.4 fps), at the same average and game speed: two runs a side, not checked further. Without V-Sync no driver confirmation comes, so the screen's side of the plain path is the PresentMon table below.
On the screen, PresentMon (03/12)
Setup: Windows 11, RTX 5080, driver 617.42, NVIDIA V-Sync set to the application's setting, cap 60, in play while swinging the camera. "Off" is this build with the Frame pacing setting off, which skips the pacer (the presenter as on
main; the game's step still follows the display queue). On the screen: PresentMon 2.6.0 (--v1_metrics,msBetweenDisplayChangeandmsBetweenPresents), four interleaved 30 s runs, about 1800 intervals each. In the log: the renderer's line over windows of 600 presents.1c91b18ff96a8e03, Frame pacing off (runs 1, 2)f96a8e03(runs 1, 2, 3)"main" and run 3 are two builds of the same tree with and without this commit (
mainwith an unrelated UI branch on top, the same on both sides), one run each, the game relaunched between them; runs 1 and 2 of each column are the setting flipped in one build, interleaved (on, off, on, off).mainlands on the "Frame pacing off" runs (51.1 % against 52.2 and 54.9 %), so the setting off gives backmain's presents, andHOS_STEP_SHOWN(on in the "off" runs, absent from the base) moves nothing on the screen. The pacer's log line in run 3: 600 of 600 paced, 2.79 ms of wait on average, 21 late (1 a period or more), stopped 0 times, 98.3 % of intervals within 0.75 ms.f96a8e03Switches:
RX_VK_PRESENT_PACE(default on, follows the Frame pacing setting) andHOS_STEP_SHOWN(default on); both ship at the default these numbers chose, andHOS_ABmay flip either.HOS_NO_PACINGismain's switch, read here and unchanged (default off): with it nothing holds the game to the display queue, so the step keeps the present call's time.Risks
RX_VK_PRESENT_PACE=0;HOS_STEP_SHOWN=0gives the game's step its old timing. A revert is enough. Nothing changes in saves, settings.toml or the caches.Checklist
Ready for review
main; the title is a Conventional Commit.mise run testpasses (any failure that also fails onmainis named).main, or Measurements says why there is nothing to measure.third_party/untouched; nothing GPL-incompatible.When it applies
gpu/vk/switches.def.tests/that reads changed source is updated, not weakened.Assisted-by:/Co-Authored-By:trailers.Ready to merge
main, measured again or a comment says why the numbers still hold.🤖 Generated with Claude Code
Tested in game: Windows 11, RTX 5080, driver 617.42, NVIDIA V-Sync set to the application's setting, cap 60, Frame pacing on: played while swinging the camera in every direction, one stutter in several minutes and smoother to the eye than with Frame pacing off; the log line gave 97.5 to 99.2 % of present intervals within 0.75 ms of the period (61.7 to 76.5 % off), 60 fps either way; the title movie plays as before.
Possibly related, for context:
WIP: perf(vk): pace presents without frame generation, and step the game by its display queueto perf(vk): pace presents without frame generation, and step the game by its display queue@review
Recommendation: Request changes. The presenter reads frame-generation state concurrently with a settings update through a plain integer, introducing a data race. The measured NVIDIA result is promising, but the new default also needs coverage on other affected systems and in demanding scenes.
The change smooths plain-path presents and makes the game step follow the host display queue. The reported Windows run shows substantially more even display intervals at about 60 fps, at the cost of roughly 2 ms of added wait per paced frame.
Blocking (1): must change before merging.
gpu/vk/vk_replay.cpp:7647: The presenter calls framegen_on(), which reads the plain opts.framegen while the settings applier can write it on another thread. (more on the line) Do: Publish the running frame-generation decision atomically for the presenter, or protect both its read and every write with the same lock.Testing before merging (3) (runs on the systems it can change; it doesn't hold the recommendation)
gpu/vk/vk_replay.cpp:7661: The default pacer's gain and frame-time cost need repeatable comparisons against the actual base, including an area near the cap. (more on the line) Do: Run at least two interleaved base and head measurements in the target and heavy areas, reporting display intervals, average and 1% low fps, frame times and pacer stops.gpu/vk/vk_replay.cpp:7711: The new presenter wait has not been exercised in game on Linux or on AMD and Intel GPUs. (more on the line) Do: Run paced and unpaced gameplay on the affected Tier 1 systems, including Linux and AMD/Intel, and check presentation intervals and frame rate.host/nn_vi.c:472: The changed game step applies even when the new presenter pacer is inactive, but those modes have not been checked in game. (more on the line) Do: Compare gameplay and frame timing against the base with frame generation enabled and with FIFO at a refresh-held cap; check motion and game speed. (@fixdoes its part first: Gate the new step to the modes whose display timeline it follows.)@fixcan do L1 and L4.Questions (1) (not confirmed from the code; they don't hold the recommendation)
tests/test_present_pace.py:57: Is there a specific input sequence for which the current queue calculation delivers an incorrect game step?Checks: Still running: 11 checks.
More: does it help, other systems, switches, what was read
Does it help: Unproven across supported setups. On the reported RTX 5080 Windows runs, 91.4–93.8% of display intervals were within 0.75 ms of the period, versus 51.1% in one base run; multiple interleaved runs of the actual base and heavy-scene frame-time results are missing.
Other systems: The host step also changes with frame generation, FIFO, pacing disabled in the menu, and on Linux. Linux gameplay, AMD and Intel GPUs, a heavy area near the cap, and FIFO at a refresh-held cap remain untested. The timestamp handoff uses the presenter mutex, and settings snapshots are atomically published.
Switches: RX_VK_PRESENT_PACE defaults on when Frame pacing is enabled; HOS_STEP_SHOWN defaults on independently of that setting. Both have switch-table rows and HOS_AB support. Their defaults have promising evidence on one NVIDIA Windows setup but lack the broader runs needed for all affected paths. HOS_NO_PACING is unchanged.
Reviewed:
b08df2a7b9against1c91b18f86: Read AGENTS.md, CONTRIBUTING.md, docs/dev/standards.md, the PR template, commits, all changed hunks, present_pace.h, present_pace_test.cpp and test_present_pace.py, plus the surrounding presenter, host pacing, game-step and settings code. Skimmed the remaining changed test fixtures and switch table. docs/review-checklist.md and ../Tooling/AGENTS.md were absent. Large unchanged renderer and host files were read around relevant paths rather than in full; no recorded runs or generated files were changed.; nothing run (a code review).Checked and fine:
Testing: No code, tests, builds or project scripts were run. The author reports Windows gameplay and measurements and Linux builds; CI is still running.
Overlaps and merge order: Not checked; the network is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
@ -7622,0 +7644,4 @@/// cap the display's refresh already holds (V-Sync paces there)int64_t pace_cap_period() {const int cap = menu_fps_cap();if (cap <= 0 || framegen_on()) return 0;L1 (blocking): The presenter calls framegen_on(), which reads the plain opts.framegen while the settings applier can write it on another thread. The presenter's mutex does not protect that settings write.
When: Changing Frame generation while presents are running can overlap menu/framegen.cpp's take_setting(opts.framegen, v) with framegen_running() on the presenter. That is a C++ data race, so the pacing decision has undefined behavior.
Do: Publish the running frame-generation decision atomically for the presenter, or protect both its read and every write with the same lock.
@ -7622,0 +7658,4 @@static const char* env_text = getenv("RX_VK_PRESENT_PACE");static const int env = !(env_text && env_value_off(env_text));const int64_t period = pace_cap_period();const bool on = period && settings_now().frame_pacing && (host && host->ab_value ? host->ab_value("RX_VK_PRESENT_PACE", env) : env);L2 (should fix): The default pacer's gain and frame-time cost need repeatable comparisons against the actual base, including an area near the cap.
When: The reported base has one run, and the heavy area where the line may repeatedly stop and restart has not been measured; the current numbers cannot establish its frame pacing or low-frame-rate cost there.
Do: Run at least two interleaved base and head measurements in the target and heavy areas, reporting display intervals, average and 1% low fps, frame times and pacer stops.
@ -7651,6 +7708,8 @@ void presenter_loop() {std::lock_guard g(presenter.mu);presenter.copy_done_at = at;}if (copied) pace_present(game_at, game_wait); // (the FPS counter's Breakdown: the pacing's, after the copy's end)L3 (should fix): The new presenter wait has not been exercised in game on Linux or on AMD and Intel GPUs.
When: These systems use different scheduling and presentation paths; only the Windows NVIDIA path has an in-game result, so the default's effect on their pacing and frame rate remains unknown.
Do: Run paced and unpaced gameplay on the affected Tier 1 systems, including Linux and AMD/Intel, and check presentation intervals and frame rate.
@ -462,0 +469,4 @@static int no_pacing = -1, step_shown = -1;if (no_pacing < 0) no_pacing = env_on("HOS_NO_PACING");if (step_shown < 0) step_shown = env_on_or("HOS_STEP_SHOWN", 1);realtime_step(!no_pacing && hos_ab_value("HOS_STEP_SHOWN", step_shown) ? shown : now);L4 (should fix): The changed game step applies even when the new presenter pacer is inactive, but those modes have not been checked in game.
When: Frame generation and FIFO can display frames on a different timeline from the host's simulated queue, while the new default still uses that queue for the game's step.
Do: Compare gameplay and frame timing against the base with frame generation enabled and with FIFO at a refresh-held cap; check motion and game speed.
Thanks. On
03156c7c:L1 (fixed in
03156c7c). Right:pace_cap_period()ran on the presenter thread and readopts.framegenthroughframegen_on(), which the settings' applier writes on another thread. The period is now taken inpresent_hand_off, on the thread that presents (wherepresent_imagealready readsframegen_on()), and handed to the presenter with the frame underpresenter.mu, like the game's present time. The presenter reads none of those settings now;tests/test_present_pace.pychecks that neither the loop norpace_presentcallspace_cap_period(). Built for Linux (dev.py rt) and the cut fixtures pass on Windows.L4 (not gated, on purpose; now in Still to test). The step follows the host's display queue, and that queue is the host's own pacing of the game to its cap at the acquire, whatever presents the frame afterwards: with frame generation the game's frames are still held to the cap there (frame generation adds its frames on its own timeline), and under FIFO at a cap the refresh holds the acquire holds them to that same cap. Held to its cap, a frame's place is exactly a period after the one before in every mode; a frame later than its place steps by its own time, as before. Gating it to the pacer's modes would bring back the uneven step where the cap still holds the game. I have no run to show it yet in those modes, so Still to test now has frame generation on and FIFO at a held cap, against
main, for motion and game speed.HOS_STEP_SHOWN=0turns it off if a run says otherwise.L2, L3. Agreed, they are runs: two more interleaved
main/head runs at the same spot and one in a heavy area near the cap (average and 1 % low fps, the pacer's stops), Linux and AMD/Intel GPUs, are in Still to test for testers and the Test Farm.Question (test_present_pace.py:57). No input I know of gives a wrong step: the queue's place is
max(last + period, now), so a frame is never placed before its call, and a late one steps by its own time. The C++ test covers the pacer's line, not the step; the step's rule is the host's queue, unchanged here, only now handed torealtime_step.L2 and L4 have run, at
03156c7cagainstmain@1c91b18f(dev.py ab, two interleaved runs a side, cap 60, Frame pacing on, the camera turning), on this PC (RTX 5080, 120 Hz) and on Linux (RTX 3060 Laptop, COSMIC Wayland, 165 Hz); the tables are in Measurements.HOS_FPS_LOG=1) is 1.000 on both sides with frame generation (Fixed 2x, FSR 3.1) and under FIFO, at the same fps. With frame generation the pacer writes no line (off). Under FIFO it runs on both displays (refresh over 1.05 times the cap), and the frames the driver confirms shown are within 0.75 ms of the period 84.3 / 87.6 % of the time against 60.2 / 61.3 % onmain(this PC). Not run: FIFO on a 60 Hz display, where the pacer stays off; it is in Still to test.On the laptop with frame generation, this head's 1 % low came out lower in both runs (35.6 / 35.0 against 39.7 / 38.4 fps) at the same average fps and game speed; under FIFO it came out higher (46.0 / 45.3 against 41.9 / 41.3). Two runs a side; both are written up as measured.
ca830e89into perf/present-pacerBrought up to current
main(ca830e89) by a merge,e609015f(nothing rewritten). There was no conflict, althoughmainhad touchedswitches.def,vk_replay.cpp,nn_vi.candtest_pacing_policy.pyalongside this branch.On Windows:
dev.py base,rtandrt --emptybuild.run_all.py --changed origin/maingives 180 passed and 2 failed. Both failures,test_pad_speakerandtest_tex_desc_memo, fail the same way onmainhere.The measurements in the description were taken at
03156c7cagainst1c91b18f, before this merge. Measuring again on currentmainstays under Ready to merge.@review
Recommendation: Approve. The code is ready: only testing is left. The pacer substantially improves measured present regularity at the same average frame rate, and the reported runs cover Linux, frame generation and FIFO. AMD and Intel in-game runs are still needed for the presenter wait. Recommend approval; not approved on the forge.
The change spaces plain-path presents more evenly and makes the game step follow its display queue. It adds about 2 ms of average pacing wait on the measured Windows system and introduces pacing state and two developer switches.
Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)
gpu/vk/vk_replay.cpp:7711: The presenter wait still needs in-game coverage on AMD and Intel GPUs. When: At a held frame-rate cap, the presenter waits before submitting presents on these GPUs, but their in-game pacing and frame-rate behavior has not been reported. Do: Run the plain path at cap 60 with Frame pacing on and compare pacing and frame rate against main on AMD and Intel.Since the last review (on
b08df2a7b9)Resolved: L1 (The presenter calls framegen_on(), which reads the plain opts.framegen while the settings…); L2 (The default pacer's gain and frame-time cost need repeatable comparisons against the actua…); L4 (The changed game step applies even when the new presenter pacer is inactive, but those mod…)
Still open: L3 (The presenter wait still needs in-game coverage on AMD and Intel GPUs.)
Checks: Still running: 11 checks.
Also noticed (3; not asked for, not blocking)
More: does it help, other systems, switches, what was read
Does it help: Yes. PresentMon on Windows reports 91.4–93.8% of display intervals within 0.75 ms of the target period, versus 51.1% on main, at approximately 60 fps. The repeated base comparisons also show similar average fps, though Linux frame-generation lows were lower on this head.
Other systems: Windows and Linux NVIDIA runs are reported, including frame generation and FIFO. AMD and Intel GPUs remain untested; FIFO at a refresh equal to the cap also remains untested. The game step changes independently of whether the presenter pacer runs.
Switches: RX_VK_PRESENT_PACE defaults on when Frame pacing is enabled and the mode permits it; HOS_STEP_SHOWN defaults on. Both have switch-table entries and A/B controls. Their defaults have measured support on the tested NVIDIA systems; other GPU coverage remains open. HOS_NO_PACING is unchanged and defaults off.
Reviewed:
e609015f45againstca830e8959: Read AGENTS.md and CONTRIBUTING.md, the changed pacing header and tests, the relevant renderer and host diffs, the fix diff, and the surrounding hand-off and step references. Skimmed the other changed test fixtures and switch table; the large renderer and host files and referenced developer standards were not read in full. No review checklist or pull request template was found by the file search.; nothing run (a code review).Checked and fine:
Testing: No code or tests were run during this read-only review. The author reports game runs and comparisons on Windows and Linux NVIDIA hardware; CI is still running.
Overlaps and merge order: Not determined; the network is closed.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
b77c2f4b3) into perf/present-pacer 719e31d7e0e345b3cab) into perf/present-pacerBrought up to current
main(e345b3ca) by a merge, nothing rewritten. No conflict. Windows,run_all.py --changed origin/main: 183 passed, 3 failed:test_dlssg,test_sync_watch_eventandtest_turf_budget, which fail onmainitself too (checked in a checkout ofmainon the same PC).