README and polish report: installer additions, summit doctor, Add a game; what was checked and what was not

This commit is contained in:
alex committed 2026-11-24 16:19:14 +00:00
1 parent b37ba2e2d1
commit cf40291211
2 files changed
+24 -5

No files matched your search

+7 -4
View File
@@ -56,7 +56,7 @@
curl -fsSL https://git.molberg.cloud/alex/summit/raw/branch/main/install.sh | sh
```
The installer detects your distro (Arch/CachyOS/Manjaro, Debian/Ubuntu/neon/Mint, Fedora, openSUSE), your GPU vendor and your session type, prints exactly what it is about to do, and asks before any `sudo` step (`--yes` skips that, `--dry-run` only prints, `--uninstall` removes what it installed). It builds Summit from source with `cargo` (no release packages are published yet) and sets up the engine's Python environment with `uv` (Python 3.12; CUDA 12.8 torch if it finds an NVIDIA GPU). Then run `summit-gui`.
The installer detects your distro (Arch/CachyOS/Manjaro, Debian/Ubuntu/neon/Mint, Fedora, openSUSE), your GPU vendor and your session type, prints exactly what it is about to do, and asks before any `sudo` step (`--yes` skips that, `--dry-run` only prints, `--uninstall` removes what it installed). It builds Summit from source with `cargo` (no release packages are published yet) and sets up the engine's Python environment with `uv` (Python 3.12; CUDA 12.8 torch if it finds an NVIDIA GPU). It also installs the tools Summit calls (`ffmpeg`, `xrandr`, `xdg-open`, `zenity`; a failure there only warns), downloads the default RIFE model, and adds **Summit** to the app menu. Then run `summit doctor` to see whether Enhance can work on this machine, and `summit-gui` (or Summit in the app menu).
What was really run: see [Status](#status) (a real install into a scratch prefix on one Ubuntu machine; dry-runs for the other distros).
@@ -85,12 +85,14 @@ What was really run: see [Status](#status) (a real install into a scratch prefix
| Heroic (Epic, GOG) and Lutris detection | **Tested** | Sample files only. |
| A reason for every detected entry (Unfiltered); heuristic detection; Windows `.exe` outside a Wine prefix listed as Software | **Tested** | The Unfiltered screenshot shows the reasons for the demo library's Steam entries on the real window. Heuristic and `.exe` detection: unit tests and sample folders, not a real disk full of games. |
| Hours played: Steam's own for Steam games, Summit-tracked sessions for everything else | **Tested** | Unit tests and the demo library; Summit's own tracker ran with Voidrunner earlier. `state.json` is now changed under a file lock, so the launcher and `summit run` saving at once both keep their change (checked: 2 x 40 parallel `summit pin`). |
| Add a game from the launcher (Library > **+ Add a game**, or **ADD** on a folder found on disk) | **Tested** | New since the RC run: the desktop's file dialog picks the file that starts the game, a second dialog asks for its name (guessed from the folder, skipping `bin`, `x86_64` and the like), the library reloads and the game's page opens. Checked on Xvfb with a stand-in zenity, both ways in; not on a real desktop or with kdialog. |
| `summit doctor` readiness list | **Tested** | New since the RC run: says whether the engine, its venv, torch with CUDA, the model, `ffmpeg`, `xrandr`, `xdg-open` and a file dialog are there, and what each missing one turns off. Run on the build machine (no venv there, so the torch line was not exercised for real); unit tests. |
| Pin to Home, custom artwork | **Working** / **Tested** | Pins from the CLI and the launcher; `summit art`. **New since the RC run**: the launcher's **Change artwork** opens the desktop's file dialog (kdialog on KDE, zenity elsewhere) and the cover and backdrop change at once: checked on Xvfb with a stand-in zenity, not on a real desktop. |
| Display profile applied at launch (monitor, resolution, refresh) and put back | **Working on X11** | Earlier on the test machine: `summit run` switched the output from its custom mode to 1280x800 @ 74.99 Hz and back when the game exited. Not repeated in this run (the profile used had the default mode). KDE Wayland and wlroots command plans: unit tests only. GNOME Wayland: skipped with a message. |
| Per-game profile editor (Profile on a game's page) | **Working** (earlier run) | Listed the monitor's real xrandr modes; every change is written to the profile. Not opened in this run. Focus is stored only (raising the game window is not built). |
| `summit enhance clip.mp4` (RIFE on a file) | **Working** (earlier run) | 30 fps 1080p to 60 fps at 14 ms per generated frame on the RTX 3090. |
| Game controller navigation | **Experimental** | Reads `/dev/input/js*`; decoding and mapping unit tested, no real controller. |
| Steam, Lutris, Heroic games started from the launcher | **Experimental** | Command lines are built and unit tested; no Steam, Lutris or Heroic on the test machines. Heroic (new): Epic and GOG games start through `xdg-open heroic://launch?appName=..&runner=..` (the format in Heroic's source), and the Flatpak Heroic's games are now found too. No Enhance for Lutris and Heroic games. Folders found on disk cannot be started (add them with `summit add`) and the button says so. |
| Steam, Lutris, Heroic games started from the launcher | **Experimental** | Command lines are built and unit tested; no Steam, Lutris or Heroic on the test machines. Heroic (new): Epic and GOG games start through `xdg-open heroic://launch?appName=..&runner=..` (the format in Heroic's source), and the Flatpak Heroic's games are now found too. No Enhance for Lutris and Heroic games. Folders found on disk are not started directly: their button is **ADD** (see the Add a game row). |
| RTX Video Super Resolution (`rtx-vsr`) | **Experimental** | Wired to the engine, not tested. |
| 90/120 Hz output, choosing a monitor by name | **Experimental** | Wired, one virtual display only. |
| PS5 Remote Play and capture cards | **Experimental** | Wired as `ps5` / `capture:<name>` sources, no hardware. |
@@ -134,7 +136,8 @@ cargo build --release
./target/release/summit add "My Game" ~/Games/mygame/run.sh # add anything by hand (--software for apps)
./target/release/summit pin steam:620 # show on Home
./target/release/summit art steam:620 cover.png # custom artwork
./target/release/summit doctor my-game # Wayland or X11? what would run?
./target/release/summit doctor # what is missing for Enhance, profiles, clips, artwork
./target/release/summit doctor my-game # also: the display commands this game's profile would run
./target/release/summit profile set my-game --monitor HDMI-A-1 --width 3840 --height 2160 --refresh 60 --fullscreen true --focus true
```
@@ -191,7 +194,7 @@ Limits: X11 sessions only (on Wayland it stops with a message). Needs the `ffmpe
```
- **Home**: the focused game as a hero, over shelves: Jump back in (recently played), Pinned, Most played. Hours come from Steam's own playtime for Steam games and from Summit's sessions for everything else.
- **Library**: every game, installed or not. Cover grid or dense list, filter, sort, search.
- **Library**: every game, installed or not. Cover grid or dense list, filter, sort, search, **+ Add a game**.
- **Unfiltered**: everything on this machine, grouped by source, with the reason each entry was detected.
- **A game's page** (Enter on a game): stats, launch profile, detection reasons, Play, Pin.
- **Settings** (the gear): layout, theme, interface size, animation speed and style, clip lengths and the clips folder, default upscaler and frame generation for `summit enhance`.
+17 -1
View File
@@ -18,10 +18,26 @@ Work done on `ap/release-candidate` after the RC report, before the owner's own
| clippy | 9 warnings | 0 | `cargo clippy --workspace --all-targets` |
| Engine messages | "SmoovPlay needs...", frame-spacing toasts | Say Summit (only the ones a Linux user sees) | `py_compile`, pytest |
Tests at the end: `cargo test --workspace` 1 + 92 + 19 pass; engine pytest 31 passed, 1 skipped.
| Installer: build deps | A fresh Debian/Ubuntu build of `summit-gui` would stop: the fontconfig crate's build script needs `fontconfig.pc` (`libfontconfig1-dev`), which was not installed | Build deps include the fontconfig headers on all four families | Read the crate's `build.rs` (`pkg_config::find_library("fontconfig").unwrap()`); `sh -n`, shellcheck |
| Installer: runtime tools | `ffmpeg` (Enhance's capture), `xrandr`, `xdg-open`, `zenity` were assumed | Installed in their own step; a failure only warns, and the end of the install lists what is still missing | Clean `ubuntu:24.04` container: the step installed them, and with a broken mirror it warned and went on |
| Installer: app menu | No `.desktop` entry or icon (only the `.deb` had them) | `summit.desktop` (Exec = the installed binary's full path) and the icon; `--uninstall` removes both | Functions run against a scratch prefix: files written, Exec right, uninstall left no file |
| Installer: RIFE model | Downloaded on the first Enhance, into the engine folder; an install as root left that folder unwritable for the user, so that download would fail | The default model (4.22.lite, 21 MB) is fetched during install; skipped when present | Scratch run: a 21 MB torch zip checkpoint; a second call did nothing |
| Installer: rustup/uv failure | `curl | sh` succeeds when curl fails, so the install went on and died later at `cargo: not found` | Stops right away, saying what to install by hand | Seen in the container run (network reset), then fixed; `sh -n`, shellcheck |
| Installer: `SUMMIT_SRC_DIR` | An existing checkout was switched to `main` and pulled | Built as it is (no clone, no pull) | Scratch-prefix runs |
| `summit doctor` | Session and monitors only | Plus a readiness list: engine, venv, torch + CUDA (with the GPU name), the model, ffmpeg, xrandr, xdg-open, a file dialog; each missing one names what it turns off | Unit tests; run on the build machine |
| Add a game | Only `summit add` in a terminal; Play on a folder found on disk was disabled | Library toolbar **+ Add a game**; **ADD** on found folders. File dialog, then a name dialog (guess from the folder name), then the library reloads and the page opens. Warns if the file is not executable | Xvfb with a stand-in zenity: both ways in, `state.json` written, the found folder replaced (no duplicate), toast shown |
| Empty library and the keyboard | Arrows in an empty library moved focus to item -1; the toolbar was unreachable by keys | Keys go to the toolbar when there is nothing below | Xvfb: Tab, Right x4 put the focus ring on Add a game |
| Covers after a reload | — (no reload existed) | Cover jobs carry a generation; one loaded for the old list is dropped | Builds; by reading |
Tests after this second pass: `cargo test --workspace` 1 + 98 + 19 pass; clippy clean. **Not done**: a whole `install.sh` run in the clean container. This host ran out of disk (2.7 GB free; Rust, the build and torch need more), so the parts were tested on their own.
Tests at the end of the first pass: `cargo test --workspace` 1 + 92 + 19 pass; engine pytest 31 passed, 1 skipped.
## Worth checking in your own test
0. `install.sh` on a clean machine, then `summit doctor`: every line should be `ok` on the GPU machine. Summit should be in the app menu.
0. Library > **+ Add a game** with the real kdialog on KDE: pick a game's binary, change the name, Play.
1. `summit-gui` on the real desktop: a game's page, **Change artwork** (needs `kdialog` on KDE or `zenity`), then Settings > **Clips folder** > Open.
2. Play Voidrunner with Enhance, Ctrl+Alt+R: the clip should be in `~/Videos/Summit/Voidrunner/` and the toast should say `Summit/Voidrunner/...`.
3. A profile that changes the mode, then `kill <pid of summit>` while the game runs: the game and the engine should stop and the mode should come back.