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.
This commit is contained in:
alex committed 2026-11-24 07:41:27 +00:00
1 parent 3d16bb6cf8
commit 4b6db92b7c
10 files changed
+22 -11

No files matched your search

+20 -8
View File
@@ -43,7 +43,7 @@
<p align="center"><sub><b>These are headless renders, not window captures.</b> They are the real UI drawn by Slint's software renderer with <code>docs/demo/screenshots.sh</code>: still frames, so they show no animation. <b>The library is a demo</b>: invented game titles with generated cover art and made-up playtime, written to disk as a Steam library so the real scanner reads it. <b>Voidrunner</b> is real (the author's own game), added by hand with its own artwork. Nothing was running in a game; the in-game overlay does not exist yet.</sub></p>
> [!NOTE]
> **Pre-alpha.** What works today is the command-line core (library scanning with detection reasons, playtime tracking, Home pins, custom artwork, per-game display profiles applied at launch) and the launcher window that sits on top of it. Steam shortcut export, the in-game overlay and applying upscaling or frame generation to a launched game are planned and are **not built yet**. Nothing below is marked as working unless it is.
> **Pre-alpha.** What works today is the command-line core (library scanning with detection reasons, playtime tracking, Home pins, custom artwork, per-game display profiles applied at launch), the launcher window on top of it, and live frame generation + upscaling on a launched game's window (X11 only). Wayland capture, a full in-game overlay and many launch paths (Heroic, real Steam games) are **not built or not tested yet**. Nothing below is marked as working unless it is.
## Why
@@ -60,17 +60,17 @@
| Hours played: Steam's own playtime for Steam games, Summit-tracked sessions for everything else (never added together) | Working |
| Windows `.exe` files outside a Wine prefix listed as Software in Unfiltered, with the reason | Working |
| Pin to Home and custom artwork per entry | Working. Pin and unpin from the CLI or the launcher (both write `state.json`). Artwork is CLI only (`summit art`); the launcher's "Change artwork" button is marked Soon. |
| Display profile applied at launch: monitor, resolution, refresh rate | Working for KDE Wayland (`kscreen-doctor`), wlroots Wayland (`wlr-randr`) and X11 (`xrandr`). **GNOME Wayland has no stable tool, so Summit says so and skips it. Command plans are unit tested; real monitor changes are not yet verified on hardware.** |
| Per-game fullscreen, focus, upscaler and frame-gen settings | Stored. Fullscreen, focus and the upscaling are not applied yet. |
| Launcher window (Slint): Home, Library, Unfiltered, a page per game, Settings | Working. Run `summit-gui`. Home has a hero for the focused game (its wide art as backdrop, logo, hours, Play) over shelves: Jump back in, Pinned, Most played. Library is a cover grid that fits the window, or a dense list, with All / Installed / Not installed, three sort orders and search. Checked in headless renders at 1600x900, 1280x800 and 900x600, and in a real window under Xvfb. **Not checked on a real desktop, GPU or TV yet.** |
| Display profile applied at launch: monitor, resolution, refresh rate | **Working on X11** (`xrandr`): checked on the KDE neon X11 test VM: `summit run` switched the output from its custom `1920x1080_120.00` mode to 1280x800 @ 74.99 Hz, the game came up at 1280x800, and the old mode was put back when the game exited. The monitor list comes from the same tool (`summit doctor` prints it). KDE Wayland (`kscreen-doctor`) and wlroots (`wlr-randr`): command plans and output parsing are unit tested, **not run on a real Wayland desktop**. GNOME Wayland has no stable tool, so Summit says so and skips it. A detached launch (Steam) without Enhance cannot know when the game ends, so the mode is not put back then. |
| Per-game profile editor in the launcher (Profile on a game's page): monitor and its real modes and refresh rates, fullscreen, focus, upscaler, frame generation, target rate | **Working** (used on the test VM: the editor listed `Virtual-1`'s 19 xrandr modes; every change is written through `summit-core::profile`). Upscaler, frame generation, target rate and fullscreen are used by Enhance (fullscreen means the engine's picture covers the monitor; the game's own window mode is not changed). **Focus is stored only**: raising the game window is not built. 90/120 Hz and RTX VSR are wired, not tested. |
| Launcher window (Slint): Home, Library, Unfiltered, a page per game, Settings | Working. Run `summit-gui`. Home has a hero for the focused game (its wide art as backdrop, logo, hours, Play) over shelves: Jump back in, Pinned, Most played. Library is a cover grid that fits the window, or a dense list, with All / Installed / Not installed, three sort orders and search. Checked in headless renders at 1600x900, 1280x800 and 900x600, in a real window under Xvfb, and on the KDE neon X11 desktop of the test VM (software OpenGL there). **Not checked on a GPU-rendered desktop or a TV yet.** |
| Layouts (Big picture, Grid, List) and six themes (Midnight, Steam blue, Daylight, Violet, High contrast, OLED black) | Working. Saved to `~/.config/summit/ui.toml` with interface size and the animation settings, and loaded at start. |
| Animations with a speed slider (0 turns them off) and three styles | Working in a real window under Xvfb (frames captured mid-transition). How smooth they are on real hardware has not been judged. |
| Keyboard navigation: arrows, Enter, Esc, Tab between sections, `/` to search, P to pin, F11 fullscreen | Working (driven by synthetic key events in the headless renders and in the Xvfb window). |
| Game controller navigation (d-pad or left stick, A, B, X, LB/RB) | Written, reads `/dev/input/js*`. Decoding and mapping are unit tested. **Not tested with a real controller.** |
| Play from the launcher | Steam games are handed to the Steam client (`steam steam://rungameid/<id>`, or `steam://install/<id>` when not installed). Games added by hand go through `summit run`, so the profile is applied and the session tracked. Lutris uses `lutris lutris:rungame/<slug>`. The commands are unit tested; **no game was actually started from the launcher yet** (no Steam on the build machine). Heroic and folders found on disk cannot be started yet and the button says so. |
| Play from the launcher, with an Enhance toggle | Everything goes through `summit run`, so the display profile is applied first. Games added by hand: `summit run <id> [--enhance] -- <path>`. **Working**: Voidrunner was started from the launcher on the test VM, once plain and once with Enhance on (see [Play from the launcher](#play-from-the-launcher)). Steam: `summit run steam:<id> --detached [--enhance --window class:steam_app_<id>] -- steam steam://rungameid/<id>` (`steam://install/<id>` when not installed); **not tested**, there is no Steam on the test machines, and the `steam_app_<id>` window class is what Proton games get, not every native game. Lutris: `summit run <id> --detached -- lutris lutris:rungame/<slug>`, untested, no Enhance. Heroic and folders found on disk cannot be started yet and the button says so. Enhance needs an X11 session; the button is disabled with the reason otherwise. The output of the last run goes to `~/.cache/summit/last-run.log`. |
| Covers for 600+ games | Lists only create the rows on screen, and covers are decoded to thumbnails on a worker thread when a card first appears. Rendered headless with a 662-game library. Not profiled on real hardware. |
| Instant replay with a PS5-style length picker: keep 15 s to 10 min, save 15 s, 30 s, 1 m, 3 m, 5 m or 10 m with Ctrl+1..6 (R saves the default length) | **Engine working** (tested with a synthetic stream on the 3090: a 15 s save and a 600 s request capped at the 40 s actually buffered). Not tested on a live game. The launcher's settings page stores both lengths in `ui.toml` and `summit enhance` passes them to the engine; that path is unit tested, not run against the engine. Key binds work in the engine's own window only; a global key is not built for Linux yet. |
| Live enhance: `summit run <id> --enhance` starts the game and runs frame generation + upscaling on its window, no recording step | **Working on X11** (tested on KDE neon X11 with Voidrunner, RTX 3090): the game is launched, its window is found by process id, the enhanced picture sits on top of it (the game keeps keyboard and mouse), and both stop when either exits. **X11 only**: on Wayland it refuses to start (portal/PipeWire capture is not built). No hotkeys for the engine while it sits over a game yet. See [Live enhance](#live-enhance-play-a-game-with-frame-generation-on-top). |
| Instant replay with a PS5-style length picker: keep 15 s to 10 min, save 15 s, 30 s, 1 m, 3 m, 5 m or 10 m with Ctrl+1..6 (R saves the default length) | **Engine working** (tested with a synthetic stream on the 3090: a 15 s save and a 600 s request capped at the 40 s actually buffered). **Working on a live game on X11**: the launcher's settings page wrote 3 min / 3 min to `ui.toml`, Play with Enhance passed `--replay 180 --clip-length 180` to the engine, and Ctrl+Alt+R pressed while Voidrunner had the keyboard saved a 30.3 s clip (all that was buffered by then; checked with ffprobe). **Global save key**: X11 through `XGrabKey` (ctypes libX11, no extra package; tested on the KDE desktop and under Xvfb, a key another program holds is reported as taken; it does not fire while the KDE lock screen is up). Wayland through xdg-desktop-portal GlobalShortcuts with the optional `jeepney` package: written, **not tested** (no such desktop available). Without either the engine and the settings page say there is no global key. |
| Live enhance: `summit run <id> --enhance` starts the game and runs frame generation + upscaling on its window, no recording step | **Working on X11** (tested on KDE neon X11 with Voidrunner, RTX 3090): the game is launched, its window is found by process id, the enhanced picture sits on top of it (the game keeps keyboard and mouse), and both stop when either exits. **X11 only**: on Wayland it refuses to start (portal/PipeWire capture is not built). The engine's own keys (stats, menu) still need its window; only the clip keys are global. See [Live enhance](#live-enhance-play-a-game-with-frame-generation-on-top). |
| In-game overlay with a watermark showing the project URL | **Working** in the engine's video window: a small `summit - git.molberg.cloud/alex/summit` line in a bottom corner, next to the existing stats. Setting `watermark`, on by default; `--no-watermark` turns it off. Not drawn into saved clips or files. |
| One-click "Add to Steam" with SteamGridDB artwork | Planned |
| "My PS5" and "Capture Card" entries (Remote Play, capture cards, Moonlight, Sunshine) | Planned. Reuses the SmoovPlay pipeline. |
@@ -87,7 +87,19 @@
| AppImage (`packaging/appimage/build.sh`) | Untested. Needs `linuxdeploy` and `appimagetool`, neither available in this environment. |
| Flatpak | Planned |
## Install
## Play from the launcher
A game's page has Play, an **Enhance** toggle and **Profile**. With Enhance on, Play runs `summit run <id> --enhance`: the display profile is applied, the game starts, and the engine runs the profile's frame generation and upscaler on its window until either one exits. Clip lengths come from Settings, and Ctrl+Alt+R saves a clip from any window on X11. These captures are from the KDE neon X11 test VM (software OpenGL, RTX 3090 for the engine):
| | |
|---|---|
| ![Voidrunner's page with Enhance on](docs/media/live/gui-detail-enhance.png) | ![The launch profile editor listing the monitor's real modes](docs/media/live/gui-profile-editor.png) |
| Enhance toggle on a game's page | Profile editor: monitor, resolution and refresh from xrandr |
| ![Voidrunner running with RIFE and FSR after Play](docs/media/live/gui-play-enhanced.png) | ![The engine's toast after Ctrl+Alt+R: saved the last 30 s](docs/media/live/gui-clip-saved-global-key.png) |
| After Play: RIFE + FSR on the game's 720p window, full screen | Ctrl+Alt+R pressed while the game had the keyboard |
![Clip settings: keep the last 3 min, a save writes 3 min, Ctrl+Alt+R from any window](docs/media/live/gui-clip-settings.png)
```sh
curl -fsSL https://git.molberg.cloud/alex/summit/raw/branch/main/install.sh | sh
-1
View File
@@ -495,7 +495,6 @@ pub fn build(headless: bool) -> Rc<App> {
if let Some(i) = hit {
app.open_detail(i as i32);
if env("SUMMIT_EDITOR").is_some() { app.open_profile(i as i32); }
if let Some(b) = env("SUMMIT_DETAIL_BTN").and_then(|v| v.parse::<i32>().ok()) { app.ui.invoke_set_detail_btn(b.clamp(0, 4)); }
}
}
app
-1
View File
@@ -80,7 +80,6 @@ export component MainWindow inherits Window {
property <bool> art: (root.view == 0 && !home.empty) || root.detail-open;
public function resync() { home.sync(); }
public function set-detail-btn(b: int) { detail.btn = b; }
public function goto(v: int) {
root.view = v;
if (v == 0) { home.sync(); Lib.focus-game(home.hero-idx); }
+1 -1
View File
@@ -112,7 +112,7 @@ export component SettingsView inherits Rectangle {
}
Section { x: root.cx; y: 688px; width: root.cw; title: "CLIPS"; icon: Icons.film; }
Row { x: root.cx; y: root.ry(5); width: root.cw; label: "Keep the last"; hint: "Instant replay buffer, passed to the engine as --replay (Enhance on Play, summit run --enhance, summit enhance)."; focused: root.active && root.srow == 5; hit => { root.srow = 5; }
Row { x: root.cx; y: root.ry(5); width: root.cw; label: "Keep the last"; hint: "Instant replay buffer, passed to the engine as --replay."; focused: root.active && root.srow == 5; hit => { root.srow = 5; }
Segmented { x: parent.width - self.width - 16px; y: 16px; width: 6 * 76px + 8px; options: Prefs.clip-lengths; value <=> Prefs.replay; changed => { root.srow = 5; Prefs.clip = Math.min(Prefs.clip, Prefs.replay); root.save(); } }
}
Row { x: root.cx; y: root.ry(6); width: root.cw; label: "A save writes"; hint: "Passed as --clip-length. " + Lib.hotkey-status; focused: root.active && root.srow == 6; hit => { root.srow = 6; }
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 351 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 KiB

+1
View File
@@ -9,4 +9,5 @@ av
sounddevice
# TensorRT engines (optional): tensorrt-cu12, onnx, onnxscript; see installer/requirements-runtime.txt
# AMD / Intel cards (DirectML, Experimental): onnxruntime-directml, onnx
# Global save-clip key on Wayland (optional, untested): jeepney (xdg-desktop-portal GlobalShortcuts)
pytest