From e9d6aa6f8a6321cf2a262cff6b80ab8aa3ce7d37 Mon Sep 17 00:00:00 2001 From: Alex Date: Tue, 24 Nov 2026 16:59:33 +0000 Subject: [PATCH] gui: Enhance is available on Wayland sessions (it said Wayland capture was not built) Run on Plasma 6.8 Wayland: Play on Voidrunner's page started summit run --enhance, the engine went over the XWayland game, the portal save key wrote a clip, the monitor mode came back after the game. --- crates/summit-gui/src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/summit-gui/src/main.rs b/crates/summit-gui/src/main.rs index ce6f3cc..a8f967c 100644 --- a/crates/summit-gui/src/main.rs +++ b/crates/summit-gui/src/main.rs @@ -221,8 +221,9 @@ impl App { match launch::plan(e, self.cli().as_deref(), true) { _ if launch::is_install(e) => (false, "Enhance needs the game installed.".to_string()), launch::Plan::Unsupported(why) => (false, format!("Enhance is not available: {why}.")), - launch::Plan::Run(_) if session != display::Session::X11 => (false, format!("Enhance needs an X11 session; this is {session:?} (Wayland window capture is not built).")), + launch::Plan::Run(_) if session == display::Session::Unknown => (false, "Enhance needs a desktop session (X11 or Wayland); none was found.".to_string()), launch::Plan::Run(_) if e.source == Source::Steam => (true, "Enhance: the engine waits for the window of class steam_app_ (Proton games) and runs on it until it closes. Not tested with a real Steam game yet.".to_string()), + launch::Plan::Run(_) if session == display::Session::Wayland => (true, "Enhance: frame generation and the upscaler from this game's profile run on its window, live, until either one exits. Wayland: XWayland games directly; a native Wayland game asks once to share its window.".to_string()), launch::Plan::Run(_) => (true, "Enhance: frame generation and the upscaler from this game's profile run on its window, live, until either one exits.".to_string()), } }