31 Commits
Author SHA1 Message Date
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 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 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
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 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 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 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 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 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 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 fc838b95e9 run: a signal to summit stops the game and the engine and puts the display mode back; clips go to Videos/Summit/<game>
- summit-core::signals catches SIGTERM, SIGINT and SIGHUP (only an atomic store in the handler). supervise() and the
  new wait_or_stop() poll it, stop the engine and the game, and summit run leaves through its normal path, so the
  display mode is restored. Exits 128+signal. A try_wait error in supervise() now stops both before returning.
- Output in the Run arm can no longer panic on a closed terminal (after SIGHUP).
- summit run --title (the launcher passes the library title) is given to the engine as SUMMIT_GAME; clips are saved
  in Videos/Summit/<game>/ named '<game> <date>.mp4'. The toast shows the path with this system's separator, and
  before & after videos say 'Summit' instead of 'SmoovPlay'.

Checked: kill -TERM / -HUP / -INT to summit alone stopped a game script and its child (exit 143/129/130); with
--enhance and a stand-in engine, both stopped and the engine saw SUMMIT_GAME. Display restore after a signal was not
run (no X display here).
2026-11-24 15:51:20 +00:00
alex 19c4317806 run: name the command that could not be started 2026-11-24 08:08:15 +00:00
alex c073909f97 run: put the display mode back on every way out, errors included; add/art/enhance --out refuse non-UTF-8 paths instead of storing a mangled copy 2026-11-24 08:03:48 +00:00
alex 3d16bb6cf8 display: parse custom xrandr modes (1920x1080_120.00) and ask xrandr for them by name
Found on the KDE neon test VM, whose current mode is a custom one: the parser skipped it, so the current
mode was unknown and the restore after a game would have picked the 60 Hz mode of the same size.
2026-11-24 07:34:58 +00:00
alex 2089ec0ade Play through summit run: list real outputs, restore the mode after the game, detached launchers, per-game enhance flag
- display: Output/Mode, parsers for xrandr, kscreen-doctor -j and wlr-randr --json, outputs(), restore_profile()
- summit run: prints each display step, puts the old mode back when the game (or, detached, the engine) ends;
  --detached for commands that hand off and return (steam steam://rungameid/N); Steam ids are not tracked
- engine::supervise(detached): waits for the engine alone once the launcher command returned
- launch::plan(.., enhance): Steam and Lutris go through summit run; Steam enhance takes class:steam_app_<id>
- profile.enhance (old files load with it off); summit profile set --enhance; doctor lists outputs
- hotkey::status for the settings page
2026-11-24 07:27:50 +00:00
alex c97948db05 steam-shortcuts: name grid art by the 32-bit appid (current Steam convention); report CLI smoke test 2026-11-24 07:09:19 +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 cf3d148a10 cli: summit run <id> --enhance (launch, enhance the live window, stop both), enhance window:<title>, --no-watermark, profile --target-hz/--model 2026-11-24 06:45:44 +00:00
alex 45935cc402 core: ui.toml settings, launch plans, hero/logo art lookup, clip flags for the engine 2026-11-24 06:18:28 +00:00
alex aa1ffc41dd Frame-gen engine (SmoovPlay-derived), summit enhance, profile target_hz/model, NOTICE 2026-11-24 05:46:40 +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
alex 35a340094d Playtime tracking, pins, custom artwork, .exe software detection, Wayland/X11 display profiles 2026-11-24 05:03:32 +00:00
alex 6cdd92ab00 Summit: Rust workspace with Steam/Heroic/Lutris scanner, heuristic detection and per-game profiles 2026-11-24 04:50:44 +00:00