Commit Graph
69 Commits
Author SHA1 Message Date
alex 011da55e78 Untrack Python bytecode, ignore __pycache__ 2026-11-24 16:21:48 +00:00
alex 58cff12700 Merge ap/release-candidate: Add a game, summit doctor, report updates 2026-11-24 16:21:18 +00:00
alex 09c6b0a59a polish report: one table, one numbered list 2026-11-24 16:19:21 +00:00
alex cf40291211 README and polish report: installer additions, summit doctor, Add a game; what was checked and what was not 2026-11-24 16:19:14 +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 188b7e16e9 install.sh: stop with a clear message when rustup or uv did not install (curl | sh succeeds when curl fails) 2026-11-24 16:14:01 +00:00
alex ac83301498 install.sh: app menu entry and icon, fontconfig headers for the GUI build, the tools Summit runs (ffmpeg, xrandr, xdg-open, zenity), the default RIFE model; SUMMIT_SRC_DIR builds that checkout as it is 2026-11-24 16:10:09 +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 f4185d7590 README and docs/agent-reports/polish.md: what changed after the RC run, how it was checked, what to test 2026-11-24 16:01:54 +00:00
alex aecaa585c1 engine: the messages a Linux user sees (no CUDA, HDR, the frame-spacing toasts) say Summit, not SmoovPlay 2026-11-24 16:01:23 +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 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 5388c32ab7 Merge ap/release-candidate 2026-11-24 08:35:14 +00:00
alex 3441e318e8 README: real window captures, honest status table, install, clips, credits; docs: RC report and real screenshots 2026-11-24 08:33:15 +00:00
alex a6775361e2 install.sh: install the CUDA 12.8 torch before requirements.txt (the PyPI default wheel was cu132 and satisfied torch>=2.6) 2026-11-24 08:33:15 +00:00
alex 2d2a81167b engine: Ctrl+Alt+R saves the configured clip length, not the whole buffer (found in the release-candidate run) 2026-11-24 08:33:14 +00:00
bonzi 8a1b622505 Merge ap/audit 2026-11-24 08:12:30 +00:00
alex 033d7cff9e Report for audit: findings with severity, what was fixed and verified, what is not 2026-11-24 08:09:49 +00:00
alex d695dc889e README: installer and .deb rows say what was really tested (dry-run only, not installed); signal-kill also leaves the display mode 2026-11-24 08:08:35 +00:00
alex 19c4317806 run: name the command that could not be started 2026-11-24 08:08:15 +00:00
alex 10a1d94fdd state, profile, ui, names: one atomic write with a per-process temp file (profiles and the names cache were written in place) 2026-11-24 08:05:27 +00:00
alex fb5c99d1f2 install.sh: give the engine folder to the installing user before making its venv without sudo; no sh -c with paths pasted into quotes 2026-11-24 08:04:57 +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 9371b4425c scan: dedupe heuristic finds by path components (and ignore empty known paths); shortcuts: SteamGridDB file extension limited to image types 2026-11-24 08:04:19 +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 9496a153f6 engine: user values go to the engine as --opt=value (a leading '-' can't become an option); stop() also stops what the process started 2026-11-24 08:03:04 +00:00
alex 8075843772 vdf, vdf_bin: refuse nesting deeper than 64 instead of overflowing the stack; keep non-UTF-8 strings byte-exact on rewrite 2026-11-24 08:02:03 +00:00
bonzi c6e6e57eda Merge ap/play-integration 2026-11-24 07:45:12 +00:00
alex 8b3178df8f Report for play-integration: what changed, what was verified on the VM, what is not done 2026-11-24 07:42:27 +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 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 9231102a3e engine: global save-clip key on Linux (X11 XGrabKey via ctypes; Wayland GlobalShortcuts portal, untested)
Instant replay's Ctrl+Alt+R / Ctrl+Alt+B now work from any window on X11, so they reach the engine while
the game keeps the keyboard. On Wayland the portal is used through jeepney when it is installed; that path is
untested. Without either the engine prints why there is no global key.
2026-11-24 07:31:06 +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 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
bonzi 9a1ec8759e Merge ap/steam-shortcuts 2026-11-24 07:18:57 +00:00
bonzi a317ce82be Merge main into steam-shortcuts 2026-11-24 07:17:47 +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
bonzi c81e5f567a Merge ap/packaging 2026-11-24 07:05:25 +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 5d0d32e316 docs: README install section and packaging status, agent report 2026-11-24 07:03:33 +00:00
alex e7b0cc911d packaging: add install.sh, PKGBUILD, deb build, appimage recipe
POSIX sh one-liner installer that detects distro/GPU/session, builds from
source with cargo, and sets up the engine's uv venv (CUDA torch only with
an NVIDIA GPU). Plus packaging/arch/PKGBUILD, packaging/deb (built and
verified locally), and an untested packaging/appimage recipe.
2026-11-24 07:03:33 +00:00
alex 1442346605 Merge live-capture: live window enhance, watermark 2026-11-24 06:55:06 +00:00
alex 7b5f0f7188 README: correct the share of unchanged grabs measured 2026-11-24 06:53:32 +00:00
alex 5dee5c8939 README: live enhance (summit run --enhance), watermark, real screenshots from the test VM, what was and was not measured 2026-11-24 06:52:33 +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