E2E: PASS # Release-candidate report Run on 2026-11-24 on the GPU test VM (KDE neon, X11 `:0`, 1920x1080, software OpenGL, RTX 3090 shared with another job) with the binaries built from commit `8a1b622` (release build on the build machine, copied over). The two fixes below were made during the run; the engine on the VM already had the Python fix when the second clip was taken. PASS means: the whole path the owner will walk (start the launcher, navigate by keyboard, Play Voidrunner with Enhance, see the overlay and watermark, save a clip) ran for real and worked. It does **not** mean everything in the README is tested: see "Failed, fixed, untested" at the end. ## Verified (each one was run, and the output or image was looked at) 1. **Release build**: `cargo build --release -p summit -p summit-gui` finished (1 m 02 s). `cargo test --workspace`: 1 + 86 + 17 tests pass (also before each commit). Engine `pytest` on the VM (its venv): 25 passed, 2 skipped, including the new test. 2. **`install.sh --dry-run`** on the build machine (Ubuntu 24.04): picked the debian path, printed the build/install/venv steps, changed nothing. Output saved during the run. 3. **`install.sh` for real into a scratch prefix** (`SUMMIT_PREFIX=/tmp/rc-prefix`, `--yes`, run as root on the build machine, Ubuntu 24.04, not the VM): installed `bin/summit`, `bin/summit-gui` and `share/summit/engine`, created the venv. Run twice (the second time after the installer fix below): the second install's `import torch` printed `2.11.0+cu128 12.8`, `glfw`, `cv2`, `av` and `OpenGL` import, and its `summit` binary is byte-identical (sha1) to the one in `target/release`. Caveat: the checkout was supplied with `SUMMIT_SRC_DIR` (a local clone of this commit with `target` linked to the worktree's build cache), not fetched from Gitea, so the clone + cargo build path was not exercised from the network. 4. **Deployment on the VM**: the installed `bin/` and `share/summit/engine` were copied to `/home/user/rc` (the VM has no cargo; the engine's `.venv` and `models` are symlinks to `/home/user/engine`). Not the installer running on the VM. 5. **GUI on the desktop**: `summit-gui --fullscreen` ran on `:0` with a demo library (34 games; Voidrunner is the real entry). 6. **Keyboard navigation** with synthetic X key events (`xkey.py`): Tab walked Home, Library, Unfiltered, Settings; arrows moved focus (also changed a settings value by accident, so those keys really reach the controls); Enter opened Voidrunner's page, pressed Enhance and pressed Play; Esc went back/Home. 7. **Play with Enhance on from the launcher**: process list showed `summit run custom:voidrunner --enhance -- /home/user/Games/Voidrunner/top_down_shooter`, the game, and the engine (`run.py --source window --window=pid: --scaler fsr --display --hz 60 --fullscreen --window-wait 60 --replay 60 --clip-length 30 --no-graph`). The Enhance flag lives in the game's profile file: I first overwrote the profile by hand after toggling and lost it (my mistake, not a bug); the launcher passed `--enhance` once the field was back. 8. **Engine overlay and watermark on screen**: the full-screen capture shows the game's menu and gameplay drawn by the engine, the stats line (`34 fps game 56 delay 65 ms` and similar) at the top left and `summit - git.molberg.cloud/alex/summit` at the bottom left (`docs/media/rc/enhanced-gameplay.png`, `enhanced-menu.png`, `overlay-stats-watermark.png`). 9. **Played through the game with keys**: menu keys (Return x4, y, 1, 2), movement keys; the game reacted (artifact card chosen, a room entered, the character died and the *You died* screen came up). 10. **Clip save**: Ctrl+Alt+R (X11 global key, injected with XTest while the game had the keyboard). Toast: `Saved the last 30 s: ...`. File: `~/Videos/SmoovPlay/SmoovPlay 2026-11-24 09-27-53.mp4`, `ffprobe`: h264, 1280x720, 30.13 s, 16.8 MB, 1051 frames. `ffmpeg -i ... -f null -` decodes the whole file (exit 0). A frame was extracted and looked at. 11. **Shutdown**: killing the game by PID stopped `summit run` and the engine within 6 seconds; `xrandr` showed `Virtual-1` still at `1920x1080`; no leftover `top_down_shooter`, `run.py` or `summit` processes. The `settings.cfg` I put in the game's data folder (windowed 720p) was removed afterwards. 12. **Screenshots** (all real window captures taken with `import -window`, then viewed; the popups that were on screen, KDE "Memory Shortage Avoided" notifications, are not in them because the Summit window was captured, not the root; the fullscreen engine captures cover the whole screen and showed no popups): home, home focus, library, list, unfiltered, game page, game page with Enhance on, settings, themes (Steam blue, Daylight, Violet, High contrast, OLED black; Midnight is the default), the enhanced game (menu and gameplay), the clip toast, a before/after comparison and an overlay detail. Files: `docs/media/summit-*.png`, `docs/media/rc/*.png`, resized to 1600 px wide where they were full-screen captures. 13. **README rewritten** with those images, a Working / Tested / Experimental / Planned table, the one-line install, the clip feature, links and the SmoovPlay credit. ## Found and fixed - **Ctrl+Alt+R ignored the clip length** (engine, High for the clip feature): the global key called `save()` with no length, so a 60 s buffer with a 30 s clip setting wrote 60.4 s (first clip of the run, 33.8 MB). Fix: the engine remembers the configured length (`Recorder.default_clip`, set from the `replay_clip` setting) and the key passes it. New test `test_global_key_saves_the_default_clip_length_not_the_whole_buffer`. Re-run: 30.13 s. Commit `engine: Ctrl+Alt+R saves the configured clip length...`. - **`install.sh` installed the wrong torch on NVIDIA machines**: `requirements.txt` only says `torch>=2.6`, so the first `uv pip install -r` pulled PyPI's default (2.15.0+cu132 here, CUDA 13.2, which the VM's 580 driver cannot run) and the cu128 step that followed saw it satisfied and did nothing. Fix: install the cu128 torch first, then the requirements. Re-run for real: `2.11.0+cu128`. Commit `install.sh: install the CUDA 12.8 torch ...`. Not checked: that this torch actually runs on a GPU (the build machine has no usable NVIDIA driver; `torch.cuda.is_available()` was `False` there). ## Failed, quirks, untested - **Enhanced output is slower than the game on this VM**: 32 to 40 fps out while the game draws 52 to 58, delay 65 to 97 ms. Cause (known from before): software OpenGL needs about 15 ms to draw each 1080p frame, so the display step, not the engine, is the limit. Not measured on a GPU-driven display. I did not try the windowed (non-fullscreen) mode in this run, where earlier measurements gave 56 fps. - **Toast text shows a Windows-style path** (`Videos\SmoovPlay\...`) on Linux. Cosmetic, not fixed (it is SmoovPlay's `_short()` helper). - **The clip's container time base is 240 fps** and ffmpeg prints about 69 "non monotonically increasing dts" warnings while decoding the clip (it still decodes completely; average 34.9 fps). Playback in a desktop player was **not** tried; ffprobe/ffmpeg only. No sound track in the clip (`ffprobe` listed one video stream; whether the game's audio should be there was not checked). - **Before/after**: on this pixel-art game the upscaled still looks nearly the same as the plain scaled window; the comparison image says so. Frame generation can't be shown in a still and the fps did not improve on this VM. - **Untested** in this run: `/`, `P`, `F11` keys; the profile editor and Settings controls (apart from the accidental value changes); a real Steam, Heroic or Lutris launch; a controller; Wayland; 90/120 Hz and `--monitor`; RTX VSR; PS5 and capture cards; `--no-watermark` (earlier check only); display mode switching (the profile in this run used the default mode); `install.sh` on other distros (dry run only), as a non-root user, into `/usr/local`, or on the VM itself; the `.deb`, AUR and AppImage packages; the live Gitea `curl | sh` path (the raw URL answers, but its `install.sh` is whatever is on `main` there, not this commit; nothing was pushed). - Things the run left behind: on the VM `/home/user/rc`, `/home/user/rc-home` (demo HOME with two test clips in `Videos/SmoovPlay`), two extra screenshots (`shot00003.png`, `shot00004.png`) the game saved into its own `data/album/` when I died, and an `album.txt` entry; on the build machine `/tmp/rc-*`. Nothing was pushed.