perf(vk): inline POD ring encoding, direct dispatch, and batched R flush (RX_VK_RECORDER_FAST) #2968

Merged
HumanBean merged 1 commit from siantm/Longshot:perf/vk-recorder-inline-fast into main 2026-12-02 20:12:06 +00:00
Contributor

Summary

Reduces Vulkan command-ring recording and consumer dispatch overhead (cmds_ms / draw_ms / frame tail latency) in gpu/vk/vk_work.h, gpu/vk/vk_recorder.h, and gpu/vk/vk_replay.cpp.

Before this change, every vkCmd* call on the hot path invoked a cross-TU call_count_on() function check (vk_work.h), marked Route::MODE::OFF as [[likely]] despite THREAD being active, ran a noinline packer that reserved 80 KB (g_ring_room) before checking ring wrap and wrapped arguments in a lambda closure, dispatched every packet via indirect p->run(p) call on the consumer thread, and executed a release R.store on every single ~32 B packet.

With RX_VK_RECORDER_FAST (default on, 1):

  1. gpu/vk/vk_work.h checks an inline g_call_count_on boolean ([[unlikely]]) instead of making a cross-TU call on every vkCmd*.
  2. gpu/vk/vk_recorder.h adds inline exact-size POD ring encoding (Recorder::reserve_exact + fast_pod_sentinel + Pod* payloads for 18 fixed-size commands and 6 bounded small-array commands such as vkCmdPushConstants <= 256B, vkCmdBindVertexBuffers2 <= 16, vkCmdSetViewportWithCount <= 16, vkCmdSetScissorWithCount <= 16, vkCmdSetColorBlendEnableEXT <= 8, and vkCmdSetColorWriteMaskEXT <= 8), falling back to legacy Enc when RX_VK_RECORDER_FAST=0 or over-cap.
  3. Recorder::loop() dispatches fast POD opcodes directly via switch (p->op) and batches consumer R.store(r, release) updates every min(65536, cap / 4) bytes, on drain to seen before re-checking W / idle(), and on OP_PART before parts_done.

First read vk_recorder.h, vk_work.h, and vk_replay.cpp.

Testing

Tested: Windows 11, NVIDIA GeForce RTX 4060 (driver 621.40, Vulkan 1.4).

  • python -X utf8 -I tests/test_recorder_sync.py --cxx clang++ --headers ... --bench 20000 passed (including Windows exit test + broken exit test + 20 broken variants).
  • python -X utf8 -I tests/test_recorder_parts.py --cxx clang++ --headers ... passed (6 cases + 8 broken controls).
  • python -X utf8 -I tests/test_vk_recorder_fast.py --cxx clang++ --headers ... passed (ALL FAST PASS, env_off, 12,500 randomized commands, wrap boundaries, HOS_AB mixed fast/legacy packets, 4 broken variants).
  • python -X utf8 -I tests/test_hos_ab.py, test_recorder_own_idle.py, test_thinlto_tls.py, test_saveload_warm_cache.py, test_threaded_rendering.py, test_ub_update_batch.py, and 8-TU clang++ -fsyntax-only passed.
  • Live Market (RX_VK_RECORDER_FAST=1, 25 s): 1971 frames, RUN_ERROR=None.
  • Queued in-run HOS_AB (HOS_AB=RX_VK_RECORDER_FAST=0,3,0, 5×90 s, 145 paired periods in Market): 5/5 runs won, zero crashes/errors.

Still to test:

  • macOS / Linux / AMD / Intel: run tests/test_recorder_sync.py, tests/test_recorder_parts.py, and dev.py ab in Market by hand (by hand).

Measurements

Verdict: faster: +1.10% fps, the mean frame time -0.137 ms (95% interval +0.36% to +1.86% faster vs RX_VK_RECORDER_FAST=0).

Setup: Windows 11, NVIDIA GeForce RTX 4060 (driver 621.40, Vulkan 1.4); Market, child (crowded), 50% res (768x432), output res 1280x720, frame generation Off, vsync Off, uncapped (HOS_FPS_MAX=1000), queued in-run HOS_AB=RX_VK_RECORDER_FAST=0,3,0 across 5×90 s runs (145 paired periods; 16,536 ON frames vs 16,361 OFF frames).

Baseline: both columns are one build, 329824972 on perf/vk-recorder-inline-fast (main @ 495ed9fe2): RX_VK_RECORDER_FAST=0 (Before) against RX_VK_RECORDER_FAST unset (After).

Before, RX_VK_RECORDER_FAST=0: this PR @ 32982497 After, RX_VK_RECORDER_FAST unset: this PR @ 32982497 Δ
fps 80.80 81.68 +1.10%
mean frame time 12.38 ms 12.24 ms -0.14 ms
median frame time 12.12 ms 12.00 ms -0.12 ms
p99 frame time 15.79 ms 15.55 ms -0.24 ms
1% low fps 63.53 64.43 +1.42%
0.1% low fps 47.64 53.94 +13.22%
cmds_ms 2.296 ms 2.169 ms -5.55% (-0.127 ms)
draw_ms 7.195 ms 7.066 ms -1.79% (-0.129 ms)

Risks

Set RX_VK_RECORDER_FAST=0 to revert producer emission to legacy lambda-closure ring packing while keeping RX_VK_RECORDER=thread. Consumer decoding handles both fast POD packets and legacy closure packets identically across recording boundaries (HOS_AB safe).

