perf(vk): +18.0% 1% low / +5.6% FPS in Market on 6+ core non-mirrored / integrated GPUs via Auto recorder thread #2334
No reviewers
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
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
6 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot!2334
Loading…
Reference in a new issue
No description provided.
Delete branch "Jer9/Longshot:perf/vk-auto-recorder-nomirror"
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
What a player notices: On 6+ core PCs and handhelds without buffer-pool VRAM mirrors — integrated GPUs (
!f.discrete(), such as AMD Radeon 780M/860M/890M/8060S, Ryzen Z1E/Z2E/AI 300, Intel Core Ultra Arc iGPU) orRX_VK_MIRROR=0—Threaded rendering: Auto(threaded_rendering=0, the default) runs smoother with fewer CPU hitches in draw-heavy towns and fields (+18.0% 1% low FPS, +5.6% mean FPS inMarket_Childat 67% render scale) without changing visual output.Market_Child,Hyrule Field,Kokiri Forest) on 6+ core non-mirrored / integrated GPUs underThreaded rendering: Auto, by offloadingvkCmd*recording andvkQueueSubmit2off the game's presentation thread (queue submit 0.94 -> 0.00 ms,cmds_ms -48.3%,render_ms -21.2%).< 4-core CPUs, mirrored discrete GPUs (already enabled onmainvia#2232'skAutoCores = 4), purely GPU-bound scenes, and runs withThreaded rendering: Off(threaded_rendering=2),RX_VK_RECORDER=off,RX_VK_CAPTURE=0,RX_VK_LOW_SPEC,RX_VK_DUMP, orRX_VK_BENCH.Previously, when
pools_mirrored()returned false,vk_menu.cppforced both the render thread (RX_VK_ASYNC=1) and the recorder thread (RX_VK_RECORDER=thread) off, even though only the render thread runs the game a frame ahead of replay and depends on buffer-pool mirrors. The recorder thread (RX_VK_RECORDER=threadwithRX_VK_RECORDER_PARTS=1) replays synchronously underreplay_mu(DrainingMutex), preservesreadback_early_on()for non-mirrored iGPUs, and offloads only Vulkan command recording and queue submission.This change adds
kAutoRecorderOnlyCores(6),Why::AutoRecorderOnly, andwithout_mirrors()ingpu/vk/threaded_rendering.h/gpu/vk/vk_menu.cpp:kAutoRecorderOnlyCores = 6post-#2232:#2232(964599d2) loweredkAutoCoresfrom6to4for mirrored GPUs, leaving non-mirrored GPUs off. Holding the non-mirrored recorder-only tier atkAutoRecorderOnlyCores = 6leaves#2232'skAutoCores = 4for mirrored GPUs untouched while deliberately keeping 4-core/8-thread handhelds such as the Steam Deck unchanged (Auto: off) until explicitly A/B tested on that tier, matching the existing 4-core vs. 6-core frame-pacing measurements ingpu/vk/threaded_rendering.h.tests/test_threaded_rendering.py,gpu/vk/menu/threads.cpp,gpu/vk/vk_menu.h,gpu/vk/vk_recorder.h,gpu/vk/vk_replay.cpp,gpu/vk/device_policy.h,gpu/vk/switches.def, and docs (docs/user/graphics-and-controls.md,docs/dev/reference/architecture.md,docs/dev/reference/switches.md,docs/dev/reference/threads.md).Files to read first:
gpu/vk/threaded_rendering.h:kAutoRecorderOnlyCores,Why::AutoRecorderOnly,without_mirrors(),describe()gpu/vk/vk_menu.cpp:threaded_choice()gpu/vk/vk_menu.h,gpu/vk/menu/threads.cpp,gpu/vk/vk_recorder.h,gpu/vk/vk_replay.cpptests/test_threaded_rendering.pyPrior work / neighbours: Builds cleanly on merged
#2232(964599d2, which lowered mirroredkAutoCoresto4while leaving non-mirrored GPUs off); non-overlapping with WIP#1407(low-core threshold).Testing
Tested:
LLPC).Market_Child(market-entrancerepo save) with defaultThreaded rendering: Auto(threaded_rendering=0),1600x1000,handheld_profile=1,67% render scale,sharpness=80,vsync=0,amd_anti-lag_2=1,RX_VK_PRECOMPILE=1, zero env overrides (HOS_ENV_FILEempty), settle>= 12.5 s, then walk forward 5 s (0:LUP/5000) to the Market fountain and pan around the plaza. Reset<rt>\cachefrom an immutable golden warm cache (cache_golden) before every run.0e32bc10, golden-cache-reset per run): Verifiedmain @ 0e32bc10logsvk: Threaded rendering: Auto: off (not safe on this run: the buffer pools have no mirrors)andthis PR @ b2f252d8logsvk: Threaded rendering: Auto: the recorder thread only (8 cores of 16 logical processors; the render thread off: the buffer pools have no mirrors)withqueue submit 0.00ms,0direct ring fallbacks, and0.04 ms/framereplay-lock wait. Beatmain @ 0e32bc10in all 3 rounds with strictly non-overlapping wins on Mean FPS (+5.6%), Median FPS (+5.4%), 1% low FPS (+18.0%),p95(-7.1%),p99(-15.3%),p99.9(-10.8%),render_ms(-21.2%),draw_ms(-17.4%), andcmds_ms(-48.3%);0VK_ERROR_DEVICE_LOST, exit code0,0API-version mismatch warnings (MKWVK_API_VERSION 45).RX_VK_SHOT_FX=1,sharpness=80,67% render scale, golden-cache-reset, settled 120 frames post-in-play with zero camera movement):main_1vsmain_2animated-scene noise floor (MAE 3.40/255,PSNR 28.68 dB) vsmain_1vsPR 2(MAE 5.42/255,PSNR 26.20 dB); visually inspected side-by-side with zero rendering artifacts.Market_Child->Hyrule Field->Kokiri Forest, golden-cache-reset): Exit code0,0VK_ERROR_DEVICE_LOST;Market_Child32.58 -> 36.99 FPS(1% low19.36 -> 21.20 FPS,>= 33.3 ms74 -> 26),Hyrule Field55.63 -> 69.63 FPS(1% low14.33 -> 23.92 FPS,>= 33.3 ms49 -> 14),Kokiri Forest40.55 -> 51.92 FPS(1% low20.05 -> 26.28 FPS,>= 33.3 ms55 -> 13).0e32bc10):tests/test_threaded_rendering.py --strictFAILED on commit 1 (a1912c48on0e32bc10,rc=1,no kAutoRecorderOnlyCores) and PASSED onHEAD(b2f252d8,rc=0, all rules + 45 broken-copy mutations caught).--strictsuite (8/8 PASSED,0 failed, 0 skipped):test_threaded_rendering.py,test_device_policy.py,test_switch_table.py,test_settings_table.py,test_doc_anchors.py,test_utf8_paths.py,test_vk_braces.py,test_menu_i18n.py.python -I -B tests/run_all.py:877 passed, 21 failed, 59 skippedin 322 s (test_job_queue.pypassed safely;0PR regressions — all 21 pre-existingmainfailures [test_sampler_admission,test_auto_handheld,test_build_long_paths,test_crash_dialog,test_dev_build,test_dev_migrate,test_dev_ab,test_dev_packs,test_discover,test_game_menu_mouse_buttons,test_input_movie,test_lift_lookups,test_linux_preflight,test_make_game_cache,test_pads_after_menu,test_pipeline_state_computes,test_perf_report,test_saveload_warm_cache,test_sdiv_overflow,test_srccut,test_walk] reproduced 21/21 identically on cleanmain @ 0e32bc10).Still to test:
Market_Childwiththreaded_rendering=0(Auto, emptyHOS_ENV_FILE), verifyinglongshot_log.txtprintsvk: Threaded rendering: Auto: the recorder thread only,queue submit 0.00, andvk: recorder:with lower replay CPU and0VK_ERROR_DEVICE_LOST(@BeanstalkLinux RADV iGPU run, or by hand).threaded_rendering=0(Auto, emptyHOS_ENV_FILE) and confirmlongshot_log.txtprintsvk: Threaded rendering: Auto: off (not safe on this run: the buffer pools have no mirrors)(@BeanstalkSteam Deck run).Market_Childwiththreaded_rendering=0(Auto, emptyHOS_ENV_FILE), verifyingvk: Threaded rendering: Auto: the recorder thread only,queue submit 0.00, clean visual parity, and0VK_ERROR_DEVICE_LOST(@BeanstalkIntel iGPU run, or by hand).Measurements
Verdict: Lifted
Market_Child(at67% render scale) 1% low FPS by +5.66 FPS (+18.0%, non-overlapping) (31.44 -> 37.10 FPS), Mean FPS by +2.73 FPS (+5.6%, non-overlapping) (48.66 -> 51.39 FPS), and Median FPS by +2.69 FPS (+5.4%, non-overlapping) (49.50 -> 52.19 FPS), while cuttingp99frame time by -4.85 ms (-15.3%, non-overlapping) (31.80 -> 26.95 ms), replay thread CPU time (render_ms) by -2.43 ms (-21.2%, non-overlapping) (11.43 -> 9.01 ms), command recording (cmds_ms) by -1.21 ms (-48.3%, non-overlapping) (2.50 -> 1.29 ms), anddraw_msby -1.11 ms (-17.4%, non-overlapping) (6.39 -> 5.28 ms).Setup: Windows 11 (26200), Ryzen AI 7 350 (8c/16t), Radeon 860M (RDNA 3.5 iGPU, 6 GB VGM), Adrenalin 26.10.1 (
LLPC); immutablecache_goldenwarm shader/pipeline cache reset before every run,Market_Child(market-entrancesave,>= 12.5 spost-load settle, fountain-first0:LUP/5000approach + 3 plaza pans,n = 1,471–1,472frames/run),1600x1000,handheld_profile=1,67% render scale,sharpness=80,vsync=0,amd_anti-lag_2=1,threaded_rendering=0(Auto, emptyHOS_ENV_FILE),RX_VK_PRECOMPILE=1,RX_VK_FRAME_TRACE=1, 3 interleaved A/B rounds reported asmedian [min, max].Where it makes a difference (strictly non-overlapping across all 3 rounds):
0e32bc10b2f252d81000/med_ms)render_ms(mean)draw_ms(mean)cmds_ms(mean)Tail-hitch counts & worst frame (improved median, ranges touch/overlap across 3 rounds):
0e32bc10b2f252d8Where it does NOT make a difference (within run-to-run variance / unchanged workload):
0e32bc10b2f252d8desc_ms(mean)gpu_wait_ms(mean)astc_flush_ms(mean)VK_ERROR_DEVICE_LOSTPer-round values (R1 / R2 / R3):
main @ 0e32bc1046.91 / 48.66 / 49.75vsthis PR @ b2f252d850.56 / 51.39 / 53.531000/med_ms):main @ 0e32bc1047.94 / 49.50 / 50.71vsthis PR @ b2f252d851.10 / 52.19 / 54.50main @ 0e32bc1030.64 / 33.57 / 31.44vsthis PR @ b2f252d837.64 / 35.96 / 37.10>= 33.3 ms/>= 50.0 ms:main @ 0e32bc1011/6/11(1/1/0) vsthis PR @ b2f252d85/6/3(0/0/0)render_ms:main @ 0e32bc1012.53 / 11.43 / 11.38vsthis PR @ b2f252d89.10 / 9.01 / 8.28cmds_ms:main @ 0e32bc102.73 / 2.50 / 2.40vsthis PR @ b2f252d81.34 / 1.29 / 1.20program loads at create):9681–10110graphics (0not in cache),556compute (24not in cache) across all 6 runs (9688/9681/9681onpr2,10110/9681/9681onmain).Raw
longshot_log.txtEvidence (Round 2 Median Pair)Before (
main @ 0e32bc10, round 2):After (
this PR @ b2f252d8, round 2):Visual Parity & 3-Zone Stability Tour
RX_VK_SHOT_FX=1,sharpness=80,67% render scale,120frames afterin_play_frame, zero camera movement, golden-cache-reset):main_1vsmain_2noise floor (MAE 3.40/255,PSNR 28.68 dB) vsmain_1vsPR 2(MAE 5.42/255,PSNR 26.20 dB); visually verified side-by-side with zero rendering artifacts.Market_Child->Hyrule Field->Kokiri Forest, golden-cache-reset,0VK_ERROR_DEVICE_LOST, exit code0):Market_Child(n = 301/301):32.58 -> 36.99 FPS(+13.5%), 1% low19.36 -> 21.20 FPS(+9.5%),>= 33.3 ms:74 -> 26.Hyrule Field(n = 582/637):55.63 -> 69.63 FPS(+25.2%), 1% low14.33 -> 23.92 FPS(+66.9%),>= 33.3 ms:49 -> 14.Kokiri Forest(n = 613/668):40.55 -> 51.92 FPS(+28.0%), 1% low20.05 -> 26.28 FPS(+31.1%),>= 33.3 ms:55 -> 13.Risks
mkw_vk recorderthread and an 8 MB ring buffer in system RAM (not VRAM) on 6+ physical-core systems without buffer-pool mirrors underThreaded rendering: Auto. Becauserender_threadstays off (!async_on()),readback_early_on()stays enabled, zero frame-ahead memory hazards are introduced, and 4–5 core non-mirrored handhelds (such as the Steam Deck) remain unchanged.rec_thread_hook/ReplayPin): On Linux,pthread_createinherits the calling thread's CPU affinity mask — which during serial replay (!async_on()) is pinned toreserved_cpusbyReplayPin.rec_thread_hook(gpu/vk/vk_replay.cpp) callsSetThreadDescription(GetCurrentThread(), L"mkw_vk recorder")on recorder thread startup, andhost/posix/win32_posix.c'sGetCurrentThread()/thread_self()resetsprocess_affinitysomkw_vk recorderdoes not stay pinned to the reserved replay core (verified by source audit; live Linux RADV run is listed in Still to test).Threaded renderingtoOff(threaded_rendering=2) in the Insert menu (Debug tab) or setRX_VK_RECORDER=offinlongshot_env.txt. Settingthreaded::kAutoEnabled = falseor reverting the PR restores the old Auto behavior globally.Threaded rendering: Autoautomatically gain recorder-thread offloading on next start; no changes to saves,longshot_options.inikeys, or shader/pipeline 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
mainand passes here.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.Tested in game: Windows 11 (26200), AMD Ryzen AI 7 350 (8c/16t), AMD Radeon 860M (Adrenalin 26.10.1 LLPC), 1600x1000, handheld_profile=1, 67% render scale, sharpness=80, Threaded rendering Auto (empty env). Golden-cache 3-round interleaved fountain-first Market_Child: 1% low 31.44 -> 37.10 FPS (+18.0%), Mean 48.66 -> 51.39 FPS (+5.6%), render_ms 11.43 -> 9.01 ms (-21.2%), cmds_ms 2.50 -> 1.29 ms (-48.3%), queue submit 0.00 ms; stationary visual parity + 3-zone tour (Market, Hyrule Field, Kokiri Forest) passed with 0 VK_ERROR_DEVICE_LOST.
Side-by-Side Dev FPS Counter Comparison (
Market_Child, Steady Plaza View)Both runs start from the same immutable warm shader/pipeline cache (
Pipelines: 9869,Shaders built: 0,Draws left out: 0,Uploads: 0.0 MB/s) on the same Market plaza view (~2,180–2,206draws):Submits:1.08 ms -> 0.00 mson the replay threadRenderer:15.6–16.7 ms -> 11.6–11.9 ms32–38 FPS -> 43 FPS,1% low 61.2 ms -> 49.2 ms, graph ceiling100 ms -> 64 ms@Beanstalk Please test
Threaded rendering: Auto(threaded_rendering=0, empty env) on:Market_Child— verifyvk: Threaded rendering: Auto: the recorder thread only,queue submit 0.00, lower replay CPU, and0VK_ERROR_DEVICE_LOST.vk: Threaded rendering: Auto: off (not safe on this run: the buffer pools have no mirrors)(behavior unchanged).Market_Child— verifyvk: Threaded rendering: Auto: the recorder thread only,queue submit 0.00, visual parity, and0VK_ERROR_DEVICE_LOST.@Jer9 only members of
BigBeanscan start the farm. One of them can approve this request by reacting 👍 to it or to this comment.@ -116,0 +131,4 @@/// 4- and 5-core non-mirrored handhelds such as the Steam Deck unchanged)constexpr Choice without_mirrors(const Choice& c, unsigned cores) {if (c.why != Why::AutoBothThreads) return c;if (cores >= kAutoRecorderOnlyCores) return {false, true, Why::AutoRecorderOnly};did you test this on a 6-core igpu on linux? im curious if the recorder still helps right at the cutoff. did u repeate the hyrule field & kokiri run the same way you did market?
Not yet on either of those!
On the 6-core Linux iGPU side, I only have an 8c/16t Windows laptop (Ryzen AI 7 350 / Radeon 860M) locally, so 6+ core Linux RADV is still in Still to test / waiting on
@Beanstalk. We keptkAutoRecorderOnlyCores = 6conservatively (instead of matching#2232'skAutoCores = 4for mirrored GPUs) specifically to leave 4c/8t non-mirrored handhelds like the Steam Deck untouched (Auto: off) until measured directly on that hardware. If you happen to have a 6-core Linux iGPU to try it on, I'd be curious too whether 6 is the right cutoff.For Hyrule Field and Kokiri Forest, we focused the 3-round interleaved A/B runs on Market because its high draw count was where 1% lows were roughest on the iGPU. The Hyrule Field and Kokiri Forest numbers came from a single 3-zone stability tour (
Market -> Hyrule Field -> Kokiri Forest), where the offload happened to show solid gains too.@Jer9 only members of
BigBeanscan start the farm. One of them can approve this request by reacting 👍 to it or to this comment.Steam Deck data for the "Still to test" item, from a player (not a maintainer). Not a run of this PR's head yet; these are builds from before it.
Setup: Steam Deck LCD (APU 0932, RADV VANGOGH, Mesa 26.2.0-devel git-5c65d4fc31), SteamOS 3.9.5, Game Mode. Default settings, empty
longshot_env.txtunless noted. Same save (Market entrance), free walking, 3-4 min per run. Builds from source: nightly-680 (9dd41326) and nightly-745 (a2dc5385). Both carry a local no-egress change and a bubblewrap launcher, neither of which touches threads. These are single runs unless noted, so treat differences under 5 % as noise.1. The Auto line on the Deck. Every default run (11 of them, 680 and 745) logs:
That's the line you expect to stay unchanged. Please re-check it on this PR's head before ticking the box.
2. Where a Deck frame goes (HOS_CHAIN +
scripts/perf.py chain, 680, serial replay, gameplay). This explains why offloading the renderer doesn't pay on 4 cores:3. Moving renderer work off the frame on the Deck. This uses forced mirrors, not this PR's recorder-only mode. Numbers are
longshot_frames.csvbusy-frame medians on 680:RX_VK_MIRROR=1 RX_VK_ASYNC=1, and the same+ RX_VK_RECORDER=threadTranslation leaves the presentation thread, but sead::MainThread stays blocked the same ~21-23 ms, and the game threads' stretch grows by the same amount. With 4 cores and 8 threads, the extra thread competes with ModuleSystemWorker / BaseProcExecutor. No visual problems were seen.
4. Offloading queue submits on the Deck. This is close to what the recorder does for
vkQueueSubmit2. I used Mesa's submit thread (MESA_VK_ENABLE_SUBMIT_THREAD=1, one ~75 s run each on 745,RX_VK_BATCH=0in both):Submit time leaves the render thread, and the game threads lose about the same amount. There's no net gain on 4C/8T.
5. Desktop masked to 4C/8T. i7-8700K,
tasksetto cores 0-3 + SMT siblings, RTX 3060 Ti (mirrored, so a different tier), Linux, 745, 2 interleaved 60 s runs each:MIRROR=1 ASYNC=1 RECORDER=thread)ASYNC=1)main_blocked_ms was 19.8-20.9 ms in every arm. Roughly 60-66 % of it is sead::MainThread waiting for the game's own jobs (guest events, the OoT job barrier). One trap for Linux mask tests: under
taskset, Auto logged3 cores of 6 logical processors. The reserved core is taken off the mask, so a 4-core mask lands one tier lower.Takeaway for this PR: keeping the Deck at
Auto: off(kAutoRecorderOnlyCores = 6) looks right on this data. Both ways of taking work off the Deck's presentation thread cost the game threads about as much as they saved. The one thing not measured here is this PR's exact mode on the Deck: recorder thread only, without mirrors. If useful, I can build this PR's head for the Deck and run Auto vsRX_VK_RECORDER=thread(same save, interleaved).Logs (no game data):
Related: HOS_CORES=4 crashes on the Deck, #2351. The chain.py fix I needed to read the Deck recordings is #2352.
Assisted-by: Claude
@review
Recommendation: Approve. The code is ready: only testing is left. The recorder-only default improves the measured Windows AMD iGPU workload, but its effect at the six-core cutoff and on Linux RADV and Intel iGPUs remains unmeasured. The requested hardware runs and CI are still pending. Recommend approval; not approved on the forge.
Auto enables the existing recorder thread on systems with at least six usable cores and no buffer-pool mirrors, while leaving the frame-ahead render thread off. It trades an additional thread and an 8 MiB system-memory ring for lower replay and submission time; the Windows AMD results show a gain, but the wider default needs validation.
Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)
gpu/vk/threaded_rendering.h:134: The new default reaches Linux RADV systems at six usable cores, but the reported gain is from an eight-core Windows machine. (more on the line) Do: Run interleaved base versus head gameplay on a six-core Linux RADV iGPU, measuring mean and 1% low FPS and frame times, and check visuals and stability.gpu/vk/threaded_rendering.h:134: The same default enables the recorder on Intel iGPUs without a reported Intel run. (more on the line) Do: Run interleaved base versus head gameplay on a qualifying Intel iGPU, measuring mean and 1% low FPS and frame times, with visual and stability checks.Questions (2) (not confirmed from the code; they don't hold the recommendation)
Checks: Still running: 10 checks.
More: does it help, other systems, switches, what was read
Does it help: Yes on the tested Windows Ryzen AI 7 350 / Radeon 860M: three interleaved Market runs report median mean FPS 48.66 to 51.39 (+5.6%) and 1% low 31.44 to 37.10 (+18.0%), with non-overlapping ranges. The Hyrule Field and Kokiri Forest results are single tours; results at the six-core cutoff and on the other affected platforms are unproven.
Other systems: Linux RADV and Windows Intel iGPUs with six or more usable cores take the new path and have no reported runs. Discrete GPUs remain on their existing default unless mirrors are disabled. The four-core Steam Deck remains off by the rule; the player's older-build runs support that choice but do not test this head. Recorder-only mode retains serial replay and early readback; the existing recorder and queue synchronization paths are reused.
Switches: No switch is added or removed. With RX_VK_RECORDER unset, the default Threaded rendering Auto now selects the recorder alone at six or more usable cores when mirrors are absent; the switch table and documentation are updated. RX_VK_RECORDER and RX_VK_ASYNC still override their respective halves. The six-core and platform-wide default needs the pending measurements.
Reviewed:
b2f252d846against0e32bc100d: Read AGENTS.md, CONTRIBUTING.md, the pull request template and standards, the diff, commit messages, threaded_rendering.h, menu/threads.cpp, the changed selection and recorder paths, relevant synchronization and affinity code, and the supplied comments and review. Skimmed the longer changed files, test fixtures and documentation around their changes rather than reading every affected file in full. docs/review-checklist.md and the adjacent Tooling checkout are absent; recorded attachments were unavailable.; nothing run (a code review).Checked and fine:
Testing: No code or tests were run, as requested. The author reports a Windows in-game run and targeted checks; CI is still running.
Overlaps and merge order: The description identifies WIP #1407 as a non-overlapping low-core threshold change; its current diff was unavailable for independent comparison.
Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.
@ -116,0 +131,4 @@/// 4- and 5-core non-mirrored handhelds such as the Steam Deck unchanged)constexpr Choice without_mirrors(const Choice& c, unsigned cores) {if (c.why != Why::AutoBothThreads) return c;if (cores >= kAutoRecorderOnlyCores) return {false, true, Why::AutoRecorderOnly};L1 (should fix): The new default reaches Linux RADV systems at six usable cores, but the reported gain is from an eight-core Windows machine.
When: A six-core Linux iGPU enables the recorder alongside the game workers; its scheduling and frame pacing can differ from the tested Windows system, and neither the cutoff nor Linux behavior has been measured.
Do: Run interleaved base versus head gameplay on a six-core Linux RADV iGPU, measuring mean and 1% low FPS and frame times, and check visuals and stability.
L2 (should fix): The same default enables the recorder on Intel iGPUs without a reported Intel run.
When: A Windows Intel iGPU with six or more usable cores takes the recorder-only path, whose driver submission behavior, visuals and frame pacing have only been reported for AMD.
Do: Run interleaved base versus head gameplay on a qualifying Intel iGPU, measuring mean and 1% low FPS and frame times, with visual and stability checks.
Jiro113 referenced this pull request2026-11-23 19:08:32 +00:00