Profiles: read the engine optimizer's result files (format summit-optimize, version 1), defensively

The fixture was written by the optimizer branch's own writer with its test measurer: the
format is real, the numbers are not measurements.
This commit is contained in:
alex committed 2026-11-26 06:12:36 +00:00
1 parent aea72d552e
commit ebdc989bf0
7 files changed
+1165 -1

No files matched your search

+204 -1
View File
@@ -1 +1,204 @@
//! placeholder, written below
//! The engine's optimizer results, read for the launcher.
//!
//! The engine's `--optimize` benchmark (engine/framegen/optimize.py, docs/optimizer.md) measures configurations in a
//! running session and writes what met the goal, best first, as `summit-optimize-<time>.json` (and a copy of the
//! newest as `latest.json`) under its data folder: `~/.local/share/smoovplay/optimize`. Format "summit-optimize",
//! version 1: `top` holds up to three entries, each with a `label`, the engine `settings` it is and what was
//! `measured`.
//!
//! The files are another program's, so they are read defensively: a file that is not one of these, has no version or
//! cannot be parsed is reported and skipped; a field that is missing or of another type is left out; a setting whose
//! value is not a plain value is not taken. Nothing here runs the benchmark.
use crate::profile::Layer;
use serde_json::Value;
use std::collections::BTreeMap;
use std::path::{Path, PathBuf};
pub const FORMAT: &str = "summit-optimize";
/// The newest version this reader was written against.
pub const VERSION: u64 = 1;
/// One measured configuration that met the goal.
#[derive(Debug, Clone, PartialEq, Default)]
pub struct Pick {
pub rank: u64,
pub label: String,
/// Engine settings by the engine's key, as the file has them.
pub settings: BTreeMap<String, Value>,
/// What was measured, in words: "avg 119.6 fps", "1% low 112", "delay 38 ms", "load 71%".
pub numbers: Vec<String>,
pub why: String,
}
#[derive(Debug, Clone, PartialEq, Default)]
pub struct ResultFile {
pub file: PathBuf,
pub version: u64,
/// When it was written (unix seconds; 0 when the file does not say).
pub when: u64,
/// The game it was measured in, when Summit started it.
pub game: Option<String>,
pub goal: String,
pub machine: String,
/// The display it was measured on, "1920x1080".
pub display: String,
/// Something met the goal.
pub met: bool,
/// Why there may be nothing to apply: cancelled, an error, a newer format.
pub note: String,
pub top: Vec<Pick>,
}
fn num(v: &Value) -> Option<f64> { v.as_f64().filter(|x| x.is_finite()) }
fn text(v: Option<&Value>) -> String { v.and_then(Value::as_str).unwrap_or_default().trim().to_string() }
fn short(x: f64) -> String { if (x - x.round()).abs() < 0.05 { format!("{x:.0}") } else { format!("{x:.1}") } }
fn pick(v: &Value, i: usize) -> Option<Pick> {
let o = v.as_object()?;
let settings: BTreeMap<String, Value> = o.get("settings").and_then(Value::as_object).map(|m| m.iter()
.filter(|(k, v)| !k.is_empty() && k.chars().all(|c| c.is_ascii_alphanumeric() || c == '_') && (v.is_boolean() || v.is_string() || num(v).is_some()))
.map(|(k, v)| (k.clone(), v.clone())).collect()).unwrap_or_default();
if settings.is_empty() { return None; } // nothing that could be applied
let me = o.get("measured").and_then(Value::as_object);
let get = |k: &str| me.and_then(|m| m.get(k)).and_then(num);
let mut numbers = vec![];
if let Some(x) = get("fps_avg") { numbers.push(format!("avg {} fps", short(x))); }
if let Some(x) = get("low1") { numbers.push(format!("1% low {}", short(x))); }
if let Some(x) = get("delay_ms") { numbers.push(format!("delay {} ms", short(x))); }
if let Some(x) = get("load") { numbers.push(format!("load {}%", short(x * 100.0))); }
let label = text(o.get("label"));
Some(Pick {
rank: o.get("rank").and_then(Value::as_u64).unwrap_or(i as u64 + 1),
label: if label.is_empty() { settings.iter().map(|(k, v)| format!("{k}={}", crate::registry::plain(v))).collect::<Vec<_>>().join(", ") } else { label },
settings, numbers, why: text(o.get("why")),
})
}
/// One result file's text. Err says why it is not read.
pub fn parse(json: &str, file: &Path) -> Result<ResultFile, String> {
let v: Value = serde_json::from_str(json).map_err(|e| format!("not JSON ({e})"))?;
let o = v.as_object().ok_or("not a JSON object")?;
if o.get("format").and_then(Value::as_str) != Some(FORMAT) { return Err(format!("not an optimizer result (no \"format\": \"{FORMAT}\")")); }
let version = o.get("version").and_then(Value::as_u64).ok_or("no version number")?;
let top: Vec<Pick> = o.get("top").and_then(Value::as_array).map(|a| a.iter().enumerate().filter_map(|(i, t)| pick(t, i)).take(3).collect()).unwrap_or_default();
let mut notes = vec![];
if version > VERSION { notes.push(format!("Written in a newer format (version {version}; this Summit knows {VERSION}): read as far as it is understood.")); }
if o.get("cancelled").and_then(Value::as_bool) == Some(true) { notes.push("The run was cancelled.".to_string()); }
let err = text(o.get("error"));
if !err.is_empty() { notes.push(format!("The run ended with an error: {err}")); }
let met = o.get("met").and_then(Value::as_bool).unwrap_or(!top.is_empty()) && !top.is_empty();
if !met && notes.is_empty() { notes.push("Nothing that was measured met the goal.".to_string()); }
let sub = |k: &str, f: &str| text(o.get(k).and_then(|x| x.get(f)));
Ok(ResultFile {
file: file.to_path_buf(), version, when: o.get("created_unix").and_then(Value::as_u64).unwrap_or(0),
game: Some(text(o.get("game"))).filter(|g| !g.is_empty()),
goal: sub("goal", "text"), machine: sub("machine", "text"), display: sub("machine", "display"),
met, note: notes.join(" "), top,
})
}
/// Where results are looked for: `SUMMIT_OPTIMIZE_DIR`, then the engine's data folder.
pub fn dirs() -> Vec<PathBuf> {
let mut v: Vec<PathBuf> = std::env::var_os("SUMMIT_OPTIMIZE_DIR").filter(|d| !d.is_empty()).map(PathBuf::from).into_iter().collect();
if let Some(d) = dirs::data_dir() { v.push(d.join("smoovplay/optimize")); }
v
}
/// Every result in `dirs`, newest first, and the files that could not be read with why. `latest.json` is a copy of
/// the newest result: it is only read when no other file holds the same run.
pub fn read(dirs: &[PathBuf]) -> (Vec<ResultFile>, Vec<(PathBuf, String)>) {
let (mut good, mut bad): (Vec<ResultFile>, Vec<(PathBuf, String)>) = (vec![], vec![]);
for d in dirs {
let mut files: Vec<PathBuf> = std::fs::read_dir(d).into_iter().flatten().flatten().map(|e| e.path())
.filter(|p| p.extension().and_then(|x| x.to_str()) == Some("json")).collect();
// latest.json last, so the dated file it copies is the one kept
files.sort_by_key(|p| (p.file_name().and_then(|n| n.to_str()) == Some("latest.json"), p.clone()));
for f in files.into_iter().take(200) {
// (a result is a few kB; anything huge is not one)
if std::fs::metadata(&f).map(|m| m.len() > 4 << 20).unwrap_or(true) { bad.push((f, "too large to be a result".into())); continue; }
match std::fs::read_to_string(&f).map_err(|e| e.to_string()).and_then(|t| parse(&t, &f)) {
Ok(r) => { if !good.iter().any(|g| ResultFile { file: PathBuf::new(), ..g.clone() } == ResultFile { file: PathBuf::new(), ..r.clone() }) { good.push(r); } }
Err(e) => bad.push((f, e)),
}
}
}
good.sort_by(|a, b| b.when.cmp(&a.when).then(b.file.cmp(&a.file)));
(good, bad)
}
impl Pick {
/// Put this configuration's settings into a layer (a profile's, or an Individual game's). The result is a
/// measured, concrete configuration: it pins the frame multiplier and the output size.
pub fn apply_to(&self, l: &mut Layer) {
for (k, v) in &self.settings { l.set_engine(k, Some(v)); }
}
/// The same settings as a new layer.
pub fn layer(&self) -> Layer { let mut l = Layer::default(); self.apply_to(&mut l); l }
}
#[cfg(test)]
mod tests {
use super::*;
fn fixture() -> PathBuf { Path::new(env!("CARGO_MANIFEST_DIR")).join("tests/fixtures/optimize") }
#[test]
fn reads_a_result_in_the_engines_own_format() {
// Written by the optimizer branch's own code (Search + write_result) with its test measurer: the format is
// the engine's, the numbers are that fake measurer's, not a measurement.
let (all, bad) = read(&[fixture()]);
assert_eq!(bad.len(), 3, "{bad:?}"); // the three broken files beside it
assert_eq!(all.len(), 1, "latest.json is the same run: {all:?}");
let r = &all[0];
assert_eq!((r.version, r.met, r.top.len()), (1, true, 3));
assert!(r.file.file_name().unwrap().to_string_lossy().starts_with("summit-optimize-"));
assert_eq!(r.game.as_deref(), Some("Voidrunner"));
assert!(!r.goal.is_empty() && !r.machine.is_empty() && r.when > 0, "{r:?}");
let first = &r.top[0];
assert_eq!(first.rank, 1);
assert!(!first.label.is_empty() && first.numbers.iter().any(|n| n.starts_with("avg ") && n.ends_with(" fps")), "{first:?}");
for k in ["interp", "hz", "model", "motion", "scaler", "output_res", "aa"] { assert!(first.settings.contains_key(k), "{k}"); }
// applying it gives a layer the planner passes to the engine, and pins what a native profile left open
let mut l = Layer { rate: Some("native".into()), ..Default::default() };
first.apply_to(&mut l);
assert!(l.rate.is_none());
let p = crate::profile::resolve(&[&l]);
let forced = crate::registry::forced(&p);
assert_eq!(forced.get("hz"), first.settings.get("hz"));
assert_eq!(forced.get("output_res"), first.settings.get("output_res"));
let argv = crate::engine::plan(Path::new("/e"), &crate::engine::Source::Window("x".into()), &p, true, None, None).join(" ");
assert!(argv.contains(&format!("--set=hz={}", first.settings["hz"])), "{argv}");
}
#[test]
fn odd_files_are_skipped_or_read_as_far_as_they_go() {
let f = Path::new("x.json");
assert!(parse("not json", f).is_err());
assert!(parse("[1, 2]", f).is_err());
assert!(parse(r#"{"format": "summit-session", "version": 1}"#, f).unwrap_err().contains("not an optimizer result"));
assert!(parse(r#"{"format": "summit-optimize"}"#, f).unwrap_err().contains("version"));
assert!(parse(r#"{"format": "summit-optimize", "version": "one"}"#, f).is_err());
// nothing met the goal
let r = parse(r#"{"format": "summit-optimize", "version": 1, "met": false, "top": [], "closest": {"label": "x"}}"#, f).unwrap();
assert!(!r.met && r.top.is_empty() && r.note.contains("Nothing"));
// cancelled, with an error
let r = parse(r#"{"format": "summit-optimize", "version": 1, "cancelled": true, "error": "the game closed", "top": []}"#, f).unwrap();
assert!(r.note.contains("cancelled") && r.note.contains("the game closed"));
// a newer version, fields of other types, settings that are not plain values, more than three entries
let r = parse(r#"{"format": "summit-optimize", "version": 7, "game": 12, "goal": "fast", "machine": {"text": ["a"]}, "created_unix": "soon", "met": true, "top": [
{"rank": "first", "label": 5, "settings": {"hz": 120, "scaler": "fsr", "bad key!": 1, "nested": {"a": 1}, "list": [1], "nan": null, "interp": true}, "measured": {"fps_avg": "fast", "low1": 101.26, "load": 0.5}, "why": null},
{"settings": {}}, "junk", {"settings": {"hz": 60}}, {"settings": {"hz": 90}}, {"settings": {"hz": 150}}, {"settings": {"hz": 180}}]}"#, f).unwrap();
assert_eq!(r.version, 7);
assert!(r.note.contains("newer format"));
assert_eq!((r.game.clone(), r.goal.as_str(), r.machine.as_str(), r.when), (None, "", "", 0));
assert_eq!(r.top.len(), 3);
let t = &r.top[0];
assert_eq!(t.settings.keys().map(String::as_str).collect::<Vec<_>>(), ["hz", "interp", "scaler"]);
assert_eq!((t.rank, t.label.as_str()), (1, "hz=120, interp=On, scaler=fsr"));
assert_eq!(t.numbers, ["1% low 101.3", "load 50%"]);
assert_eq!(r.top[1].settings["hz"], serde_json::json!(60));
// no folder at all
assert_eq!(read(&[PathBuf::from("/nonexistent/optimize")]), (vec![], vec![]));
}
}
+4
View File
@@ -0,0 +1,4 @@
`summit-optimize-*.json` and `latest.json` here were written by the optimizer's own code (branch ap/optimizer,
`framegen.optimize.Search` + `write_result`) driven by that branch's **test measurer** (`tests/test_optimize.py
fake_measure`, a made-up cost model). The format is the engine's; the numbers are not measurements.
The other three files are broken on purpose.
@@ -0,0 +1 @@
not json at all
+477
View File
@@ -0,0 +1,477 @@
{
"format": "summit-optimize",
"version": 1,
"created": "2026-11-26T06:12:10",
"created_unix": 1795673530,
"game": "Voidrunner",
"goal": {
"min_resolution": "1920x1080",
"min_fps": 60,
"max_delay_ms": null,
"priority": "quality",
"text": "at least 1080p at 60 fps; priority quality"
},
"machine": {
"display_hz": 144,
"src_fps": 30,
"vsr": true,
"vfg": false,
"trt": true,
"max_mult": 10,
"motion_fixed": null,
"model_fixed": null,
"restarts": true,
"display": "2560x1440",
"source": "1920x1080",
"text": "display 1440p at 144 Hz, game 1920x1080 at 30 fps"
},
"budget_s": 300,
"elapsed_s": 70.0,
"restarts": 1,
"cancelled": false,
"error": null,
"met": true,
"top": [
{
"rank": 1,
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, SMAA-style",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "smaa"
},
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.57,
"stages": {
"interp": 6.0
},
"load": 0.64,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
},
"why": "The best picture by the ranking that held the minimums (1% low 60 fps)."
},
{
"rank": 2,
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, FXAA",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "fxaa"
},
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.35,
"stages": {
"interp": 6.0
},
"load": 0.59,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
},
"why": "Also passed; ranked below #1 for a plainer picture."
},
{
"rank": 3,
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "off"
},
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.23,
"stages": {
"interp": 6.0
},
"load": 0.56,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
},
"why": "Also passed; ranked below #1 for a plainer picture."
}
],
"closest": null,
"failures": [],
"tried": [
{
"label": "1080p, 2x (60 fps), AMD FSR 1, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "fsr",
"vsr_quality": 2,
"output_res": "1920x1080",
"aa": "off"
},
"step": "the cheapest configuration that meets the minimums",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 20.74,
"stages": {
"interp": 6.0
},
"load": 0.19,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), AMD FSR 1, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "fsr",
"vsr_quality": 2,
"output_res": "2560x1440",
"aa": "off"
},
"step": "output resolution up to the display's",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 20.76,
"stages": {
"interp": 6.0
},
"load": 0.19,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Low, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 1,
"output_res": "2560x1440",
"aa": "off"
},
"step": "RTX VSR instead of FSR 1",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.23,
"stages": {
"interp": 6.0
},
"load": 0.31,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Medium, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 2,
"output_res": "2560x1440",
"aa": "off"
},
"step": "a higher RTX VSR level",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.4,
"stages": {
"interp": 6.0
},
"load": 0.35,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR High, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 3,
"output_res": "2560x1440",
"aa": "off"
},
"step": "a higher RTX VSR level",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.57,
"stages": {
"interp": 6.0
},
"load": 0.39,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "off"
},
"step": "a higher RTX VSR level",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.75,
"stages": {
"interp": 6.0
},
"load": 0.44,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "off"
},
"step": "Full motion detail",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.23,
"stages": {
"interp": 6.0
},
"load": 0.56,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, FXAA",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "fxaa"
},
"step": "anti-aliasing",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.35,
"stages": {
"interp": 6.0
},
"load": 0.59,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, SMAA-style",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "smaa"
},
"step": "anti-aliasing",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.57,
"stages": {
"interp": 6.0
},
"load": 0.64,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1800p, 2x (60 fps), RTX VSR Ultra, Full motion, SMAA-style",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "3200x1800",
"aa": "smaa"
},
"step": "supersampling (bigger than the display)",
"passed": false,
"rejected": [
"1% low 52 fps, needs 58"
],
"measured": {
"fps_avg": 60,
"low1": 51.94,
"frames": 300,
"dropped": 0,
"delay_ms": 28.34,
"stages": {
"interp": 6.0
},
"load": 0.83,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
}
],
"skipped": [],
"quality_ranking": [
"Output resolution, up to the display's own size: a smaller picture is stretched to the screen and looks softer.",
"Upscaler: NVIDIA RTX VSR (a higher level first) above AMD FSR 1.",
"Motion detail: Full above Half (Half is a little softer on small, fast details).",
"Anti-aliasing: SMAA-style above FXAA above Off.",
"Supersampling: an output bigger than the display, shrunk to it."
],
"not_ranked": "Not ranked: the AI engine (TensorRT and PyTorch draw the same frames), the interpolation model (NVIDIA's licence doesn't allow comparing VFG with RIFE), FSR sharpening and CAS (taste: kept as you set them), and Bilinear or no upscaler (FSR 1 costs about 0.1 ms and looks better, so they aren't tried).",
"rules": {
"headroom": 1.1,
"drop_limit": 0.005,
"avg_share": 0.95,
"at_target": 0.97,
"load_limit": 0.909,
"warm_s": 2.0,
"warm_restart_s": 5.0,
"measure_s": 5.0
},
"notes": [
"Summit changes only its own settings (frame generation, upscaling, anti-aliasing). It can't change the game's own graphics options."
]
}
@@ -0,0 +1 @@
{"format": "summit-optimize", "top": []}
@@ -0,0 +1 @@
{"format": "summit-session", "version": 1, "fps_avg": 60}
@@ -0,0 +1,477 @@
{
"format": "summit-optimize",
"version": 1,
"created": "2026-11-26T06:12:10",
"created_unix": 1795673530,
"game": "Voidrunner",
"goal": {
"min_resolution": "1920x1080",
"min_fps": 60,
"max_delay_ms": null,
"priority": "quality",
"text": "at least 1080p at 60 fps; priority quality"
},
"machine": {
"display_hz": 144,
"src_fps": 30,
"vsr": true,
"vfg": false,
"trt": true,
"max_mult": 10,
"motion_fixed": null,
"model_fixed": null,
"restarts": true,
"display": "2560x1440",
"source": "1920x1080",
"text": "display 1440p at 144 Hz, game 1920x1080 at 30 fps"
},
"budget_s": 300,
"elapsed_s": 70.0,
"restarts": 1,
"cancelled": false,
"error": null,
"met": true,
"top": [
{
"rank": 1,
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, SMAA-style",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "smaa"
},
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.57,
"stages": {
"interp": 6.0
},
"load": 0.64,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
},
"why": "The best picture by the ranking that held the minimums (1% low 60 fps)."
},
{
"rank": 2,
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, FXAA",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "fxaa"
},
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.35,
"stages": {
"interp": 6.0
},
"load": 0.59,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
},
"why": "Also passed; ranked below #1 for a plainer picture."
},
{
"rank": 3,
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "off"
},
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.23,
"stages": {
"interp": 6.0
},
"load": 0.56,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
},
"why": "Also passed; ranked below #1 for a plainer picture."
}
],
"closest": null,
"failures": [],
"tried": [
{
"label": "1080p, 2x (60 fps), AMD FSR 1, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "fsr",
"vsr_quality": 2,
"output_res": "1920x1080",
"aa": "off"
},
"step": "the cheapest configuration that meets the minimums",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 20.74,
"stages": {
"interp": 6.0
},
"load": 0.19,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), AMD FSR 1, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "fsr",
"vsr_quality": 2,
"output_res": "2560x1440",
"aa": "off"
},
"step": "output resolution up to the display's",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 20.76,
"stages": {
"interp": 6.0
},
"load": 0.19,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Low, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 1,
"output_res": "2560x1440",
"aa": "off"
},
"step": "RTX VSR instead of FSR 1",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.23,
"stages": {
"interp": 6.0
},
"load": 0.31,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Medium, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 2,
"output_res": "2560x1440",
"aa": "off"
},
"step": "a higher RTX VSR level",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.4,
"stages": {
"interp": 6.0
},
"load": 0.35,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR High, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 3,
"output_res": "2560x1440",
"aa": "off"
},
"step": "a higher RTX VSR level",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.57,
"stages": {
"interp": 6.0
},
"load": 0.39,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Half motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "half",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "off"
},
"step": "a higher RTX VSR level",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 21.75,
"stages": {
"interp": 6.0
},
"load": 0.44,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "off"
},
"step": "Full motion detail",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.23,
"stages": {
"interp": 6.0
},
"load": 0.56,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, FXAA",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "fxaa"
},
"step": "anti-aliasing",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.35,
"stages": {
"interp": 6.0
},
"load": 0.59,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1440p, 2x (60 fps), RTX VSR Ultra, Full motion, SMAA-style",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "2560x1440",
"aa": "smaa"
},
"step": "anti-aliasing",
"passed": true,
"rejected": [],
"measured": {
"fps_avg": 60,
"low1": 60.0,
"frames": 300,
"dropped": 0,
"delay_ms": 27.57,
"stages": {
"interp": 6.0
},
"load": 0.64,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
},
{
"label": "1800p, 2x (60 fps), RTX VSR Ultra, Full motion, SMAA-style",
"settings": {
"interp": true,
"hz": 60,
"model": "4.22.lite",
"motion": "full",
"engine": "auto",
"scaler": "vsr",
"vsr_quality": 4,
"output_res": "3200x1800",
"aa": "smaa"
},
"step": "supersampling (bigger than the display)",
"passed": false,
"rejected": [
"1% low 52 fps, needs 58"
],
"measured": {
"fps_avg": 60,
"low1": 51.94,
"frames": 300,
"dropped": 0,
"delay_ms": 28.34,
"stages": {
"interp": 6.0
},
"load": 0.83,
"vram_mb": 1200.0,
"engine_mb": null,
"seconds": 5.0,
"took_s": 7.0
}
}
],
"skipped": [],
"quality_ranking": [
"Output resolution, up to the display's own size: a smaller picture is stretched to the screen and looks softer.",
"Upscaler: NVIDIA RTX VSR (a higher level first) above AMD FSR 1.",
"Motion detail: Full above Half (Half is a little softer on small, fast details).",
"Anti-aliasing: SMAA-style above FXAA above Off.",
"Supersampling: an output bigger than the display, shrunk to it."
],
"not_ranked": "Not ranked: the AI engine (TensorRT and PyTorch draw the same frames), the interpolation model (NVIDIA's licence doesn't allow comparing VFG with RIFE), FSR sharpening and CAS (taste: kept as you set them), and Bilinear or no upscaler (FSR 1 costs about 0.1 ms and looks better, so they aren't tried).",
"rules": {
"headroom": 1.1,
"drop_limit": 0.005,
"avg_share": 0.95,
"at_target": 0.97,
"load_limit": 0.909,
"warm_s": 2.0,
"warm_restart_s": 5.0,
"measure_s": 5.0
},
"notes": [
"Summit changes only its own settings (frame generation, upscaling, anti-aliasing). It can't change the game's own graphics options."
]
}