README and docs/agent-reports/polish.md: what changed after the RC run, how it was checked, what to test
This commit is contained in:
1 parent
aecaa585c1
commit
f4185d7590
2 files changed
+42
-6
No files matched your search
@@ -84,13 +84,13 @@ What was really run: see [Status](#status) (a real install into a scratch prefix
|
||||
| Steam scan (all library folders, installed or not), Steam playtime, "most played" | **Tested** | Sample libraries, including the demo one above. Not run against a real Steam install in this run. |
|
||||
| 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. |
|
||||
| Pin to Home, custom artwork | **Working** | Pins from the CLI and the launcher. Artwork through `summit art`; the launcher's "Change artwork" button is marked Soon. |
|
||||
| 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`). |
|
||||
| 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 games started from the launcher | **Experimental** | Command lines are built and unit tested; no Steam or Lutris on the test machines. Heroic and folders found on disk cannot be started yet 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 cannot be started (add them with `summit add`) and the button says so. |
|
||||
| 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. |
|
||||
@@ -101,7 +101,7 @@ What was really run: see [Status](#status) (a real install into a scratch prefix
|
||||
|
||||
## Clips
|
||||
|
||||
The engine keeps a rolling buffer of what you played (hardware encoded where possible), like the PS5's Share button. Pick how far back to keep (15 s to 10 min) and what a save writes (15 s, 30 s, 1 m, 3 m, 5 m or 10 m) in Settings. **Ctrl+Alt+R saves a clip from any window on X11**, so you never have to leave the game; in the engine's own window **R** saves the default length and **Ctrl+1 to Ctrl+6** a chosen one. A clip is never longer than the buffer holds. Clips land in `~/Videos/Summit/<game>/` (a folder per game, named after the library entry) as plain MP4 files.
|
||||
The engine keeps a rolling buffer of what you played (hardware encoded where possible), like the PS5's Share button. Pick how far back to keep (15 s to 10 min) and what a save writes (15 s, 30 s, 1 m, 3 m, 5 m or 10 m) in Settings. **Ctrl+Alt+R saves a clip from any window on X11**, so you never have to leave the game; in the engine's own window **R** saves the default length and **Ctrl+1 to Ctrl+6** a chosen one. A clip is never longer than the buffer holds. Clips land in `~/Videos/Summit/<game>/` (a folder per game, named after the library entry) as plain MP4 files; **Settings > Clips folder** opens it. The folder per game is new since the RC run (unit tested; the RC clip went to the old `~/Videos/SmoovPlay/`).
|
||||
|
||||

|
||||
|
||||
@@ -180,7 +180,7 @@ What was measured, and what was not (test VM: RTX 3090 shared with another job,
|
||||
- Fullscreen with FSR to 1080p: only about 33 output frames a second, because software OpenGL takes 15 ms to draw each one. **On that VM fullscreen is slower than the game itself.** With a real GPU-driven display this step is expected to take well under a millisecond, but that has not been measured.
|
||||
- Not tested: a real 30 fps game (Voidrunner ran at about 50), 90/120 Hz output, two monitors and `--monitor`, a compositor with direct scanout, games started through Steam or Proton, exclusive-fullscreen games, mouse-driven games in fullscreen mode (clicks go through to whatever is under the pointer, and the picture is scaled, so the pointer does not line up).
|
||||
|
||||
Limits: X11 sessions only (on Wayland it stops with a message). Needs the `ffmpeg` program. The grab polls, so it does not know when the game draws: a 60 fps game can show an occasional repeated or skipped frame. While the picture sits over a game the engine has no keys of its own (they all go to the game): close the game to stop. Killing `summit` itself with a signal does not stop the two it started, and does not put the monitor's mode back. `SUMMIT_ENGINE_ARGS` passes extra flags to the engine, e.g. `SUMMIT_ENGINE_ARGS=--no-graph` on a GPU short of memory.
|
||||
Limits: X11 sessions only (on Wayland it stops with a message). Needs the `ffmpeg` program. The grab polls, so it does not know when the game draws: a 60 fps game can show an occasional repeated or skipped frame. While the picture sits over a game the engine has no keys of its own (they all go to the game): close the game to stop. SIGTERM, SIGINT or SIGHUP to `summit` itself stops the game and the engine and puts the monitor's mode back (exit code 128 + the signal; SIGKILL cannot be caught). Checked with stand-in processes; the mode restore after a signal has not been tried on a real display yet. `SUMMIT_ENGINE_ARGS` passes extra flags to the engine, e.g. `SUMMIT_ENGINE_ARGS=--no-graph` on a GPU short of memory.
|
||||
|
||||
## The launcher
|
||||
|
||||
@@ -194,7 +194,8 @@ Limits: X11 sessions only (on Wayland it stops with a message). Needs the `ffmpe
|
||||
- **Library**: every game, installed or not. Cover grid or dense list, filter, sort, search.
|
||||
- **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, default upscaler and frame generation for `summit enhance`.
|
||||
- **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`.
|
||||
- If a game started from the launcher fails (`summit run` ends with an error), a toast says why; the full output is in `~/.cache/summit/last-run.log`.
|
||||
|
||||
| Key | Controller | Does |
|
||||
|---|---|---|
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
# Polish pass after the release candidate (2026-11-24)
|
||||
|
||||
Work done on `ap/release-candidate` after the RC report, before the owner's own testing. Each item has its own commit.
|
||||
|
||||
## Added or fixed
|
||||
|
||||
| Item | Was | Now | How it was checked |
|
||||
|---|---|---|---|
|
||||
| Signal to `summit run` (audit: Medium, not fixed) | Killing `summit` alone left the game, the engine and a changed display mode | SIGTERM/SIGINT/SIGHUP stop the engine and the game, then the normal exit path restores the mode; exit 128+signal; output can't panic on a closed terminal | Unit tests; `kill -TERM/-HUP/-INT` to summit with a game script that starts a child (both gone, exit 143/129/130); `--enhance` with a stand-in engine (both gone). **Not tried**: the mode restore on a real display |
|
||||
| `supervise()` on a `try_wait` error (audit: Low) | Returned and left both running | Stops both, then returns the error | Code review only (the error can't be produced on demand) |
|
||||
| Clips folder | `~/Videos/SmoovPlay/SmoovPlay <date>.mp4`, toast with `\` | `~/Videos/Summit/<game>/<game> <date>.mp4` (game name from the launcher's title); toast uses `/`; before & after label says Summit | pytest (`test_clip_folder.py`); not a real clip save |
|
||||
| Heroic | Play said "not built" | Epic and GOG games start through `xdg-open heroic://launch?appName=..&runner=..`; Flatpak Heroic's config is scanned too | Unit tests, `summit scan` on a fake Flatpak config. **Not tried** with a real Heroic |
|
||||
| Change artwork | Button disabled, "Soon" | kdialog/zenity file dialog, the cover and backdrop reload | Xvfb, synthetic keys, a stand-in zenity: state.json got the file, the screen showed the new cover |
|
||||
| `state.json` races (audit: Low) | Last writer wins | Every write is load-change-save under `flock` | Unit test (8 threads); 2 x 40 parallel `summit pin`: 80/80 (77/80 before) |
|
||||
| Controller device without permission (audit: Low) | A new failing thread every 2 s | Opened on the scan; a thread only for an open device | Builds; no real controller |
|
||||
| Clips folder in Settings | — | A row shows the path; Enter / Open runs `xdg-open` on it | Headless renders |
|
||||
| Failed launch from the launcher | Silent (only `~/.cache/summit/last-run.log`) | Toast: "<game> did not start: <error>" | Xvfb: a non-executable entry showed the Permission denied message |
|
||||
| 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.
|
||||
|
||||
## Worth checking in your own test
|
||||
|
||||
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.
|
||||
4. If Heroic is installed: Play on an Epic or GOG game.
|
||||
5. Play on something broken (for example an entry whose file is not executable): a toast should say why.
|
||||
|
||||
## Still open
|
||||
|
||||
- Focus ("raise the game window") is still stored only.
|
||||
- Enhance for Steam games through Proton, Lutris and Heroic games; Wayland capture.
|
||||
- `steam-add` LaunchOptions quoting; profile file names for ids that differ only in punctuation; KDE Wayland monitor names with dots (all from the audit, unchanged).
|
||||
Reference in new issue
Block a user