#2290 WIP: perf(vk): the game's fragments-only barriers wait in the fragment stages (RX_VK_GAME_BARRIER)
Summary
The farm failed the PR on all seven targets: Windows NVIDIA, AMD discrete and Intel; Linux NVIDIA, RADV and Intel; and integrated GPUs. In normal performance runs, Linux NVIDIA Forest frame time p99 rose 15.766 → 18.577 ms (+17.8%), Linux RADV Market GPU time rose 19.27 → 23.87 ms (+23.9%), and the 760M integrated GPU's Field frame time p99 rose 364.813 → 4852.628 ms (+1230.2%); screenshot mismatches also failed on Windows NVIDIA and the 760M. Census runs, with diagnostics enabled only on the PR, also showed regressions, including 890M Market frame time p99 32.016 → 41.576 ms (+29.9%); Windows AMD and Intel each crashed twice on both sides, while Linux Intel recorded one baseline and two PR…
Commit
Plan (gpt-6.1-terra)
Compare barrier performance and census hazards in three scenes
⚠️ Note: The census adds PR-only diagnostic overhead, so its frame-time and GPU-time comparisons are not clean performance measurements; use the separate performance scenario for that judgment.
⚠️ Note: Census report availability is unjudged in the performance scenario, where the diagnostic is intentionally off; the census checks reported hazard details but cannot prove all possible synchronization hazards absent.
⚠️ Note: Stationary screenshots can catch picture differences but cannot reliably detect intermittent flicker; the small claimed gains may be indistinguishable from farm noise.
In plain words
On Windows NVIDIA, AMD discrete and Intel GPUs, and on Linux NVIDIA, RADV, Intel and integrated GPUs, compare the PR with main in Kokiri Forest, Hyrule Field and the Market. Two starts per side measure 30 seconds per scene for performance, and two further starts run the PR's barrier census for 20 seconds per scene. The plan checks frame times, GPU time, stationary pictures, census hazard messages and crashes; a significant regression, picture mismatch, reported hazard or crash fails the PR. The census run enables its diagnostic switch only on the PR, while the performance run uses normal defaults.
Raw plan Download plan.json
{
"pass": {
"crash": false,
"screenshot": {
"max_diff": 0.2
},
"gpu_total_ms": {
"max_delta_pct": 15
},
"frametime_p99_ms": {
"max_delta_pct": 15
},
"log_forbidden_hits": {
"max": 0
},
"log_expected_missing": {
"max": 0
},
"frametime_1pct_low_ms": {
"max_delta_pct": 15
}
},
"probe": [
{
"kind": "crash"
},
{
"kind": "frametime"
},
{
"kind": "gpu_passes"
},
{
"kind": "log_match",
"missing": "unjudged",
"expected": [
"game barrier census \\(120 presents"
],
"forbidden": [
"game barrier census: .* (before|after) a fragments-only barrier"
]
}
],
"matrix": {
"pr_only": {
"RX_VK_GAME_BARRIER_CENSUS": [
"1"
]
}
},
"schema": 10,
"target": [
{
"name": "windows+nvidia",
"tags": [
"windows",
"nvidia"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "windows+amd+dgpu",
"tags": [
"windows",
"amd",
"dgpu"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "windows+intel",
"tags": [
"windows",
"intel"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "linux+nvidia",
"tags": [
"linux",
"nvidia"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "linux+radv",
"tags": [
"linux",
"radv"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "linux+intel",
"tags": [
"linux",
"intel"
],
"max_reports": 2,
"min_reports": 1
},
{
"name": "igpu",
"tags": [
"igpu"
],
"max_reports": 2,
"min_reports": 1
}
],
"summary": "Compare barrier performance and census hazards in three scenes",
"baseline": {
"ref": "main"
},
"scenario": [
{
"env": {},
"name": "performance",
"runs": 2,
"step": [
{
"do": "teleport",
"to": "KokiriForest_Child"
},
{
"do": "wait",
"map": "KokiriForest_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "wait_s",
"seconds": 2
},
{
"do": "shot",
"name": "forest",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "forest",
"warmup_s": 5,
"duration_s": 30
},
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "wait_s",
"seconds": 2
},
{
"do": "shot",
"name": "field",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "field",
"warmup_s": 5,
"duration_s": 30
},
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "wait_s",
"seconds": 2
},
{
"do": "shot",
"name": "market",
"upload": false,
"compare": "baseline"
},
{
"do": "measure",
"name": "market",
"warmup_s": 5,
"duration_s": 30
}
],
"start": "save:kokiri-start",
"matrix": false,
"settings": {
"frame_rate_cap": 6
}
},
{
"env": {},
"name": "census",
"runs": 2,
"step": [
{
"do": "teleport",
"to": "KokiriForest_Child"
},
{
"do": "wait",
"map": "KokiriForest_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "measure",
"name": "forest",
"warmup_s": 5,
"duration_s": 20
},
{
"do": "teleport",
"to": "HyruleField_Child"
},
{
"do": "wait",
"map": "HyruleField_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "measure",
"name": "field",
"warmup_s": 5,
"duration_s": 20
},
{
"do": "teleport",
"to": "Market_Child"
},
{
"do": "wait",
"map": "Market_Child",
"event": "map",
"timeout_s": 60
},
{
"do": "measure",
"name": "market",
"warmup_s": 5,
"duration_s": 20
}
],
"start": "save:kokiri-start",
"matrix": true,
"settings": {}
}
]
}
Targets
| Target | Tier | Reports | Status |
|---|---|---|---|
| windows+nvidia | reviewed HumanBean | 1 2 | 1/1 fail |
| windows+amd+dgpu | reviewed HumanBean | 1 2 | 1/1 fail |
| windows+intel | reviewed HumanBean | 1 2 | 1/1 fail |
| linux+nvidia | reviewed HumanBean | 1 2 | 1/1 fail |
| linux+radv | reviewed HumanBean | 1 2 | 1/1 fail |
| linux+intel | reviewed HumanBean | 1 2 | 2/1 fail |
| igpu | reviewed HumanBean | 1 2 | 2/1 fail |
Reports
Jobs
| Job | Commit | Target | State | Tester | Started | Attempts | Estimate | Note |
|---|---|---|---|---|---|---|---|---|
jb_2623cbaf2055e57c log | 959870a | linux+intel off target | done report | Hidden tester | 1 | |||
jb_35dccdea7869e68a log | 959870a | linux+nvidia | done run | Stivok/agent-433f93 | 1 | |||
jb_e8c909d356c8cd13 log | 959870a | windows+nvidia | done report | enum/agent-5773ed | 1 | |||
jb_2bef3d2508da7cb6 log | 959870a | windows+amd+dgpu | done run | Razytos/agent-d8f902 | 1 | |||
jb_7d31885a53537884 log | 959870a | igpu | done report | McButt531/agent-b08055 | 1 | |||
jb_24dfd4277ad7158d log | 959870a | linux+intel | done report | Holy4shlt/agent-0eccf4 | 2 | lease expired, tried again: the tester missed its heartbeats | ||
jb_53773a299f318f1b log | 959870a | linux+radv | done report | FusionLord/agent-940fc0 | 1 | |||
jb_b0d8b87f05ce0d95 log | 959870a | linux+nvidia | done run | Hidden tester | 1 | |||
jb_83cbc75ac6e22aea log | 959870a | windows+nvidia | done run | MeaChrome/agent-dac1cc | 1 | |||
jb_b2c7cc52ab95d04c log | 959870a | windows+intel | done report | xaliax/agent-ab7501 | 1 | |||
jb_b4d5eb624f02c4bb log | 959870a | windows+amd+dgpu | done report | Jackhamer24/agent-f11823 | 1 | |||
jb_e21091c3eca184cc log | 959870a | linux+radv | done report | manasuazo/agent-03253d | 1 | |||
jb_d6243072d00af20e log | 959870a | windows+intel | done build-base | murderbymodem/agent-13089d | 3 | build-pr: git in the sandbox cannot read Longshot's checkout, so the build can't start (fail git rev-parse HEAD exited 128; fatal: Unable to read current working directory: Permission denied; readable .git True; readable .git\HEAD True; readable .git\objects True). On this PC, `git -C <the data folder>\longshot rev-parse HEAD` shows the same, and that folder's permissions are the usual cause | ||
jb_712f786e5044d8f9 log | 959870a | igpu | done report | Kewelf/agent-e886ce | 1 | |||
jb_302e88fd15dec34e log | 959870a | linux+intel | done report | murderbymodem/agent-7d9476 | 2 | lease expired, tried again: the tester missed its heartbeats |