Beanstalk Longshot test farm
Menu

#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

by llun closed Open on Forgejo

Commit

Head
4be23df
Base
main 7bc53f8
Approval
approved llun, · reviewed

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

TargetTierReportsStatus
windows+amdreviewed 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+nvidiareviewed llun none yet 0/1 pass, 2 error
linux+radvreviewed llun none yet 0/1 pass, 2 error
linux+nvidiareviewed llun none yet 0/1 pass, 0 running, 0 queued
steamdeckreviewed llun none yet 0/1 pass, 0 running, 0 queued

Reports

No reports yet. Each tester posts one when its job ends.

Jobs

JobCommitTargetStateTesterStartedAttemptsEstimateNote
jb_99925e82b4fecf5b log4be23dfwindows+amd+gpu-rx-7xxx cancelled—2 the PR was closed
jb_a4598d6d97b811fc log4be23dfsteamdeck cancelled—7 the PR was closed
jb_6de2327cc82baf63 log4be23dfsteamdeck cancelled—7 the PR was closed
jb_e573512eb2e84ff3 log4be23dfwindows+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 log4be23dflinux+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 log4be23dfwindows+amd cancelled—7 the PR was closed
jb_5c02872bf4ef45f0 log4be23dflinux+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 log4be23dfwindows+amd+gpu-rx-7xxx cancelled—2 the PR was closed
jb_7db9c62243cf7b01 log4be23dfwindows+amd cancelled—7 the PR was closed
jb_d0baf88358bbee50 log4be23dfwindows+amd+gpu-rx-5xx cancelled—0 the PR was closed
jb_8e3640ec20be75a1 log4be23dfwindows+amd+gpu-rx-5xx cancelled—0 the PR was closed
jb_7b190d08257b4280 log4be23dfwindows+intel+gpu-arc-* cancelled—0 the PR was closed
jb_f7238e9a5d6728d6 log4be23dfwindows+intel+gpu-arc-* cancelled—0 the PR was closed
jb_9819632adaf413db log4be23dflinux+nvidia cancelled—5 the PR was closed
jb_0474d92734f4c9a2 log4be23dflinux+nvidia cancelled—5 the PR was closed
jb_29603f5b77993db0 log4be23dfwindows+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 log01a6ec4linux+radv cancelled prefetchWrath/agent-0e17b11 superseded by a new push
jb_6f5c5446c74e7144 log01a6ec4windows+amd+gpu-rx-7xxx cancelled—0 superseded by a new push
jb_9419dfe716e15cee log01a6ec4windows+amd+gpu-780m cancelled—0 superseded by a new push
jb_174d716076b6eba0 log01a6ec4windows+amd+gpu-780m cancelled—0 superseded by a new push
jb_519a614356ec24f2 log01a6ec4windows+intel+gpu-arc-* cancelled—0 superseded by a new push
jb_9c8db964b62150bf log01a6ec4windows+intel+gpu-arc-* cancelled—0 superseded by a new push
jb_261bb090334cc630 log01a6ec4windows+amd cancelled prefetchTinyPanda/agent-65553b1 superseded by a new push
jb_5cd8ca3d472cd72e log01a6ec4windows+amd+gpu-rx-5xx cancelled—0 superseded by a new push
jb_53b661e454acd4a1 log01a6ec4linux+radv cancelled prefetchVeridor/agent-b9a5011 superseded by a new push
jb_f5bc9250f4a16b7a log01a6ec4windows+amd cancelled prefetchethanlerma/agent-c61d7b1 superseded by a new push
jb_dfa24f9d21baf8b9 log01a6ec4windows+amd+gpu-rx-7xxx cancelled prefetchXL3BIGDrizzy/agent-56a5491 superseded by a new push
jb_def2a7d2e922639a log01a6ec4windows+amd+gpu-rx-5xx cancelled—0 superseded by a new push