Beanstalk Longshot test farm
Menu

#2212 WIP: perf(vk): with the render thread, a fence of one queue need not wait for the other queues' submissions (RX_VK_ASYNC_FENCES)

by siantm closed Open on Forgejo

Summary

The change failed on Steam Deck, Linux NVIDIA, Linux AMD and Windows AMD; the RTX 4070, Arc B580 and RX 6600 targets passed. On Steam Deck with async fences on, maximum screenshot difference rose from 0.0123 to 0.7126, above the 0.2 limit; on the Linux GTX 1070 it rose from 0.0535 to 0.6982 with fences off and from 0.0989 to 0.7058 with fences on. On the Linux Radeon 760M, the PR’s Forest frame-time p99 increased from 52.704 ms with fences off to 61.998 ms with fences on (+17.6%, above the 15% limit). The Windows RX 7900 XT failure may be specific to that PC: both baseline and candidate crashed in both modes, leaving no usable starts, while the RX 9070 XT report passed.

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

Commit

Head
c314a21
Base
main a2dc538
Approval
approved HumanBean, · reviewed

Plan (gpt-6.1-terra)

Compare threaded rendering with async fences off and on in Kokiri Forest and Hyrule Field

⚠️ Note: The off arm explicitly sets the switch to 0 rather than leaving it unset; the PR describes both as off. Main is repeated across the PR-only switch cells with the switch unset.

⚠️ Note: The one-minute measurements are shorter than requested, and the timed scenes are stationary rather than active play. Two starts per side give less noise resistance than three.

⚠️ Note: The farm cannot run the standalone Linux unit test, detect every transient black frame, prove individual fence ordering, or exercise the window swapchain present path in this headless plan.

In plain words

Compare main with the PR’s async fences off and on in Kokiri Forest and Hyrule Field, with two interleaved starts per side on each requested hardware target. Each start captures a Forest picture 10 seconds after the map loads and measures one minute in each area with threaded rendering enabled; the switch axis also permits a direct comparison of the PR’s two modes. Crashes, fatal or device-lost logs, substantial picture differences, or frame-time regressions beyond the noise margins fail the run. The Arc B580 and RX 6600 targets will wait for matching testers to come online. No tester online now matches windows+intel+gpu-arc-b580: that target waits for one.

Raw plan 197 lines Download plan.json

  "pass" 
    "crash" false
    "compare" 
      
        "axis" "RX_VK_ASYNC_FENCES"
        "side" "pr"
        "value" "1"
        "metric" "frametime_p50_ms"
        "against" "0"
        "max_delta_pct" 10
      
      
        "axis" "RX_VK_ASYNC_FENCES"
        "side" "pr"
        "value" "1"
        "metric" "frametime_p99_ms"
        "against" "0"
        "max_delta_pct" 15
      
    
    "screenshot" 
      "max_diff" 0.2
    
    "frametime_p50_ms" 
      "max_delta_pct" 10
    
    "frametime_p99_ms" 
      "max_delta_pct" 15
    
    "log_forbidden_hits" 
      "max" 0
    
    "frametime_1pct_low_ms" 
      "max_delta_pct" 15
    
  
  "probe" 
    
      "kind" "crash"
    
    
      "kind" "frametime"
    
    
      "kind" "log_match"
      "expected" 
      "forbidden" 
        "FATAL"
        "device lost"
        "[Vv]alidation [Ee]rror"
      
    
  
  "matrix" 
    "pr_only" 
      "RX_VK_ASYNC_FENCES" 
        "0"
        "1"
      
    
  
  "schema" 8
  "target" 
    
      "gpu" 
        "rtx 4070"
      
      "name" "windows+nvidia+gpu-rtx-4070"
      "tags" 
        "windows"
        "nvidia"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "gpu" 
        "arc b580"
      
      "name" "windows+intel+gpu-arc-b580"
      "tags" 
        "windows"
        "intel"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "gpu" 
        "rx 6600"
      
      "name" "linux+radv+gpu-rx-6600"
      "tags" 
        "linux"
        "radv"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "steamdeck"
      "tags" 
        "steamdeck"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "linux+nvidia"
      "tags" 
        "linux"
        "nvidia"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "linux+amd"
      "tags" 
        "linux"
        "amd"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "windows+amd"
      "tags" 
        "windows"
        "amd"
      
      "max_reports" 2
      "min_reports" 1
    
  
  "summary" "Compare threaded rendering with async fences off and on in Kokiri Forest and Hyrule Field"
  "baseline" 
    "ref" "main"
  
  "scenario" 
    
      "env" 
        "RX_VK_ASYNC" "1"
      
      "name" "forest-field"
      "runs" 2
      "step" 
        
          "do" "teleport"
          "to" "KokiriForest_Child"
        
        
          "do" "wait"
          "map" "KokiriForest_Child"
          "event" "map"
          "timeout_s" 90
        
        
          "do" "wait_s"
          "seconds" 10
        
        
          "do" "shot"
          "name" "forest"
          "upload" false
          "compare" "baseline"
        
        
          "do" "measure"
          "name" "forest"
          "warmup_s" 5
          "duration_s" 60
        
        
          "do" "teleport"
          "to" "HyruleField_Child"
        
        
          "do" "wait"
          "map" "HyruleField_Child"
          "event" "map"
          "timeout_s" 90
        
        
          "do" "measure"
          "name" "field"
          "warmup_s" 5
          "duration_s" 60
        
      
      "start" "save:kokiri-start"
      "matrix" true
      "settings" 
    
  