Assisted-by: Antigravity

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

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

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.
## Summary Reduces Vulkan command-ring recording and consumer dispatch overhead (`cmds_ms` / `draw_ms` / frame tail latency) in `gpu/vk/vk_work.h`, `gpu/vk/vk_recorder.h`, and `gpu/vk/vk_replay.cpp`. Before this change, every `vkCmd*` call on the hot path invoked a cross-TU `call_count_on()` function check (`vk_work.h`), marked `Route::MODE::OFF` as `[[likely]]` despite `THREAD` being active, ran a `noinline` packer that reserved 80 KB (`g_ring_room`) before checking ring wrap and wrapped arguments in a lambda closure, dispatched every packet via indirect `p->run(p)` call on the consumer thread, and executed a release `R.store` on every single ~32 B packet. With `RX_VK_RECORDER_FAST` (default on, `1`): 1. `gpu/vk/vk_work.h` checks an inline `g_call_count_on` boolean (`[[unlikely]]`) instead of making a cross-TU call on every `vkCmd*`. 2. `gpu/vk/vk_recorder.h` adds inline exact-size POD ring encoding (`Recorder::reserve_exact` + `fast_pod_sentinel` + `Pod*` payloads for 18 fixed-size commands and 6 bounded small-array commands such as `vkCmdPushConstants <= 256B`, `vkCmdBindVertexBuffers2 <= 16`, `vkCmdSetViewportWithCount <= 16`, `vkCmdSetScissorWithCount <= 16`, `vkCmdSetColorBlendEnableEXT <= 8`, and `vkCmdSetColorWriteMaskEXT <= 8`), falling back to legacy `Enc` when `RX_VK_RECORDER_FAST=0` or over-cap. 3. `Recorder::loop()` dispatches fast POD opcodes directly via `switch (p->op)` and batches consumer `R.store(r, release)` updates every `min(65536, cap / 4)` bytes, on drain to `seen` before re-checking `W` / `idle()`, and on `OP_PART` before `parts_done`. First read [vk_recorder.h](gpu/vk/vk_recorder.h), [vk_work.h](gpu/vk/vk_work.h), and [vk_replay.cpp](gpu/vk/vk_replay.cpp). ## Testing **Tested:** Windows 11, NVIDIA GeForce RTX 4060 (driver 621.40, Vulkan 1.4). - `python -X utf8 -I tests/test_recorder_sync.py --cxx clang++ --headers ... --bench 20000` passed (including Windows exit test + broken exit test + 20 broken variants). - `python -X utf8 -I tests/test_recorder_parts.py --cxx clang++ --headers ...` passed (6 cases + 8 broken controls). - `python -X utf8 -I tests/test_vk_recorder_fast.py --cxx clang++ --headers ...` passed (`ALL FAST PASS`, `env_off`, 12,500 randomized commands, wrap boundaries, `HOS_AB` mixed fast/legacy packets, 4 broken variants). - `python -X utf8 -I tests/test_hos_ab.py`, `test_recorder_own_idle.py`, `test_thinlto_tls.py`, `test_saveload_warm_cache.py`, `test_threaded_rendering.py`, `test_ub_update_batch.py`, and 8-TU `clang++ -fsyntax-only` passed. - Live Market (`RX_VK_RECORDER_FAST=1`, 25 s): 1971 frames, `RUN_ERROR=None`. - Queued in-run `HOS_AB` (`HOS_AB=RX_VK_RECORDER_FAST=0,3,0`, 5×90 s, 145 paired periods in Market): 5/5 runs won, zero crashes/errors. **Still to test:** - macOS / Linux / AMD / Intel: run `tests/test_recorder_sync.py`, `tests/test_recorder_parts.py`, and `dev.py ab` in Market by hand (`by hand`). ## Measurements **Verdict:** faster: +1.10% fps, the mean frame time -0.137 ms (95% interval +0.36% to +1.86% faster vs `RX_VK_RECORDER_FAST=0`). Setup: Windows 11, NVIDIA GeForce RTX 4060 (driver 621.40, Vulkan 1.4); Market, child (crowded), 50% res (768x432), output res 1280x720, frame generation Off, vsync Off, uncapped (`HOS_FPS_MAX=1000`), queued in-run `HOS_AB=RX_VK_RECORDER_FAST=0,3,0` across 5×90 s runs (145 paired periods; 16,536 ON frames vs 16,361 OFF frames). Baseline: both columns are one build, `329824972` on `perf/vk-recorder-inline-fast` (`main` @ `495ed9fe2`): `RX_VK_RECORDER_FAST=0` (Before) against `RX_VK_RECORDER_FAST` unset (After). | | Before, RX_VK_RECORDER_FAST=0: this PR @ 32982497 | After, RX_VK_RECORDER_FAST unset: this PR @ 32982497 | Δ | |---|---|---|---| | fps | 80.80 | 81.68 | +1.10% | | mean frame time | 12.38 ms | 12.24 ms | -0.14 ms | | median frame time | 12.12 ms | 12.00 ms | -0.12 ms | | p99 frame time | 15.79 ms | 15.55 ms | -0.24 ms | | 1% low fps | 63.53 | 64.43 | +1.42% | | 0.1% low fps | 47.64 | 53.94 | +13.22% | | `cmds_ms` | 2.296 ms | 2.169 ms | -5.55% (-0.127 ms) | | `draw_ms` | 7.195 ms | 7.066 ms | -1.79% (-0.129 ms) | ## Risks Set `RX_VK_RECORDER_FAST=0` to revert producer emission to legacy lambda-closure ring packing while keeping `RX_VK_RECORDER=thread`. Consumer decoding handles both fast POD packets and legacy closure packets identically across recording boundaries (`HOS_AB` safe). Assisted-by: Antigravity ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A switch added or changed: it ships at the default the measurements chose, with its row in `gpu/vk/switches.def`. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold.
perf(vk-recorder): inline POD fast path, exact ring reserve, direct switch dispatch, and batched R
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
3298249725
Author
Contributor

Tested in game: Windows 11 RTX 4060 Market CPU-bound 5x90s HOS_AB (+1.10% FPS, 95% CI +0.36%..+1.86%, cmds_ms -5.55%, 0.1% Low +13.22%) and recorder_sync/parts suites PASS

Tested in game: Windows 11 RTX 4060 Market CPU-bound 5x90s HOS_AB (+1.10% FPS, 95% CI +0.36%..+1.86%, cmds_ms -5.55%, 0.1% Low +13.22%) and recorder_sync/parts suites PASS
Member

Possibly related, for context:

  • PR #1866 perf(vk): the recorder takes a whole part and submits it, so the render thread never waits at a part's end — Earlier merged recorder hand-off changes in the same consumer loop/ring code; provides direct background for this fast path.
  • 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 identifies recorder-thread recording overhead as an important performance opportunity.
  • issue #402 Deck: the frame is CPU-bound in the submission path, not GPU-bound (16 fps at 50% internal, GPU-bound wait 0.4 ms) — Open Steam Deck report documents CPU-side Vulkan submission costs, though hardware/configuration differs.
Possibly related, for context: - PR #1866 perf(vk): the recorder takes a whole part and submits it, so the render thread never waits at a part's end — Earlier merged recorder hand-off changes in the same consumer loop/ring code; provides direct background for this fast path. - 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 identifies recorder-thread recording overhead as an important performance opportunity. - issue #402 Deck: the frame is CPU-bound in the submission path, not GPU-bound (16 fps at 50% internal, GPU-bound wait 0.4 ms) — Open Steam Deck report documents CPU-side Vulkan submission costs, though hardware/configuration differs.
Member
@review
BeanBot left a comment

Recommendation: Approve. The commit omits the required AI-assistance trailer. The reported performance gain also compares two configurations of this PR, so the gain over the base remains unproven. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The change adds compact Vulkan recorder packets, direct dispatch and batched consumer progress updates. It may reduce recording overhead, at the cost of a larger, more complex recording and dispatch path.

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

  • L1: The commit does not record its AI assistance in a trailer, despite the checked checklist item. When: The sole commit has no Assisted-by or Co-Authored-By trailer, while the PR identifies Antigravity assistance. Do: Add the required assistance trailer to the commit.

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

  • L2: The benchmark does not measure the complete change against its base. When: FAST=0 still includes batched R updates, the call-count change and other changes, so the reported +1.10% does not establish the effect of merging the PR. Do: Compare base 495ed9fe with this head in the same scene and settings, using multiple interleaved runs and reporting frame-time tails as well as the targeted timings.
  • L3: The recorder changes need game coverage on the other supported systems they affect. When: The only reported game run is on Windows with NVIDIA; Linux, AMD and Intel remain untested for the changed threaded recording path. Do: Run the recorder and a representative game scene on the affected Tier 1 Linux and GPU configurations, including Steam Deck where applicable, and report correctness and frame pacing.

@fix can do L1.

Checks: Still running: 10 checks.

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

Does it help: Unproven against the base. On Windows with an RTX 4060, five in-run comparisons report +1.10% FPS and a 0.14 ms lower mean frame time with the fast encoder on, but both sides use the PR’s other changes.

Other systems: The recorder runs across Vulkan drivers and operating systems, including Linux and Steam Deck. The reported game run covers Windows and NVIDIA only; Linux, AMD and Intel results are still outstanding.

Switches: RX_VK_RECORDER_FAST is added, default on; 0 selects legacy producer encoding, while the consumer batching and other changes remain active. It is listed in switches.def and can change between recordings through HOS_AB. The default’s overall benefit against main is not yet established.

Reviewed: 3298249725 against 495ed9fe2a: Read AGENTS.md, CONTRIBUTING.md, the PR template, relevant standards, the commit and diff, and the recorder changes and surrounding ring code. Reviewed the changed work and replay sections, switch row and test wiring; skimmed the new test’s harness and cases. The full vk_replay.cpp and vk_work.h were not read; ../Tooling/AGENTS.md was unavailable, and docs/review-checklist.md does not exist.; nothing run (a code review).

Checked and fine:

  • The fast packet arrays have bounded counts before their size calculations.
  • The consumer publishes R before announcing a completed part and before entering idle.
  • The new switch is present in the switch table and its HOS_AB wiring is declared in the test.

Testing: No code or tests were run, as requested. The author reports game-free checks and a Windows NVIDIA game run; CI is still running.

Overlaps and merge order: Not checked; the network is closed.


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

