Commit Graph
125 Commits
Author SHA1 Message Date
alex f4791e700d Profiles: benchmark results checked against the optimizer's real result files; what the closest missed, when nothing met the goal 2026-11-26 08:28:41 +00:00
alex 1aac9d1203 Profiles: the Profiles page, a game's profile and screen pickers, editing a shared profile, and the change-the-profile-or-make-individual prompt
A fifth view lists Default, Built-in, My profiles and Individual games; each shared profile
shows its games with Remove and what it comes to on each screen, with suggestions. The
settings pane edits a shared profile too and gets a Screen section (frame rate native or
pinned). Changing an engine setting on a game that uses a shared profile asks first.
2026-11-26 08:20:17 +00:00
alex ebdc989bf0 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.
2026-11-26 06:12:36 +00:00
alex aea72d552e Profiles: summit profile list/show/new/edit/duplicate/rename/delete/assign/detach/from-game/new-games/export/import; run and enhance use the profile resolved for the game's screen
A native-rate profile's frame multiplier is worked out from the screen the game runs on and
passed to the engine. Older files are migrated on the first run, after a backup. An engine
setting on a game that uses a shared profile is refused with the two ways on.
2026-11-26 06:05:07 +00:00
alex f1b1876849 Profiles: shared profiles, per-game assignment, migration, and resolve for a screen (core)
Every game is on Default, a built-in profile, a user profile or Individual. A shared
profile holds engine and picture settings only; the screen, window, launch options and
Enhance stay in the game's file, which also names the profile it uses. resolve() turns a
profile and a screen's mode into concrete settings with reasons and suggestions.
2026-11-26 06:01:12 +00:00
alex 81de5c7560 Integrate: report, screenshots, README rows
Headless launcher renders (Settings with Anti-aliasing, a game's profile,
the Compare dialog from the registry, Statistics reading a real engine
summary) and a real engine window with Compare strips and the stats Bar.
README: the launcher's Compare and Statistics rows say what is now checked.
2026-11-26 05:41:46 +00:00
alex 7f00e9c777 Statistics: the launcher reads the engine's real session summaries
The engine's summary now says which game it was (SUMMIT_GAME, which summit
run/enhance already set) and ended_unix. The reader takes duration_s, fps_avg,
the engine's low1_fps/low01_fps (as 1% / 0.1% low), its ISO "ended" for older
files, and shows the config words (model, multiplier...) instead of the 80
settings. Tested against a real benchmark summary written by the engine on
the GPU VM (checked in as a fixture) and stats' own older real summary.
2026-11-26 05:35:10 +00:00
alex 9624a27562 Compare: the launcher builds --compare from the engine's own list
The engine's settings registry now carries --compare's dimensions, each with
its choices (names in order), the most strips and a suggested comparison
(compare.registry(), in specs_json). The launcher parses it leniently
(registry::CompareDim), checks a comparison against it and offers one per
dimension (aa:off,fxaa,smaa,cas, scaler:off,bilinear,fsr,vsr, framegen:off,on,
look:off,on) instead of guessing from setting keys (interp:true,false...).
Tests on both sides: the registry's choices and suggestions parse in the
engine, the old guesses do not; the real-registry Rust test asks the engine's
own parser to accept every offer.
2026-11-26 05:35:10 +00:00
alex 19046ef64d Merge branch 'ap/launcher-ui' into round2
profile.rs: both fields kept, Compare's named `aa` and the launcher's
`[engine]` table. `aa` is treated like the other named engine settings
(named_for, NAMED_ENGINE_KEYS, forced()), so a later layer wins whichever way
it sets anti-aliasing and the launcher's row drops the older named key; new
test. Compare's --aa planner test no longer expects --hz 60 (launcher-ui
passes no --hz when the profile sets no multiplier).
2026-11-26 05:28:44 +00:00
alex 11bfcb1292 Merge branch 'ap/stats' into round2
Both sides kept: the present() closure takes Compare's real frame and stats'
generated flag; ai() times through Compare's _generated(make) so the AI frame
time goes to both the stats collector and Compare's label (one measurement,
two readers). P (summary) and C / Shift+C (Compare) both bound. While Compare
draws upscaler/look strips no upscale time goes to the stats (RTX VSR's CUDA
events included), so strips are not counted as the upscaler's cost.
README: stats' status rows and section beside Compare's; the newer instant
replay and install.sh rows from the reconcile side.
2026-11-26 05:26:31 +00:00
alex be0ef69ed4 Merge branch 'ap/compare' into round2 2026-11-26 05:01:33 +00:00
alex 99db7aa320 Docs: Compare settings live in the README, its screenshots and the task report 2026-11-26 04:54:48 +00:00
alex 23e0849942 Engine: a compiled anti-aliasing filter no longer crashes the session while another compiles
torch.compile's tracing state is global: running the compiled CAS while FXAA was still being
compiled on its thread ended the engine on the GPU VM. One lock now covers each compile, a
compiled filter runs only when it can take it at once (else op by op for that frame), and a
compiled filter that fails falls back to op by op for good.
2026-11-26 04:53:51 +00:00
alex e5f4fc4a4c Docs: the new settings, presets, profile, Statistics and Compare in the README, screenshots, and the launcher-ui report 2026-11-26 04:44:54 +00:00
alex 88a65b95d6 Launcher: legible notes, a shorter empty state for Statistics, and a script for the settings screenshots 2026-11-26 04:44:54 +00:00
alex 8d404fd342 Stats: screenshots from real runs, README, report, and --benchmark needs a window or --out 2026-11-26 04:38:57 +00:00
alex 013f3c7df2 Engine tests: Compare's pipeline side (the AA setting, strips, clips with and without labels) 2026-11-26 04:37:28 +00:00
alex 269ff19577 Engine: Compare on software OpenGL, and a clearer upscaler comparison
Anti-aliasing takes a frame held on the CPU to the GPU and back (a millisecond, against
hundreds on the CPU): on the GPU VM's llvmpipe the live view went from 2 to 20 fps. Upscaler Off
compares as the game's pixels enlarged as they are (nearest neighbour) instead of a small
picture in the middle that the strips missed. Labels sit below the stats' pill. compare_shot:
warm-up runs, a 2x2 frame generation sequence and zoomed crops of each variant side by side.
2026-11-26 04:36:07 +00:00
alex a39e3118e4 summit-core: a game profile's anti-aliasing goes to the engine as --aa
Profile and Layer get aa (off, fxaa, smaa, cas); the planner passes it on when it is one of the
engine's choices and leaves it out otherwise.
2026-11-26 04:36:07 +00:00
alex a7eb0e2fb9 Launcher: a settings page built from the engine's registry, presets, per-game parity, statistics and Compare
- Settings: every engine setting as a row in its own section (the engine's group and sub headings), a section
  list, a search box, presets and the quick settings on top, a detail panel with the whole help text, what it
  costs and every choice; greyed with the reason when not used; a dot and Delete (pad: Y) for changed rows
- the rows write the real files: the engine's settings.json, ui.toml, the profile's TOML, and are read back
- a game's profile is the same pane for that game: Global by default, its own per row, presets per game
- a game's Statistics view: playtime, and the session summaries the engine wrote, shown as the files have them
- Compare on a game's page (Experimental): starts it with --compare when the engine has it
- the hard-coded copy of the engine's choices in the profile editor is gone
2026-11-26 04:33:33 +00:00
alex e1dddcc1b5 Stats: leave the engine's start-up out of the numbers (a benchmark and a normal session) 2026-11-26 04:30:05 +00:00
alex 989e3d000d Engine: Compare settings live in the video window, and anti-aliasing in the pipeline
The pipeline applies the Anti-aliasing setting to every frame shown and puts the
anti-aliasing and frame generation strips together at the game's size (the Off strip holds
the game's own frames, in step with the generated ones); the window draws the upscaler and
look strips (each variant on the whole picture, timed with GPU queries, then its strip cut
out) and every label and divider with ui_draw. C toggles Compare, Shift+C the next thing to
compare; a 2-strip divider can be dragged. run.py: --aa, --compare, --compare-layout.
aa.py compiles each filter with torch.compile on a thread of its own when Triton is there.
devtools/compare_shot.py writes one compared frame as PNG (and zoomed crops).
2026-11-26 04:25:58 +00:00
alex f2fc4d2333 Stats overlay: more numbers, per-item settings, a Bar style, colours, benchmark mode, session summaries and a CSV frame log 2026-11-26 04:18:22 +00:00
alex e605987e77 Engine: anti-aliasing (FXAA, SMAA-style, CAS) and the logic of a live settings comparison
framegen/aa.py: three clean-room filters on the game's frame, one implementation for torch
(the GPU path) and numpy (the CPU fallback). framegen/compare.py: what can be compared,
which variants can run here and why not, strip layouts and dividers, timings and labels,
composing strips, the frame generation strips and the labels as ui_draw images. The aa
setting and the Compare rows in settings.py; tests without a GPU or a window.
2026-11-26 04:12:56 +00:00
alex e2bf2a6cd3 Core: the engine's settings registry, presets, session summaries, an [engine] table in profiles and --compare
- registry.rs reads what python -m framegen.settings prints (leniently: unknown sections, fields and
  settings without choices still read) and the engine's settings.json, key by key
- presets.rs: Quality, Balanced, Performance, Lowest delay as one table
- sessions.rs: session summary JSON files, read as they are
- profiles get an [engine] table (any engine setting by key), passed as --set KEY=VALUE
- no multiplier in a profile: no --hz, so the engine's saved Frame multiplier counts
- summit run --compare, behind an Option in engine::Live
2026-11-26 04:12:35 +00:00
alex ed9b4564bd Stats: percentile and window maths, a collector, the overlay's cells and a session summary (not wired in yet) 2026-11-26 04:09:21 +00:00
alex 112d163114 Engine: the registry JSON carries sub headings, and --set KEY=VALUE overrides any setting for one run 2026-11-26 04:07:18 +00:00
alexandClaude Sonnet 5.5 7ee505c07b Merge main (ap/wayland-verify) into the owner's newer history
Kept the owner's structure and wording in README.md, install.sh and summit-cli;
carried over the verify run's fixes that his rewrite did not already make:
install --no-deps, cargo's real target dir, dry-run venv path, XWayland
detection through the X server's client pids, the replay default for a new
user (also on the remote-play and capture-card launches), unbuffered engine
output, doctor's hedged wording. Report: docs/agent-reports/reconcile.md.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
2026-11-26 04:05:51 +00:00
ZebraticandClaude Opus 5.5 7b3c42aa6d Instant replay can be turned off from the launcher
Settings > Clips > Keep the last has Off: the engine is started with
--replay 0, so it opens no encoder and keeps no buffer (nothing recorded, no
cost while playing). "A save writes" greys out while it's off; its length is
kept for when it's on again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:25:39 +01:00
ZebraticandClaude Opus 5.5 2eec6b324d Frame generation for 60 fps games, output resolution, and a regrouped overlay
60 fps games
- A game at a steady 60 fps (found after a second at 57+, or Game frame rate
  set to the new 60 fps) goes on the frame timeline, which draws in-between
  frames at any rate; the 60 Hz beat alone only ever showed its own frames
- The frame multiplier works from the game's rate: 2x makes 30 fps 60 and
  60 fps 120 (labels are now just "2x", "3x"...)
- --sim60 plays a 60 fps file as a 60 fps game, for testing

Output resolution
- The upscaler makes the picture at a chosen size (720p .. 4K, or any WxH),
  then it's fitted to the screen: lighter below the screen's size,
  supersampling above it. --output-res, the overlay, Summit's profile editor
  (with a custom size), `summit profile set --output-res`

In-game overlay
- Tabs regrouped with headings: Home, Frame generation (Basics, AI model,
  Smoothing), Upscaling (Upscaler, Output), Display (Window, Colour and look),
  Overlay (Stats, Graphs, This menu, Branding), Clips, Sources; one table
  (settings.LAYOUT) says where each setting goes
- Bigger: 1100 px wide, 11 rows; headings are skipped by keys and the mouse
- Home adds Game frame rate and Output resolution

Summit: Game frame rate and Output resolution per game (profile, editor, CLI)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 03:22:53 +01:00
ZebraticandClaude Opus 5.5 023f8b3ecc Engine: RTX VSR over a game on Wayland crashed the engine at once
The overlay's window is an X11 (GLX) one on a Wayland session, but PyOpenGL
picked EGL there and couldn't look up newer GL functions for that context:
glTexStorage2D was a null function, and RTX VSR's first frame ended the engine
(Summit's picture flashed up and closed). PyOpenGL now uses GLX along with
pyGLFW's X11 build.

And a failing RTX VSR no longer ends the session: that frame is drawn without
it, VSR comes off the list, FSR 1 takes over, and a message says so.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 02:59:32 +01:00
ZebraticandClaude Opus 5.5 d44502447b NVIDIA VFG/VSR setup, frame multiplier, upscaling off, and a mouse-first overlay
NVIDIA VFG and RTX VSR
- Settings > NVIDIA VFG and RTX VSR: status, NVIDIA's licences, and a download
  that only starts once they're accepted; `summit nvidia status|install|remove`
- NVIDIA's runtime lives per user (~/.local/share/summit/nvidia-vfx); every
  engine start gets FRAMEGEN_VFX_PATH
- The installer falls back to uv when the engine's venv has no pip

Frame multiplier
- 2x..10x of a 30 fps game instead of 60/90/120 Hz: the editor's Frame
  multiplier (2x, 3x, 4x, 5x, 6x, 8x) and Custom multiplier, the overlay's
  slider, `summit profile set --multiplier`, the engine's --hz (any multiple of
  30 from 60 to 300)
- The pipeline spaces N in-between frames evenly for any N (cadence_steps);
  60/90/120 keep their exact cadence
- Older profiles keep their rate (target_hz 120 reads as 4x)

Upscaling off
- Upscaler "Off": the picture at its own size, never enlarged (the profile's
  "None" used to fall back to FSR)

In-game overlay
- A window: dragged by its title bar, kept inside the picture, opens where it
  was left
- The wheel scrolls the page (or an open list); the highlight stays put; the
  scrollbar drags and its track jumps
- Native controls: switches, buttons, sliders for ordered numbers (multiplier,
  sizes, opacity, sharpening), drop-down lists for long lists; pointer shapes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 02:56:09 +01:00
ZebraticandClaude Opus 5.5 072a071e3c Enhance for every game: window matching, a window picker, and the XWayland GLFW fix
- Engine: load pyGLFW's X11 build when the overlay needs XWayland on a Wayland
  session (its Wayland-only build made the engine fail with "glfw init failed")
- Engine: "dir:FOLDER" window rule (a process running from the game's folder,
  Wine's Z:\ paths included) and "ask:" (wait for a rule picked in the launcher,
  read live from SUMMIT_WINDOW_FILE while it waits)
- Enhance for non-Steam games in Steam, Lutris and Heroic, and native Steam games:
  window rule from the game's .exe class and install folder
- Per-game "window" profile setting (Profile > Game window, `summit profile set
  --window`), which wins over the automatic rule
- Now playing: Enhance status, "Pick the game's window" (W); the picker opens by
  itself when the engine has no rule or found nothing in 20 s, lists new windows
  first, and saves the pick to the game's profile and hands it to the engine
- `summit windows`: open windows and the rule each one would get
- Window placement follows dir: rules too

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 02:16:34 +01:00
ZebraticandClaude Opus 5.5 7dc52a4a2e Launcher: splash intro, new icon set, consoles, Lutris, Steam accounts, overlay
- Splash: Summit's icon rises in over an amber glow, the name follows, then it
  fades into the app (about a second, no keys taken, off when motion is off)
- install.sh: after installing icons, rebuild KDE's sycoca and send
  KIconLoader.iconChanged so a running Plasma shows the updated icon
- New app icon (SVG + rendered PNG sizes, render.sh), used by the packages and
  the engine's window
- Lutris scan, consoles (Remote Play via chiaki-ng frame tap, capture cards),
  Steam account switching, running-game tracking, window mode, artwork
- Library UI: add dialog, profile editor, accounts, "now playing" screen
- Engine: in-game overlay/HUD, overlay key, global key fixes

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-25 01:53:49 +01:00
alex 49c812e155 Merge ap/wayland-verify 2026-11-24 17:32:27 +00:00
alex 4314326796 Wayland verify report (PASS, with six bugs found and fixed), corrections to the Wayland report, screenshots, agent report 2026-11-24 17:29:53 +00:00
alex 4cc4f558cf doctor: honest save-key wording; engine output unbuffered so last-run.log is live; README corrections from the verify run 2026-11-24 17:27:25 +00:00
alex ba7f0b9c73 install.sh: running it again (an update) keeps the engine's venv instead of failing in uv venv 2026-11-24 17:23:27 +00:00
alex 1214c9c182 Wayland: an XWayland game is no longer taken for a native one (KWin 6.8 has no windowId); a new user's engine gets the replay the Settings page shows (found by the first real launcher run on the owner's desktop) 2026-11-24 17:22:51 +00:00
alex 7a147ec4c6 agent report: install and update follow-up 2026-11-24 17:18:25 +00:00
alex 97e762642c install.sh: umask 022, and the graphical session type from loginctl when run from ssh or a console
Found installing on the owner's desktop over ssh with umask 077: sudo made /usr/local/share/summit root-only, so
the engine's venv went into the source folder. Over ssh XDG_SESSION_TYPE is tty: Wayland extras were skipped.
2026-11-24 17:17:45 +00:00
alex 41986c910f Merge main (the earlier merge of this branch) 2026-11-24 17:15:18 +00:00
alex 2a068e4daf README: how updating works 2026-11-24 17:15:08 +00:00
alex 62b012009a install.sh: no sudo for a prefix the user can write, --no-deps, binaries from cargo's real target dir, dry-run shows the venv in the prefix (found by a real non-root install on the owner's desktop) 2026-11-24 17:15:04 +00:00
alex b282334af3 install.sh: updates an existing install, asks on the terminal, no pacman -Sy
- finds an existing install and its version (the commit, recorded in share/summit/installed-version); rebuilds
  only when the source changed (--force always); an update replaces the engine's files but keeps its venv and
  models, and reuses the venv (uv 0.13 refuses 'uv venv' on an existing one, so a second run used to fail)
