Found live on the VM: the drag ended as a click (back to picking). SUMMIT_SHOT=<prefix> plus a <prefix>.req
file makes the window write the frame it is about to show (the shared, composited llvmpipe display gave
out-of-order window captures).
Measured on the RTX 3090 (headless EGL, 1080p Voidrunner frame): GLSL FXAA 0.072 ms, CAS 0.022 ms against
torch (compiled) 0.99 and 1.03 ms. The window runs the setting this way unless OpenGL is software and CUDA is
there (SUMMIT_AA_GL=1/0 forces it); SMAA-style and the AA comparison stay torch.
Window: A (Same area), Space (Freeze), hold V (Flip), arrows/Enter/1-4/+-/Esc while picking an area, click to
pick, drag to pan, wheel to zoom; upscaler and look cells blitted with nearest (the inset map smoothed).
Overlay: the Compare tab gets Area (buttons and a clickable map of the picture), Zoom, Divider, Freeze, Flip,
Labels at; render() takes a maximum width so the panel is never cut off by a narrow window.
The 2x2 same-crop layout becomes Same area: one cell per strip (halves, thirds, 2x2), the player picks one
and every cell shows that area of the scene with its own variant, enlarged by whole pixels (nearest).
Freeze holds one game frame (not for frame generation); Flip shows the whole picture with A or B.
Keys and mouse go through Live by name so they are testable without a window.
The engine's summary now says which game it was (SUMMIT_GAME, which summit
run/enhance already set) and ended_unix. The reader takes duration_s, fps_avg,
the engine's low1_fps/low01_fps (as 1% / 0.1% low), its ISO "ended" for older
files, and shows the config words (model, multiplier...) instead of the 80
settings. Tested against a real benchmark summary written by the engine on
the GPU VM (checked in as a fixture) and stats' own older real summary.
The engine's settings registry now carries --compare's dimensions, each with
its choices (names in order), the most strips and a suggested comparison
(compare.registry(), in specs_json). The launcher parses it leniently
(registry::CompareDim), checks a comparison against it and offers one per
dimension (aa:off,fxaa,smaa,cas, scaler:off,bilinear,fsr,vsr, framegen:off,on,
look:off,on) instead of guessing from setting keys (interp:true,false...).
Tests on both sides: the registry's choices and suggestions parse in the
engine, the old guesses do not; the real-registry Rust test asks the engine's
own parser to accept every offer.
profile.rs: both fields kept, Compare's named `aa` and the launcher's
`[engine]` table. `aa` is treated like the other named engine settings
(named_for, NAMED_ENGINE_KEYS, forced()), so a later layer wins whichever way
it sets anti-aliasing and the launcher's row drops the older named key; new
test. Compare's --aa planner test no longer expects --hz 60 (launcher-ui
passes no --hz when the profile sets no multiplier).
Both sides kept: the present() closure takes Compare's real frame and stats'
generated flag; ai() times through Compare's _generated(make) so the AI frame
time goes to both the stats collector and Compare's label (one measurement,
two readers). P (summary) and C / Shift+C (Compare) both bound. While Compare
draws upscaler/look strips no upscale time goes to the stats (RTX VSR's CUDA
events included), so strips are not counted as the upscaler's cost.
README: stats' status rows and section beside Compare's; the newer instant
replay and install.sh rows from the reconcile side.
framegen/aa.py: three clean-room filters on the game's frame, one implementation for torch
(the GPU path) and numpy (the CPU fallback). framegen/compare.py: what can be compared,
which variants can run here and why not, strip layouts and dividers, timings and labels,
composing strips, the frame generation strips and the labels as ui_draw images. The aa
setting and the Compare rows in settings.py; tests without a GPU or a window.
Kept the owner's structure and wording in README.md, install.sh and summit-cli;
carried over the verify run's fixes that his rewrite did not already make:
install --no-deps, cargo's real target dir, dry-run venv path, XWayland
detection through the X server's client pids, the replay default for a new
user (also on the remote-play and capture-card launches), unbuffered engine
output, doctor's hedged wording. Report: docs/agent-reports/reconcile.md.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
60 fps games
- A game at a steady 60 fps (found after a second at 57+, or Game frame rate
set to the new 60 fps) goes on the frame timeline, which draws in-between
frames at any rate; the 60 Hz beat alone only ever showed its own frames
- The frame multiplier works from the game's rate: 2x makes 30 fps 60 and
60 fps 120 (labels are now just "2x", "3x"...)
- --sim60 plays a 60 fps file as a 60 fps game, for testing
Output resolution
- The upscaler makes the picture at a chosen size (720p .. 4K, or any WxH),
then it's fitted to the screen: lighter below the screen's size,
supersampling above it. --output-res, the overlay, Summit's profile editor
(with a custom size), `summit profile set --output-res`
In-game overlay
- Tabs regrouped with headings: Home, Frame generation (Basics, AI model,
Smoothing), Upscaling (Upscaler, Output), Display (Window, Colour and look),
Overlay (Stats, Graphs, This menu, Branding), Clips, Sources; one table
(settings.LAYOUT) says where each setting goes
- Bigger: 1100 px wide, 11 rows; headings are skipped by keys and the mouse
- Home adds Game frame rate and Output resolution
Summit: Game frame rate and Output resolution per game (profile, editor, CLI)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The overlay's window is an X11 (GLX) one on a Wayland session, but PyOpenGL
picked EGL there and couldn't look up newer GL functions for that context:
glTexStorage2D was a null function, and RTX VSR's first frame ended the engine
(Summit's picture flashed up and closed). PyOpenGL now uses GLX along with
pyGLFW's X11 build.
And a failing RTX VSR no longer ends the session: that frame is drawn without
it, VSR comes off the list, FSR 1 takes over, and a message says so.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
NVIDIA VFG and RTX VSR
- Settings > NVIDIA VFG and RTX VSR: status, NVIDIA's licences, and a download
that only starts once they're accepted; `summit nvidia status|install|remove`
- NVIDIA's runtime lives per user (~/.local/share/summit/nvidia-vfx); every
engine start gets FRAMEGEN_VFX_PATH
- The installer falls back to uv when the engine's venv has no pip
Frame multiplier
- 2x..10x of a 30 fps game instead of 60/90/120 Hz: the editor's Frame
multiplier (2x, 3x, 4x, 5x, 6x, 8x) and Custom multiplier, the overlay's
slider, `summit profile set --multiplier`, the engine's --hz (any multiple of
30 from 60 to 300)
- The pipeline spaces N in-between frames evenly for any N (cadence_steps);
60/90/120 keep their exact cadence
- Older profiles keep their rate (target_hz 120 reads as 4x)
Upscaling off
- Upscaler "Off": the picture at its own size, never enlarged (the profile's
"None" used to fall back to FSR)
In-game overlay
- A window: dragged by its title bar, kept inside the picture, opens where it
was left
- The wheel scrolls the page (or an open list); the highlight stays put; the
scrollbar drags and its track jumps
- Native controls: switches, buttons, sliders for ordered numbers (multiplier,
sizes, opacity, sharpening), drop-down lists for long lists; pointer shapes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Engine: load pyGLFW's X11 build when the overlay needs XWayland on a Wayland
session (its Wayland-only build made the engine fail with "glfw init failed")
- Engine: "dir:FOLDER" window rule (a process running from the game's folder,
Wine's Z:\ paths included) and "ask:" (wait for a rule picked in the launcher,
read live from SUMMIT_WINDOW_FILE while it waits)
- Enhance for non-Steam games in Steam, Lutris and Heroic, and native Steam games:
window rule from the game's .exe class and install folder
- Per-game "window" profile setting (Profile > Game window, `summit profile set
--window`), which wins over the automatic rule
- Now playing: Enhance status, "Pick the game's window" (W); the picker opens by
itself when the engine has no rule or found nothing in 20 s, lists new windows
first, and saves the pick to the game's profile and hands it to the engine
- `summit windows`: open windows and the rule each one would get
- Window placement follows dir: rules too
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Splash: Summit's icon rises in over an amber glow, the name follows, then it
fades into the app (about a second, no keys taken, off when motion is off)
- install.sh: after installing icons, rebuild KDE's sycoca and send
KIconLoader.iconChanged so a running Plasma shows the updated icon
- New app icon (SVG + rendered PNG sizes, render.sh), used by the packages and
the engine's window
- Lutris scan, consoles (Remote Play via chiaki-ng frame tap, capture cards),
Steam account switching, running-game tracking, window mode, artwork
- Library UI: add dialog, profile editor, accounts, "now playing" screen
- Engine: in-game overlay/HUD, overlay key, global key fixes
Co-Authored-By: Claude Opus 5.5 <[email protected]>
On a Wayland session, --window finds the game among XWayland windows (captured as on X11) and, on KDE, among
KWin's native windows (a one-shot KWin script reports pid, title, place and focus over D-Bus). A native window
goes through xdg-desktop-portal ScreenCast (one window, pointer hidden, persist_mode 2; the restore token is kept
in ~/.config/summit/screencast-token) and gst-launch-1.0 pipewiresrc piping raw BGR (CPU copy). Run on Plasma 6.8:
the dialog once, then restored for a new window of the same app with no dialog; about 50 new frames a second
at 1288x748. devtools/wayland_standin.py is a native Wayland test window that logs its keys and focus.
Plasma 6.8's portal refuses a host program without an app id ('An app id is required'); Register('summit')
works once summit.desktop is installed. Without the portal, the X11 grab through XWayland fires while an
XWayland window has the keyboard.
Checked on KDE Plasma 6.8 Wayland (RTX 5080): x11grab reads an XWayland game's window, and an override-redirect
XWayland window stays above it without taking the keyboard. GLFW is told to use X11 for the overlay (it picks
Wayland otherwise). Also fixes --monitor with the fullscreen overlay: GLFW monitor pointers were compared by
identity, never matched, and the overlay covered the whole X screen (all monitors).
- summit-core::signals catches SIGTERM, SIGINT and SIGHUP (only an atomic store in the handler). supervise() and the
new wait_or_stop() poll it, stop the engine and the game, and summit run leaves through its normal path, so the
display mode is restored. Exits 128+signal. A try_wait error in supervise() now stops both before returning.
- Output in the Run arm can no longer panic on a closed terminal (after SIGHUP).
- summit run --title (the launcher passes the library title) is given to the engine as SUMMIT_GAME; clips are saved
in Videos/Summit/<game>/ named '<game> <date>.mp4'. The toast shows the path with this system's separator, and
before & after videos say 'Summit' instead of 'SmoovPlay'.
Checked: kill -TERM / -HUP / -INT to summit alone stopped a game script and its child (exit 143/129/130); with
--enhance and a stand-in engine, both stopped and the engine saw SUMMIT_GAME. Display restore after a signal was not
run (no X display here).
Instant replay's Ctrl+Alt+R / Ctrl+Alt+B now work from any window on X11, so they reach the engine while
the game keeps the keyboard. On Wayland the portal is used through jeepney when it is installed; that path is
untested. Without either the engine prints why there is no global key.