Beanstalk Longshot test farm
Menu

#3217 perf(vk): read the picture's own pixel for the window filter at the window's own size

by klimovich008 closed Open on Forgejo

Commit

Head
e086045
Base
main f359e26
Approval
approved klimovich008, · reviewed

Plan (gpt-6.1-terra)

Compare 1:1 Lanczos output and performance in the Market on discrete GPUs

⚠️ Note: The expected log rule judges the PR only; main's mode-2 log is recorded but cannot be required by that rule.

⚠️ Note: GPU total time is measured rather than the scaler pass alone, and a CPU-limited run may hide an in-game frame-time gain.

⚠️ Note: The Deck's letterboxed Game Mode presentation and Native HDR output are not covered by this headless desktop plan.

In plain words

The plan compares the PR with main in the Market at 1920x1080 headless output, using Lanczos at 1:1 and uncapped rendering. Three starts per side measure 30 seconds of frame and GPU time and compare a stationary picture on Windows and Linux discrete GPUs from NVIDIA, AMD and Intel. A missing PR mode-3 dispatch log, crash, device loss, material picture difference, or frame-time or GPU-time regression beyond the allowed noise fails the test. Targets without a matching online discrete GPU will wait for a volunteer. No tester online now matches windows+intel+dgpu, linux+intel+dgpu: those targets wait for one.

Asked for

windows and linux, PCs with a discrete GPU (NVIDIA, AMD and Intel, whichever are free), this PR's head and main, at the farm's own 1920x1080 headless output with Render resolution 100 %, so the picture is the output's size (1:1): Window scaling filter Lanczos (`LONGSHOT_SET=system/graphics:upscaling=2,system/graphics:resolution=1`), uncapped (`frame_rate_cap = 6`, `vsync = 2`, `frame_generation = 0`), `RX_VK_UPSCALE_LOG=1`, the Market, three starts a side. Expect `upscale dispatched: mode 3 (the filter 2)` in this PR's log (main logs `mode 2`); the same pictures; frame times and GPU time the same or better within the noise; no crash or device loss. One-start metrics (`run_hitch_count`, `run_frametime_max_ms`) report-only.

Raw plan 159 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"
      "expected" 
        "upscale dispatched: mode 3 \\(the filter 2\\), source 1920x1080.*destination 1920x1080"
      
      "forbidden" 
        "vk: device lost"
      
    
  
  "matrix" 
  "schema" 3
  "target" 
    
      "name" "windows+nvidia+dgpu"
      "tags" 
        "windows"
        "nvidia"
        "dgpu"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "linux+nvidia+dgpu"
      "tags" 
        "linux"
        "nvidia"
        "dgpu"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "windows+amd+dgpu"
      "tags" 
        "windows"
        "amd"
        "dgpu"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "linux+amd+dgpu"
      "tags" 
        "linux"
        "amd"
        "dgpu"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "windows+intel+dgpu"
      "tags" 
        "windows"
        "intel"
        "dgpu"
      
      "max_reports" 2
      "min_reports" 1
    
    
      "name" "linux+intel+dgpu"
      "tags" 
        "linux"
        "intel"
        "dgpu"
      
      "max_reports" 2
      "min_reports" 1
    
  
  "summary" "Compare 1:1 Lanczos output and performance in the Market on discrete GPUs"
  "baseline" 
    "ref" "main"
  
  "scenario" 
    
      "env" 
        "HOS_OUTPUT_RES" "1920x1080"
        "RX_VK_AUTO_TUNE" "0"
      
      "name" "market-lanczos"
      "runs" 3
      "step" 
        
          "do" "teleport"
          "to" "Market_Child"
        
        
          "do" "wait"
          "map" "Market_Child"
          "event" "map"
          "timeout_s" 60
        
        
          "do" "wait_s"
          "seconds" 3
        
        
          "do" "shot"
          "name" "market"
          "upload" false
          "compare" "baseline"
        
        
          "do" "measure"
          "name" "market"
          "warmup_s" 10
          "duration_s" 30
        
      
      "start" "save:market-entrance"
      "matrix" true
      "settings" 
        "vsync" 2
        "upscaling" 2
        "resolution" 1
        "frame_rate_cap" 6
        "quality_preset" 0
        "frame_generation" 0
      
    
  

Targets

TargetTierReportsStatus
windows+nvidia+dgpureviewed klimovich008 none yet 0/1 pass, 2 error
linux+nvidia+dgpureviewed klimovich008 none yet 0/1 pass, 0 running, 0 queued
windows+amd+dgpureviewed klimovich008 none yet 0/1 pass, 2 error
linux+amd+dgpureviewed klimovich008 none yet 0/1 pass, 1 error
windows+intel+dgpureviewed klimovich008 none yet 0/1 pass, 0 running, 0 queued
linux+intel+dgpureviewed klimovich008 none yet 0/1 pass, 0 running, 0 queued

Reports

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

Jobs

JobCommitTargetStateTesterStartedAttemptsEstimateNote
jb_fd9a1c3b40ef32da loge086045windows+nvidia+dgpu 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_9d770eb608cf86b9 loge086045windows+intel+dgpu cancelled—0 the PR was closed
jb_c54d07a772bd3207 loge086045windows+intel+dgpu cancelled—0 the PR was closed
jb_7e92b6a900961f40 loge086045linux+intel+dgpu cancelled—0 the PR was closed
jb_70aadc6690b70940 loge086045linux+intel+dgpu cancelled—0 the PR was closed
jb_9cdddc5da10b8515 loge086045linux+amd+dgpu cancelled—9 the PR was closed
jb_d0d3845e7c077507 loge086045windows+amd+dgpu error—8 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_56e666b6fd929956 loge086045linux+amd+dgpu error—8 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_bc5e1f8caf8b81ee loge086045windows+amd+dgpu error—8 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_e5f856fa1fb656ef loge086045windows+nvidia+dgpu 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_00e694221715b6c5 loge086045linux+nvidia+dgpu cancelled—7 the PR was closed
jb_248cf2e054c91958 loge086045linux+nvidia+dgpu cancelled—7 the PR was closed