- questions are read from /dev/tty: under 'curl | sh' stdin is the script itself
- Arch: only missing packages are installed (pacman -T), without 'pacman -Sy' (a partial upgrade)
- sudo only when the prefix isn't writable; SUMMIT_REPO for testing
2026-11-24 17:12:17 +00:00
alex 65b1856276 Merge ap/wayland-capture 2026-11-24 17:09:06 +00:00
alex bcc03bd311 agent report: wayland-capture 2026-11-24 17:06:32 +00:00
alex 97b423e74d Wayland report (WAYLAND: PASS on the owner's KDE Plasma 6.8 desktop) and README status
Rows moved to Working only for what ran on that desktop: live enhance, launcher Play with Enhance, the clip key,
the display profile and summit doctor on KDE Wayland. Other Wayland desktops, a real native Wayland game and
fractional scaling stay Experimental.
2026-11-24 17:06:14 +00:00
alex d3d2cae0e7 run --enhance: a failing engine leaves the game running; a 0 width/height is never sent as a monitor mode
If the engine exits with an error (no window found, the Wayland share dialog cancelled, a capture tool
missing), the game now goes on without Enhance and summit run says so; a normal engine exit still stops both.
Checked on Plasma 6.8 with --window class:nothing. Found there too: --width 0 --height 0 made summit run
'kscreen-doctor output.HDMI-A-1.mode.0x0@60' (kscreen-doctor refused it; the monitor stayed as it was);
zeros now mean not set. The stand-in test window can go fullscreen on a named monitor.
2026-11-24 17:03:11 +00:00
alex e9d6aa6f8a gui: Enhance is available on Wayland sessions (it said Wayland capture was not built)
Run on Plasma 6.8 Wayland: Play on Voidrunner's page started summit run --enhance, the engine went over the
XWayland game, the portal save key wrote a clip, the monitor mode came back after the game.
2026-11-24 16:59:33 +00:00