**Recommendation: Approve.** The commit omits the required AI-assistance trailer. The reported performance gain also compares two configurations of this PR, so the gain over the base remains unproven. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The change adds compact Vulkan recorder packets, direct dispatch and batched consumer progress updates. It may reduce recording overhead, at the cost of a larger, more complex recording and dispatch path. **Should fix (1)**: not blocking, but worth doing before merging. - **L1**: The commit does not record its AI assistance in a trailer, despite the checked checklist item. *When:* The sole commit has no Assisted-by or Co-Authored-By trailer, while the PR identifies Antigravity assistance. **Do:** Add the required assistance trailer to the commit. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2**: The benchmark does not measure the complete change against its base. *When:* FAST=0 still includes batched R updates, the call-count change and other changes, so the reported +1.10% does not establish the effect of merging the PR. **Do:** Compare base 495ed9fe with this head in the same scene and settings, using multiple interleaved runs and reporting frame-time tails as well as the targeted timings. - **L3**: The recorder changes need game coverage on the other supported systems they affect. *When:* The only reported game run is on Windows with NVIDIA; Linux, AMD and Intel remain untested for the changed threaded recording path. **Do:** Run the recorder and a representative game scene on the affected Tier 1 Linux and GPU configurations, including Steam Deck where applicable, and report correctness and frame pacing. `@fix` can do L1. **Checks:** Still running: 10 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven against the base. On Windows with an RTX 4060, five in-run comparisons report +1.10% FPS and a 0.14 ms lower mean frame time with the fast encoder on, but both sides use the PR’s other changes. **Other systems:** The recorder runs across Vulkan drivers and operating systems, including Linux and Steam Deck. The reported game run covers Windows and NVIDIA only; Linux, AMD and Intel results are still outstanding. **Switches:** RX_VK_RECORDER_FAST is added, default on; 0 selects legacy producer encoding, while the consumer batching and other changes remain active. It is listed in switches.def and can change between recordings through HOS_AB. The default’s overall benefit against main is not yet established. **Reviewed:** 329824972583 against 495ed9fe2aaa: Read AGENTS.md, CONTRIBUTING.md, the PR template, relevant standards, the commit and diff, and the recorder changes and surrounding ring code. Reviewed the changed work and replay sections, switch row and test wiring; skimmed the new test’s harness and cases. The full vk_replay.cpp and vk_work.h were not read; ../Tooling/AGENTS.md was unavailable, and docs/review-checklist.md does not exist.; nothing run (a code review). **Checked and fine:** - The fast packet arrays have bounded counts before their size calculations. - The consumer publishes R before announcing a completed part and before entering idle. - The new switch is present in the switch table and its HOS_AB wiring is declared in the test. **Testing:** No code or tests were run, as requested. The author reports game-free checks and a Windows NVIDIA game run; CI is still running. **Overlaps and merge order:** Not checked; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
siantm force-pushed perf/vk-recorder-inline-fast from 3298249725
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 659b446fac
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/windows+nvidia 2/1 pass
beanstalk/nvidia 2/1 pass
beanstalk/amd 1/1 fail
beanstalk/linux+radv 2/1 pass
beanstalk/intel 0/1 pass, 0 running, 1 queued
beanstalk/steamdeck 2/1 fail
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
2026-12-02 10:21:37 +00:00
Compare
Author
Contributor

Addressed review feedback in 659b446fa:

  • L1 (AI attribution trailer): Added Assisted-by: Antigravity (Google DeepMind) to the commit message.
  • L2 / L3 (testing before merging): Base-vs-head comparison and Tier 1 Linux/AMD/Intel game runs remain for live hardware verification.

Checks run:

  • python -I tests/test_vk_recorder_fast.py --cxx clang++ --headers <vulkan_headers>: PASS (including env_off and all 4 broken variants)
  • python -I tests/test_vk_recorder_fast.py --cxx g++ --headers <vulkan_headers>: PASS
  • python -I tests/test_recorder_sync.py --cxx clang++ --headers <vulkan_headers>: PASS
  • python -I tests/test_recorder_parts.py --cxx clang++ --headers <vulkan_headers>: PASS
  • python -I tests/test_recorder_own_idle.py --cxx clang++ --headers <vulkan_headers>: PASS
  • python -I tests/test_hos_ab.py --cc clang: PASS
  • python -I tests/test_tls_objects.py: PASS (19 TLS_OBJECTs; 44 other namespace-scope thread_locals)
  • python -I tests/test_vk_braces.py: PASS (617 renderer sources)
Addressed review feedback in 659b446fa: - **L1 (AI attribution trailer):** Added `Assisted-by: Antigravity (Google DeepMind)` to the commit message. - **L2 / L3 (testing before merging):** Base-vs-head comparison and Tier 1 Linux/AMD/Intel game runs remain for live hardware verification. **Checks run:** - `python -I tests/test_vk_recorder_fast.py --cxx clang++ --headers <vulkan_headers>`: PASS (including `env_off` and all 4 broken variants) - `python -I tests/test_vk_recorder_fast.py --cxx g++ --headers <vulkan_headers>`: PASS - `python -I tests/test_recorder_sync.py --cxx clang++ --headers <vulkan_headers>`: PASS - `python -I tests/test_recorder_parts.py --cxx clang++ --headers <vulkan_headers>`: PASS - `python -I tests/test_recorder_own_idle.py --cxx clang++ --headers <vulkan_headers>`: PASS - `python -I tests/test_hos_ab.py --cc clang`: PASS - `python -I tests/test_tls_objects.py`: PASS (19 `TLS_OBJECT`s; 44 other namespace-scope `thread_local`s) - `python -I tests/test_vk_braces.py`: PASS (617 renderer sources)
Owner

@review
@beanstalk

@review @beanstalk
Member
Beanstalk test farm · an earlier run: commit 659b446 (the newer results are in a comment below)

Commit 659b446 · approved by HumanBean (reviewed) · dashboard

⚠️ Note: The farm does not measure the reported cmds_ms and draw_ms components or run the standalone recorder test suites; the small reported 1.1% gain may be indistinguishable from run-to-run noise.
⚠️ Note: The plan tests the shipped default against main, not FAST=0 against the PR default or mixed packets during an in-run switch.

Started at 15:09 UTC.

Target Result Reports Frame time p99 (ms), main → PR VRAM peak (MB) Crashes
windows+nvidia ✅ pass (an outlier) 2 1 2 21.8 → 20.4 (−7%) — none
nvidia ✅ pass (an outlier) 2 1 2 6.4 → 6.2 (−3%) — none
amd ❌ fail (an outlier) 2 1 2 9.4 → 9.5 (+0%) — none
linux+radv ✅ pass (an outlier) 2 1 2 10.2 → 10.3 (+1%) — none
intel ⏳ queued 1 1 — — 3 PR runs
steamdeck ❌ fail (an outlier) 2 1 2 34.8 → 30.4 (−13%) — none

Why it failed

  • amd: threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct: 16.6 → 21.8 (+31.0%); limit 15.0
  • steamdeck: threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct: 37.5 → 47.3 (+26.0%); limit 15.0
  • steamdeck: threaded-recorder market.frametime_1pct_low_ms.max_delta_pct: 67.2 → 77.3 (+15.0%); limit 15.0

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.

  • intel, report 1: Insufficient frame-time evidence for 7 required comparison(s). See rule results.
What was tested

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

Compare the PR with main on NVIDIA, AMD, Intel and Steam Deck systems, forcing threaded Vulkan recording. Three alternating starts per side measure uncapped frame times for 30 seconds each in Market and Kokiri Forest, with fixed-size rendering and baseline screenshots. A crash, a screenshot difference above 0.25, or a median or tail frame-time regression above 15% fails the PR.

  • Where: windows+nvidia (1-2 reports), nvidia (1-2 reports), amd (1-2 reports), linux+radv (1-2 reports), intel (1-2 reports), steamdeck (1-2 reports).
  • threaded-recorder: from the repository's save market-entrance (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0; switches HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, RX_VK_AUTO_TUNE=0), then teleport to Market, take the picture market to compare with main, measure market for 30 s (after 10 s warm-up), teleport to Kokiri Forest, take the picture kokiri to compare with main, measure kokiri for 30 s (after 10 s warm-up); 3 runs on each side.
  • Measured: crashes, frame times, stutters and hitches.
  • The PR fails if: it crashes; or a picture differs from main by more than 25%; or median frame time is more than 15% above main; or frame time (p99) is more than 15% above main; or frame time (worst 1%) is more than 15% above main.
  • Time: about 39 min of game runs per tester (6 game starts), plus the two builds.
Measurements on `windows+nvidia`, for the PR description

Verdict: pass on windows+nvidia (2 reports): no rule failed and no PR run crashed.

Hardware: 1: 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; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess NVIDIA GeForce GTX 980, 582.78.0 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

