31 Commits
Author SHA1 Message Date
ZebraticandClaude Opus 5.5 83f7a0bef4 One engine at a time: a second one over the same game flickered
Two `summit run`s for the same game each started an engine, and both put a
window over the game: the two pictures took turns on the screen (the overlay
flickered in and out, since only one of them had the Insert key) and they
split the GPU between them. The engine now holds a file lock while it shows a
picture; a second one says why and exits (code 2), and the game keeps running
under the first. The launcher also ignores Play while a game it started is
still starting or running.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-26 22:36:36 +01:00
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 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 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 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
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 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 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
alex b37ba2e2d1 gui: Add a game (Library toolbar) and ADD on a folder found on disk: the desktop's file dialog picks the file that starts it, a second one asks its name, the library reloads; empty library: the keyboard reaches the toolbar 2026-11-24 16:18:45 +00:00
alex 6915d30215 doctor: say whether Enhance can work here (engine, venv, torch with CUDA, the model, ffmpeg, xrandr, xdg-open, a file dialog) 2026-11-24 16:10:09 +00:00
alex 0d62d1e4f4 gui: when a game started from the launcher fails (summit run exits 1), a toast says why (the log's error line)
Checked on Xvfb: Play on an entry whose file is not executable showed 'Broken Game did not start: could not start
/tmp/broken-game.sh: Permission denied (os error 13)'.
2026-11-24 16:01:07 +00:00
alex db4d3e6c64 gui: Settings > Clips folder shows where clips go and opens it (xdg-open)
engine::clips_dir() mirrors the engine's videos_folder() (SMOOVPLAY_REPLAY_DIR, else XDG Videos/Summit). Checked with
headless renders: the row, Enter on it, and the two rows below it still reachable and changeable.
2026-11-24 15:59:53 +00:00
alex 8c5643c2b6 pad: open a controller before starting its reader (no thread churn on a device without permission); clippy clean
cargo clippy --workspace --all-targets: no warnings left.
2026-11-24 15:58:34 +00:00
alex cc48c3b4cd state: load-change-save under a flock (state::update), so the launcher and summit run no longer lose each other's changes
Every writer (add, pin, unpin, art, the session summit run records, the launcher's pin and artwork) goes through
state::update. Checked: two shells running 40 'summit pin' each at once: 80 pins with the lock, 77 with the old
binary.
2026-11-24 15:57:28 +00:00
alex 570016ff22 gui: Change artwork works: the desktop's file dialog (kdialog on KDE, zenity elsewhere) picks a cover
The picked file is checked (it must decode), stored like summit art does, and the cover and backdrop reload at
once. Without either dialog the toast gives the summit art command. Checked on Xvfb with a stand-in zenity and
synthetic keys: Enter on the button ran the dialog, state.json got the path, cover and backdrop changed.
2026-11-24 15:56:42 +00:00
alex 181cf5919c Heroic: Play starts Epic and GOG games through Heroic (heroic://launch), and the Flatpak Heroic's games are found
Entries get launch_uri (serde default, so cached data still loads); Heroic's keeps the exact, case-sensitive app
name (the id stays lowercased, so profiles and stats keep their keys). Play runs
summit run <id> --detached -- xdg-open 'heroic://launch?appName=..&runner=legendary|gog'. No Enhance for Heroic yet.
The URL format is from Heroic's src/backend/protocol.ts. Checked: unit tests and summit scan on a fake Flatpak
config; not run with a real Heroic.
2026-11-24 15:53:43 +00:00
alex 25a4bc482f gui: Play decides Enhance for the game it starts, not from the page opened last (Home's hero Play) 2026-11-24 08:04:41 +00:00
alex 4b6db92b7c README: play-integration status from the VM run; launcher captures in docs/media/live
Plain and enhanced Play from the launcher, the display mode switch and restore, the clip settings and the
global save key were run on the KDE neon X11 test VM. Steam, Lutris, Wayland (display tools and the
GlobalShortcuts portal) remain untested and say so. Drops the unused SUMMIT_DETAIL_BTN hook.
2026-11-24 07:41:27 +00:00
alex 085fd2d5ed GUI: Enhance toggle and Play through summit run, launch profile editor with the real outputs
The editor (Profile on a game's page) edits monitor, resolution, refresh, fullscreen, focus, upscaler,
frame generation and target rate, saved through summit-core::profile on every change. Rows are built
by pure, unit-tested functions in data.rs. Play's output goes to ~/.cache/summit/last-run.log.
Settings shows whether a global save key is available in this session.
2026-11-24 07:27:50 +00:00
alex 19f79a561d Add Steam non-Steam-shortcut support: binary VDF, shortcuts.vdf edit, grid art, CLI
Adds a binary KeyValues reader/writer (vdf_bin), a shortcuts module that
adds/removes userdata/<id>/config/shortcuts.vdf entries (backup before write,
refuses while Steam runs unless --force, preserves unknown fields, computes
Steam's own appid/grid-id), grid artwork installation with a custom-art ->
Steam-cache -> SteamGridDB fallback chain, a minimal SteamGridDB client, and
`summit steam-add`/`steam-remove` wired to a configurable shortcut list in
ui.toml (built-ins: My PS5, Capture Card). Shortcuts always launch through
`summit run`. No existing "Add to Steam" GUI button was found, so the GUI is
otherwise untouched.
2026-11-24 07:04:56 +00:00
alex a2f25ee217 gui: one click opens a game in Library and Unfiltered; Steam falls back to xdg-open when steam is not on PATH 2026-11-24 06:49:06 +00:00
alex 29eb48cf63 gui: show ~/ for home paths, simpler Unfiltered rows, centred settings column 2026-11-24 06:48:10 +00:00
alex 736c12bb1e gui: game controller navigation through /dev/input/js* (untested on hardware) 2026-11-24 06:43:15 +00:00
alex 27a559846b gui: rebuild the launcher: Big Picture home, adaptive grid, dense list, game page, settings, six themes
Home has a hero for the focused game (wide art as a cross-fading backdrop, logo, hours, Play) over
shelves of covers. Library is a cover grid that adapts to the window, or a dense table, with filter,
sort and search. Unfiltered is a grouped list with the detection reasons. Every game has a page with
stats, launch profile and reasons. Settings are saved to ui.toml.

Keyboard navigation with a focus ring throughout. Lists only create the rows on screen and covers are
decoded to thumbnails on a worker thread when a card first appears.

Play is real for Steam (steam://rungameid, steam://install), Lutris and hand-added entries (through
summit run); pin and unpin write state.json. Change artwork and per-game settings are marked Soon.

Normal runs use the OpenGL renderer (FemtoVG) with the software renderer as fallback; SUMMIT_SHOT
renders any view headless to a PNG.
2026-11-24 06:43:05 +00:00
alex d9f7768f19 Clip length picker (15s-10m), list layout + themes, real Voidrunner artwork, real window screenshots 2026-11-24 06:08:31 +00:00
alex 6807735d9e Add games/apps by hand (summit add), Custom source, README screenshots with Voidrunner 2026-11-24 05:29:45 +00:00
alex d939b515b7 Slint GUI (Home/Library/Unfiltered), Steam cover art, owned-game names, README screenshots 2026-11-24 05:14:18 +00:00