Test chamber / Run
Run a benchmark
Configure your run
Save the config to base/, close other GPU workloads, then run the generated
command with your executable and game-data paths.
Pre-Turing NVIDIA? Select OpenCL. CUDA requires Turing or newer regardless of driver version. Fallback requirements.
Use Reset to standard v1 and stock assets for comparable runs. Captured FPS measures fully converged demo frames, not gameplay. Capped runs use 30 Hz pacing.
Console commands, scripts and image captures
r_ptBenchmark <demo> <spp> [uncapped] [save_image 0|1] and
r_glBenchmark <demo> [uncapped] [save_image 0|1] take the options in any order;
save_image defaults to 1. With headless (--headless) the engine needs no window or
display (Linux: offscreen EGL; Windows: a hidden window) and quits after the run with exit
code 0 (completed), 1 (aborted) or 2 (did not start).
For an OpenGL reference, run the same demo with OpenGL:
r_glBenchmark demo1 uncapped save_image 0
Scripted runs
benchmark.sh (Linux) and benchmark.bat (Windows) in the engine repository run both
binaries headless: an OpenGL baseline, then each preset on every available backend, at
1280x1024. Each run gets its own folder with the console log, report, telemetry and frames:
./benchmark.sh demo1
Image pairs
With save_image 1, pair images by frame number, not run number:
screenshots/ptbench/demo1/8spp_run_NNNNN/frame_000001_8spp.png
screenshots/glbench/demo1/run_NNNNN/frame_000001.png
Match the resolution, use r_ptRenderScale 1, the same camera FOV, and disable physical
depth of field for pinhole framing.
Use r_ptAbort or r_glAbort to stop without losing images. Don’t append quit;
headless runs exit automatically.
