README: live enhance (summit run --enhance), watermark, real screenshots from the test VM, what was and was not measured
This commit is contained in:
1 parent
cf3d148a10
commit
5dee5c8939
4 files changed
+34
-2
No files matched your search
@@ -52,13 +52,14 @@
|
||||
| Launcher GUI (Slint): Home / Library / Unfiltered, tweakable animations | Working (first version). Built with Slint; cover art from Steam's cache, tab animations with a speed slider. Run `summit-gui`. Not yet: launching from it, artwork editing, install buttons. |
|
||||
| Big grid or list layout, four themes, switchable in the navbar | Working (not yet saved between runs, no full-screen "big picture" mode yet) |
|
||||
| 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, and there is no GUI settings page for it yet. Key binds work in the engine's own window only; a global key is not built for Linux yet. |
|
||||
| In-game overlay with a watermark showing the project URL | Planned |
|
||||
| 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). |
|
||||
| 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. |
|
||||
| AI frame generation (RIFE) on file sources: `summit enhance` | **Working.** Measured on an RTX 3090 (KDE neon): a 30 fps 1080p clip became 60 fps, with 14 ms per generated frame (PyTorch, CUDA graphs). |
|
||||
| FSR upscaling in the engine | Selectable (`--scaler fsr`), ran in the test above; the image quality has not been inspected. |
|
||||
| RTX Video Super Resolution (`rtx-vsr`) | Wired to the engine, **not tested** here. |
|
||||
| Live output window (`--display`, 90/120 Hz, fullscreen on a chosen monitor) | Wired, **not tested**. No attended display was available. |
|
||||
| Live output window (`--display`, 90/120 Hz, fullscreen on a chosen monitor) | 60 Hz windowed and fullscreen ran on the test VM (software OpenGL, so slow there). 90/120 Hz and picking a monitor by name are wired, **not tested** (one virtual display only). |
|
||||
| PS5 Remote Play (needs chiaki-ng with SmoovPlay's frame tap) and capture cards | Wired as `ps5` / `capture:<name>` sources, **not tested** without the hardware. |
|
||||
| lsfg-vk frame generation for any game | Planned |
|
||||
| DLSS | Planned. Depends on what each game and driver really supports. |
|
||||
@@ -89,10 +90,41 @@ summit profile set default --framegen rife --upscaler fsr
|
||||
summit enhance clip.mp4 --out smooth.mp4 # file in, 60 fps file out
|
||||
summit enhance ps5 # PS5 Remote Play, live window (untested)
|
||||
summit enhance capture:0 --profile my-console # capture card, live window (untested)
|
||||
summit enhance window:Voidrunner # a running game's window, live (X11)
|
||||
```
|
||||
|
||||
The engine needs an NVIDIA GPU and its own Python environment (`engine/`, torch with CUDA). The installer for that is not built yet.
|
||||
|
||||
### Live enhance: play a game with frame generation on top
|
||||
|
||||
```sh
|
||||
summit add Voidrunner ~/Games/Voidrunner/top_down_shooter
|
||||
summit profile set custom:voidrunner --framegen rife --upscaler fsr --fullscreen true --target-hz 60
|
||||
summit run custom:voidrunner --enhance # start the game and enhance its window, live
|
||||
summit enhance window:Voidrunner # or: enhance a game that is already running, by window title
|
||||
```
|
||||
|
||||
`summit run <id> --enhance` starts the game, waits for its window (up to `--wait` seconds), starts the engine on it with the game's profile (monitor, fullscreen, upscaler, frame generation, model, `target_hz`), and stops both when either one exits. A window can also be named with `--window` (`class:NAME`, `pid:N`, `xid:N` or part of the title) for games whose window belongs to another process.
|
||||
|
||||
How it works (X11): the engine redirects the game's window off screen with the Composite extension and reads it 60 times a second through `ffmpeg`'s x11grab, leaving out grabs where nothing changed, so frames come at the game's own rate. Its output is a borderless window on top of the game that never takes focus and lets clicks through: over the game's window, or over the whole monitor with `fullscreen = true` (that is where the upscaler has something to do). Stats and the watermark `summit - git.molberg.cloud/alex/summit` are drawn in that window; `--no-watermark` hides the watermark.
|
||||
|
||||
| | |
|
||||
|---|---|
|
||||
|  |  |
|
||||
| `fullscreen = true`: 720p game, RIFE + FSR to 1080p | `fullscreen = false`: over the game's own window |
|
||||
|
||||
Watermark on (top) and off (bottom): 
|
||||
|
||||
What was measured, and what was not (test VM: RTX 3090 shared with another job, **software OpenGL** (llvmpipe) for the display, Voidrunner drawing about 50 fps itself):
|
||||
|
||||
- Capture: about 60 grabs a second of the 1280x720 window, 15 to 30 % of them unchanged and left out.
|
||||
- RIFE: 8.5 ms per generated frame at 720p (PyTorch, without CUDA graphs: the GPU had too little free memory for them, see `SUMMIT_ENGINE_ARGS` below).
|
||||
- Over the game's window (no upscale): 56 output frames a second, about 50 ms from a game frame to the screen.
|
||||
- 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. `SUMMIT_ENGINE_ARGS` passes extra flags to the engine, e.g. `SUMMIT_ENGINE_ARGS=--no-graph` on a GPU short of memory.
|
||||
|
||||
## Clips
|
||||
|
||||
The engine keeps a rolling buffer of what you played (hardware encoded, so it costs little), like the PS5's Share button. Pick how far back to keep with `--replay` (15, 30, 60, 180, 300 or 600 seconds) and what a save writes with `--clip-length`. In the video window, **R** saves the default length and **Ctrl+1 to Ctrl+6** save 15 s, 30 s, 1 m, 3 m, 5 m or 10 m. A clip is never longer than the buffer holds.
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.9 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 253 KiB |
Reference in new issue
Block a user