Before: main @ 495ed9f After: this PR @ 659b446
threaded-recorder · kokiri · median frame time (ms) 19.8 16.8 (−15%)
threaded-recorder · market · median frame time (ms) 25.7 25.4 (−1%)
threaded-recorder · kokiri · frame time (p99) (ms) 21.8 20.4 (−7%)
threaded-recorder · market · frame time (p99) (ms) 29.0 28.6 (−1%)
threaded-recorder · kokiri · frame time (worst 1%) (ms) 24.7 23.3 (−6%)
threaded-recorder · market · frame time (worst 1%) (ms) 31.3 32.6 (+4%)

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** pass on windows+nvidia (2 reports): no rule failed and no PR run crashed.

Hardware: 1: 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`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM`  
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

| | Before: main @ 495ed9f | After: this PR @ 659b446 |
|---|---|---|
| threaded-recorder · kokiri · median frame time (ms) | 19.8 | 16.8 (−15%) |
| threaded-recorder · market · median frame time (ms) | 25.7 | 25.4 (−1%) |
| threaded-recorder · kokiri · frame time (p99) (ms) | 21.8 | 20.4 (−7%) |
| threaded-recorder · market · frame time (p99) (ms) | 29.0 | 28.6 (−1%) |
| threaded-recorder · kokiri · frame time (worst 1%) (ms) | 24.7 | 23.3 (−6%) |
| threaded-recorder · market · frame time (worst 1%) (ms) | 31.3 | 32.6 (+4%) |

**Flags and settings**

None: the plan varied no setting, switch or build option.
Measurements on `nvidia`, for the PR description

Verdict: pass on nvidia (2 reports): no rule failed and no PR run crashed.

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window NVIDIA GeForce RTX 4070, 621.24.0 AMD Ryzen 9 7900X 12-Core Processor, 64 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

Before: main @ 495ed9f After: this PR @ 659b446
threaded-recorder · kokiri · median frame time (ms) 5.1 5.0 (−1%)
threaded-recorder · market · median frame time (ms) 7.8 7.7 (−1%)
threaded-recorder · kokiri · frame time (p99) (ms) 6.4 6.2 (−3%)
threaded-recorder · market · frame time (p99) (ms) 9.8 9.9 (+1%)
threaded-recorder · kokiri · frame time (worst 1%) (ms) 6.9 6.7 (−3%)
threaded-recorder · market · frame time (worst 1%) (ms) 10.4 10.5 (+1%)

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** pass on nvidia (2 reports): no rule failed and no PR run crashed.

Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

| | Before: main @ 495ed9f | After: this PR @ 659b446 |
|---|---|---|
| threaded-recorder · kokiri · median frame time (ms) | 5.1 | 5.0 (−1%) |
| threaded-recorder · market · median frame time (ms) | 7.8 | 7.7 (−1%) |
| threaded-recorder · kokiri · frame time (p99) (ms) | 6.4 | 6.2 (−3%) |
| threaded-recorder · market · frame time (p99) (ms) | 9.8 | 9.9 (+1%) |
| threaded-recorder · kokiri · frame time (worst 1%) (ms) | 6.9 | 6.7 (−3%) |
| threaded-recorder · market · frame time (worst 1%) (ms) | 10.4 | 10.5 (+1%) |

**Flags and settings**

None: the plan varied no setting, switch or build option.
Measurements on `amd`, for the PR description

Verdict: fail on amd (2 reports): threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+31.0%) failed.

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+dgpu AMD Radeon RX 7900 XTX (RADV NAVI31), 26.3.1 AMD Ryzen 7 5800X3D 8-Core Processor, 32 GB RAM
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

Before: main @ 495ed9f After: this PR @ 659b446
threaded-recorder · kokiri · median frame time (ms) 7.8 7.7 (−1%)
threaded-recorder · market · median frame time (ms) 10.7 10.6 (−1%)
threaded-recorder · kokiri · frame time (p99) (ms) 9.4 9.5 (+0%)
threaded-recorder · market · frame time (p99) (ms) 37.3 37.1 (−1%)
threaded-recorder · kokiri · frame time (worst 1%) (ms) 13.9 16.3 (+17%)
threaded-recorder · market · frame time (worst 1%) (ms) 39.2 38.7 (−1%)

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** fail on amd (2 reports): `threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+31.0%)` failed.

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+dgpu `AMD Radeon RX 7900 XTX (RADV NAVI31), 26.3.1` `AMD Ryzen 7 5800X3D 8-Core Processor, 32 GB RAM`  
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

| | Before: main @ 495ed9f | After: this PR @ 659b446 |
|---|---|---|
| threaded-recorder · kokiri · median frame time (ms) | 7.8 | 7.7 (−1%) |
| threaded-recorder · market · median frame time (ms) | 10.7 | 10.6 (−1%) |
| threaded-recorder · kokiri · frame time (p99) (ms) | 9.4 | 9.5 (+0%) |
| threaded-recorder · market · frame time (p99) (ms) | 37.3 | 37.1 (−1%) |
| threaded-recorder · kokiri · frame time (worst 1%) (ms) | 13.9 | 16.3 (+17%) |
| threaded-recorder · market · frame time (worst 1%) (ms) | 39.2 | 38.7 (−1%) |

**Flags and settings**

None: the plan varied no setting, switch or build option.
Measurements on `linux+radv`, for the PR description

Verdict: pass on linux+radv (2 reports): no rule failed and no PR run crashed.

Hardware: 1: linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM; 2: linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

