fix(vk): the start's driver cache check asks our pipeline cache: AMD's and Intel's drivers no longer warm again at every start #3246

Merged
HumanBean merged 4 commits from llun/Longshot:fix/cold-check-asks-our-cache into main 2026-12-05 17:05:25 +00:00
Member

Summary

On AMD's and Intel's Windows drivers every start rebuilds the shaders before the title (70-90 s on an RX 580), even straight after a clean close. The log says the driver's shader cache has 0 of 60 noted pipelines asked ...: it lost them (a driver update, or evicted): they are built again before the title, but nothing was lost.

The check (notes_lost_by_driver, from #1188) asks a sample of the noted pipelines of an empty scratch pipeline cache, so it reads only the driver's own disk cache. That is the whole answer on NVIDIA, where our pipeline cache only refers to the driver's. AMD's and Intel's drivers keep the built pipelines in our pipeline cache file itself (750 MB to 5.5 GB in these logs), and the load at create calls is made from that cache. So the check says "lost" there whatever the driver's own cache holds. The warm pass it starts then finds every pipeline in our cache and compiles none:

vk: the driver's shader cache has 0 of 60 noted pipelines asked (a sample, in 577 ms): it lost them (a driver update, or evicted): they are built again before the title
vk: precompile: the pipeline cache not written: nothing new since it was read or last written (751.8 MB), in 0 ms
vk: precompile: 43524 noted pipelines of 24220 programs and 5042 compute pipelines of 3404 compute programs built into the pipeline cache and let go (0 and 0 not made, ...), on 12 threads in 89.6 s

Seen the same way in two RX 580 players' logs (AMD 25.8.1 and 26.11.2, 0 of 60 and 0 of 49, one in a run right after a clean close of the previous one), and in the logs on #1894 and #2613 (Radeon 780M, 26.20.15.14), #1990 (RX 7600, 26.11.2) and #2499 (Arc B580, 101.9175): each lost, each followed by a warm pass of 30-40 s for about 38,000 pipelines that left our cache the size it was read at (the pipeline cache not written: nothing new since it was read). AMD's driver stores a pipeline it compiles in the cache it is handed, so the cache would have grown had any been compiled; a real rebuild takes minutes (342.6 s on an RTX 5080 below). With AMD's own cache warm it answers 48 of 48 (#2754, #2565), so the driver is asked correctly; it is the wrong cache to ask.

This asks the sample of the cache the load at create calls are made from instead: ours (pcache), with the driver's own behind it, still without a compile (VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT). On NVIDIA with its cache emptied ours answers nothing alone, and the check still says lost (run below). No pipeline cache made at a start: the driver alone answers, as before.

Read first: notes_lost_by_driver in gpu/vk/vk_draw.cpp; tests/test_cold_check_asks_our_cache.py.

See #2577 (found while reading its RX 580 logs; the blue screens there are another problem).

Testing

Tested: Windows 11 Pro, RTX 5080 (NVIDIA 621.47), 62 GB RAM, this branch's runtime over the shared base, dev.py smoke from kokiri-start:

  • NVIDIA's cache as it is: the driver's shader cache has 63 of 63 noted pipelines asked (a sample, in 583 ms), nothing built again, PASS.
  • NVIDIA's cache pointed at an empty folder (__GL_SHADER_DISK_CACHE_PATH): the driver's shader cache has 0 of 63 noted pipelines asked (a sample, in 138 ms): it lost them ..., asked through our 1.3 GB pipeline cache; every noted pipeline built again before the title (44,712 and 5,087 compute in 342.6 s on 16 threads; the empty folder filled to 1.1 GB), then PASS. So on NVIDIA asking our cache answers as asking the driver alone did.

Checks: tests/test_cold_check_asks_our_cache.py (new) fails on main (!ask(false, true): our cache holding every pipeline, the driver's none, read as lost) and passes here, with g++ (MSYS2 UCRT64) and clang++ (llvm-mingw); with the fix's key line undone it fails again. tests/test_cold_cache_check.py updated to the new cache (not weakened). mise run test on 7bc53f841 plus this branch (Windows, llvm-mingw clang): 846 passed, 52 skipped, 14 failed. Not this change: test_present_geometry_trace, test_present_image_free, test_present_held_image, test_present_acquire_ahead (their fixtures do not compile), test_dlssg, test_no_map_reload, test_sync_watch_event, test_turf_budget, test_ui_renderer, test_no_game_title, all failing on main 3a0f7d8f7 too; test_longshot_ctl, test_renderer_new_handler and test_stack_commit failed under the suite's load and pass run alone. test_lifter timed out under load; run alone it fails only on host-sys's clippy large_const_arrays (settings_abi.rs) and the api test a_walked_reshade_folder_counts_a_change_once_two_walks_agree, both failing on main too (this change touches no Rust).

This PC has no AMD or Intel GPU: the fix has not run on the drivers it is for.

Still to test:

  • Windows, AMD RX 580 or another Polaris/GCN card on AMD's driver: start twice; expecting the second start's the driver's shader cache has N of N noted pipelines asked with N of N and no precompile: ... built into the pipeline cache and let go before the title (by hand, a player from #2577; or @Beanstalk on an AMD Windows PC)
  • Windows, AMD RDNA 3 on LLPC (RX 7600, Radeon 780M): the same, expecting the same (@Beanstalk)
  • Windows, Intel Arc: the same, expecting the same (@Beanstalk)
  • Linux, RADV: the same, expecting N of N as before (@Beanstalk linux)
  • Linux, NVIDIA's own driver: the same two starts, expecting N of N; then one start with __GL_SHADER_DISK_CACHE_PATH at an empty folder, expecting 0 of N ... it lost them and the build before the title (@Beanstalk linux nvidia, or by hand)

Measurements

Nothing to measure on this PC: on NVIDIA the check answers as before (63 of 63 warm, lost with the cache emptied). On the PCs it is for, the players' logs give the cost it removes, 70-90 s of warm pass at every start on an RX 580 (69.7 s and 89.6 s in the two logs, 30-40 s on the 780M and RX 7600 in the issues). Before and after on AMD are owed by Still to test.

Risks

  • On a driver whose pipeline cache refers to its own disk cache (NVIDIA), asking ours answers as asking the driver alone did: checked on NVIDIA here, cache warm and emptied.
  • A driver that answered an ask of our cache from data it can no longer use would now play with draws left out after losing its cache, as all drivers did before #1188. None is known; pcache_drop_stale and a refused file (another driver's) still remove the marker first.
  • The check costs what it did (583 ms here, 48 to 63 pipelines asked).
  • Revert is enough to undo it. Nothing changes in saves, settings or the cache files.

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 fix: a game-free test that fails on main and passes here.
  • 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.

🤖 Generated with Claude Code

## Summary On AMD's and Intel's Windows drivers every start rebuilds the shaders before the title (70-90 s on an RX 580), even straight after a clean close. The log says `the driver's shader cache has 0 of 60 noted pipelines asked ...: it lost them (a driver update, or evicted): they are built again before the title`, but nothing was lost. The check (`notes_lost_by_driver`, from #1188) asks a sample of the noted pipelines of an empty scratch pipeline cache, so it reads only the driver's own disk cache. That is the whole answer on NVIDIA, where our pipeline cache only refers to the driver's. AMD's and Intel's drivers keep the built pipelines in our pipeline cache file itself (750 MB to 5.5 GB in these logs), and the load at create calls is made from that cache. So the check says "lost" there whatever the driver's own cache holds. The warm pass it starts then finds every pipeline in our cache and compiles none: ``` vk: the driver's shader cache has 0 of 60 noted pipelines asked (a sample, in 577 ms): it lost them (a driver update, or evicted): they are built again before the title vk: precompile: the pipeline cache not written: nothing new since it was read or last written (751.8 MB), in 0 ms vk: precompile: 43524 noted pipelines of 24220 programs and 5042 compute pipelines of 3404 compute programs built into the pipeline cache and let go (0 and 0 not made, ...), on 12 threads in 89.6 s ``` Seen the same way in two RX 580 players' logs (AMD 25.8.1 and 26.11.2, `0 of 60` and `0 of 49`, one in a run right after a clean close of the previous one), and in the logs on #1894 and #2613 (Radeon 780M, 26.20.15.14), #1990 (RX 7600, 26.11.2) and #2499 (Arc B580, 101.9175): each `lost`, each followed by a warm pass of 30-40 s for about 38,000 pipelines that left our cache the size it was read at (`the pipeline cache not written: nothing new since it was read`). AMD's driver stores a pipeline it compiles in the cache it is handed, so the cache would have grown had any been compiled; a real rebuild takes minutes (342.6 s on an RTX 5080 below). With AMD's own cache warm it answers `48 of 48` (#2754, #2565), so the driver is asked correctly; it is the wrong cache to ask. This asks the sample of the cache the load at create calls are made from instead: ours (`pcache`), with the driver's own behind it, still without a compile (`VK_PIPELINE_CREATE_FAIL_ON_PIPELINE_COMPILE_REQUIRED_BIT`). On NVIDIA with its cache emptied ours answers nothing alone, and the check still says lost (run below). No pipeline cache made at a start: the driver alone answers, as before. Read first: `notes_lost_by_driver` in `gpu/vk/vk_draw.cpp`; `tests/test_cold_check_asks_our_cache.py`. See #2577 (found while reading its RX 580 logs; the blue screens there are another problem). ## Testing **Tested:** Windows 11 Pro, RTX 5080 (NVIDIA 621.47), 62 GB RAM, this branch's runtime over the shared base, `dev.py smoke` from `kokiri-start`: - NVIDIA's cache as it is: `the driver's shader cache has 63 of 63 noted pipelines asked (a sample, in 583 ms)`, nothing built again, PASS. - NVIDIA's cache pointed at an empty folder (`__GL_SHADER_DISK_CACHE_PATH`): `the driver's shader cache has 0 of 63 noted pipelines asked (a sample, in 138 ms): it lost them ...`, asked through our 1.3 GB pipeline cache; every noted pipeline built again before the title (44,712 and 5,087 compute in 342.6 s on 16 threads; the empty folder filled to 1.1 GB), then PASS. So on NVIDIA asking our cache answers as asking the driver alone did. Checks: `tests/test_cold_check_asks_our_cache.py` (new) fails on main (`!ask(false, true)`: our cache holding every pipeline, the driver's none, read as lost) and passes here, with g++ (MSYS2 UCRT64) and clang++ (llvm-mingw); with the fix's key line undone it fails again. `tests/test_cold_cache_check.py` updated to the new cache (not weakened). `mise run test` on 7bc53f841 plus this branch (Windows, llvm-mingw clang): 846 passed, 52 skipped, 14 failed. Not this change: `test_present_geometry_trace`, `test_present_image_free`, `test_present_held_image`, `test_present_acquire_ahead` (their fixtures do not compile), `test_dlssg`, `test_no_map_reload`, `test_sync_watch_event`, `test_turf_budget`, `test_ui_renderer`, `test_no_game_title`, all failing on main 3a0f7d8f7 too; `test_longshot_ctl`, `test_renderer_new_handler` and `test_stack_commit` failed under the suite's load and pass run alone. `test_lifter` timed out under load; run alone it fails only on host-sys's clippy `large_const_arrays` (`settings_abi.rs`) and the api test `a_walked_reshade_folder_counts_a_change_once_two_walks_agree`, both failing on main too (this change touches no Rust). This PC has no AMD or Intel GPU: the fix has not run on the drivers it is for. **Still to test:** - Windows, AMD RX 580 or another Polaris/GCN card on AMD's driver: start twice; expecting the second start's `the driver's shader cache has N of N noted pipelines asked` with N of N and no `precompile: ... built into the pipeline cache and let go` before the title (by hand, a player from #2577; or @Beanstalk on an AMD Windows PC) - Windows, AMD RDNA 3 on LLPC (RX 7600, Radeon 780M): the same, expecting the same (@Beanstalk) - Windows, Intel Arc: the same, expecting the same (@Beanstalk) - Linux, RADV: the same, expecting N of N as before (@Beanstalk linux) - Linux, NVIDIA's own driver: the same two starts, expecting N of N; then one start with `__GL_SHADER_DISK_CACHE_PATH` at an empty folder, expecting `0 of N ... it lost them` and the build before the title (@Beanstalk linux nvidia, or by hand) ## Measurements Nothing to measure on this PC: on NVIDIA the check answers as before (63 of 63 warm, lost with the cache emptied). On the PCs it is for, the players' logs give the cost it removes, 70-90 s of warm pass at every start on an RX 580 (69.7 s and 89.6 s in the two logs, 30-40 s on the 780M and RX 7600 in the issues). Before and after on AMD are owed by Still to test. ## Risks - On a driver whose pipeline cache refers to its own disk cache (NVIDIA), asking ours answers as asking the driver alone did: checked on NVIDIA here, cache warm and emptied. - A driver that answered an ask of our cache from data it can no longer use would now play with draws left out after losing its cache, as all drivers did before #1188. None is known; `pcache_drop_stale` and a refused file (another driver's) still remove the marker first. - The check costs what it did (583 ms here, 48 to 63 pipelines asked). - Revert is enough to undo it. Nothing changes in saves, settings or the cache files. ## 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 fix: a game-free test that fails on `main` and passes here. - [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. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
notes_lost_by_driver asked its sample of an empty scratch cache: what the driver's own disk cache holds. On AMD's and
Intel's drivers our pipeline cache holds the pipelines itself, so an RX 580 read "0 of 60 ... it lost them" at every start
and ran the warm pass again, which compiled nothing. The check cut from the source with stand-ins: fails here, for that.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(vk): the start's driver cache check asks our pipeline cache, not an empty one: AMD's and Intel's drivers no longer warm again at every start
Some checks failed
beanstalk/approval approved by llun (reviewed)
beanstalk/windows+amd 0/1 pass, 2 running, 0 queued
beanstalk/windows+amd+gpu-rx-5xx 0/1 pass, 0 running, 2 queued
beanstalk/windows+amd+gpu-rx-7xxx 0/1 pass, 1 running, 1 queued
beanstalk/windows+amd+gpu-780m 0/1 pass, 0 running, 2 queued
beanstalk/windows+intel+gpu-arc-* 0/1 pass, 0 running, 2 queued
beanstalk/linux+radv 0/1 pass, 2 running, 0 queued
PR description / Title and description (pull_request_target) Has been cancelled
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
01a6ec4b75
notes_lost_by_driver asked its sample of the notes of an empty scratch pipeline cache, so it read what the driver's own disk
cache holds. On NVIDIA that is the whole answer, our cache only referring to the driver's; AMD's and Intel's drivers keep the
pipelines in ours itself. An RX 580 (AMD 25.8.1 and 26.11.2) read "0 of 60 ... it lost them" at every start, a run after a
clean close included, and every start ran the warm pass again for 70-90 s, which found every noted pipeline in our cache
("the pipeline cache not written: nothing new since it was read"). A Radeon 780M, an RX 7600 and an Arc B580 the same.

The sample is now asked, still without a compile, of pcache, the cache the load at create calls are made from, with the
driver's own behind it. On NVIDIA with its cache emptied ours answers nothing and the check still says lost.

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

Tested in game: Windows 11 Pro, RTX 5080, NVIDIA 621.47, this branch's runtime, dev.py smoke from kokiri-start: with NVIDIA's cache as it is the check read 63 of 63 and nothing was built again (PASS); with NVIDIA's cache pointed at an empty folder (__GL_SHADER_DISK_CACHE_PATH) it read 0 of 63 through our 1.3 GB pipeline cache, said lost, built every noted pipeline again before the title (342.6 s) and played (PASS). Not run on AMD or Intel: this PC has neither.

Tested in game: Windows 11 Pro, RTX 5080, NVIDIA 621.47, this branch's runtime, dev.py smoke from kokiri-start: with NVIDIA's cache as it is the check read 63 of 63 and nothing was built again (PASS); with NVIDIA's cache pointed at an empty folder (__GL_SHADER_DISK_CACHE_PATH) it read 0 of 63 through our 1.3 GB pipeline cache, said lost, built every noted pipeline again before the title (342.6 s) and played (PASS). Not run on AMD or Intel: this PC has neither.
Author
Member

@Beanstalk on Windows with AMD's driver (any Radeon; Polaris/GCN such as an RX 580 most of all, and an RDNA 3 card or a Radeon 780M on LLPC), and on Windows with an Intel Arc: start the game twice from this PR's build, closing it cleanly in between. Expected on the second start: the log's the driver's shader cache has N of N noted pipelines asked with N of N and no "it lost them", and no precompile: ... built into the pipeline cache and let go line before the title. On main the same cards print 0 of N ... it lost them at every start and run that pass again (70-90 s on an RX 580). Also on Linux with RADV: the same two starts, expecting N of N as before. Please attach the second start's log lines for the check and the precompile.

@Beanstalk on Windows with AMD's driver (any Radeon; Polaris/GCN such as an RX 580 most of all, and an RDNA 3 card or a Radeon 780M on LLPC), and on Windows with an Intel Arc: start the game twice from this PR's build, closing it cleanly in between. Expected on the second start: the log's `the driver's shader cache has N of N noted pipelines asked` with N of N and no "it lost them", and no `precompile: ... built into the pipeline cache and let go` line before the title. On main the same cards print `0 of N ... it lost them` at every start and run that pass again (70-90 s on an RX 580). Also on Linux with RADV: the same two starts, expecting N of N as before. Please attach the second start's log lines for the check and the precompile.
Member
Beanstalk test farm · an earlier run: commit 01a6ec4 (the newer results are in a comment below)

Commit 01a6ec4 · approved by llun (reviewed) · dashboard

⚠️ Note: The farm cannot guarantee that the Windows starts begin with a populated game pipeline cache or isolate the second start for judging; a legitimate first-start precompile can therefore fail this plan.
⚠️ Note: The log matcher cannot require the two pipeline counts to be equal or restrict the precompile check to before the title, and the plan cannot explicitly attach only the second start's matching log lines.
⚠️ Note: This does not reproduce a genuinely emptied NVIDIA driver cache or verify that lost pipelines are rebuilt; startup times are reported but no fixed speedup is asserted.

Started at 12:41 UTC.

Estimate: done in about 2 h 30 min, from the queue and the testers online now; some jobs can't start yet.

⚠ No tester has a PC for windows+amd+gpu-780m (none seen in 14 days): it waits until one signs in.

⚠ No tester has a PC for windows+amd+gpu-rx-5xx (none seen in 14 days): it waits until one signs in.

Target Result Reports Frame time p99 (ms), main → PR VRAM peak (MB) Crashes
windows+amd 🔄 running 0 of 1 — — —
windows+amd+gpu-rx-5xx (GPU "rx 5xx") ⏳ queued 0 of 1 — — —
windows+amd+gpu-rx-7xxx (GPU "rx 7xxx") 🔄 running 0 of 1 — — —
windows+amd+gpu-780m (GPU "780m") ⏳ queued 0 of 1 — — —
windows+intel+gpu-arc-* (GPU "arc *") ⏳ queued 0 of 1 — — —
linux+radv 🔄 running 0 of 1 — — —
What was tested

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

The plan compares startup on Windows Radeon and Intel Arc systems and Linux RADV, using three starts per build to sample the cache check and startup time. It fails the PR for a crash, a reported lost shader cache, or a repeated precompile pass; an absent cache-check line is left unjudged. The requested Polaris, RDNA 3 or 780M, and Arc targets may wait for matching Windows testers. No tester online now matches windows+amd+gpu-rx-5xx, windows+amd+gpu-780m, windows+intel+gpu-arc-*: those targets wait for one.

  • Where: windows+amd (1-2 reports), windows+amd+gpu-rx-5xx (GPU "rx 5xx", 1-2 reports), windows+amd+gpu-rx-7xxx (GPU "rx 7xxx", 1-2 reports), windows+amd+gpu-780m (GPU "780m", 1-2 reports), windows+intel+gpu-arc-* (GPU "arc *", 1-2 reports), linux+radv (1-2 reports).
  • repeated-title-start: from the title screen (switches HOS_FPS_MAX=30, HOS_OUTPUT_RES=1280x720); 3 runs on each side.
  • Measured: crashes, boot time, the game's log (an expected line that never appears: could not be judged).
  • The PR fails if: it crashes; or forbidden log lines is above 0; or expected log lines missing is above 0.
  • Time: about 30 min of game runs per tester (6 game starts), plus the two builds.
<!-- beanstalk:previous --> <details><summary>Beanstalk test farm · an earlier run: commit <code>01a6ec4</code> (the newer results are in a comment below)</summary> Commit `01a6ec4` · approved by llun (reviewed) · [dashboard](https://beanstalk.magicbean.dev/prs/3246) ⚠️ **Note:** The farm cannot guarantee that the Windows starts begin with a populated game pipeline cache or isolate the second start for judging; a legitimate first-start precompile can therefore fail this plan. ⚠️ **Note:** The log matcher cannot require the two pipeline counts to be equal or restrict the precompile check to before the title, and the plan cannot explicitly attach only the second start's matching log lines. ⚠️ **Note:** This does not reproduce a genuinely emptied NVIDIA driver cache or verify that lost pipelines are rebuilt; startup times are reported but no fixed speedup is asserted. Started at 12:41 UTC. **Estimate:** done in about 2 h 30 min, from the queue and the testers online now; some jobs can't start yet. ⚠ No tester has a PC for `windows+amd+gpu-780m` (none seen in 14 days): it waits until one signs in. ⚠ No tester has a PC for `windows+amd+gpu-rx-5xx` (none seen in 14 days): it waits until one signs in. | Target | Result | Reports | Frame time p99 (ms), main → PR | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | --- | | `windows+amd` | 🔄 running | 0 of 1 | — | — | — | | `windows+amd+gpu-rx-5xx` (GPU "rx 5xx") | ⏳ queued | 0 of 1 | — | — | — | | `windows+amd+gpu-rx-7xxx` (GPU "rx 7xxx") | 🔄 running | 0 of 1 | — | — | — | | `windows+amd+gpu-780m` (GPU "780m") | ⏳ queued | 0 of 1 | — | — | — | | `windows+intel+gpu-arc-*` (GPU "arc *") | ⏳ queued | 0 of 1 | — | — | — | | `linux+radv` | 🔄 running | 0 of 1 | — | — | — | <details><summary>What was tested</summary> **What will be tested** · AI plan (`gpt-6.1-terra`) The plan compares startup on Windows Radeon and Intel Arc systems and Linux RADV, using three starts per build to sample the cache check and startup time. It fails the PR for a crash, a reported lost shader cache, or a repeated precompile pass; an absent cache-check line is left unjudged. The requested Polaris, RDNA 3 or 780M, and Arc targets may wait for matching Windows testers. No tester online now matches windows+amd+gpu-rx-5xx, windows+amd+gpu-780m, windows+intel+gpu-arc-*: those targets wait for one. - **Where:** windows+amd (1-2 reports), windows+amd+gpu-rx-5xx (GPU "rx 5xx", 1-2 reports), windows+amd+gpu-rx-7xxx (GPU "rx 7xxx", 1-2 reports), windows+amd+gpu-780m (GPU "780m", 1-2 reports), windows+intel+gpu-arc-* (GPU "arc *", 1-2 reports), linux+radv (1-2 reports). - **repeated-title-start:** from the title screen (switches `HOS_FPS_MAX=30`, `HOS_OUTPUT_RES=1280x720`); 3 runs on each side. - **Measured:** crashes, boot time, the game's log (an expected line that never appears: could not be judged). - **The PR fails if:** it crashes; or forbidden log lines is above 0; or expected log lines missing is above 0. - **Time:** about 30 min of game runs per tester (6 game starts), plus the two builds. </details> </details>
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The change should avoid a needless warm pass when the application cache contains the pipelines, but it has not yet been demonstrated on the AMD or Intel drivers it targets. Linux coverage and the required before-and-after startup measurements are also outstanding. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The startup sample now asks the pipeline cache used for pipeline creation, so a populated application cache can prevent an unnecessary rebuild pass. The change is small and reuses the existing cache creation path, but its benefit and driver-specific behavior remain unverified on the affected hardware.

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

  • L3 tests/test_cold_check_asks_our_cache.py:154: The standalone test ignores the configured C++ compiler and defaults directly to g++. (more on the line) Do: Use CXX as the default when set, while retaining the explicit --cxx override and a portable fallback.

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

  • L1 gpu/vk/vk_draw.cpp:13800: The intended startup improvement has not been measured on the drivers it targets. (more on the line) Do: Compare the base and this head on AMD Windows, including RX 580 and RDNA 3, and Intel Arc with repeated warm starts; record startup time, probe results, and cold and warm cache sizes.
  • L2 gpu/vk/vk_draw.cpp:13800: The changed probe also runs on Linux drivers, where its behavior has not been checked. (more on the line) Do: Run repeated starts on Linux RADV, including Steam Deck where available, and Linux NVIDIA; check warm-cache behavior and recovery after the driver cache is emptied.

@fix can do L3.

Checks: Still running: 11 checks.

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

Does it help: Unproven. Existing AMD logs report unnecessary warm passes of 69.7–89.6 seconds on RX 580 and 30–40 seconds on other Radeon systems; there are no comparable runs of this branch on those systems. The reported RTX 5080 run found 63 of 63 pipelines with a warm driver cache and 0 of 63 with an emptied cache, as intended.

Other systems: The change affects startup cache probing on all Vulkan drivers when load-at-create is enabled. Windows NVIDIA was tested with warm and emptied driver caches; AMD Windows, Intel Arc, Linux RADV and Linux NVIDIA remain unverified. The existing guarded graphics path protects cache use against concurrent cache-data fetches. No save, input, audio or renderer API changes were found.

Switches: None added, changed or removed.

Reviewed: 01a6ec4b75 against 7bc53f8413: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, both changed tests, the diff and commit messages. Read the changed function and surrounding cache initialization, creation, locking and startup code in vk_draw.cpp; the rest of that 15,645-line file was skimmed rather than read in full. docs/review-checklist.md and the adjacent Tooling checkout were absent. Reviewed the supplied comments and CI status; no recorded runs, translations or generated files changed.; nothing run (a code review).

Checked and fine:

  • Both commits record AI assistance.
  • The new fixture models application-cache hits, driver-cache hits, cache misses and a missing application cache; the supplied report says it fails when the key change is undone.
  • The probe restores its thread-local state and closes the notes file on exit.
  • No game-derived files, generated artifacts, third-party changes, shader changes or renderer API changes appear in the diff.

Testing: No commands from the project or tests were run during this read-only review. The author reports Windows NVIDIA game runs and game-free checks; the supplied CI checks are still running.

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


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

**Recommendation: Approve.** The change should avoid a needless warm pass when the application cache contains the pipelines, but it has not yet been demonstrated on the AMD or Intel drivers it targets. Linux coverage and the required before-and-after startup measurements are also outstanding. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The startup sample now asks the pipeline cache used for pipeline creation, so a populated application cache can prevent an unnecessary rebuild pass. The change is small and reuses the existing cache creation path, but its benefit and driver-specific behavior remain unverified on the affected hardware. **Should fix (1)**: not blocking, but worth doing before merging. - **L3** `tests/test_cold_check_asks_our_cache.py:154`: The standalone test ignores the configured C++ compiler and defaults directly to g++. (more on the line) **Do:** Use CXX as the default when set, while retaining the explicit --cxx override and a portable fallback. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1** `gpu/vk/vk_draw.cpp:13800`: The intended startup improvement has not been measured on the drivers it targets. (more on the line) **Do:** Compare the base and this head on AMD Windows, including RX 580 and RDNA 3, and Intel Arc with repeated warm starts; record startup time, probe results, and cold and warm cache sizes. - **L2** `gpu/vk/vk_draw.cpp:13800`: The changed probe also runs on Linux drivers, where its behavior has not been checked. (more on the line) **Do:** Run repeated starts on Linux RADV, including Steam Deck where available, and Linux NVIDIA; check warm-cache behavior and recovery after the driver cache is emptied. `@fix` can do L3. **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven. Existing AMD logs report unnecessary warm passes of 69.7–89.6 seconds on RX 580 and 30–40 seconds on other Radeon systems; there are no comparable runs of this branch on those systems. The reported RTX 5080 run found 63 of 63 pipelines with a warm driver cache and 0 of 63 with an emptied cache, as intended. **Other systems:** The change affects startup cache probing on all Vulkan drivers when load-at-create is enabled. Windows NVIDIA was tested with warm and emptied driver caches; AMD Windows, Intel Arc, Linux RADV and Linux NVIDIA remain unverified. The existing guarded graphics path protects cache use against concurrent cache-data fetches. No save, input, audio or renderer API changes were found. **Switches:** None added, changed or removed. **Reviewed:** 01a6ec4b7573 against 7bc53f841323: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, both changed tests, the diff and commit messages. Read the changed function and surrounding cache initialization, creation, locking and startup code in vk_draw.cpp; the rest of that 15,645-line file was skimmed rather than read in full. docs/review-checklist.md and the adjacent Tooling checkout were absent. Reviewed the supplied comments and CI status; no recorded runs, translations or generated files changed.; nothing run (a code review). **Checked and fine:** - Both commits record AI assistance. - The new fixture models application-cache hits, driver-cache hits, cache misses and a missing application cache; the supplied report says it fails when the key change is undone. - The probe restores its thread-local state and closes the notes file on exit. - No game-derived files, generated artifacts, third-party changes, shader changes or renderer API changes appear in the diff. **Testing:** No commands from the project or tests were run during this read-only review. The author reports Windows NVIDIA game runs and game-free checks; the supplied CI checks are still running. **Overlaps and merge order:** Not checked; network access is unavailable. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
@ -13798,0 +13797,4 @@
} restore{f};
// (driver_cache_only: nothing counted as built into pcache, pcache_built_since_save. No pcache at this start: the driver
// alone)
driver_cache_only = true, driver_ask_cache = pcache;
Member

L1 (should fix): The intended startup improvement has not been measured on the drivers it targets.

When: On AMD Windows and Intel Arc, the new probe must find pipelines in the application cache and skip the warm pass; the supplied target-driver logs only show behavior before this change.

Do: Compare the base and this head on AMD Windows, including RX 580 and RDNA 3, and Intel Arc with repeated warm starts; record startup time, probe results, and cold and warm cache sizes.

**L1** (should fix): The intended startup improvement has not been measured on the drivers it targets. *When:* On AMD Windows and Intel Arc, the new probe must find pipelines in the application cache and skip the warm pass; the supplied target-driver logs only show behavior before this change. **Do:** Compare the base and this head on AMD Windows, including RX 580 and RDNA 3, and Intel Arc with repeated warm starts; record startup time, probe results, and cold and warm cache sizes.
Member

L2 (should fix): The changed probe also runs on Linux drivers, where its behavior has not been checked.

When: A Linux driver may answer a probe through the loaded application cache differently from the former empty-cache probe, changing whether startup repeats the warm pass.

Do: Run repeated starts on Linux RADV, including Steam Deck where available, and Linux NVIDIA; check warm-cache behavior and recovery after the driver cache is emptied.

**L2** (should fix): The changed probe also runs on Linux drivers, where its behavior has not been checked. *When:* A Linux driver may answer a probe through the loaded application cache differently from the former empty-cache probe, changing whether startup repeats the warm pass. **Do:** Run repeated starts on Linux RADV, including Steam Deck where available, and Linux NVIDIA; check warm-cache behavior and recovery after the driver cache is emptied.
@ -0,0 +151,4 @@
def main():
p = argparse.ArgumentParser(description=__doc__.split("\n")[0])
p.add_argument("--cxx", default="g++")
Member

L3 (should fix): The standalone test ignores the configured C++ compiler and defaults directly to g++.

When: On a machine with CXX set to clang++ but no g++ executable, the documented direct invocation fails before the fixture can run, although the configured compiler is available.

Do: Use CXX as the default when set, while retaining the explicit --cxx override and a portable fallback.

**L3** (should fix): The standalone test ignores the configured C++ compiler and defaults directly to g++. *When:* On a machine with CXX set to clang++ but no g++ executable, the documented direct invocation fails before the fixture can run, although the configured compiler is available. **Do:** Use CXX as the default when set, while retaining the explicit --cxx override and a portable fallback.
test(vk): the cold check's fixture lines up its comments
Some checks failed
beanstalk/approval not approved yet
PR description / Title and description (pull_request_target) Has been cancelled
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
61dbece8b8
Co-Authored-By: Claude Opus 5.5 <[email protected]>
test(vk): the cold check run by hand takes $CXX, else g++, else clang++ (BeanBot L3)
Some checks reported errors
beanstalk/approval approved by llun (reviewed)
beanstalk/windows+amd 0/1 pass, 0 running, 0 queued
beanstalk/windows+amd+gpu-rx-5xx 0/1 pass, 0 running, 0 queued
beanstalk/windows+amd+gpu-rx-7xxx 0/1 pass, 0 running, 0 queued
beanstalk/windows+intel+gpu-arc-* 0/1 pass, 0 running, 0 queued
beanstalk/windows+nvidia 0/1 pass, 2 error
beanstalk/linux+radv 0/1 pass, 2 error
beanstalk/linux+nvidia 0/1 pass, 0 running, 0 queued
beanstalk/steamdeck 0/1 pass, 0 running, 0 queued
CI / What the change needs (pull_request) Successful in 7s
CI / Third-party parts and guide screenshots (pull_request) Successful in 12s
PR description / Title and description (pull_request_target) Successful in 6s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 16s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 13m7s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Failing after 1m17s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m42s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 10m38s
CI / Website build and checks (pull_request) Failing after 38s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 50m17s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 1h0m4s
4be23df9e0
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Member

BeanBot's review:

  • L3 fixed in 4be23df9e: run by hand, the check takes $CXX when it is set, else g++, else clang++ where only clang++ is there (the form of tests/test_bc_copy_layer_pitch.py); --cxx and the runner's {cxx} still win. Run with CXX=clang++, with no CXX, with --cxx g++ and through run_all.py: PASS each time.
  • L1 (AMD Windows, Intel Arc): the Test Farm run on 01a6ec4 covers them (windows+amd, rx-5xx, rx-7xxx, 780m, arc); its results go into Tested when they are in. The commits since touch only the test file.
  • L2 (Linux): linux+radv is in the same run. Linux NVIDIA is not asked yet: its pipeline cache refers to the driver's as on Windows NVIDIA, where both cases (warm, and the driver's cache emptied) were run on an RTX 5080. It stays in Still to test.
BeanBot's review: - **L3** fixed in 4be23df9e: run by hand, the check takes `$CXX` when it is set, else g++, else clang++ where only clang++ is there (the form of tests/test_bc_copy_layer_pitch.py); `--cxx` and the runner's `{cxx}` still win. Run with CXX=clang++, with no CXX, with --cxx g++ and through run_all.py: PASS each time. - **L1** (AMD Windows, Intel Arc): the Test Farm run on 01a6ec4 covers them (windows+amd, rx-5xx, rx-7xxx, 780m, arc); its results go into Tested when they are in. The commits since touch only the test file. - **L2** (Linux): linux+radv is in the same run. Linux NVIDIA is not asked yet: its pipeline cache refers to the driver's as on Windows NVIDIA, where both cases (warm, and the driver's cache emptied) were run on an RTX 5080. It stays in Still to test.
Author
Member
@review
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The target-driver startup gain and Linux behavior remain unverified. The compiler selection issue is fixed, but the requested hardware results have not yet been reported. Recommend approval; not approved on the forge.

The startup probe now asks the pipeline cache used by pipeline creation, aiming to avoid unnecessary shader warm-up on AMD and Intel drivers. The change is small, but its intended startup gain and cross-driver behavior still need hardware results.

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

  • L1 gpu/vk/vk_draw.cpp:13800: The intended startup improvement has not been measured on the drivers it targets. When: On AMD Windows and Intel Arc, the new probe must find pipelines in the application cache and skip the warm pass; the supplied target-driver logs only show behavior before this change. Do: Compare the base and this head on AMD Windows, including RX 580 and RDNA 3, and Intel Arc with repeated warm starts; record startup time, probe results, and cold and warm cache sizes.
  • L2 gpu/vk/vk_draw.cpp:13800: The changed probe also runs on Linux drivers, where its behavior has not been checked. When: A Linux driver may answer a probe through the loaded application cache differently from the former empty-cache probe, changing whether startup repeats the warm pass. Do: Run repeated starts on Linux RADV, including Steam Deck where available, and Linux NVIDIA; check warm-cache behavior and recovery after the driver cache is emptied.

Since the last review (on 01a6ec4b75)
Resolved: L3 (The standalone test ignores the configured C++ compiler and defaults directly to g++.)
Still open: L1 (The intended startup improvement has not been measured on the drivers it targets.); L2 (The changed probe also runs on Linux drivers, where its behavior has not been checked.)

Checks: Still running: 11 checks.

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

Does it help: Unproven. Existing AMD logs report 69.7–89.6 seconds spent in the repeated warm pass, but there are no before-and-after runs on the target drivers. The reported Windows NVIDIA run preserved warm-cache and emptied-cache behavior.

Other systems: The probe also affects Linux RADV and NVIDIA drivers; Linux results are pending. Windows NVIDIA was tested with both a warm and an emptied driver cache. AMD and Intel Test Farm runs have been requested but no results were supplied.

Switches: None.

Reviewed: 4be23df9e0 against 7bc53f8413: Read the full diff, the new test, AGENTS.md, CONTRIBUTING.md and the pull request template. Read the changed renderer and existing test sections through the diff; the full renderer and existing test files were not read. The review checklist file is absent.; nothing run (a code review).

Checked and fine:

  • The changed fixture still checks that the probe uses the supplied cache, does not compile, and restores its thread-local state.
  • The reported Windows NVIDIA run covers both a warm driver cache and an emptied one.

Testing: No commands from the project or tests were run. The author reports the game-free checks and Windows NVIDIA game runs; CI is still running.

Overlaps and merge order: Not checked.


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

**Recommendation: Approve.** The code is ready: only testing is left. The target-driver startup gain and Linux behavior remain unverified. The compiler selection issue is fixed, but the requested hardware results have not yet been reported. Recommend approval; not approved on the forge. The startup probe now asks the pipeline cache used by pipeline creation, aiming to avoid unnecessary shader warm-up on AMD and Intel drivers. The change is small, but its intended startup gain and cross-driver behavior still need hardware results. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1** `gpu/vk/vk_draw.cpp:13800`: The intended startup improvement has not been measured on the drivers it targets. *When:* On AMD Windows and Intel Arc, the new probe must find pipelines in the application cache and skip the warm pass; the supplied target-driver logs only show behavior before this change. **Do:** Compare the base and this head on AMD Windows, including RX 580 and RDNA 3, and Intel Arc with repeated warm starts; record startup time, probe results, and cold and warm cache sizes. - **L2** `gpu/vk/vk_draw.cpp:13800`: The changed probe also runs on Linux drivers, where its behavior has not been checked. *When:* A Linux driver may answer a probe through the loaded application cache differently from the former empty-cache probe, changing whether startup repeats the warm pass. **Do:** Run repeated starts on Linux RADV, including Steam Deck where available, and Linux NVIDIA; check warm-cache behavior and recovery after the driver cache is emptied. **Since the last review** (on 01a6ec4b7573) Resolved: L3 (The standalone test ignores the configured C++ compiler and defaults directly to g++.) Still open: L1 (The intended startup improvement has not been measured on the drivers it targets.); L2 (The changed probe also runs on Linux drivers, where its behavior has not been checked.) **Checks:** Still running: 11 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven. Existing AMD logs report 69.7–89.6 seconds spent in the repeated warm pass, but there are no before-and-after runs on the target drivers. The reported Windows NVIDIA run preserved warm-cache and emptied-cache behavior. **Other systems:** The probe also affects Linux RADV and NVIDIA drivers; Linux results are pending. Windows NVIDIA was tested with both a warm and an emptied driver cache. AMD and Intel Test Farm runs have been requested but no results were supplied. **Switches:** None. **Reviewed:** 4be23df9e0af against 7bc53f841323: Read the full diff, the new test, AGENTS.md, CONTRIBUTING.md and the pull request template. Read the changed renderer and existing test sections through the diff; the full renderer and existing test files were not read. The review checklist file is absent.; nothing run (a code review). **Checked and fine:** - The changed fixture still checks that the probe uses the supplied cache, does not compile, and restores its thread-local state. - The reported Windows NVIDIA run covers both a warm driver cache and an emptied one. **Testing:** No commands from the project or tests were run. The author reports the game-free checks and Windows NVIDIA game runs; CI is still running. **Overlaps and merge order:** Not checked. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by llun. Nothing was run; a maintainer decides.</sub>
Author
Member

@Beanstalk

@Beanstalk
Member

Beanstalk test farm · 🔄 testing (0 of 8 reports so far)

Commit 4be23df · approved by llun (reviewed) · dashboard

⚠️ Note: The repeated starts use existing caches rather than a guaranteed pre-populated warm cache; missing sample logs do not fail the run, and the counts cannot establish that every sampled pipeline was found.
⚠️ Note: Driver-cold scenarios run only on Linux; the plan does not measure cache-file sizes or reproduce a Windows driver-cache eviction.
⚠️ Note: The startup-time comparison can reveal the claimed saving but does not require a minimum improvement, since the original unnecessary warm pass may not occur.

Done (started 12:47 UTC). Comment @Beanstalk to run it again.

Target Result Reports Frame time p99 (ms), main → PR VRAM peak (MB) Crashes
windows+amd ⏳ queued 0 of 1 — — —
windows+amd+gpu-rx-5xx (GPU "rx 5xx") ⏳ queued 0 of 1 — — —
windows+amd+gpu-rx-7xxx (GPU "rx 7xxx") ⏳ queued 0 of 1 — — —
windows+intel+gpu-arc-* (GPU "arc *") ⏳ queued 0 of 1 — — —
windows+nvidia ⚠️ couldn't be judged 0 of 1 — — —
linux+radv ⚠️ couldn't be judged 0 of 1 — — —
linux+nvidia ⏳ queued 0 of 1 — — —
steamdeck ⏳ queued 0 of 1 — — —
What was tested

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

The plan compares repeated starts of main and the PR, then captures the Market and Hyrule Field to detect picture differences. It records startup time, shader preparation, cache-loss messages and warm-pass messages; Linux runs also start with an emptied driver cache. A crash, a startup-time regression over 20%, or a picture difference over 0.25 fails the PR. The requested RX 580, RDNA 3 and Intel Arc targets wait if matching Windows PCs are unavailable. No tester online now matches windows+amd+gpu-rx-5xx, windows+intel+gpu-arc-*: those targets wait for one.

  • Where: windows+amd (1-2 reports), windows+amd+gpu-rx-5xx (GPU "rx 5xx", 1-2 reports), windows+amd+gpu-rx-7xxx (GPU "rx 7xxx", 1-2 reports), windows+intel+gpu-arc-* (GPU "arc *", 1-2 reports), windows+nvidia (1-2 reports), linux+radv (1-2 reports), linux+nvidia (1-2 reports), steamdeck (1-2 reports).
  • repeated-starts: from the repository's save market-entrance (settings resolution=1, quality_preset=0; switches HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0), then teleport to Market, take the picture market to compare with main, teleport to Hyrule Field, take the picture field to compare with main; 3 runs on each side.
  • driver-cold: from the repository's save market-entrance (settings resolution=1, quality_preset=0; switches HOS_OUTPUT_RES=1280x720, RX_VK_AUTO_TUNE=0; each start with an empty driver shader cache, Linux only for now), then teleport to Market, take the picture cold-market to compare with main; 2 runs on each side.
  • Measured: crashes, boot time, shader preparation at start, numbers from the game's log.
  • The PR fails if: it crashes; or a picture differs from main by more than 25%; or boot time is more than 20% above main.
  • Time: about 51 min of game runs per tester (10 game starts), plus the two builds.
<!-- beanstalk:sticky --> ### Beanstalk test farm · 🔄 testing (0 of 8 reports so far) Commit `4be23df` · approved by llun (reviewed) · [dashboard](https://beanstalk.magicbean.dev/prs/3246) ⚠️ **Note:** The repeated starts use existing caches rather than a guaranteed pre-populated warm cache; missing sample logs do not fail the run, and the counts cannot establish that every sampled pipeline was found. ⚠️ **Note:** Driver-cold scenarios run only on Linux; the plan does not measure cache-file sizes or reproduce a Windows driver-cache eviction. ⚠️ **Note:** The startup-time comparison can reveal the claimed saving but does not require a minimum improvement, since the original unnecessary warm pass may not occur. Done (started 12:47 UTC). Comment `@Beanstalk` to run it again. | Target | Result | Reports | Frame time p99 (ms), main → PR | VRAM peak (MB) | Crashes | | --- | --- | --- | --- | --- | --- | | `windows+amd` | ⏳ queued | 0 of 1 | — | — | — | | `windows+amd+gpu-rx-5xx` (GPU "rx 5xx") | ⏳ queued | 0 of 1 | — | — | — | | `windows+amd+gpu-rx-7xxx` (GPU "rx 7xxx") | ⏳ queued | 0 of 1 | — | — | — | | `windows+intel+gpu-arc-*` (GPU "arc *") | ⏳ queued | 0 of 1 | — | — | — | | `windows+nvidia` | ⚠️ couldn't be judged | 0 of 1 | — | — | — | | `linux+radv` | ⚠️ couldn't be judged | 0 of 1 | — | — | — | | `linux+nvidia` | ⏳ queued | 0 of 1 | — | — | — | | `steamdeck` | ⏳ queued | 0 of 1 | — | — | — | <details><summary>What was tested</summary> **What will be tested** · AI plan (`gpt-6.1-terra`) The plan compares repeated starts of main and the PR, then captures the Market and Hyrule Field to detect picture differences. It records startup time, shader preparation, cache-loss messages and warm-pass messages; Linux runs also start with an emptied driver cache. A crash, a startup-time regression over 20%, or a picture difference over 0.25 fails the PR. The requested RX 580, RDNA 3 and Intel Arc targets wait if matching Windows PCs are unavailable. No tester online now matches windows+amd+gpu-rx-5xx, windows+intel+gpu-arc-*: those targets wait for one. - **Where:** windows+amd (1-2 reports), windows+amd+gpu-rx-5xx (GPU "rx 5xx", 1-2 reports), windows+amd+gpu-rx-7xxx (GPU "rx 7xxx", 1-2 reports), windows+intel+gpu-arc-* (GPU "arc *", 1-2 reports), windows+nvidia (1-2 reports), linux+radv (1-2 reports), linux+nvidia (1-2 reports), steamdeck (1-2 reports). - **repeated-starts:** from the repository's save `market-entrance` (settings resolution=1, quality_preset=0; switches `HOS_OUTPUT_RES=1280x720`, `RX_VK_AUTO_TUNE=0`), then teleport to Market, take the picture market to compare with main, teleport to Hyrule Field, take the picture field to compare with main; 3 runs on each side. - **driver-cold:** from the repository's save `market-entrance` (settings resolution=1, quality_preset=0; switches `HOS_OUTPUT_RES=1280x720`, `RX_VK_AUTO_TUNE=0`; each start with an empty driver shader cache, Linux only for now), then teleport to Market, take the picture cold-market to compare with main; 2 runs on each side. - **Measured:** crashes, boot time, shader preparation at start, numbers from the game's log. - **The PR fails if:** it crashes; or a picture differs from main by more than 25%; or boot time is more than 20% above main. - **Time:** about 51 min of game runs per tester (10 game starts), plus the two builds. </details>
HumanBean deleted branch fix/cold-check-asks-our-cache 2026-12-05 17:05:25 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!3246
No description provided.