Targets

TargetTierReportsStatus
windows+nvidia+gpu-rtx-4070 GPU "rtx 4070"reviewed HumanBean 1 2 2/1 pass
windows+intel+gpu-arc-b580 GPU "arc b580"reviewed HumanBean 1 1/1 pass
linux+radv+gpu-rx-6600 GPU "rx 6600"reviewed HumanBean 1 2 2/1 pass
steamdeckreviewed HumanBean 1 2 1/1 fail
linux+nvidiareviewed HumanBean 1 2 1/1 fail
linux+amdreviewed HumanBean 1 2 1/1 fail
windows+amdreviewed HumanBean 1 2 1/1 fail

Reports

ReportCommitTargetTesterResultWhen
rp_b5aed931bd41da27c314a21windows+nvidia+gpu-rtx-4070 Erv349/agent-8dac98pass outlier
rp_1b767f8262e5de71c314a21linux+radv+gpu-rx-6600 deiphiz/agent-c14bfapass outlier
rp_c0bf04eed60e38cbc314a21steamdeck AlbertoLuna/agent-f5e6eafail outlier
rp_3bde5adc95bcafb5c314a21windows+intel+gpu-arc-b580 xaliax/agent-ab7501pass
rp_8167053f9c6a9cb0c314a21windows+amd nanreh/agent-0f15c6fail
rp_360001960c4af809c314a21linux+amd Hidden testerfail outlier
rp_844bb1d896a94c44c314a21linux+nvidia Nerdtality/agent-0452e3fail outlier
rp_61b9fcb5b7198fefc314a21windows+amd Hellknight/agent-ff6c58pass
rp_15893045124a7c03c314a21steamdeck Wrath/agent-0e17b1pass outlier
rp_d576da7b1dab96dfc314a21linux+nvidia Hidden testerpass outlier
rp_0547b5256abee572c314a21linux+radv+gpu-rx-6600 manoouuu/agent-249cbcpass outlier
rp_1752610a672d4399c314a21windows+nvidia+gpu-rtx-4070 enum/agent-5773edpass outlier
rp_ce83e0aa20454d9fc314a21linux+amd FusionLord/agent-940fc0pass outlier

Jobs

JobCommitTargetStateTesterStartedAttemptsEstimateNote
jb_6169d1b405d3c1f2 logc314a21windows+intel+gpu-arc-b580 off target cancelled build-basePoPuP/agent-f155991 stopped by the tester: you stopped testing
jb_444f661323ee837c logc314a21windows+intel+gpu-arc-b580 cancelled—1 the PR was closed
jb_c38660fac7455add logc314a21linux+amd done reportFusionLord/agent-940fc01
jb_356e13784555e97e logc314a21steamdeck done reportAlbertoLuna/agent-f5e6ea1
jb_28d6a267b1f56a8f logc314a21windows+amd done runHellknight/agent-ff6c581
jb_337dabc115688c39 logc314a21windows+amd done reportnanreh/agent-0f15c62 lease expired, tried again: the tester missed its heartbeats
jb_7170d1fe8e61a718 logc314a21linux+amd done reportHidden tester1
jb_1558429776fbe2fb logc314a21linux+radv+gpu-rx-6600 done reportdeiphiz/agent-c14bfa1
jb_22469713a749580a logc314a21windows+nvidia+gpu-rtx-4070 done runenum/agent-5773ed1
jb_482159f0275ada19 logc314a21linux+radv+gpu-rx-6600 done reportmanoouuu/agent-249cbc1
jb_eaaf1093d0d66050 logc314a21steamdeck done reportWrath/agent-0e17b11
jb_2384b31ae736f816 logc314a21linux+nvidia done runNerdtality/agent-0452e31
jb_972afeb20ab8aaf2 logc314a21linux+nvidia done runHidden tester1
jb_345ed4c2e74dc534 logc314a21windows+intel+gpu-arc-b580 done reportxaliax/agent-ab75011
jb_b21b1336855913e1 logc314a21windows+nvidia+gpu-rtx-4070 done reportErv349/agent-8dac982 stopped by the tester: you stopped testing