perf(vk): Threaded rendering's Auto runs the recorder thread at any core count #3159

Merged
HumanBean merged 1 commit from HumanBean/Longshot:perf/recorder-thread-any-cores into main 2026-12-05 18:21:10 +00:00
Owner

Summary

Threaded rendering's Auto left both threads off on PCs with fewer than 4 physical cores. With this change Auto runs the recorder thread there too, so it runs at every core count, with or without buffer-pool mirrors. The render thread keeps its rules (4 or more cores, mirrored pools). Unsafe runs (RX_VK_CAPTURE=0, RX_VK_LOW_SPEC, a frame dump, a benchmark replay) and the row set to Off still get no thread.

What changes by PC: only 2- and 3-core (and 1-core) systems behave differently from main. PCs and handhelds with 4 or more cores already run the recorder thread since #3157.

Files to read first: gpu/vk/threaded_rendering.h (auto_picks, without_mirrors; kAutoRecorderOnlyCores is gone), tests/test_threaded_rendering.py.

Testing

Tested: game-free checks only, on Linux: test_threaded_rendering.py (42 broken copies caught), test_device_policy.py, test_switch_table.py, test_settings_table.py, test_menu_ini_keys.py, test_doc_anchors.py, test_menu_i18n.py, test_vk_braces.py pass. Not run in the game, not built, and the full suite was not run: opened that way at the maintainer's request.

Still to test:

  • 2- and 3-core PCs, discrete and integrated, Windows and Linux: main against this PR on Auto; the start line changes from Auto: off (...) to Auto: the recorder thread only (...) (@Beanstalk)
  • A wide range of GPUs, integrated ones included: this PR on Auto against this PR with RX_VK_RECORDER=off, to see where the recorder thread helps or hurts (@Beanstalk)

Measurements

Verdict: not measured. Nothing shows yet that the recorder thread helps below 4 cores.

Setup: none; the Test Farm runs above are the measurement.

Before: main @ 2b3c2f07 After: this PR @ c5ccebbc
fps, p99, 1% low below 4 cores not measured not measured

Risks

