#3246 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
Commit
Plan (gpt-6.1-terra)
Compare startup cache checks and shader preparation, with Linux driver-cold recovery and gameplay pictures
⚠️ 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.
In plain words
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.
Raw plan Download plan.json
{
"pass": {
"crash": false,
"screenshot": {
"max_diff": 0.25
},
"boot_time_s": {
"max_delta_pct": 20
}
},
"probe": [
{
"kind": "crash"
},
{
"kind": "boot_time"
},
{
"kind": "shader_compile"
},
{
"kind": "log_value",
"value": [
{
"name": "cache_lost",
"take": "count",
"pattern": "the driver's shader cache has .*noted pipelines asked.*it lost them"
},
{
"name": "warm_pass",
"take": "count",
"pattern": "precompile: .*built into the pipeline cache and let go"
},
{
"name": "cache_check",
"take": "count",
"pattern": "the driver's shader cache has .*noted pipelines asked"
}
]
}
],
"matrix": {},
"schema": 9,
"target": [
{
"name": "windows+amd",
"tags": [
"windows",
"amd"
],
"max_reports": 2,
"min_reports": 1
},
{
"gpu": [
"rx 5xx"
],
"name": "windows+amd+gpu-rx-5xx",
"tags": [
"windows",
"amd"
],
"max_reports": 2,
"min_reports": 1
},
{
"gpu": [
"rx 7xxx"
],
"name": "windows+amd+gpu-rx-7xxx",
"tags": [
"windows",
"amd"
],
"max_reports": 2,
"min_reports": 1
},
{
"gpu": [
"arc *"
],
"name": "windows+intel+gpu-arc-*",
"tags": [
"windows",
"intel"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "windows+nvidia",
"tags": [
"windows",
"nvidia"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "linux+radv",
"tags": [
"linux",
"radv"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "linux+nvidia",
"tags": [
"linux",
"nvidia"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "steamdeck",
"tags": [
"steamdeck"
],
"max_reports": 2,
"min_reports": 1
}
],
"summary": "Compare startup cache checks and shader preparation, with Linux driver-cold recovery and gameplay pictures",
"baseline": {
"ref": "main"
},
"scenario": [
{
"env": {
"HOS_OUTPUT_RES": "1280x720",
"RX_VK_AUTO_TUNE": "0"
},
"name": "repeated-starts",
"runs": 3,
"step": [
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "wait_s",
"seconds": 3
},
{
"do": "shot",
"name": "market",
"upload": false,
"compare": "baseline"
},
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "wait_s",
"seconds": 3
},
{
"do": "shot",
"name": "field",
"upload": false,
"compare": "baseline"
}
],
"start": "save:market-entrance",
"matrix": true,
"settings": {
"resolution": 1,
"quality_preset": 0
}
},
{
"env": {
"HOS_OUTPUT_RES": "1280x720",
"RX_VK_AUTO_TUNE": "0"
},
"name": "driver-cold",
"runs": 2,
"step": [
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "wait_s",
"seconds": 3
},
{
"do": "shot",
"name": "cold-market",
"upload": false,
"compare": "baseline"
}
],
"cache": "driver_cold",
"start": "save:market-entrance",
"matrix": true,
"settings": {
"resolution": 1,
"quality_preset": 0
}
}
]
}
Targets
| Target | Tier | Reports | Status |
|---|---|---|---|
| windows+amd | reviewed llun | none yet | 0/1 pass, 0 running, 0 queued |
| windows+amd+gpu-rx-5xx GPU "rx 5xx" | reviewed llun | none yet | 0/1 pass, 0 running, 0 queued |
| windows+amd+gpu-rx-7xxx GPU "rx 7xxx" | reviewed llun | none yet | 0/1 pass, 0 running, 0 queued |
| windows+intel+gpu-arc-* GPU "arc *" | reviewed llun | none yet | 0/1 pass, 0 running, 0 queued |
| windows+nvidia | reviewed llun | none yet | 0/1 pass, 2 error |
| linux+radv | reviewed llun | none yet | 0/1 pass, 2 error |
| linux+nvidia | reviewed llun | none yet | 0/1 pass, 0 running, 0 queued |
| steamdeck | reviewed llun | none yet | 0/1 pass, 0 running, 0 queued |
Reports
No reports yet. Each tester posts one when its job ends.
Jobs
| Job | Commit | Target | State | Tester | Started | Attempts | Estimate | Note |
|---|---|---|---|---|---|---|---|---|
jb_99925e82b4fecf5b log | 4be23df | windows+amd+gpu-rx-7xxx | cancelled | — | 2 | the PR was closed | ||
jb_a4598d6d97b811fc log | 4be23df | steamdeck | cancelled | — | 7 | the PR was closed | ||
jb_6de2327cc82baf63 log | 4be23df | steamdeck | cancelled | — | 7 | the PR was closed | ||
jb_e573512eb2e84ff3 log | 4be23df | windows+nvidia | error | — | 6 | prefetch: the pinned Rust or the builder's crates could not be fetched: Traceback (most recent call last): File "<string>", line 1, in <module> import os, re, sys; sys.path.insert(0, os.path.join(os.getcwd(), 'scripts')); import helpers, renhdrum, longshot_builder ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'renhdrum' (tried 4 times) | ||
jb_fa903a2ead45027a log | 4be23df | linux+radv | error | — | 6 | prefetch: the pinned Rust or the builder's crates could not be fetched: Traceback (most recent call last): File "<string>", line 1, in <module> import os, re, sys; sys.path.insert(0, os.path.join(os.getcwd(), 'scripts')); import helpers, renhdrum, longshot_builder ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'renhdrum' (tried 4 times) | ||
jb_c899c3c9c066458c log | 4be23df | windows+amd | cancelled | — | 7 | the PR was closed | ||
jb_5c02872bf4ef45f0 log | 4be23df | linux+radv | error | — | 6 | prefetch: the pinned Rust or the builder's crates could not be fetched: Traceback (most recent call last): File "<string>", line 1, in <module> import os, re, sys; sys.path.insert(0, os.path.join(os.getcwd(), 'scripts')); import helpers, renhdrum, longshot_builder ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'renhdrum' (tried 4 times) | ||
jb_87a71ef5242767d2 log | 4be23df | windows+amd+gpu-rx-7xxx | cancelled | — | 2 | the PR was closed | ||
jb_7db9c62243cf7b01 log | 4be23df | windows+amd | cancelled | — | 7 | the PR was closed | ||
jb_d0baf88358bbee50 log | 4be23df | windows+amd+gpu-rx-5xx | cancelled | — | 0 | the PR was closed | ||
jb_8e3640ec20be75a1 log | 4be23df | windows+amd+gpu-rx-5xx | cancelled | — | 0 | the PR was closed | ||
jb_7b190d08257b4280 log | 4be23df | windows+intel+gpu-arc-* | cancelled | — | 0 | the PR was closed | ||
jb_f7238e9a5d6728d6 log | 4be23df | windows+intel+gpu-arc-* | cancelled | — | 0 | the PR was closed | ||
jb_9819632adaf413db log | 4be23df | linux+nvidia | cancelled | — | 5 | the PR was closed | ||
jb_0474d92734f4c9a2 log | 4be23df | linux+nvidia | cancelled | — | 5 | the PR was closed | ||
jb_29603f5b77993db0 log | 4be23df | windows+nvidia | error | — | 6 | prefetch: the pinned Rust or the builder's crates could not be fetched: Traceback (most recent call last): File "<string>", line 1, in <module> import os, re, sys; sys.path.insert(0, os.path.join(os.getcwd(), 'scripts')); import helpers, renhdrum, longshot_builder ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ModuleNotFoundError: No module named 'renhdrum' (tried 4 times) | ||
jb_d3a0249280dafa30 log | 01a6ec4 | linux+radv | cancelled prefetch | Wrath/agent-0e17b1 | 1 | superseded by a new push | ||
jb_6f5c5446c74e7144 log | 01a6ec4 | windows+amd+gpu-rx-7xxx | cancelled | — | 0 | superseded by a new push | ||
jb_9419dfe716e15cee log | 01a6ec4 | windows+amd+gpu-780m | cancelled | — | 0 | superseded by a new push | ||
jb_174d716076b6eba0 log | 01a6ec4 | windows+amd+gpu-780m | cancelled | — | 0 | superseded by a new push | ||
jb_519a614356ec24f2 log | 01a6ec4 | windows+intel+gpu-arc-* | cancelled | — | 0 | superseded by a new push | ||
jb_9c8db964b62150bf log | 01a6ec4 | windows+intel+gpu-arc-* | cancelled | — | 0 | superseded by a new push | ||
jb_261bb090334cc630 log | 01a6ec4 | windows+amd | cancelled prefetch | TinyPanda/agent-65553b | 1 | superseded by a new push | ||
jb_5cd8ca3d472cd72e log | 01a6ec4 | windows+amd+gpu-rx-5xx | cancelled | — | 0 | superseded by a new push | ||
jb_53b661e454acd4a1 log | 01a6ec4 | linux+radv | cancelled prefetch | Veridor/agent-b9a501 | 1 | superseded by a new push | ||
jb_f5bc9250f4a16b7a log | 01a6ec4 | windows+amd | cancelled prefetch | ethanlerma/agent-c61d7b | 1 | superseded by a new push | ||
jb_dfa24f9d21baf8b9 log | 01a6ec4 | windows+amd+gpu-rx-7xxx | cancelled prefetch | XL3BIGDrizzy/agent-56a549 | 1 | superseded by a new push | ||
jb_def2a7d2e922639a log | 01a6ec4 | windows+amd+gpu-rx-5xx | cancelled | — | 0 | superseded by a new push |