Commit Graph
86 Commits
Author SHA1 Message Date
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 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 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
alex 002246fbbf install.sh: on a Wayland session also install GStreamer's PipeWire plugin and gst-launch-1.0
Arch names checked (installed on the Plasma 6.8 test desktop; --dry-run there prints them); the Debian, Fedora
and openSUSE names are those distros' usual ones, not run.
2026-11-24 16:56:26 +00:00
alex 5d104388c1 doctor: Wayland readiness (XWayland, ScreenCast and GlobalShortcuts portals, app-id desktop file, PipeWire + pipewiresrc, KWin, monitor tool, jeepney, GPU)
Each line says what is off without it. Run on Plasma 6.8 Wayland: all ok; without summit.desktop the save-key
line warns that only XWayland games get Ctrl+Alt+R. The launcher's save-key status no longer says untested.
2026-11-24 16:55:54 +00:00
alex dc5421bf0d engine: capture native Wayland windows through the ScreenCast portal and PipeWire
On a Wayland session, --window finds the game among XWayland windows (captured as on X11) and, on KDE, among
KWin's native windows (a one-shot KWin script reports pid, title, place and focus over D-Bus). A native window
goes through xdg-desktop-portal ScreenCast (one window, pointer hidden, persist_mode 2; the restore token is kept
in ~/.config/summit/screencast-token) and gst-launch-1.0 pipewiresrc piping raw BGR (CPU copy). Run on Plasma 6.8:
the dialog once, then restored for a new window of the same app with no dialog; about 50 new frames a second
at 1288x748. devtools/wayland_standin.py is a native Wayland test window that logs its keys and focus.
2026-11-24 16:54:11 +00:00
alex 05df3abcfa display: KDE Wayland plan is one kscreen-doctor call, picks the mode by id, skips enable for an output that is on
On Plasma 6.8.2 two modes of one monitor share the name 1920x1080@120 (119.88 and 119.98 Hz), so the old
name-based plan could restore the wrong one. Test data is that monitor's kscreen-doctor -j.
2026-11-24 16:47:19 +00:00
alex b50f87b13c engine: GlobalShortcuts portal registers the host app id first; XWayland key grab as fallback
Plasma 6.8's portal refuses a host program without an app id ('An app id is required'); Register('summit')
works once summit.desktop is installed. Without the portal, the X11 grab through XWayland fires while an
XWayland window has the keyboard.
2026-11-24 16:47:19 +00:00
alex cefd190a2f engine: enhance XWayland windows on a Wayland session; overlay through XWayland
Checked on KDE Plasma 6.8 Wayland (RTX 5080): x11grab reads an XWayland game's window, and an override-redirect
XWayland window stays above it without taking the keyboard. GLFW is told to use X11 for the overlay (it picks
Wayland otherwise). Also fixes --monitor with the fullscreen overlay: GLFW monitor pointers were compared by
identity, never matched, and the overlay covered the whole X screen (all monitors).
2026-11-24 16:47:19 +00:00
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