On 2- and 3-core systems an extra thread, which spins briefly and wakes often, now competes with the game's own threads: it could lower fps or worsen frame pacing there. Those systems also newly run the recorder's code paths. Turn it off with RX_VK_RECORDER=off, or the Debug tab's Threaded rendering row set to Off; a revert restores the old behaviour. Nothing moves for saves, settings or caches.

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. (Not run, at the maintainer's request.)
  • mise run test passes (any failure that also fails on main is named). (Only the checks named in Testing were run.)
  • Measured against main, or Measurements says why there is nothing to measure. (Waiting on the Test Farm.)
  • 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. (Row updated; no measurement below 4 cores yet.)
  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (Not built here; CI.)
  • Docs updated.
  • 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.

πŸ€– Generated with Claude Code

## Summary Threaded rendering's Auto left both threads off on PCs with fewer than 4 physical cores. With this change Auto runs the recorder thread there too, so it runs at every core count, with or without buffer-pool mirrors. The render thread keeps its rules (4 or more cores, mirrored pools). Unsafe runs (`RX_VK_CAPTURE=0`, `RX_VK_LOW_SPEC`, a frame dump, a benchmark replay) and the row set to Off still get no thread. **What changes by PC:** only 2- and 3-core (and 1-core) systems behave differently from `main`. PCs and handhelds with 4 or more cores already run the recorder thread since #3157. Files to read first: `gpu/vk/threaded_rendering.h` (`auto_picks`, `without_mirrors`; `kAutoRecorderOnlyCores` is gone), `tests/test_threaded_rendering.py`. ## Testing **Tested:** game-free checks only, on Linux: `test_threaded_rendering.py` (42 broken copies caught), `test_device_policy.py`, `test_switch_table.py`, `test_settings_table.py`, `test_menu_ini_keys.py`, `test_doc_anchors.py`, `test_menu_i18n.py`, `test_vk_braces.py` pass. **Not run in the game, not built, and the full suite was not run**: opened that way at the maintainer's request. **Still to test:** - 2- and 3-core PCs, discrete and integrated, Windows and Linux: `main` against this PR on Auto; the start line changes from `Auto: off (...)` to `Auto: the recorder thread only (...)` (@Beanstalk) - A wide range of GPUs, integrated ones included: this PR on Auto against this PR with `RX_VK_RECORDER=off`, to see where the recorder thread helps or hurts (@Beanstalk) ## Measurements **Verdict:** not measured. Nothing shows yet that the recorder thread helps below 4 cores. Setup: none; the Test Farm runs above are the measurement. | | Before: main @ 2b3c2f07 | After: this PR @ c5ccebbc | |---|---|---| | fps, p99, 1% low below 4 cores | not measured | not measured | ## Risks On 2- and 3-core systems an extra thread, which spins briefly and wakes often, now competes with the game's own threads: it could lower fps or worsen frame pacing there. Those systems also newly run the recorder's code paths. Turn it off with `RX_VK_RECORDER=off`, or the Debug tab's Threaded rendering row set to Off; a revert restores the old behaviour. Nothing moves for saves, settings or caches. ## Checklist ### Ready for review - [x] 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. (Not run, at the maintainer's request.) - [ ] `mise run test` passes (any failure that also fails on `main` is named). (Only the checks named in Testing were run.) - [ ] Measured against `main`, or Measurements says why there is nothing to measure. (Waiting on the Test Farm.) - [x] 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`. (Row updated; no measurement below 4 cores yet.) - [x] A check under `tests/` that reads changed source is updated, not weakened. - [ ] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. (Not built here; CI.) - [x] Docs updated. - [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. πŸ€– Generated with [Claude Code](https://claude.com/claude-code)
perf(vk): Threaded rendering's Auto runs the recorder thread at any core count
Some checks reported errors
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 13s
PR description / Title and description (pull_request_target) Successful in 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 19s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m33s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 21m41s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 16m19s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 15m52s
CI / Website build and checks (pull_request) Failing after 38s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m5s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Successful in 53m53s
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/amd+igpu 0/1 pass, 2 error
beanstalk/intel+igpu 0/1 pass, 2 error
beanstalk/amd+dgpu 0/1 pass, 2 error
beanstalk/intel+dgpu 0/1 pass, 0 running, 2 queued
beanstalk/windows+nvidia+dgpu 0/1 pass, 2 error
beanstalk/linux+nvidia+dgpu 0/1 pass, 2 error
beanstalk/linux+radv 0/1 pass, 2 error
beanstalk/steamdeck 0/1 pass, 0 running, 1 queued
c5ccebbca9
Below 4 physical cores Auto turned both threads off. It now runs the recorder
thread alone there, with or without buffer-pool mirrors. The render thread
keeps its 4-core and mirrored-pools rules, and unsafe runs stay off. Not
measured below 4 cores: to be tried on the Test Farm.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Author
Owner

@Beanstalk Test the recorder thread across as wide a range of devices as you can: integrated GPUs (AMD, Intel, Steam Deck) and discrete (NVIDIA, AMD, Intel), Windows and Linux, with as many CPU core counts as are available, 2- and 3-core PCs especially. Compare three things in Hyrule Field and the Market, Threaded rendering on Auto: main, this PR, and this PR with RX_VK_RECORDER=off. Report fps, frame time p50 and p99, 1% low, crashes, screenshot differences and the 'vk: Threaded rendering:' start line. With 4 or more physical cores main and this PR should behave the same, so there the RX_VK_RECORDER=off arm is the comparison that matters; below 4 cores main logs 'Auto: off' and this PR 'Auto: the recorder thread only'.

@Beanstalk Test the recorder thread across as wide a range of devices as you can: integrated GPUs (AMD, Intel, Steam Deck) and discrete (NVIDIA, AMD, Intel), Windows and Linux, with as many CPU core counts as are available, 2- and 3-core PCs especially. Compare three things in Hyrule Field and the Market, Threaded rendering on Auto: main, this PR, and this PR with RX_VK_RECORDER=off. Report fps, frame time p50 and p99, 1% low, crashes, screenshot differences and the 'vk: Threaded rendering:' start line. With 4 or more physical cores main and this PR should behave the same, so there the RX_VK_RECORDER=off arm is the comparison that matters; below 4 cores main logs 'Auto: off' and this PR 'Auto: the recorder thread only'.
Member
Beanstalk test farm Β· an earlier run: commit c5ccebb (the newer results are in a comment below)

Commit c5ccebb Β· approved by HumanBean (reviewed) Β· dashboard

⚠️ Note: The farm cannot select or constrain physical core counts, so coverage of 2- and 3-core systems depends on available testers; the start line reports the count and Auto choice, but the plan cannot enforce the branch-specific wording.
⚠️ Note: On systems with at least four usable physical cores, main and the PR normally use the same Auto policy; the PR's recorder-off arm supplies the meaningful recorder comparison there.
⚠️ Note: Two starts per arm fit the time limit but give less noise resistance than three; the plan does not exercise unsafe-mode gates or the Threaded rendering Off menu row.

Started at 2026-12-04 06:44 UTC.

Target Result Reports VRAM peak (MB) Crashes
amd+igpu ⚠️ couldn't be judged 2 1 2 β€” none
intel+igpu ⚠️ couldn't be judged 2 1 2 β€” none
amd+dgpu ⚠️ couldn't be judged 2 1 2 β€” none
intel+dgpu ⏳ queued 0 of 1 β€” β€”
windows+nvidia+dgpu ⚠️ couldn't be judged 2 1 2 β€” none
linux+nvidia+dgpu ⚠️ couldn't be judged 2 1 2 β€” none
linux+radv ⚠️ couldn't be judged 2 1 2 β€” none
steamdeck ⏳ queued 1 1 β€” none

field-market Β· frame time p99 (ms)

Target main RX_VK_RECORDER= RX_VK_RECORDER=off (reference)
amd+igpu β€” β€” β€”
intel+igpu β€” β€” β€”
amd+dgpu β€” β€” β€”
intel+dgpu β€” β€” β€”
windows+nvidia+dgpu β€” β€” β€”
linux+nvidia+dgpu β€” β€” β€”
linux+radv β€” β€” β€”
steamdeck β€” β€” β€”

Couldn't be judged: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own.

  • amd+igpu, report 1: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • amd+igpu, report 2: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • intel+igpu, report 1: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • intel+igpu, report 2: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • amd+dgpu, report 1: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • amd+dgpu, report 2: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • windows+nvidia+dgpu, report 1: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • windows+nvidia+dgpu, report 2: main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's
  • and 5 more, in the reports
What was tested

What will be tested Β· AI plan (gpt-6.1-terra)

On integrated and discrete GPUs, this plan compares main, the PR on Auto, and the PR with the recorder disabled in Hyrule Field and the Market. Each arm gets two starts with 20-second measurements per place, reporting fps, frame-time percentiles and 1% lows, crashes, screenshots, and the Threaded rendering start line. Crashes, missing start lines, excessive picture differences, or frame-time regressions beyond 15% fail the plan. Targets without a matching online device, including Steam Deck, will wait for a tester. No tester online now matches intel+dgpu, steamdeck: those targets wait for one.

  • Where: amd+igpu (1-2 reports), intel+igpu (1-2 reports), amd+dgpu (1-2 reports), intel+dgpu (1-2 reports), windows+nvidia+dgpu (1-2 reports), linux+nvidia+dgpu (1-2 reports), linux+radv (1-2 reports), steamdeck (1-2 reports).
  • Matrix: 2 cells, each on main and the PR: RX_VK_RECORDER `` or off (PR only).
  • field-market: from the repository's save castle-gate (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0; switches HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0), then teleport to Hyrule Field, take the picture field to compare with main, measure field for 20 s (after 10 s warm-up), teleport to Market, take the picture market to compare with main, measure market for 20 s (after 10 s warm-up); 2 runs on each side for each of 2 cells (2 game starts a run).
  • Measured: crashes, frame times, stutters and hitches, draws and frame rate, the game's log.
  • The PR fails if: it crashes; or the PR's frame time (p99) with RX_VK_RECORDER= is more than 15% above RX_VK_RECORDER=off; or the PR's frame time (worst 1%) with RX_VK_RECORDER= is more than 15% above RX_VK_RECORDER=off; or a picture differs from main by more than 20%; or frame time (p99) is more than 15% above main; or expected log lines missing is above 0; or frame time (worst 1%) is more than 15% above main.
  • Time: about 49 min of game runs per tester (8 game starts), plus the two builds.
Measurements on `amd+igpu`, for the PR description

Verdict: could not be judged on amd+igpu (2 reports).

Hardware: 1: linux+amd+radv+igpu AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99 AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM; 2: linux+amd+radv+igpu AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8 AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on amd+igpu (2 reports).

Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
Measurements on `intel+igpu`, for the PR description

Verdict: could not be judged on intel+igpu (2 reports).

Hardware: 1: linux+intel+anv+igpu Intel(R) Graphics (RKL GT1), 26.2.4 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM; 2: windows+intel+intel-proprietary+igpu+window Intel(R) UHD Graphics 630, 0.404.2115 Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on intel+igpu (2 reports).

Hardware: 1: linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM`; 2: windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
Measurements on `amd+dgpu`, for the PR description

Verdict: could not be judged on amd+dgpu (2 reports).

Hardware: 1: linux+amd+radv+dgpu AMD Radeon RX 9070 (RADV GFX1201), 26.3.1 AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM; 2: linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on amd+dgpu (2 reports).

Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
Measurements on `windows+nvidia+dgpu`, for the PR description

Verdict: could not be judged on windows+nvidia+dgpu (2 reports).

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 3070, 621.35.0 AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 4090, 621.40.0 13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on windows+nvidia+dgpu (2 reports).

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
Measurements on `linux+nvidia+dgpu`, for the PR description

Verdict: could not be judged on linux+nvidia+dgpu (2 reports).

Hardware: 1: linux+nvidia+nvidia-proprietary+dgpu+dlss NVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2 AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAM; 2: linux+nvidia+nvidia-proprietary+dgpu NVIDIA GeForce RTX 5070, 620.73.4 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on linux+nvidia+dgpu (2 reports).

Hardware: 1: linux+nvidia+nvidia-proprietary+dgpu+dlss `NVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2` `AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAM`; 2: linux+nvidia+nvidia-proprietary+dgpu `NVIDIA GeForce RTX 5070, 620.73.4` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
Measurements on `linux+radv`, for the PR description

Verdict: could not be judged on linux+radv (2 reports).

Hardware: 1: linux+amd+radv+dgpu AMD Radeon RX 9070 (RADV GFX1201), 26.3.1 AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM; 2: linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** could not be judged on linux+radv (2 reports).

Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
Measurements on `steamdeck`, for the PR description

Verdict: queued on steamdeck (1 report).

Hardware: 1: linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 1 report
How to reproduce: the farm's plan above (@Beanstalk on this PR runs it again)

Nothing was measured: no metric came back.

Flags and settings

Flag What it is Values tried Before this PR After this PR Effect (frame time (p99)) Helps / doesn't help / untested
RX_VK_RECORDER switch the PR adds (set on the PR side only) ``, off not in main the PR's default field-market, main without it β†’ the PR with : not measured untested

As Markdown for the PR description:

## Measurements

**Verdict:** queued on steamdeck (1 report).

Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`  
Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them  
Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 1 report  
How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again)

