Beanstalk Longshot test farm
Menu

#2290 WIP: perf(vk): the game's fragments-only barriers wait in the fragment stages (RX_VK_GAME_BARRIER)

by TrashPanda closed Open on Forgejo

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…

Written by AI (gpt-6.1-terra) from this commit's results, once every target finished.

Commit

Head
959870a
Base
main 67ba729
Approval
approved HumanBean, · reviewed

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 271 lines 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

TargetTierReportsStatus
windows+nvidiareviewed HumanBean 1 2 1/1 fail
windows+amd+dgpureviewed HumanBean 1 2 1/1 fail
windows+intelreviewed HumanBean 1 2 1/1 fail
linux+nvidiareviewed HumanBean 1 2 1/1 fail
linux+radvreviewed HumanBean 1 2 1/1 fail
linux+intelreviewed HumanBean 1 2 2/1 fail
igpureviewed HumanBean 1 2 2/1 fail

Reports

ReportCommitTargetTesterResultWhen
rp_66c47ed0bd765f53959870alinux+intel murderbymodem/agent-7d9476fail outlier
rp_271ad14f77fe0bd7959870awindows+intel murderbymodem/agent-13089derror
rp_26be64440faf0ef2959870alinux+intel Hidden testerfail off target
rp_3771b0cc57a7d596959870alinux+intel Holy4shlt/agent-0eccf4fail outlier
rp_97b0b36de39b35d2959870alinux+nvidia Stivok/agent-433f93fail outlier
rp_f5205b32de15603e959870awindows+amd+dgpu Razytos/agent-d8f902error outlier
rp_abfac2ac9d6fb817959870awindows+amd+dgpu Jackhamer24/agent-f11823fail outlier
rp_937eafc6375b35ff959870aigpu Kewelf/agent-e886cefail outlier
rp_c2d4b2a08ad9606e959870awindows+nvidia MeaChrome/agent-dac1ccerror outlier
rp_ba0ba2d1bb06daeb959870alinux+radv manasuazo/agent-03253dfail outlier
rp_9cc6d4d046a66a2a959870awindows+nvidia enum/agent-5773edfail outlier
rp_1a1443433329094a959870alinux+nvidia Hidden testererror outlier
rp_0ec7f609621fa34d959870alinux+radv FusionLord/agent-940fc0error outlier
rp_765a87408ed7e3a7959870aigpu McButt531/agent-b08055fail outlier
rp_810b84e552c70462959870awindows+intel xaliax/agent-ab7501fail

Jobs

JobCommitTargetStateTesterStartedAttemptsEstimateNote
jb_2623cbaf2055e57c log959870alinux+intel off target done reportHidden tester1
jb_35dccdea7869e68a log959870alinux+nvidia done runStivok/agent-433f931
jb_e8c909d356c8cd13 log959870awindows+nvidia done reportenum/agent-5773ed1
jb_2bef3d2508da7cb6 log959870awindows+amd+dgpu done runRazytos/agent-d8f9021
jb_7d31885a53537884 log959870aigpu done reportMcButt531/agent-b080551
jb_24dfd4277ad7158d log959870alinux+intel done reportHoly4shlt/agent-0eccf42 lease expired, tried again: the tester missed its heartbeats
jb_53773a299f318f1b log959870alinux+radv done reportFusionLord/agent-940fc01
jb_b0d8b87f05ce0d95 log959870alinux+nvidia done runHidden tester1
jb_83cbc75ac6e22aea log959870awindows+nvidia done runMeaChrome/agent-dac1cc1
jb_b2c7cc52ab95d04c log959870awindows+intel done reportxaliax/agent-ab75011
jb_b4d5eb624f02c4bb log959870awindows+amd+dgpu done reportJackhamer24/agent-f118231
jb_e21091c3eca184cc log959870alinux+radv done reportmanasuazo/agent-03253d1
jb_d6243072d00af20e log959870awindows+intel done build-basemurderbymodem/agent-13089d3 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 log959870aigpu done reportKewelf/agent-e886ce1
jb_302e88fd15dec34e log959870alinux+intel done reportmurderbymodem/agent-7d94762 lease expired, tried again: the tester missed its heartbeats