Before: main @ 495ed9f After: this PR @ 659b446
threaded-recorder · kokiri · median frame time (ms) 7.1 7.1 (−0%)
threaded-recorder · market · median frame time (ms) 10.3 10.4 (+1%)
threaded-recorder · kokiri · frame time (p99) (ms) 10.2 10.3 (+1%)
threaded-recorder · market · frame time (p99) (ms) 15.3 14.4 (−6%)
threaded-recorder · kokiri · frame time (worst 1%) (ms) 15.5 14.6 (−6%)
threaded-recorder · market · frame time (worst 1%) (ms) 23.2 20.8 (−10%)

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** pass on linux+radv (2 reports): no rule failed and no PR run crashed.

Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM`  
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

| | Before: main @ 495ed9f | After: this PR @ 659b446 |
|---|---|---|
| threaded-recorder · kokiri · median frame time (ms) | 7.1 | 7.1 (−0%) |
| threaded-recorder · market · median frame time (ms) | 10.3 | 10.4 (+1%) |
| threaded-recorder · kokiri · frame time (p99) (ms) | 10.2 | 10.3 (+1%) |
| threaded-recorder · market · frame time (p99) (ms) | 15.3 | 14.4 (−6%) |
| threaded-recorder · kokiri · frame time (worst 1%) (ms) | 15.5 | 14.6 (−6%) |
| threaded-recorder · market · frame time (worst 1%) (ms) | 23.2 | 20.8 (−10%) |

**Flags and settings**

None: the plan varied no setting, switch or build option.
Measurements on `intel`, for the PR description

Verdict: queued on intel (1 report).

Hardware: 1: 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

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

Hardware: 1: 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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**

None: the plan varied no setting, switch or build option.
Measurements on `steamdeck`, for the PR description

Verdict: fail on steamdeck (2 reports): threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+26.0%); threaded-recorder market.frametime_1pct_low_ms.max_delta_pct (+15.0%) failed.

Hardware: 1: linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM; 2: linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

Before: main @ 495ed9f After: this PR @ 659b446
threaded-recorder · kokiri · median frame time (ms) 27.1 27.2 (+0%)
threaded-recorder · market · median frame time (ms) 34.3 34.0 (−1%)
threaded-recorder · kokiri · frame time (p99) (ms) 34.8 30.4 (−13%)
threaded-recorder · market · frame time (p99) (ms) 46.8 45.1 (−4%)
threaded-recorder · kokiri · frame time (worst 1%) (ms) 40.0 41.3 (+3%)
threaded-recorder · market · frame time (worst 1%) (ms) 65.6 63.4 (−3%)

Flags and settings

None: the plan varied no setting, switch or build option.

As Markdown for the PR description:

## Measurements

**Verdict:** fail on steamdeck (2 reports): `threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+26.0%)`; `threaded-recorder market.frametime_1pct_low_ms.max_delta_pct (+15.0%)` failed.

Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`; 2: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`  
Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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)

| | Before: main @ 495ed9f | After: this PR @ 659b446 |
|---|---|---|
| threaded-recorder · kokiri · median frame time (ms) | 27.1 | 27.2 (+0%) |
| threaded-recorder · market · median frame time (ms) | 34.3 | 34.0 (−1%) |
| threaded-recorder · kokiri · frame time (p99) (ms) | 34.8 | 30.4 (−13%) |
| threaded-recorder · market · frame time (p99) (ms) | 46.8 | 45.1 (−4%) |
| threaded-recorder · kokiri · frame time (worst 1%) (ms) | 40.0 | 41.3 (+3%) |
| threaded-recorder · market · frame time (worst 1%) (ms) | 65.6 | 63.4 (−3%) |

**Flags and settings**

None: the plan varied no setting, switch or build option.
The testers' hardware
Target Report Ran on
windows+nvidia 1 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
windows+nvidia 2 windows+nvidia+nvidia-proprietary+dgpu+window+xess NVIDIA GeForce GTX 980, 582.78.0 Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM
nvidia 1 windows+nvidia+nvidia-proprietary+dgpu+window NVIDIA GeForce RTX 4070, 621.24.0 AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM
nvidia 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
amd 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 2 linux+amd+radv+dgpu AMD Radeon RX 7900 XTX (RADV NAVI31), 26.3.1 AMD Ryzen 7 5800X3D 8-Core Processor, 32 GB RAM
linux+radv 1 linux+amd+radv+dgpu AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1 AMD Ryzen 5 9600X 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 7 5700X3D 8-Core Processor, 32 GB RAM
intel 1 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
steamdeck 1 linux+amd+radv+igpu+handheld AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99 AMD Custom APU 0405, 16 GB RAM
steamdeck 2 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>659b446</code> (the newer results are in a comment below)</summary> Commit `659b446` · approved by HumanBean (reviewed) · [dashboard](https://beanstalk.magicbean.dev/prs/2968) ⚠️ **Note:** The farm does not measure the reported cmds_ms and draw_ms components or run the standalone recorder test suites; the small reported 1.1% gain may be indistinguishable from run-to-run noise. ⚠️ **Note:** The plan tests the shipped default against main, not FAST=0 against the PR default or mixed packets during an in-run switch. Started at 15:09 UTC. | Target | Result | Reports | Frame time p99 (ms), main → PR | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | --- | | `windows+nvidia` | ✅ pass (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_66a95236cee65127) [2](https://beanstalk.magicbean.dev/reports/rp_8a3d9efac0ef956e) | 21.8 → 20.4 (−7%) | — | none | | `nvidia` | ✅ pass (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_0d3d993326f2d976) [2](https://beanstalk.magicbean.dev/reports/rp_a18be717a924d97f) | 6.4 → 6.2 (−3%) | — | none | | `amd` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_abecd09ca9645fda) [2](https://beanstalk.magicbean.dev/reports/rp_ef71b98c4439a2de) | 9.4 → 9.5 (+0%) | — | none | | `linux+radv` | ✅ pass (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_d69c6b8041e2128b) [2](https://beanstalk.magicbean.dev/reports/rp_f65a87adbf3fc9ed) | 10.2 → 10.3 (+1%) | — | none | | `intel` | ⏳ queued | 1 [1](https://beanstalk.magicbean.dev/reports/rp_42c95765c772aba0) | — | — | 3 PR runs | | `steamdeck` | ❌ fail (an outlier) | 2 [1](https://beanstalk.magicbean.dev/reports/rp_56d5a0940ab45cb0) [2](https://beanstalk.magicbean.dev/reports/rp_115f8989e22a81c7) | 34.8 → 30.4 (−13%) | — | none | **Why it failed** - `amd`: `threaded-recorder` `kokiri.frametime_1pct_low_ms.max_delta_pct`: `16.6 → 21.8 (+31.0%); limit 15.0` - `steamdeck`: `threaded-recorder` `kokiri.frametime_1pct_low_ms.max_delta_pct`: `37.5 → 47.3 (+26.0%); limit 15.0` - `steamdeck`: `threaded-recorder` `market.frametime_1pct_low_ms.max_delta_pct`: `67.2 → 77.3 (+15.0%); limit 15.0` **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. - `intel`, [report 1](https://beanstalk.magicbean.dev/reports/rp_42c95765c772aba0): `Insufficient frame-time evidence for 7 required comparison(s). See rule results.` <details><summary>What was tested</summary> **What will be tested** · AI plan (`gpt-6.1-terra`) Compare the PR with main on NVIDIA, AMD, Intel and Steam Deck systems, forcing threaded Vulkan recording. Three alternating starts per side measure uncapped frame times for 30 seconds each in Market and Kokiri Forest, with fixed-size rendering and baseline screenshots. A crash, a screenshot difference above 0.25, or a median or tail frame-time regression above 15% fails the PR. - **Where:** windows+nvidia (1-2 reports), nvidia (1-2 reports), amd (1-2 reports), linux+radv (1-2 reports), intel (1-2 reports), steamdeck (1-2 reports). - **threaded-recorder:** from the repository's save `market-entrance` (settings vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0; switches `HOS_OUTPUT_RES=1280x720`, `RX_VK_RECORDER=thread`, `RX_VK_AUTO_TUNE=0`), then teleport to Market, take the picture market to compare with main, measure market for 30 s (after 10 s warm-up), teleport to Kokiri Forest, take the picture kokiri to compare with main, measure kokiri for 30 s (after 10 s warm-up); 3 runs on each side. - **Measured:** crashes, frame times, stutters and hitches. - **The PR fails if:** it crashes; or a picture differs from main by more than 25%; or median frame time is more than 15% above main; or frame time (p99) is more than 15% above main; or frame time (worst 1%) is more than 15% above main. - **Time:** about 39 min of game runs per tester (6 game starts), plus the two builds. </details> <details><summary>Measurements on `windows+nvidia`, for the PR description</summary> **Verdict:** pass on windows+nvidia (2 reports): no rule failed and no PR run crashed. Hardware: 1: 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`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 19.8 | 16.8 (−15%) | | threaded-recorder · market · median frame time (ms) | 25.7 | 25.4 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 21.8 | 20.4 (−7%) | | threaded-recorder · market · frame time (p99) (ms) | 29.0 | 28.6 (−1%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 24.7 | 23.3 (−6%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 31.3 | 32.6 (+4%) | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** pass on windows+nvidia (2 reports): no rule failed and no PR run crashed. Hardware: 1: 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`; 2: windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 19.8 | 16.8 (−15%) | | threaded-recorder · market · median frame time (ms) | 25.7 | 25.4 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 21.8 | 20.4 (−7%) | | threaded-recorder · market · frame time (p99) (ms) | 29.0 | 28.6 (−1%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 24.7 | 23.3 (−6%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 31.3 | 32.6 (+4%) | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>Measurements on `nvidia`, for the PR description</summary> **Verdict:** pass on nvidia (2 reports): no rule failed and no PR run crashed. Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 5.1 | 5.0 (−1%) | | threaded-recorder · market · median frame time (ms) | 7.8 | 7.7 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 6.4 | 6.2 (−3%) | | threaded-recorder · market · frame time (p99) (ms) | 9.8 | 9.9 (+1%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 6.9 | 6.7 (−3%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 10.4 | 10.5 (+1%) | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** pass on nvidia (2 reports): no rule failed and no PR run crashed. Hardware: 1: windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 5.1 | 5.0 (−1%) | | threaded-recorder · market · median frame time (ms) | 7.8 | 7.7 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 6.4 | 6.2 (−3%) | | threaded-recorder · market · frame time (p99) (ms) | 9.8 | 9.9 (+1%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 6.9 | 6.7 (−3%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 10.4 | 10.5 (+1%) | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>Measurements on `amd`, for the PR description</summary> **Verdict:** fail on amd (2 reports): `threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+31.0%)` failed. 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+dgpu `AMD Radeon RX 7900 XTX (RADV NAVI31), 26.3.1` `AMD Ryzen 7 5800X3D 8-Core Processor, 32 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 7.8 | 7.7 (−1%) | | threaded-recorder · market · median frame time (ms) | 10.7 | 10.6 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 9.4 | 9.5 (+0%) | | threaded-recorder · market · frame time (p99) (ms) | 37.3 | 37.1 (−1%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 13.9 | 16.3 (+17%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 39.2 | 38.7 (−1%) | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on amd (2 reports): `threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+31.0%)` failed. 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+dgpu `AMD Radeon RX 7900 XTX (RADV NAVI31), 26.3.1` `AMD Ryzen 7 5800X3D 8-Core Processor, 32 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 7.8 | 7.7 (−1%) | | threaded-recorder · market · median frame time (ms) | 10.7 | 10.6 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 9.4 | 9.5 (+0%) | | threaded-recorder · market · frame time (p99) (ms) | 37.3 | 37.1 (−1%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 13.9 | 16.3 (+17%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 39.2 | 38.7 (−1%) | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>Measurements on `linux+radv`, for the PR description</summary> **Verdict:** pass on linux+radv (2 reports): no rule failed and no PR run crashed. Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 7.1 | 7.1 (−0%) | | threaded-recorder · market · median frame time (ms) | 10.3 | 10.4 (+1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 10.2 | 10.3 (+1%) | | threaded-recorder · market · frame time (p99) (ms) | 15.3 | 14.4 (−6%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 15.5 | 14.6 (−6%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 23.2 | 20.8 (−10%) | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** pass on linux+radv (2 reports): no rule failed and no PR run crashed. Hardware: 1: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM`; 2: linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 7.1 | 7.1 (−0%) | | threaded-recorder · market · median frame time (ms) | 10.3 | 10.4 (+1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 10.2 | 10.3 (+1%) | | threaded-recorder · market · frame time (p99) (ms) | 15.3 | 14.4 (−6%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 15.5 | 14.6 (−6%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 23.2 | 20.8 (−10%) | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>Measurements on `intel`, for the PR description</summary> **Verdict:** queued on intel (1 report). Hardware: 1: 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** queued on intel (1 report). Hardware: 1: 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: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>Measurements on `steamdeck`, for the PR description</summary> **Verdict:** fail on steamdeck (2 reports): `threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+26.0%)`; `threaded-recorder market.frametime_1pct_low_ms.max_delta_pct (+15.0%)` failed. Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`; 2: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 27.1 | 27.2 (+0%) | | threaded-recorder · market · median frame time (ms) | 34.3 | 34.0 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 34.8 | 30.4 (−13%) | | threaded-recorder · market · frame time (p99) (ms) | 46.8 | 45.1 (−4%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 40.0 | 41.3 (+3%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 65.6 | 63.4 (−3%) | **Flags and settings** None: the plan varied no setting, switch or build option. As Markdown for the PR description: ```markdown ## Measurements **Verdict:** fail on steamdeck (2 reports): `threaded-recorder kokiri.frametime_1pct_low_ms.max_delta_pct (+26.0%)`; `threaded-recorder market.frametime_1pct_low_ms.max_delta_pct (+15.0%)` failed. Hardware: 1: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM`; 2: linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` Scene: threaded-recorder, from the repository's save market-entrance (vsync=2, resolution=1, frame_rate_cap=6, quality_preset=0, frame_generation=0, HOS_OUTPUT_RES=1280x720, RX_VK_RECORDER=thread, 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); threaded-recorder: 3 game starts a side, market 30 s after 10 s warm-up, kokiri 30 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) | | Before: main @ 495ed9f | After: this PR @ 659b446 | |---|---|---| | threaded-recorder · kokiri · median frame time (ms) | 27.1 | 27.2 (+0%) | | threaded-recorder · market · median frame time (ms) | 34.3 | 34.0 (−1%) | | threaded-recorder · kokiri · frame time (p99) (ms) | 34.8 | 30.4 (−13%) | | threaded-recorder · market · frame time (p99) (ms) | 46.8 | 45.1 (−4%) | | threaded-recorder · kokiri · frame time (worst 1%) (ms) | 40.0 | 41.3 (+3%) | | threaded-recorder · market · frame time (worst 1%) (ms) | 65.6 | 63.4 (−3%) | **Flags and settings** None: the plan varied no setting, switch or build option. ``` </details> <details><summary>The testers' hardware</summary> | Target | Report | Ran on | | --- | --- | --- | | `windows+nvidia` | [1](https://beanstalk.magicbean.dev/reports/rp_66a95236cee65127) | 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` | | `windows+nvidia` | [2](https://beanstalk.magicbean.dev/reports/rp_8a3d9efac0ef956e) | windows+nvidia+nvidia-proprietary+dgpu+window+xess `NVIDIA GeForce GTX 980, 582.78.0` `Intel(R) Core(TM) i7-4770 CPU @ 3.40GHz, 32 GB RAM` | | `nvidia` | [1](https://beanstalk.magicbean.dev/reports/rp_0d3d993326f2d976) | windows+nvidia+nvidia-proprietary+dgpu+window `NVIDIA GeForce RTX 4070, 621.24.0` `AMD Ryzen 9 7900X 12-Core Processor, 64 GB RAM` | | `nvidia` | [2](https://beanstalk.magicbean.dev/reports/rp_a18be717a924d97f) | 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` | | `amd` | [1](https://beanstalk.magicbean.dev/reports/rp_abecd09ca9645fda) | 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` | [2](https://beanstalk.magicbean.dev/reports/rp_ef71b98c4439a2de) | linux+amd+radv+dgpu `AMD Radeon RX 7900 XTX (RADV NAVI31), 26.3.1` `AMD Ryzen 7 5800X3D 8-Core Processor, 32 GB RAM` | | `linux+radv` | [1](https://beanstalk.magicbean.dev/reports/rp_d69c6b8041e2128b) | linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 5 9600X 6-Core Processor, 32 GB RAM` | | `linux+radv` | [2](https://beanstalk.magicbean.dev/reports/rp_f65a87adbf3fc9ed) | linux+amd+radv+dgpu `AMD Radeon RX 9070 XT (RADV GFX1201), 26.3.1` `AMD Ryzen 7 5700X3D 8-Core Processor, 32 GB RAM` | | `intel` | [1](https://beanstalk.magicbean.dev/reports/rp_42c95765c772aba0) | 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` | | `steamdeck` | [1](https://beanstalk.magicbean.dev/reports/rp_56d5a0940ab45cb0) | linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` | | `steamdeck` | [2](https://beanstalk.magicbean.dev/reports/rp_115f8989e22a81c7) | linux+amd+radv+igpu+handheld `AMD Custom GPU 0405 (RADV VANGOGH), 26.1.99` `AMD Custom APU 0405, 16 GB RAM` | </details> </details>
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The complete performance change has not been measured against its base, and game coverage is still missing on other affected supported systems. Recommend approval; not approved on the forge.

The change reduces Vulkan recorder packing and dispatch work, at the cost of a more complex packet encoding and consumer path.

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

  • L2: The benchmark does not measure the complete change against its base. When: FAST=0 still includes batched R updates, the call-count change and other changes, so the reported +1.10% does not establish the effect of merging the PR. Do: Compare base 495ed9fe with this head in the same scene and settings, using multiple interleaved runs and reporting frame-time tails as well as the targeted timings.
  • L3: The recorder changes need game coverage on the other supported systems they affect. When: The only reported game run is on Windows with NVIDIA; Linux, AMD and Intel remain untested for the changed threaded recording path. Do: Run the recorder and a representative game scene on the affected Tier 1 Linux and GPU configurations, including Steam Deck where applicable, and report correctness and frame pacing.

Since the last review (on 3298249725)
Resolved: L1 (The commit does not record its AI assistance in a trailer, despite the checked checklist i…)
Still open: L2 (The benchmark does not measure the complete change against its base.); L3 (The recorder changes need game coverage on the other supported systems they affect.)

Checks: Still running: 10 checks.

Also noticed (1; not asked for, not blocking)
  • The Test Farm request cannot be checked or submitted with the available read-only, network-closed tools.
More: does it help, other systems, switches, what was read

Does it help: Unproven against the base. The author reports +1.10% FPS and a 5.55% reduction in cmds_ms over five Windows RTX 4060 runs, but the comparison switches the producer path within the PR build and does not measure the complete change against main.

Other systems: The recorder also runs on Linux and on AMD and Intel GPUs. The reported game run covers Windows and NVIDIA; the requested cross-platform game runs remain outstanding.

Switches: RX_VK_RECORDER_FAST is added, default on. Setting it to 0 selects legacy producer packing; the default's full performance effect against the base remains unmeasured.

Reviewed: 659b446fac against 495ed9fe2a: Read AGENTS.md, CONTRIBUTING.md, the commit message, and portions of the recorder, replay, work and switch diffs. The full changed files and tests were not read; the assessment relies on the earlier review for unchanged code.; nothing run (a code review).

Checked and fine:

  • The commit now records its AI assistance.
  • The author reports successful recorder tests with both clang++ and g++.

Testing: No commands from the project or tests were run. CI is still running; the reported game and test results are from the author.

Overlaps and merge order: Not checked.


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

**Recommendation: Approve.** The code is ready: only testing is left. The complete performance change has not been measured against its base, and game coverage is still missing on other affected supported systems. Recommend approval; not approved on the forge. The change reduces Vulkan recorder packing and dispatch work, at the cost of a more complex packet encoding and consumer path. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2**: The benchmark does not measure the complete change against its base. *When:* FAST=0 still includes batched R updates, the call-count change and other changes, so the reported +1.10% does not establish the effect of merging the PR. **Do:** Compare base 495ed9fe with this head in the same scene and settings, using multiple interleaved runs and reporting frame-time tails as well as the targeted timings. - **L3**: The recorder changes need game coverage on the other supported systems they affect. *When:* The only reported game run is on Windows with NVIDIA; Linux, AMD and Intel remain untested for the changed threaded recording path. **Do:** Run the recorder and a representative game scene on the affected Tier 1 Linux and GPU configurations, including Steam Deck where applicable, and report correctness and frame pacing. **Since the last review** (on 329824972583) Resolved: L1 (The commit does not record its AI assistance in a trailer, despite the checked checklist i…) Still open: L2 (The benchmark does not measure the complete change against its base.); L3 (The recorder changes need game coverage on the other supported systems they affect.) **Checks:** Still running: 10 checks. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The Test Farm request cannot be checked or submitted with the available read-only, network-closed tools. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven against the base. The author reports +1.10% FPS and a 5.55% reduction in cmds_ms over five Windows RTX 4060 runs, but the comparison switches the producer path within the PR build and does not measure the complete change against main. **Other systems:** The recorder also runs on Linux and on AMD and Intel GPUs. The reported game run covers Windows and NVIDIA; the requested cross-platform game runs remain outstanding. **Switches:** RX_VK_RECORDER_FAST is added, default on. Setting it to 0 selects legacy producer packing; the default's full performance effect against the base remains unmeasured. **Reviewed:** 659b446fac0f against 495ed9fe2aaa: Read AGENTS.md, CONTRIBUTING.md, the commit message, and portions of the recorder, replay, work and switch diffs. The full changed files and tests were not read; the assessment relies on the earlier review for unchanged code.; nothing run (a code review). **Checked and fine:** - The commit now records its AI assistance. - The author reports successful recorder tests with both clang++ and g++. **Testing:** No commands from the project or tests were run. CI is still running; the reported game and test results are from the author. **Overlaps and merge order:** Not checked. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
Owner

AMD Lab Market A/B on PR head 659b446fac0f, using RX_VK_RECORDER_FAST=0 and RX_VK_RECORDER_FAST=1 on the same build.

Within the run-to-run spread. Median average FPS changed by +1.69%.

Metric A (0) B (1)
Average FPS, each capture 55.21 / 55.25 / 58.91 54.81 / 56.19 / 58.03
Average FPS, median 55.25 56.19
1% low FPS (1000 ÷ p99), median 25.43 38.08
Median frame time 17.51 ms 17.46 ms
p99 frame time, median 39.32 ms 26.26 ms
Frames of 50 ms or more, each capture 6 / 15 / 2 16 / 7 / 5

Market (child), headless Linux 7.3.3-1-cachyos, Core i7-9700K, Radeon RX 580 with Mesa RADV 3:26.2.6-1, 1280x720 output and 50% (640x360) render scale, uncapped with V-Sync and frame generation off. Three alternating pairs, 40 seconds per capture after warm-up. Threaded recording was forced on both sides.

After warm-up, the harness still flagged pipeline or shader activity in 35 / 47 / 10 frames on side A and 39 / 25 / 17 on side B across the three captures. The FPS and tail numbers include those frames.

AMD Lab Market A/B on PR head `659b446fac0f`, using `RX_VK_RECORDER_FAST=0` and `RX_VK_RECORDER_FAST=1` on the same build. **Within the run-to-run spread.** Median average FPS changed by **+1.69%**. | Metric | A (`0`) | B (`1`) | |---|---:|---:| | Average FPS, each capture | 55.21 / 55.25 / 58.91 | 54.81 / 56.19 / 58.03 | | Average FPS, median | 55.25 | 56.19 | | 1% low FPS (1000 ÷ p99), median | 25.43 | 38.08 | | Median frame time | 17.51 ms | 17.46 ms | | p99 frame time, median | 39.32 ms | 26.26 ms | | Frames of 50 ms or more, each capture | 6 / 15 / 2 | 16 / 7 / 5 | Market (child), headless Linux 7.3.3-1-cachyos, Core i7-9700K, Radeon RX 580 with Mesa RADV 3:26.2.6-1, 1280x720 output and 50% (640x360) render scale, uncapped with V-Sync and frame generation off. Three alternating pairs, 40 seconds per capture after warm-up. Threaded recording was forced on both sides. After warm-up, the harness still flagged pipeline or shader activity in 35 / 47 / 10 frames on side A and 39 / 25 / 17 on side B across the three captures. The FPS and tail numbers include those frames.
Owner
@rebase
Member

I rebased this pull request onto main (d53dbe94be): the new head is 47d131c1db.

Conflicts resolved

  • tests/test_hos_ab.py: Kept the base branch’s switch entries and the pull request’s recorder fast-path entry.

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` (d53dbe94bef7): the new head is 47d131c1db65. **Conflicts resolved** - tests/test_hos_ab.py: Kept the base branch’s switch entries and the pull request’s recorder fast-path entry. 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/vk-recorder-inline-fast from 659b446fac
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
beanstalk/approval approved by HumanBean (reviewed)
beanstalk/windows+nvidia 2/1 pass
beanstalk/nvidia 2/1 pass
beanstalk/amd 1/1 fail
beanstalk/linux+radv 2/1 pass
beanstalk/intel 0/1 pass, 0 running, 1 queued
beanstalk/steamdeck 2/1 fail
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 47d131c1db
Some checks failed
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Successful in 8s
CI / Third-party parts and guide screenshots (pull_request) Failing after 10s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Failing after 16s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Successful in 5m13s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m39s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 5m31s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 5m0s
CI / Website build and checks (pull_request) Failing after 36s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 16m50s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 40m36s
2026-12-02 20:07:43 +00:00
Compare
Member

Beanstalk test farm

Commit 47d131c · 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 `47d131c` · approved by nobody yet · [dashboard](https://beanstalk.magicbean.dev/prs/2968) 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 reported A/B results do not measure the complete change against its base, and Intel game coverage is still missing. The Linux AMD run provides useful coverage, but its performance result is within the run-to-run spread. Recommend approval; not approved on the forge.

The change reduces Vulkan recorder encoding and dispatch work in threaded rendering, at the cost of a larger, more specialized recording path.

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

  • L2: The benchmark does not measure the complete change against its base. When: FAST=0 still includes batched R updates, the call-count change and other changes, so the reported +1.10% does not establish the effect of merging the PR. Do: Compare base 495ed9fe with this head in the same scene and settings, using multiple interleaved runs and reporting frame-time tails as well as the targeted timings.
  • L3: The recorder changes still need game coverage on Intel hardware. When: Threaded recording changes packet encoding and consumer dispatch on Intel systems, for which no game run is reported. Do: Run the changed recorder in game on an Intel system and report behavior and performance.

Since the last review (on 659b446fac)
Still open: L2 (The benchmark does not measure the complete change against its base.); L3 (The recorder changes still need game coverage on Intel hardware.)

Checks: Still running: 11 checks.

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

Does it help: Unproven for the complete change: the Windows NVIDIA in-build comparison reports +1.10% FPS and 0.127 ms lower cmds_ms, but both sides include other changes from this PR. The Linux AMD in-build comparison reports +1.69% median FPS within run-to-run spread.

Other systems: The recorder path affects threaded rendering on supported operating systems and GPU vendors. Windows NVIDIA and Linux AMD game runs are reported; an Intel game run remains missing.

Switches: RX_VK_RECORDER_FAST is added, defaults on, and selects the POD producer path; off retains legacy producer encoding while shared consumer changes remain. The default's performance benefit for the complete change against base remains unproven.

Reviewed: 47d131c1db against d53dbe94be: Read AGENTS.md and CONTRIBUTING.md, the commit, the rebase comparison for tests/test_hos_ab.py, and the diffs for switches.def, vk_work.h and vk_replay.cpp. Searched the recorder for the switch, reservation and read-pointer publication paths; the full recorder, tests, remaining project rules and full diff were not reread in this re-check.; nothing run (a code review).

Checked and fine:

  • The rebase preserves the RX_VK_RECORDER_FAST entry in the HOS_AB wiring test.
  • The commit retains its AI assistance trailer.
  • The Linux AMD run reported no crash or error and adds coverage beyond the earlier Windows NVIDIA runs.

Testing: No commands from the project or tests were run. Reported game-free checks passed; the listed CI checks are still running.

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


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 reported A/B results do not measure the complete change against its base, and Intel game coverage is still missing. The Linux AMD run provides useful coverage, but its performance result is within the run-to-run spread. Recommend approval; not approved on the forge. The change reduces Vulkan recorder encoding and dispatch work in threaded rendering, at the cost of a larger, more specialized recording path. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2**: The benchmark does not measure the complete change against its base. *When:* FAST=0 still includes batched R updates, the call-count change and other changes, so the reported +1.10% does not establish the effect of merging the PR. **Do:** Compare base 495ed9fe with this head in the same scene and settings, using multiple interleaved runs and reporting frame-time tails as well as the targeted timings. - **L3**: The recorder changes still need game coverage on Intel hardware. *When:* Threaded recording changes packet encoding and consumer dispatch on Intel systems, for which no game run is reported. **Do:** Run the changed recorder in game on an Intel system and report behavior and performance. **Since the last review** (on 659b446fac0f) Still open: L2 (The benchmark does not measure the complete change against its base.); L3 (The recorder changes still need game coverage on Intel hardware.) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven for the complete change: the Windows NVIDIA in-build comparison reports +1.10% FPS and 0.127 ms lower cmds_ms, but both sides include other changes from this PR. The Linux AMD in-build comparison reports +1.69% median FPS within run-to-run spread. **Other systems:** The recorder path affects threaded rendering on supported operating systems and GPU vendors. Windows NVIDIA and Linux AMD game runs are reported; an Intel game run remains missing. **Switches:** RX_VK_RECORDER_FAST is added, defaults on, and selects the POD producer path; off retains legacy producer encoding while shared consumer changes remain. The default's performance benefit for the complete change against base remains unproven. **Reviewed:** 47d131c1db65 against d53dbe94bef7: Read AGENTS.md and CONTRIBUTING.md, the commit, the rebase comparison for tests/test_hos_ab.py, and the diffs for switches.def, vk_work.h and vk_replay.cpp. Searched the recorder for the switch, reservation and read-pointer publication paths; the full recorder, tests, remaining project rules and full diff were not reread in this re-check.; nothing run (a code review). **Checked and fine:** - The rebase preserves the RX_VK_RECORDER_FAST entry in the HOS_AB wiring test. - The commit retains its AI assistance trailer. - The Linux AMD run reported no crash or error and adds coverage beyond the earlier Windows NVIDIA runs. **Testing:** No commands from the project or tests were run. Reported game-free checks passed; the listed CI checks are still running. **Overlaps and merge order:** Not checked; network access is closed. </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>
HumanBean deleted branch perf/vk-recorder-inline-fast 2026-12-02 20:12:06 +00:00
Author
Contributor

Thank you @HumanBean for the AMD Lab run and the farm run, and @BeanBot for the rebase. This PR is merged now (b40214d2b), so this comment only records what the results show; nothing was pushed.

AMD Lab (Linux, RX 580, RADV), RX_VK_RECORDER_FAST=0 against 1 on 659b446: within the run-to-run spread, as you say. Median average FPS 55.25 → 56.19 (+1.69 %), p99 frame time 39.32 → 26.26 ms, frames of 50 ms or more 6 / 15 / 2 against 16 / 7 / 5. The tails swing both ways between captures, so I read this as no measurable change on that machine, not as a gain.

Beanstalk on 659b446 against main 495ed9fe: p99 frame time windows+nvidia 21.8 → 20.4 ms, nvidia 6.4 → 6.2, linux+radv 10.2 → 10.3, amd 9.4 → 9.5, steamdeck 34.8 → 30.4; no crashes, pictures within main's own spread.

  • The two ❌ are the worst-1 % frame time in one report per target, and the other report on the same target moved the other way: amd, RX 7900 XTX Kokiri 16.65 → 21.81 ms (+31 %) while the Strix Halo report went 11.22 → 10.85 ms (−3.3 %); steamdeck, one Deck Kokiri 37.54 → 47.28 ms (+26 %) while the other went 42.49 → 35.25 ms (−17.1 %). The p99 on those same two reports moved between +1.4 % and −5.8 %. Two machines of one kind disagreeing in sign is noise in my reading, not a regression in the recorder. I did not find a cause for a tail regression in the diff either: the consumer's batched R updates (r_batch, gpu/vk/vk_recorder.h:957-1001 on main) are not behind the switch, so a ring-room effect would show on both sides of the AMD Lab A/B, and it does not.
  • intel could not be judged (that PC did not produce enough frame-time samples).

Still open (L2, L3): a base-against-head comparison of the whole change, and an Intel game run. Neither has run; both need the farm or someone with the hardware. I have one Windows RTX 4060 here and did not run anything new for this comment.

Thank you @HumanBean for the AMD Lab run and the farm run, and @BeanBot for the rebase. This PR is merged now (b40214d2b), so this comment only records what the results show; nothing was pushed. **AMD Lab (Linux, RX 580, RADV), `RX_VK_RECORDER_FAST=0` against `1` on `659b446`:** within the run-to-run spread, as you say. Median average FPS 55.25 → 56.19 (+1.69 %), p99 frame time 39.32 → 26.26 ms, frames of 50 ms or more 6 / 15 / 2 against 16 / 7 / 5. The tails swing both ways between captures, so I read this as no measurable change on that machine, not as a gain. **Beanstalk on `659b446` against main `495ed9fe`:** p99 frame time windows+nvidia 21.8 → 20.4 ms, nvidia 6.4 → 6.2, linux+radv 10.2 → 10.3, amd 9.4 → 9.5, steamdeck 34.8 → 30.4; no crashes, pictures within main's own spread. - The two ❌ are the worst-1 % frame time in one report per target, and the other report on the same target moved the other way: amd, RX 7900 XTX Kokiri 16.65 → 21.81 ms (+31 %) while the Strix Halo report went 11.22 → 10.85 ms (−3.3 %); steamdeck, one Deck Kokiri 37.54 → 47.28 ms (+26 %) while the other went 42.49 → 35.25 ms (−17.1 %). The p99 on those same two reports moved between +1.4 % and −5.8 %. Two machines of one kind disagreeing in sign is noise in my reading, not a regression in the recorder. I did not find a cause for a tail regression in the diff either: the consumer's batched `R` updates (`r_batch`, `gpu/vk/vk_recorder.h:957-1001` on main) are not behind the switch, so a ring-room effect would show on both sides of the AMD Lab A/B, and it does not. - intel could not be judged (that PC did not produce enough frame-time samples). **Still open (L2, L3):** a base-against-head comparison of the whole change, and an Intel game run. Neither has run; both need the farm or someone with the hardware. I have one Windows RTX 4060 here and did not run anything new for this comment.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
5 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!2968
No description provided.