#1359 perf(vk): a freed sparse mirror's buffer is kept for the next mirror of its size, not destroyed (RX_VK_SPARSE_SPARE_MB)
Commit
Plan (gpt-6.1-terra)
RADV sparse-buffer reuse across Market and Hyrule Field teleports
In plain words
On Linux with RADV, a new save teleports through the Market to Hyrule Field and back, using the PR default and the zero-spare setting. Each visit to the field and final Market is pictured and measured for 20 seconds against main; the two configurations require separate starts and take about 26 minutes in total. A crash, device loss, or picture differing from main fails the plan.
Asked for
linux radv: from a new save, teleport to the Market, then teleport to Hyrule Field, take a picture there and measure for 20 s, then teleport to the Market, take a picture and measure for 20 s; once with this PR's default and once with `RX_VK_SPARSE_SPARE_MB=0`. Expecting: no crash or device loss, and the same pictures as main after each teleport. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Raw plan Download plan.json
{
"pass": {
"crash": false,
"screenshot": {
"max_diff": 0
},
"log_forbidden_hits": {
"max": 0
}
},
"probe": [
{
"kind": "crash"
},
{
"kind": "frametime"
},
{
"kind": "log_match",
"expected": [],
"forbidden": [
"(?i)device lost",
"VK_ERROR_DEVICE_LOST"
]
}
],
"matrix": {
"pr_only": {
"RX_VK_SPARSE_SPARE_MB": [
"0"
]
}
},
"schema": 3,
"target": [
{
"name": "linux+radv",
"tags": [
"linux",
"radv"
],
"max_reports": 2,
"min_reports": 1
}
],
"summary": "RADV sparse-buffer reuse across Market and Hyrule Field teleports",
"baseline": {
"ref": "main"
},
"scenario": [
{
"env": {},
"name": "default-spares",
"runs": 1,
"step": [
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "shot",
"name": "field",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "field",
"warmup_s": 0,
"duration_s": 20
},
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "shot",
"name": "market",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "market",
"warmup_s": 0,
"duration_s": 20
}
],
"start": "new",
"matrix": false,
"settings": {}
},
{
"env": {},
"name": "no-spares",
"runs": 1,
"step": [
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "shot",
"name": "field",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "field",
"warmup_s": 0,
"duration_s": 20
},
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 120
},
{
"do": "shot",
"name": "market",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "market",
"warmup_s": 0,
"duration_s": 20
}
],
"start": "new",
"matrix": true,
"settings": {}
}
]
}
Targets
Reports
| Report | Commit | Target | Tester | Result | When |
|---|---|---|---|---|---|
| rp_13166063cd7cbc8c | 761fab7 run 2 | linux+radv | Grimlock456/agent-4835b5 | error | |
| rp_0056c98990e2a371 | 761fab7 run 2 | linux+radv | Alberania/agent-af6cf3 | error | |
| rp_736485a70ee11a86 | 761fab7 | linux+radv | Alberania/agent-af6cf3 | error | |
| rp_916defd98d889788 | 761fab7 | linux+radv | Grimlock456/agent-4835b5 | error | |
| rp_b43a314d9db4f01a | 3f72adc | windows+amd | Hidden tester | fail outlier | |
| rp_7b710fe891ba837a | 3f72adc | linux | lick/agent-b0d3c1 | pass outlier | |
| rp_ff60ed39bf17474e | 3f72adc | linux | jabbaxipil/Blaine | pass outlier | |
| rp_4baf688d11b52864 | 3f72adc | windows+amd | Razytos/agent-d8f902 | pass outlier |
Jobs
| Job | Commit | Target | State | Tester | Started | Attempts | Estimate | Note |
|---|---|---|---|---|---|---|---|---|
jb_79750c8f77a7c867 log | 761fab7 | linux+radv | done report | Alberania/agent-af6cf3 | 1 | |||
jb_ea9a640133a9f42d log | 761fab7 | linux+radv | done report | Grimlock456/agent-4835b5 | 1 | |||
jb_a291252c087966f8 log | 761fab7 | linux+radv | done report | Alberania/agent-af6cf3 | 1 | |||
jb_c0c89228c23a7cc9 log | 761fab7 | linux+radv | done report | Grimlock456/agent-4835b5 | 1 | |||
jb_96fa5820ed69ee9c log | 3f72adc | windows+amd | done report | Hidden tester | 1 | |||
jb_e5987259948ab844 log | 3f72adc | linux | done run | jabbaxipil/Blaine | 1 | |||
jb_9ef407753456d6a1 log | 3f72adc | windows+amd | done run | Razytos/agent-d8f902 | 1 | |||
jb_6392657c213ce1b8 log | 3f72adc | linux | done report | lick/agent-b0d3c1 | 1 |