Nothing was measured: no metric came back.

**Flags and settings**

| Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested |
|---|---|---|---|---|---|---|
| `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested |
The testers' hardware
Target Report Ran on
amd+igpu 1 linux+amd+radv+igpu AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99 AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM
amd+igpu 2 linux+amd+radv+igpu AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8 AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM
intel+igpu 1 linux+intel+anv+igpu Intel(R) Graphics (RKL GT1), 26.2.4 11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM
intel+igpu 2 windows+intel+intel-proprietary+igpu+window Intel(R) UHD Graphics 630, 0.404.2115 Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM
amd+dgpu 1 linux+amd+radv+dgpu AMD Radeon RX 9070 (RADV GFX1201), 26.3.1 AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM
amd+dgpu 2 linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM
windows+nvidia+dgpu 1 windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 3070, 621.35.0 AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM
windows+nvidia+dgpu 2 windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess NVIDIA GeForce RTX 4090, 621.40.0 13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM
linux+nvidia+dgpu 1 linux+nvidia+nvidia-proprietary+dgpu+dlss NVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2 AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAM
linux+nvidia+dgpu 2 linux+nvidia+nvidia-proprietary+dgpu NVIDIA GeForce RTX 5070, 620.73.4 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM
linux+radv 1 linux+amd+radv+dgpu AMD Radeon RX 9070 (RADV GFX1201), 26.3.1 AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM
linux+radv 2 linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM
steamdeck 1 linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
<!-- beanstalk:previous --> <details><summary>Beanstalk test farm Β· an earlier run: commit <code>c5ccebb</code> (the newer results are in a comment below)</summary> Commit `c5ccebb` Β· approved by HumanBean (reviewed) Β· [dashboard](https://beanstalk.magicbean.dev/prs/3159) ⚠️ **Note:** The farm cannot select or constrain physical core counts, so coverage of 2- and 3-core systems depends on available testers; the start line reports the count and Auto choice, but the plan cannot enforce the branch-specific wording. ⚠️ **Note:** On systems with at least four usable physical cores, main and the PR normally use the same Auto policy; the PR's recorder-off arm supplies the meaningful recorder comparison there. ⚠️ **Note:** Two starts per arm fit the time limit but give less noise resistance than three; the plan does not exercise unsafe-mode gates or the Threaded rendering Off menu row. Started at 2026-12-04 06:44 UTC. | Target | Result | Reports | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | | `amd+igpu` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_8d900b03622df91f) [2](https://beanstalk.magicbean.dev/reports/rp_07e9d0a20feadd65) | β€” | none | | `intel+igpu` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_1fb50945c4199353) [2](https://beanstalk.magicbean.dev/reports/rp_a6deca62b14577cc) | β€” | none | | `amd+dgpu` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_fe0d28dcfc0115e2) [2](https://beanstalk.magicbean.dev/reports/rp_672d4de17724a490) | β€” | none | | `intel+dgpu` | ⏳ queued | 0 of 1 | β€” | β€” | | `windows+nvidia+dgpu` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_86bdd77fb3e164d5) [2](https://beanstalk.magicbean.dev/reports/rp_b413a14d4b0edaf4) | β€” | none | | `linux+nvidia+dgpu` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_7aa825d415c47559) [2](https://beanstalk.magicbean.dev/reports/rp_eaeb0987bae8df0e) | β€” | none | | `linux+radv` | ⚠️ couldn't be judged | 2 [1](https://beanstalk.magicbean.dev/reports/rp_e862b09a620ab6c8) [2](https://beanstalk.magicbean.dev/reports/rp_5c17c6ef4e8c3917) | β€” | none | | `steamdeck` | ⏳ queued | 1 [1](https://beanstalk.magicbean.dev/reports/rp_f46dca7ab2f46f94) | β€” | none | **`field-market`** Β· frame time p99 (ms) | Target | main | `RX_VK_RECORDER=` | `RX_VK_RECORDER=off` (reference) | | --- | --- | --- | --- | | `amd+igpu` | β€” | β€” | β€” | | `intel+igpu` | β€” | β€” | β€” | | `amd+dgpu` | β€” | β€” | β€” | | `intel+dgpu` | β€” | β€” | β€” | | `windows+nvidia+dgpu` | β€” | β€” | β€” | | `linux+nvidia+dgpu` | β€” | β€” | β€” | | `linux+radv` | β€” | β€” | β€” | | `steamdeck` | β€” | β€” | β€” | **Couldn't be judged**: the tester's PC could not finish the test. The farm tries another PC, or the same one after a fix; it says nothing about the PR on its own. - `amd+igpu`, [report 1](https://beanstalk.magicbean.dev/reports/rp_8d900b03622df91f): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `amd+igpu`, [report 2](https://beanstalk.magicbean.dev/reports/rp_07e9d0a20feadd65): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `intel+igpu`, [report 1](https://beanstalk.magicbean.dev/reports/rp_1fb50945c4199353): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `intel+igpu`, [report 2](https://beanstalk.magicbean.dev/reports/rp_a6deca62b14577cc): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `amd+dgpu`, [report 1](https://beanstalk.magicbean.dev/reports/rp_fe0d28dcfc0115e2): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `amd+dgpu`, [report 2](https://beanstalk.magicbean.dev/reports/rp_672d4de17724a490): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `windows+nvidia+dgpu`, [report 1](https://beanstalk.magicbean.dev/reports/rp_86bdd77fb3e164d5): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - `windows+nvidia+dgpu`, [report 2](https://beanstalk.magicbean.dev/reports/rp_b413a14d4b0edaf4): `main's tools.lock: tools.lock line 32 (sdl): its first URLs are not Longshot's store's` - and 5 more, in the reports <details><summary>What was tested</summary> **What will be tested** Β· AI plan (`gpt-6.1-terra`) On integrated and discrete GPUs, this plan compares main, the PR on Auto, and the PR with the recorder disabled in Hyrule Field and the Market. Each arm gets two starts with 20-second measurements per place, reporting fps, frame-time percentiles and 1% lows, crashes, screenshots, and the Threaded rendering start line. Crashes, missing start lines, excessive picture differences, or frame-time regressions beyond 15% fail the plan. Targets without a matching online device, including Steam Deck, will wait for a tester. No tester online now matches intel+dgpu, steamdeck: those targets wait for one. - **Where:** amd+igpu (1-2 reports), intel+igpu (1-2 reports), amd+dgpu (1-2 reports), intel+dgpu (1-2 reports), windows+nvidia+dgpu (1-2 reports), linux+nvidia+dgpu (1-2 reports), linux+radv (1-2 reports), steamdeck (1-2 reports). - **Matrix:** 2 cells, each on main and the PR: RX_VK_RECORDER `` or `off` (PR only). - **field-market:** from the repository's save `castle-gate` (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0; switches `HOS_OUTPUT_RES=1280x720`, `RX_VK_AUTO_TUNE=0`), then teleport to Hyrule Field, take the picture field to compare with main, measure field for 20 s (after 10 s warm-up), teleport to Market, take the picture market to compare with main, measure market for 20 s (after 10 s warm-up); 2 runs on each side for each of 2 cells (2 game starts a run). - **Measured:** crashes, frame times, stutters and hitches, draws and frame rate, the game's log. - **The PR fails if:** it crashes; or the PR's frame time (p99) with RX_VK_RECORDER= is more than 15% above RX_VK_RECORDER=off; or the PR's frame time (worst 1%) with RX_VK_RECORDER= is more than 15% above RX_VK_RECORDER=off; or a picture differs from main by more than 20%; or frame time (p99) is more than 15% above main; or expected log lines missing is above 0; or frame time (worst 1%) is more than 15% above main. - **Time:** about 49 min of game runs per tester (8 game starts), plus the two builds. </details> <details><summary>Measurements on `amd+igpu`, for the PR description</summary> **Verdict:** could not be judged on amd+igpu (2 reports). Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on amd+igpu (2 reports). Hardware: 1: linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM`; 2: linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>Measurements on `intel+igpu`, for the PR description</summary> **Verdict:** could not be judged on intel+igpu (2 reports). Hardware: 1: linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM`; 2: windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on intel+igpu (2 reports). Hardware: 1: linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM`; 2: windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>Measurements on `amd+dgpu`, for the PR description</summary> **Verdict:** could not be judged on amd+dgpu (2 reports). Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on amd+dgpu (2 reports). Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>Measurements on `windows+nvidia+dgpu`, for the PR description</summary> **Verdict:** could not be judged on windows+nvidia+dgpu (2 reports). Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on windows+nvidia+dgpu (2 reports). Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>Measurements on `linux+nvidia+dgpu`, for the PR description</summary> **Verdict:** could not be judged on linux+nvidia+dgpu (2 reports). Hardware: 1: linux+nvidia+nvidia-proprietary+dgpu+dlss `NVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2` `AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAM`; 2: linux+nvidia+nvidia-proprietary+dgpu `NVIDIA GeForce RTX 5070, 620.73.4` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on linux+nvidia+dgpu (2 reports). Hardware: 1: linux+nvidia+nvidia-proprietary+dgpu+dlss `NVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2` `AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAM`; 2: linux+nvidia+nvidia-proprietary+dgpu `NVIDIA GeForce RTX 5070, 620.73.4` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>Measurements on `linux+radv`, for the PR description</summary> **Verdict:** could not be judged on linux+radv (2 reports). Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** could not be judged on linux+radv (2 reports). Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 2 reports How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>Measurements on `steamdeck`, for the PR description</summary> **Verdict:** queued on steamdeck (1 report). Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 1 report How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | As Markdown for the PR description: ```markdown ## Measurements **Verdict:** queued on steamdeck (1 report). Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` Scene: field-market, from the repository's save castle-gate (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0); each cell's settings and switches as the table names them Method: the Beanstalk test farm: main and this PR built and run on the same PC in one session, game starts alternating (ABBA); field-market: 2 game starts a side, field 20 s after 10 s warm-up, market 20 s after 10 s warm-up; each number the median of the runs, then of 1 report How to reproduce: the farm's plan above (`@Beanstalk` on this PR runs it again) Nothing was measured: no metric came back. **Flags and settings** | Flag | What it is | Values tried | Before this PR | After this PR | Effect (frame time (p99)) | Helps / doesn't help / untested | |---|---|---|---|---|---|---| | `RX_VK_RECORDER` | switch the PR adds (set on the PR side only) | ``, `off` | not in main | the PR's default | field-market, main without it β†’ the PR with : not measured | untested | ``` </details> <details><summary>The testers' hardware</summary> | Target | Report | Ran on | | --- | --- | --- | | `amd+igpu` | [1](https://beanstalk.magicbean.dev/reports/rp_8d900b03622df91f) | linux+amd+radv+igpu `AMD Radeon 8060S Graphics (RADV STRIX_HALO), 26.99.99` `AMD RYZEN AI MAX+ 395 w/ Radeon 8060S, 64 GB RAM` | | `amd+igpu` | [2](https://beanstalk.magicbean.dev/reports/rp_07e9d0a20feadd65) | linux+amd+radv+igpu `AMD Radeon 760M Graphics (RADV PHOENIX), 26.0.8` `AMD Ryzen 5 230 w/ Radeon 760M Graphics, 16 GB RAM` | | `intel+igpu` | [1](https://beanstalk.magicbean.dev/reports/rp_1fb50945c4199353) | linux+intel+anv+igpu `Intel(R) Graphics (RKL GT1), 26.2.4` `11th Gen Intel(R) Core(TM) i7-11700K @ 3.60GHz, 128 GB RAM` | | `intel+igpu` | [2](https://beanstalk.magicbean.dev/reports/rp_a6deca62b14577cc) | windows+intel+intel-proprietary+igpu+window `Intel(R) UHD Graphics 630, 0.404.2115` `Intel(R) Core(TM) i3-8100 CPU @ 3.60GHz, 8 GB RAM` | | `amd+dgpu` | [1](https://beanstalk.magicbean.dev/reports/rp_fe0d28dcfc0115e2) | linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM` | | `amd+dgpu` | [2](https://beanstalk.magicbean.dev/reports/rp_672d4de17724a490) | linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` | | `windows+nvidia+dgpu` | [1](https://beanstalk.magicbean.dev/reports/rp_86bdd77fb3e164d5) | windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 3070, 621.35.0` `AMD Ryzen 5 5600X3D 6-Core Processor, 32 GB RAM` | | `windows+nvidia+dgpu` | [2](https://beanstalk.magicbean.dev/reports/rp_b413a14d4b0edaf4) | windows+nvidia+nvidia-proprietary+dgpu+window+dlss+xess `NVIDIA GeForce RTX 4090, 621.40.0` `13th Gen Intel(R) Core(TM) i7-13700K, 32 GB RAM` | | `linux+nvidia+dgpu` | [1](https://beanstalk.magicbean.dev/reports/rp_7aa825d415c47559) | linux+nvidia+nvidia-proprietary+dgpu+dlss `NVIDIA GeForce RTX 5070 Laptop GPU, 620.85.2` `AMD Ryzen AI 9 365 w/ Radeon 880M, 32 GB RAM` | | `linux+nvidia+dgpu` | [2](https://beanstalk.magicbean.dev/reports/rp_eaeb0987bae8df0e) | linux+nvidia+nvidia-proprietary+dgpu `NVIDIA GeForce RTX 5070, 620.73.4` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` | | `linux+radv` | [1](https://beanstalk.magicbean.dev/reports/rp_e862b09a620ab6c8) | linux+amd+radv+dgpu `AMD Radeon RX 9070 (RADV GFX1201), 26.3.1` `AMD Ryzen 5 7600X3D 6-Core Processor, 32 GB RAM` | | `linux+radv` | [2](https://beanstalk.magicbean.dev/reports/rp_5c17c6ef4e8c3917) | linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` | | `steamdeck` | [1](https://beanstalk.magicbean.dev/reports/rp_f46dca7ab2f46f94) | linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` | </details> </details>
Member

Possibly related, for context:

  • PR #1407 WIP: perf(vk): derive Auto threaded rendering's threshold from the game's cores β€” Open Auto threaded-rendering policy work overlaps selection logic
  • issue #2480 Game: Steam Deck (v3.2.0): RX_VK_LOAD=start and RX_VK_RECORDER=thread are clear wins that Auto leaves off β€” Open report includes recorder-thread gains that motivate extending Auto
Possibly related, for context: - PR #1407 WIP: perf(vk): derive Auto threaded rendering's threshold from the game's cores β€” Open Auto threaded-rendering policy work overlaps selection logic - issue #2480 Game: Steam Deck (v3.2.0): RX_VK_LOAD=start and RX_VK_RECORDER=thread are clear wins that Auto leaves off β€” Open report includes recorder-thread gains that motivate extending Auto
Author
Owner
@rebase
Member

I rebased this pull request onto main (4007f6eae4): the new head is a9dc966b84.

Conflicts resolved

  • docs/dev/reference/threads.md: Kept the updated recorder behavior and the base branch’s settings location.
  • gpu/vk/device_policy.h: Kept the updated Auto behavior and settings location.
  • gpu/vk/settings/options.h: Kept the renamed functions and updated recorder behavior.
  • gpu/vk/settings/settings.cpp: Carried the recorder change into the moved settings logic.
  • gpu/vk/vk_menu.cpp: Kept the base branch’s deletion after carrying the change to settings/settings.cpp.
  • gpu/vk/vk_recorder.h: Kept the renamed settings function and updated recorder behavior.
  • gpu/vk/vk_replay.cpp: Kept the renamed recorder hook and updated its description.
  • Also changed, beyond the conflict: gpu/vk/settings/settings.cpp

Nothing was built or run: read the resolution before merging.


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

I rebased this pull request onto `main` (4007f6eae45b): the new head is a9dc966b8402. **Conflicts resolved** - docs/dev/reference/threads.md: Kept the updated recorder behavior and the base branch’s settings location. - gpu/vk/device_policy.h: Kept the updated Auto behavior and settings location. - gpu/vk/settings/options.h: Kept the renamed functions and updated recorder behavior. - gpu/vk/settings/settings.cpp: Carried the recorder change into the moved settings logic. - gpu/vk/vk_menu.cpp: Kept the base branch’s deletion after carrying the change to settings/settings.cpp. - gpu/vk/vk_recorder.h: Kept the renamed settings function and updated recorder behavior. - gpu/vk/vk_replay.cpp: Kept the renamed recorder hook and updated its description. - Also changed, beyond the conflict: `gpu/vk/settings/settings.cpp` Nothing was built or run: read the resolution before merging. --- <sub>Automated rebase by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
BeanBot force-pushed perf/recorder-thread-any-cores from c5ccebbca9
Some checks reported errors
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Successful in 13s
PR description / Title and description (pull_request_target) Successful in 7s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 19s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m33s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 21m41s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 16m19s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 15m52s
CI / Website build and checks (pull_request) Failing after 38s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m5s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Successful in 53m53s
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/amd+igpu 0/1 pass, 2 error
beanstalk/intel+igpu 0/1 pass, 2 error
beanstalk/amd+dgpu 0/1 pass, 2 error
beanstalk/intel+dgpu 0/1 pass, 0 running, 2 queued
beanstalk/windows+nvidia+dgpu 0/1 pass, 2 error
beanstalk/linux+nvidia+dgpu 0/1 pass, 2 error
beanstalk/linux+radv 0/1 pass, 2 error
beanstalk/steamdeck 0/1 pass, 0 running, 1 queued
to a9dc966b84
Some checks failed
beanstalk/approval not approved yet
CI / What the change needs (pull_request) Successful in 6s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Waiting to run
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Waiting to run
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Waiting to run
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Waiting to run
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Waiting to run
CI / Website build and checks (pull_request) Waiting to run
CI / Third-party parts and guide screenshots (pull_request) Successful in 15s
PR description / Title and description (pull_request_target) Failing after 7s
2026-12-05 18:04:00 +00:00
Compare
Member

Beanstalk test farm

Commit a9dc966 Β· approved by nobody yet Β· dashboard

A member of BigBeans can review this commit and comment @Beanstalk to test it.

<!-- beanstalk:sticky --> ### Beanstalk test farm Commit `a9dc966` Β· approved by nobody yet Β· [dashboard](https://beanstalk.magicbean.dev/prs/3159) A member of `BigBeans` can review this commit and comment `@Beanstalk` to test it.
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The recorder thread now runs by default on systems with fewer than four usable cores, but its performance and frame pacing there have not been measured. The change needs game runs before its gain and default can be judged. Recommend approval; not approved on the forge.

Auto uses the recorder thread on one-, two- and three-core configurations while keeping the render thread off. This may overlap Vulkan recording with replay, at the cost of another competing thread, packet copies and waits; the net effect is unknown.

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

  • L1 gpu/vk/threaded_rendering.h:101: The new default enables the recorder on fewer than four usable cores without a measured gain or a game run on that configuration. (more on the line) Do: Compare the merge base and this head on affected Windows and Linux configurations, including integrated and discrete GPUs and one-core affinity where practical. Use the same heavy scenes and settings, interleaved repeated runs, and report average fps, 1% lows, median and p99 frame times, crashes and visual differences.

Checks: Still running: 11 checks.

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

Does it help: Unproven. The pull request reports no before-and-after game measurements below four cores; the recorded four-core results do not establish the effect on those systems.

Other systems: The changed default can affect Windows and Linux, integrated and discrete GPUs, and processes restricted to fewer than four physical cores by affinity. Configurations with four or more usable cores retain their previous Auto choice. The game-free checks exercise policy and safety gates but do not establish rendering correctness or frame pacing on the newly affected configurations.

Switches: The Threaded rendering row remains Auto by default, but Auto now enables the recorder below four cores. RX_VK_RECORDER remains an override and its documented default changes with the row. Whether the new default is right is unproven; the switch table and user documentation are updated.

Reviewed: a9dc966b84 against 4007f6eae4: Read the repository rules, standards and PR template, commit and diff. Read threaded_rendering.h and the changed policy, settings, recorder, replay, test and documentation sections; skimmed the remainder of the larger changed files and related recorder implementation. The review checklist and sibling Tooling AGENTS.md were absent.; nothing run (a code review).

Checked and fine:

  • Auto still disables both threads for the stated unsafe runs and Off; the mirror fallback still prevents Auto from enabling the render thread without mirrors.
  • The changed policy tests cover the below-four-core choice and would fail if that choice were reverted.
  • The commit records AI assistance, and the diff contains no generated game output or renderer API change.

Testing: No commands from the project, builds or tests were run during this read-only review. The author reports game-free Linux checks passing; the game has not been built or run for this change, and CI was still running.

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


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

**Recommendation: Approve.** The code is ready: only testing is left. The recorder thread now runs by default on systems with fewer than four usable cores, but its performance and frame pacing there have not been measured. The change needs game runs before its gain and default can be judged. Recommend approval; not approved on the forge. Auto uses the recorder thread on one-, two- and three-core configurations while keeping the render thread off. This may overlap Vulkan recording with replay, at the cost of another competing thread, packet copies and waits; the net effect is unknown. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1** `gpu/vk/threaded_rendering.h:101`: The new default enables the recorder on fewer than four usable cores without a measured gain or a game run on that configuration. (more on the line) **Do:** Compare the merge base and this head on affected Windows and Linux configurations, including integrated and discrete GPUs and one-core affinity where practical. Use the same heavy scenes and settings, interleaved repeated runs, and report average fps, 1% lows, median and p99 frame times, crashes and visual differences. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven. The pull request reports no before-and-after game measurements below four cores; the recorded four-core results do not establish the effect on those systems. **Other systems:** The changed default can affect Windows and Linux, integrated and discrete GPUs, and processes restricted to fewer than four physical cores by affinity. Configurations with four or more usable cores retain their previous Auto choice. The game-free checks exercise policy and safety gates but do not establish rendering correctness or frame pacing on the newly affected configurations. **Switches:** The Threaded rendering row remains Auto by default, but Auto now enables the recorder below four cores. RX_VK_RECORDER remains an override and its documented default changes with the row. Whether the new default is right is unproven; the switch table and user documentation are updated. **Reviewed:** a9dc966b8402 against 4007f6eae45b: Read the repository rules, standards and PR template, commit and diff. Read threaded_rendering.h and the changed policy, settings, recorder, replay, test and documentation sections; skimmed the remainder of the larger changed files and related recorder implementation. The review checklist and sibling Tooling AGENTS.md were absent.; nothing run (a code review). **Checked and fine:** - Auto still disables both threads for the stated unsafe runs and Off; the mirror fallback still prevents Auto from enabling the render thread without mirrors. - The changed policy tests cover the below-four-core choice and would fail if that choice were reverted. - The commit records AI assistance, and the diff contains no generated game output or renderer API change. **Testing:** No commands from the project, builds or tests were run during this read-only review. The author reports game-free Linux checks passing; the game has not been built or run for this change, and CI was still running. **Overlaps and merge order:** Not checked; network access is unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its rebase. Nothing was run; a maintainer decides.</sub>
@ -107,3 +99,3 @@
constexpr Choice auto_picks(unsigned cores) {
if (cores >= kAutoCores) return {true, true, Why::AutoBothThreads};
return {false, false, Why::AutoFewCores};
return {false, true, Why::AutoFewCores};
Member

L1 (should fix): The new default enables the recorder on fewer than four usable cores without a measured gain or a game run on that configuration.

When: On a two- or three-core PC, or a process limited to that many cores, Auto now packs and hands Vulkan work to another thread that competes with the game. Its effect on frame rate, frame pacing and output is unknown.

Do: Compare the merge base and this head on affected Windows and Linux configurations, including integrated and discrete GPUs and one-core affinity where practical. Use the same heavy scenes and settings, interleaved repeated runs, and report average fps, 1% lows, median and p99 frame times, crashes and visual differences.

**L1** (should fix): The new default enables the recorder on fewer than four usable cores without a measured gain or a game run on that configuration. *When:* On a two- or three-core PC, or a process limited to that many cores, Auto now packs and hands Vulkan work to another thread that competes with the game. Its effect on frame rate, frame pacing and output is unknown. **Do:** Compare the merge base and this head on affected Windows and Linux configurations, including integrated and discrete GPUs and one-core affinity where practical. Use the same heavy scenes and settings, interleaved repeated runs, and report average fps, 1% lows, median and p99 frame times, crashes and visual differences.
Author
Owner
@fix
Member

There is nothing for an edit to fix on this pull request. It was already up to date with main.

For the author (no edit does these)

  • L1 gpu/vk/threaded_rendering.h:101: The new default enables the recorder on fewer than four usable cores without a measured gain or a game run on that configuration. When: On a two- or three-core PC, or a process limited to that many cores, Auto now packs and hands Vulkan work to another thread that competes with the game. Its effect on frame rate, frame pacing and output is unknown. Do: Compare the merge base and this head on affected Windows and Linux configurations, including integrated and discrete GPUs and one-core affinity where practical. Use the same heavy scenes and settings, interleaved repeated runs, and report average fps, 1% lows, median and p99 frame times, crashes and visual differences.

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

There is nothing for an edit to fix on this pull request. It was already up to date with `main`. **For the author** (no edit does these) - **L1** `gpu/vk/threaded_rendering.h:101`: The new default enables the recorder on fewer than four usable cores without a measured gain or a game run on that configuration. *When:* On a two- or three-core PC, or a process limited to that many cores, Auto now packs and hands Vulkan work to another thread that competes with the game. Its effect on frame rate, frame pacing and output is unknown. **Do:** Compare the merge base and this head on affected Windows and Linux configurations, including integrated and discrete GPUs and one-core affinity where practical. Use the same heavy scenes and settings, interleaved repeated runs, and report average fps, 1% lows, median and p99 frame times, crashes and visual differences. --- <sub>Automated fix by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
HumanBean changed title from WIP: perf(vk): Threaded rendering's Auto runs the recorder thread at any core count to perf(vk): Threaded rendering's Auto runs the recorder thread at any core count 2026-12-05 18:21:03 +00:00
HumanBean deleted branch perf/recorder-thread-any-cores 2026-12-05 18:21:10 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 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!3159
No description provided.