Wayland verify report (PASS, with six bugs found and fixed), corrections to the Wayland report, screenshots, agent report
This commit is contained in:
1 parent
4cc4f558cf
commit
4314326796
7 files changed
+257
-2
No files matched your search
@@ -76,8 +76,8 @@ What was really run: see [Status](#status) (a real install into a scratch prefix
|
||||
| Launcher window (`summit-gui`): Home, Library (grid and list), Unfiltered, a page per game, Settings | **Working** | Run fullscreen on the KDE X11 desktop; every screenshot above is that window. Software OpenGL there: **not checked on a GPU-rendered desktop or a TV**. |
|
||||
| Keyboard navigation (arrows, Enter, Esc, Tab between sections) | **Working** | Driven with synthetic X key events on the desktop: Tab walked Home, Library, Unfiltered, Settings; arrows moved focus; Enter opened a game's page, toggled Enhance and pressed Play. `/`, `P` and `F11` were not pressed in this run (they were in the earlier headless and Xvfb checks). |
|
||||
| Layouts (Big picture, Grid, List) and six themes | **Working** | All three layouts and five of the six themes captured live from a saved `ui.toml`; Midnight is the default one. |
|
||||
| Play from the launcher with Enhance | **Working** (X11 and KDE Wayland) | Voidrunner: Enhance toggled on with the keyboard, Play pressed: the launcher ran `summit run custom:voidrunner --enhance`, the game and the engine started. Both stopped when the game was killed, and the screen mode was unchanged afterwards. On KDE Wayland: Play on Voidrunner's page did the same (the launcher used to refuse Enhance there). If the engine can't capture (no window found, the share dialog cancelled), the game now goes on without it. |
|
||||
| Live enhance (`--enhance`): RIFE frame generation + FSR upscaling on a running game's window | **Working on X11 and KDE Wayland** | **KDE Plasma 6.8 Wayland, RTX 5080**: Voidrunner (an XWayland game) read through XWayland, the picture over it on a chosen monitor at 60 fps, FSR draw 0.06 ms, 21 to 38 ms from a frame reaching the engine to the screen; the game kept the keyboard, also in its own fullscreen mode. Native Wayland windows through the ScreenCast portal and PipeWire: run with a test window only (the share dialog once, then restored for new windows with no dialog; about 50 frames a second, CPU copy). Other Wayland desktops untested. **X11**: The engine's picture covered the 1080p screen with the 1280x720 game window under it, the game kept the keyboard. **Slow on that machine**: output 32 to 40 fps while the game drew 52 to 58, because software OpenGL takes about 15 ms to draw a 1080p frame; delay 65 to 97 ms. Not measured on a GPU-driven display. |
|
||||
| Play from the launcher with Enhance | **Working** (X11 and KDE Wayland) | Voidrunner: Enhance toggled on with the keyboard, Play pressed: the launcher ran `summit run custom:voidrunner --enhance`, the game and the engine started. Both stopped when the game was killed, and the screen mode was unchanged afterwards. On KDE Wayland: Play on Voidrunner's page did the same (the launcher used to refuse Enhance there). If the engine can't capture (no window found, the share dialog cancelled), the game now goes on without it. **Independent re-run from a fresh install** ([docs/WAYLAND_VERIFY.md](docs/WAYLAND_VERIFY.md), KDE Wayland, 3 runs): launcher (a native Wayland window) -> Library -> `/` search -> Voidrunner -> Play with Enhance on: picture, stats line and watermark over the game, keys reached the game, the game's own Quit ended it with exit status 0, the engine stopped, the monitor mode went back (49 -> 51 -> 49). That run found the XWayland/native mix-up and the replay default described in the report. |
|
||||
| Live enhance (`--enhance`): RIFE frame generation + FSR upscaling on a running game's window | **Working on X11 and KDE Wayland** | **KDE Plasma 6.8 Wayland, RTX 5080**: Voidrunner (an XWayland game) read through XWayland, the picture over it on a chosen monitor at 60 fps, FSR draw 0.06 ms, 21 to 38 ms from a frame reaching the engine to the screen; the game kept the keyboard, also in its own fullscreen mode (re-run from an installed copy: 21 to 27 ms on the stats line, 60 to 61 fps out while the game ran at 54 to 60). Native Wayland windows through the ScreenCast portal and PipeWire: run with a test window only (the share dialog once, then restored for new windows with no dialog; about 50 frames a second, CPU copy). Other Wayland desktops untested. **X11**: The engine's picture covered the 1080p screen with the 1280x720 game window under it, the game kept the keyboard. **Slow on that machine**: output 32 to 40 fps while the game drew 52 to 58, because software OpenGL takes about 15 ms to draw a 1080p frame; delay 65 to 97 ms. Not measured on a GPU-driven display. |
|
||||
| In-game overlay with the Summit watermark | **Working** | Stats line (top left) and `summit - git.molberg.cloud/alex/summit` (bottom left) are on screen in the engine's window. `--no-watermark` turns the watermark off (earlier check). Not drawn into saved clips. |
|
||||
| Instant replay clips: global save key (Ctrl+Alt+R), clip lengths from Settings | **Working on X11 and KDE Wayland** | **KDE Wayland**: Ctrl+Alt+R through the GlobalShortcuts portal saved clips, **also while a native Wayland window (the launcher) had the keyboard instead of the game** (independent re-run, [docs/WAYLAND_VERIFY.md](docs/WAYLAND_VERIFY.md)). The portal accepted Summit in that run with no `summit.desktop` in any applications folder the portal reads; the earlier run on the same desktop was refused without one ("An app id is required"), so install it (`install.sh` does, under its prefix) and treat the no-file case as luck, not a guarantee. Without the portal, an X11 key grab through XWayland works while an XWayland game has the keys (run once, earlier). **X11**: Buffer 60 s, clip 30 s: Ctrl+Alt+R during play saved a 30.1 s H.264 1280x720 MP4 that ffprobe reads and ffmpeg decodes. **This run found a bug and fixed it**: the global key used to save the whole buffer (60 s) and ignore the configured clip length. |
|
||||
| `install.sh` | **Working (one machine)** / dry-run elsewhere | Real run into a scratch prefix (`SUMMIT_PREFIX`) on an Ubuntu 24.04 machine, with the checkout supplied through `SUMMIT_SRC_DIR` instead of the clone: built, copied the two binaries and the engine, made the venv; `import torch` there gave 2.11.0+cu128. **This run found a bug and fixed it**: with an NVIDIA GPU the venv got PyPI's torch 2.15+cu132 (CUDA 13.2; the test machine's driver stops at 13.0) and the cu128 step did nothing; torch is now installed from the cu128 index first. **Second real run** (independent verifier, 2026-11-24): as a non-root user on the KDE Wayland desktop (Arch, RTX 5080), into a scratch prefix, with `--no-deps` (no sudo allowed there; every package the script would install was already present): built, installed both binaries and the engine, made the venv (`torch 2.11.0+cu128`, CUDA on the 5080), downloaded the RIFE model, and `summit doctor` / Play with Enhance then ran from the installed copy. That run found **four bugs, now fixed with tests**: sudo was used even for a prefix in the user's home; the binaries were looked for in `<src>/target` and not where cargo put them (`CARGO_TARGET_DIR`); the dry-run showed the venv in the wrong place; running the installer again (an update) died in `uv venv`. The `pacman`/`sudo` step itself was **not** run, nor `/usr/local`, nor the release-package path. Other distros: `--dry-run` only. |
|
||||
|
||||
@@ -19,6 +19,27 @@ program** (its GLFW is built without the Wayland backend: `X11: The DISPLAY envi
|
||||
it crashes), so the Voidrunner runs are **XWayland** runs. The native Wayland capture path (portal + PipeWire) was
|
||||
run with a stand-in test window (`engine/devtools/wayland_standin.py`), not with a real game.
|
||||
|
||||
## Corrections after the independent re-run (see [WAYLAND_VERIFY.md](WAYLAND_VERIFY.md), 2026-11-24)
|
||||
|
||||
A second agent installed Summit fresh as a non-root user on the same desktop and ran it from the launcher. It found
|
||||
that parts of this report were too sure. Read these before the sections below:
|
||||
|
||||
- **XWayland or native (items 1, 2, 5, 6, 11 and the table above).** KWin 6.8's script API has no `windowId`, so the
|
||||
"is this an XWayland window" flag in `framegen/kwin.py` was **always false**. The engine only took the XWayland path
|
||||
when its own X-window filter (title, minimum size) already had the game on its first look; otherwise it took the game
|
||||
for a native Wayland window and opened the share dialog. That happened with Voidrunner from the launcher. Fixed: a
|
||||
KWin window is native only if no X client has its pid. The XWayland runs in this report were real XWayland runs (the
|
||||
re-run saw the same), but the path was not as reliable as stated.
|
||||
- **Item 9 (the global key needs `summit.desktop`).** In the re-run the portal accepted Summit and Ctrl+Alt+R worked
|
||||
(also with the native launcher window focused, so it is really global) with no `summit.desktop` in any applications
|
||||
folder. The refusal seen here once is real, but the file is not a sure requirement; doctor's wording was softened.
|
||||
Install it anyway.
|
||||
- **Item 15 (`install.sh`).** Run for real now (non-root, scratch prefix, `--no-deps`): four bugs, fixed. Also this
|
||||
report's claim that "install.sh installs" the desktop file only holds under the install prefix.
|
||||
- **A new user's engine had instant replay off** (Settings said 1 min): Ctrl+Alt+R saved nothing until `ui.toml` existed.
|
||||
Fixed in the re-run; the clips in items 5, 6, 10 were made with a `ui.toml` present.
|
||||
- **"Not verified": the launcher's backend** is native Wayland (the X client list does not have it).
|
||||
|
||||
## How it works now
|
||||
|
||||
| Game's window | Capture | Picture on top | Clip key |
|
||||
|
||||
@@ -0,0 +1,196 @@
|
||||
WAYLAND VERIFY: PASS
|
||||
|
||||
# Wayland verify: an independent re-run on the owner's desktop
|
||||
|
||||
Run on 2026-11-24 by a second agent that had not made the Wayland code, on the same desktop as
|
||||
[WAYLAND_REPORT.md](WAYLAND_REPORT.md): Arch Linux, KDE Plasma 6.8 Wayland, RTX 5080 (driver 615.78.08), HDMI-A-1
|
||||
1920x1080 as the test monitor (mode id 49 = 1920x1080 @ 119.98 at the start). Rules kept: only `~/summit-test`
|
||||
(this run's fresh folder is `~/summit-test/verify`; Summit's config, data, cache and clips were pointed into it with
|
||||
`XDG_*` and `SMOOVPLAY_REPLAY_DIR`), no sudo, only my own PIDs killed, never his apps or Steam (the launcher read
|
||||
his Steam library, as it does).
|
||||
|
||||
**PASS means**: installed like a new user would (non-root, own prefix), started the launcher on Wayland, played
|
||||
Voidrunner from the launcher with Enhance, and saw the overlay, the watermark, game input, a clip saved with
|
||||
Ctrl+Alt+R, a clean exit and the monitor mode restored. **It took fixes to get there**: the first runs hit six bugs
|
||||
(below). They are fixed and committed with tests, and what is claimed as working was seen after the fixes.
|
||||
|
||||
## What I did and saw
|
||||
|
||||
### 1. Install, as a new user
|
||||
|
||||
- `id -u` = 1000 (`zebratic`). Source copied to `~/summit-test/verify/src` (no `.git`, no `target`, no venv).
|
||||
Environment: `SUMMIT_PREFIX=~/summit-test/verify/prefix`, `SUMMIT_SRC_DIR=~/summit-test/verify/src`, cargo's home and
|
||||
target dir inside the fresh folder. What I **reused**: uv's download cache and managed Python from the earlier test
|
||||
folder (so torch was not downloaded again) and the copy of Voidrunner.
|
||||
- `sh install.sh --dry-run`: detected `arch`, `nvidia`, `wayland`; the pacman line has `gstreamer gst-plugins-base
|
||||
gst-plugin-pipewire` (all already installed: `pacman -Q` checked). **Bug 1**: with a prefix in the user's own home it
|
||||
still printed `sudo install -Dm755 ...`, `sudo mkdir`, `sudo cp`, `sudo chown` for every copy. **Bug 2**: the dry
|
||||
run showed `uv venv` in `<src>/engine/.venv` while the real run makes it under the prefix.
|
||||
- I may not use sudo there, so the real run is `sh install.sh --yes --no-deps` (the new flag skips the `pacman` steps; the
|
||||
packages were all present). **The `sudo pacman` steps were never run.**
|
||||
- Real run 1: the build finished (1 m 34 s) and then `install: cannot stat '.../src/target/release/summit'`.
|
||||
**Bug 3**: the script assumed `<src>/target`; `CARGO_TARGET_DIR` (or `build.target-dir`) puts the binaries elsewhere.
|
||||
It now asks `cargo metadata`.
|
||||
- Real run 2: installed `prefix/bin/summit` (5.6 MB), `summit-gui` (32 MB), the engine, the app-menu entry and icon under
|
||||
the prefix, made the venv with `torch 2.11.0+cu128` and the requirements, downloaded the RIFE model.
|
||||
`prefix/share/summit/engine/.venv/bin/python -c "import torch; ..."` printed `2.11.0+cu128 True NVIDIA GeForce RTX 5080`.
|
||||
- Run it again (an update): **Bug 4**: `error: Failed to create virtual environment ... already exists`. It now keeps an
|
||||
existing venv and runs the `uv pip install` lines again. After the fix the third run exited 0.
|
||||
- Tests for 1-4: `crates/summit-cli/tests/install_script.rs` (5 tests, run the script with `--dry-run`).
|
||||
Not run: `install.sh --uninstall`, `/usr/local` (needs sudo), the release-package path, other distros.
|
||||
|
||||
### 2. `summit doctor` (from the installed copy, on Wayland)
|
||||
|
||||
```
|
||||
session: Wayland
|
||||
desktop: Kde
|
||||
output DP-2: connected (2560x1600 @ 60 Hz, 13 modes)
|
||||
output DP-1: connected (1920x1080 @ 239.76 Hz, 13 modes)
|
||||
output HDMI-A-1: connected (1920x1080 @ 119.98 Hz, 9 modes)
|
||||
|
||||
What Summit needs:
|
||||
[ok ] session Wayland: Enhance reads XWayland games directly and native Wayland ones through the ScreenCast portal ...
|
||||
[ok ] engine /home/zebratic/summit-test/verify/prefix/share/summit/engine
|
||||
[ok ] torch 2.11.0+cu128, CUDA on NVIDIA GeForce RTX 5080
|
||||
[ok ] model .../prefix/share/summit/engine/models/flownet_v4.22.lite.pkl
|
||||
[ok ] ffmpeg [ok ] xwayland [ok ] screencast
|
||||
[warn] save key summit.desktop isn't installed, so the GlobalShortcuts portal won't give Summit an app id: ...
|
||||
[ok ] pipewire [ok ] kwin [ok ] monitors [ok ] gpu NVIDIA GeForce RTX 5080, 615.78.08 [ok ] xdg-open [ok ] file dialog
|
||||
all set
|
||||
```
|
||||
|
||||
The `warn` is right that no `summit.desktop` is in a folder the portal reads (the installer put it under the scratch
|
||||
prefix only). But the portal accepted Summit anyway in every run below, so the warning's text was too sure; I made it
|
||||
say what was seen (see "Claims" below). "all set" with a warn on the list is how doctor reads; left as is.
|
||||
|
||||
### 3. The launcher, on Wayland
|
||||
|
||||
- `summit-gui` was started from the installed prefix. KWin's window list says it is **not** an XWayland window (the X
|
||||
server's client list, `window_x11 --list`, had only the game): **the launcher is a native Wayland window**. (The earlier
|
||||
report did not check.) It opened on **DP-1, the owner's main screen**, at 1608x929; I moved it to HDMI-A-1 with a KWin
|
||||
script before any screenshot.
|
||||
- Screenshots (all cropped to the launcher's own window or to HDMI-A-1; the home screen showed his Steam library, so
|
||||
I looked at it but did not commit it):
|
||||

|
||||
`/` opened the search, `void` left one card, **Voidrunner**. Return, Return opened its page, which after the first run
|
||||
reads *Played 3 min, Sessions 1, Last played Today* (the session was tracked):
|
||||

|
||||
- Keys reached the launcher (Tab to Library and Settings, `/`, text, Esc, Return); Settings said it saves to the
|
||||
scratch `ui.toml`. Keys were sent with `xdotool` through KWin's input emulation, only while KWin said the target
|
||||
window was active (I re-activated it first each time; the owner was using his desktop and took focus about every
|
||||
other attempt: sends that missed were repeated, never sent to another window).
|
||||
|
||||
### 4. Voidrunner through Play, with Enhance (profile: HDMI-A-1, 1920x1080 @ 60, FSR, RIFE x2, 60 Hz out)
|
||||
|
||||
Set with `summit profile set custom:voidrunner ...`; the launcher's page shows it ("Enhance is on: RIFE x2, 60 Hz out + FSR").
|
||||
|
||||
**Run 1 (Return on Play).** The launcher ran `summit run custom:voidrunner --enhance --title=Voidrunner -- .../top_down_shooter`
|
||||
(`ps` showed that line, the game, `run.py --source window --window=pid:... --scaler fsr --display --hz 60 --fullscreen
|
||||
--monitor=HDMI-A-1`). Monitor mode 49 -> 51 (`display: ran kscreen-doctor output.HDMI-A-1.mode.51`).
|
||||
- **Bug 5 seen here.** The log said `[window] a native Wayland window (...): captured through the ScreenCast portal` and
|
||||
`shared after 3.8 s`, and `gst-launch-1.0 pipewiresrc` was running, but Voidrunner is an **XWayland** game (its own log:
|
||||
`PLATFORM: DESKTOP (GLFW - X11)`; `xdotool search --pid` finds its X window; `libwayland` is not loaded). The
|
||||
engine took it for a native window, so the share dialog opened (it was answered within 3.8 s; **not by me**) and the
|
||||
picture was the portal's: with the window's title bar and frame inside it, fitted with black bars:
|
||||

|
||||
Cause: KWin 6.8's script API has no `windowId` (it is `undefined` for every window, XWayland ones too: I read
|
||||
all the properties of the game's window), so the engine's flag "this is an XWayland window" was always false and
|
||||
*every* KWin window counted as native; the XWayland path only won when the engine's own X list (which skips untitled
|
||||
or tiny windows) had the game on its first look. Fixed: a KWin window is native only if no X client has its pid.
|
||||
Unit tests reproduce it (a 1x1 untitled XWayland window) and fail on the old code.
|
||||
- Overlay, stats line (`60 fps game 60 delay 27 ms`) and watermark (`summit - git.molberg.cloud/alex/summit`, bottom-left)
|
||||
were there. **Game input**: Down, Down moved the game's menu from PLAY to SETTINGS (seen); Return on CREDITS opened the
|
||||
credits (seen); Esc went back; Down + Return on QUIT ended the game. All with the picture on top of the game.
|
||||
- **Bug 6 seen here**: Ctrl+Alt+R saved nothing. The engine was started with no `--replay` (the launcher/CLI added the replay
|
||||
flags only if `ui.toml` existed, and a new user has none), so the engine's own default, instant replay **off**, ran,
|
||||
while the Settings page showed "Keep the last: 1 min". Fixed: `summit run`/`summit enhance` always pass the Settings
|
||||
page's values (60 s / 30 s until changed); unit-tested.
|
||||
- Exit: `custom:voidrunner exited (exit status: 0) after 191s; tracked`, `the game exited; the engine was stopped`,
|
||||
`display: ran kscreen-doctor output.HDMI-A-1.mode.49`; no summit/run.py/game/gst process left; modes DP-2 1, DP-1 17,
|
||||
HDMI-A-1 **49** (as at the start).
|
||||
|
||||
**Run 2 (launcher again, rebuilt from the fixed tree: Tab, `/`, `void`, Return, Return, Return).** Log (read after the run):
|
||||
```
|
||||
[window] an XWayland window: captured through XWayland
|
||||
[window] Voidrunner -- top-down arena shooter (xid 0x2c00007, pid 83723): 1280x720 at 320,431, captured as 1280x720
|
||||
[replay] on: keeping the last 60 s
|
||||
[keys] global keys (portal): ctrl+alt+r, ctrl+alt+b
|
||||
[replay] saved 16.1 s -> .../clips/Voidrunner 2026-11-24 18-24-17.mp4 (16 MB, 0.0 s)
|
||||
[window] 2490 grabs, 15 unchanged (left out); capture restarted 0 time(s) for a resize
|
||||
custom:voidrunner exited (exit status: 0) after 61s; tracked
|
||||
```
|
||||
No `gst-launch` process this time, no share dialog. Picture over HDMI-A-1 with the game in its fullscreen mode;
|
||||
Down + Return on QUIT (selected, seen) ended the game, exit status 0, mode back to **49**:
|
||||

|
||||
- The clip: `ffprobe`: h264, 1280x720, 964 frames, 16.09 s; `ffmpeg -i ... -f null -` decodes it (only the known
|
||||
"non monotonically increasing dts" warnings); a frame at 5 s (the credits) was viewed and is right.
|
||||
- A `Global Shortcuts Requested` window (class `org.freedesktop.impl.portal.desktop.kde`) was active for part of the first
|
||||
seconds of this run (seen in KWin's window list). I did not answer it; it was gone about 20 s later and the key worked.
|
||||
|
||||
**Run 3 (`summit run custom:voidrunner --enhance` from a shell, to test the global part of the key).** XWayland path again,
|
||||
no dialog, `[keys] global keys (portal)`. With the game running, I made the **launcher (a native Wayland window) the
|
||||
active window** and sent Ctrl+Alt+R: `Voidrunner 2026-11-24 18-26-06.mp4` appeared (3.2 s, 190 frames, h264 1280x720,
|
||||
decodes), `[replay] saved 3.2 s`. So the portal key is global: it fired with a window that is not an XWayland game
|
||||
focused (an X key grab could not do that):
|
||||

|
||||
Ended by `kill` of the game's PID (checked it was the test copy): `exited (signal: 15 (SIGTERM))`, engine stopped, mode **49**.
|
||||
|
||||
**Run 4** (final build, same command): `[window] an XWayland window`, the engine's lines were in `last-run.log` while it
|
||||
ran (a new `PYTHONUNBUFFERED`), killed by PID, nothing left, mode 49.
|
||||
|
||||
### 5. Tests
|
||||
|
||||
`cargo test --workspace`: all pass (1 + 5 install-script + 104 + 19). The engine's pytest on the desktop's installed venv:
|
||||
42 passed, 1 skipped, three times in a row. **One earlier full run of the same suite failed once**
|
||||
(`test_globalkeys.py::test_x11_grab_fires_on_the_key_only`, an Xvfb timing test with 0.6 s sleeps; it passes alone and in
|
||||
the three later runs): flaky, not looked into.
|
||||
|
||||
## Earlier claims against what I saw
|
||||
|
||||
| Claim in WAYLAND_REPORT.md | Verdict |
|
||||
|---|---|
|
||||
| XWayland game read through XWayland, no dialog, overlay over the monitor, watermark, game keeps keys | **Seen** (run 2, 3, 4) *after* the detection fix; before it, run 1 took the game for a native one. |
|
||||
| Voidrunner can't run native Wayland | **Consistent** with what I saw (`GLFW - X11`, X window exists). |
|
||||
| `--monitor` matched by name: the picture covers HDMI-A-1 only | I only looked at HDMI-A-1's crop (the picture covered it, fitted). I did not look at the other monitors. |
|
||||
| Ctrl+Alt+R through the GlobalShortcuts portal needs the installed `summit.desktop` | **Not reproduced**: portal keys worked with no `summit.desktop` in any applications folder (`ls` of `~/.local/share/applications`, `/usr/share/applications`, `/usr/local/share/applications` found none). Stale state in the portal is possible; I don't know. README/doctor now say "install it, but it worked once without". |
|
||||
| "the share dialog shows once" | Seen once (run 1, wrongly, for an XWayland game); the dialog was answered by someone else. |
|
||||
| `install.sh` "installs summit.desktop" | True under the *prefix*; a prefix outside `XDG_DATA_DIRS` is not read by the desktop. Not changed: **listed below**. |
|
||||
| `install.sh --dry-run`/doctor fine | Dry run had two bugs (above); doctor's save-key text was too certain. |
|
||||
| Launcher's backend "not checked" | Native Wayland. |
|
||||
| Measured delay 21-38 ms, FSR 0.06 ms | Consistent: stats line 21-27 ms, `FSR 1 1920x1080 p50 0.06 ms`, 60-61 fps out while the game ran at 54-60. |
|
||||
| Native Wayland path with a real game | **Still untested by me** (no native game; I did not rerun the stand-in after my detection change; only unit tests cover that branch). |
|
||||
|
||||
## Bugs found, fixed (each with a test) and committed
|
||||
|
||||
1. `install.sh`: sudo for a prefix the user can write. 2. dry-run showed the venv in the wrong place. 3. binaries looked
|
||||
for in `<src>/target`. 4. second run died in `uv venv`. (All `crates/summit-cli/tests/install_script.rs`.)
|
||||
5. XWayland game taken for a native one (`engine/framegen/window_portal.py`, `kwin.py`; `engine/tests/test_window_portal.py`).
|
||||
6. New user's engine had instant replay off while Settings said 1 min (`engine::ui_clip_args`, test in `engine.rs`).
|
||||
Also: engine output unbuffered so `last-run.log` is live; doctor wording.
|
||||
|
||||
## Not fixed (bigger or not mine to change)
|
||||
|
||||
- `summit.desktop` is installed under the install prefix only; with a prefix outside `XDG_DATA_DIRS` the desktop does not
|
||||
see it. The installer could copy it to `~/.local/share/applications` for a user prefix; I did not do this on the
|
||||
owner's desktop and did not change the installer for it.
|
||||
- The launcher opens on whichever monitor KWin picks (here his main one).
|
||||
- A native Wayland window's picture includes its title bar (KWin's window stream does) and is fitted with bars when
|
||||
the window is not the monitor's shape.
|
||||
- Real keyboard input, other desktops, fractional scaling, 90/120 Hz output, VRR, HDR, Proton/Steam games, clip audio,
|
||||
DMA-BUF: not tested (same as the earlier report).
|
||||
- The `pacman`/`sudo` part of `install.sh`, `--uninstall`, `/usr/local`: not run.
|
||||
- Flaky `test_x11_grab_fires_on_the_key_only` (1 failure in 4 runs).
|
||||
|
||||
## What is on the owner's machine
|
||||
|
||||
- Left: `~/summit-test/verify` (9.3 GB: cargo home, target, the venv with torch, the game copy, logs, clips, screenshots
|
||||
not committed). `rm -rf ~/summit-test/verify` removes it.
|
||||
- Dialogs that appeared and that I did not answer: KDE's "xdotool is asking to control input devices" (once, in the
|
||||
first minutes), the share dialog (run 1) and `Global Shortcuts Requested` (run 2). Whoever answered, answered; the
|
||||
xdotool permission is still the owner's choice.
|
||||
- Created by my runs and **removed**: the portal's ScreenCast permission entry for app `summit` (deleted by id from the
|
||||
permission store; the others were left), the `[summit]` component in `~/.config/kglobalshortcutsrc` (removed through
|
||||
kglobalaccel's `cleanUp`; every run that used the portal key recreated it, so it was cleaned after runs 1-2, after run 3 and after run 4; last check: 0 `[summit]` sections). No `summit.desktop` was written outside the scratch prefix.
|
||||
- One Voidrunner process was left running for about 2.5 minutes by a failed test script of mine (a `( ... &)` double
|
||||
fork); I killed it by PID after checking its executable was the test copy.
|
||||
- Nothing installed system-wide, no sudo, nothing written under `~/Games`, `~/Projects`, Steam or `~/.local/share/applications`.
|
||||
@@ -0,0 +1,38 @@
|
||||
# Agent report: wayland-verify
|
||||
|
||||
Independent verification of the Wayland work, on the owner's KDE Plasma 6.8 Wayland desktop (RTX 5080). Verdict and
|
||||
evidence: [docs/WAYLAND_VERIFY.md](../WAYLAND_VERIFY.md) (`WAYLAND VERIFY: PASS`).
|
||||
|
||||
## What changed (commits on `ap/wayland-verify`)
|
||||
|
||||
- `install.sh`: no sudo when the prefix is writable by the user; `--no-deps`; binaries taken from cargo's real target
|
||||
dir (`cargo metadata`); the dry run shows the venv under the prefix; running it again keeps the venv.
|
||||
Tests: `crates/summit-cli/tests/install_script.rs` (5).
|
||||
- Engine: an XWayland game is no longer taken for a native Wayland window (KWin 6.8 has no `windowId`;
|
||||
`window_portal.native_candidates` / `x_client_pids`). Tests in `engine/tests/test_window_portal.py` (4 new; two fail on the old code).
|
||||
- `summit run` / `summit enhance` always pass the Settings page's replay lengths (a new user had replay off while
|
||||
Settings showed 1 min). `engine::ui_clip_args`, test in `engine.rs`.
|
||||
- The engine's stdout is unbuffered under `summit run` (`last-run.log` is live).
|
||||
- `summit doctor`'s save-key warning no longer overclaims.
|
||||
- README rows (install, play from the launcher, live enhance, replay key, doctor) and `docs/WAYLAND_REPORT.md`
|
||||
(a corrections section) corrected; `docs/WAYLAND_VERIFY.md` and five screenshots in `docs/media/wayland/` added.
|
||||
|
||||
## What I verified, and how
|
||||
|
||||
Fresh folder `~/summit-test/verify`: `install.sh --dry-run`, then real installs (non-root, scratch prefix, `--no-deps`
|
||||
because I may not use sudo), `summit doctor`, the launcher (native Wayland window) with screenshots, three Play runs of
|
||||
Voidrunner with Enhance (overlay, stats line, watermark, injected keys reaching the game, clips saved with Ctrl+Alt+R
|
||||
decoded with ffmpeg and a frame viewed, clean exit by the game's own Quit, monitor mode 49 -> 51 -> 49 each time), and
|
||||
the portal key fired while the native launcher window had the focus. Details and the exact output in WAYLAND_VERIFY.md.
|
||||
`cargo test --workspace` passes; the engine's pytest on the desktop: 42 passed, 1 skipped (3 runs; one earlier run had
|
||||
1 flaky failure in `test_x11_grab_fires_on_the_key_only`).
|
||||
|
||||
## What is NOT done
|
||||
|
||||
- The `sudo pacman` step of `install.sh`, `--uninstall`, `/usr/local`, release packages: not run.
|
||||
- A real native Wayland game; the native stand-in was not re-run after my detection change (unit tests only); other
|
||||
desktops; fractional scaling; 90/120 Hz; real keyboard (all keys injected with xdotool).
|
||||
- `summit.desktop` is installed only under the install prefix (not seen by the desktop for an out-of-`XDG_DATA_DIRS`
|
||||
prefix); the launcher opens on whichever monitor KWin picks; the native-window picture includes the title bar.
|
||||
- I did not answer any desktop dialog (xdotool permission, share dialog, Global Shortcuts Requested): someone else did.
|
||||
- Cleanup on the owner's machine: see the last section of WAYLAND_VERIFY.md (`rm -rf ~/summit-test/verify` removes the rest).
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 MiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 1.1 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.5 MiB After Width: | Height: | Size: 1.1 MiB |
Reference in new issue
Block a user