I’ve tried using the default installed version of gamescope with random pieces of software and I’ve also tried with lutris using flatpak and no matter what gamescope is crashing. Does anyone know what I can do to get gamescope working in desktop mode?

examples:

in desktop mode with a normal application:

(1)(deck@steamdeck ~)$ gamescope – kate Tracing is enabled wlserver: [backend/headless/backend.c:68] Creating headless backend vulkan: selecting physical device ‘AMD Radeon Graphics (RADV VANGOGH)’: queue family 1 (general queue family 0) vulkan: physical device supports DRM format modifiers vulkan: supported DRM formats for sampling usage: vulkan: AR24 (0x34325241) vulkan: XR24 (0x34325258) vulkan: AB24 (0x34324241) vulkan: XB24 (0x34324258) vulkan: RG16 (0x36314752) vulkan: NV12 (0x3231564E) vulkan: AB4H (0x48344241) vulkan: XB4H (0x48344258) vulkan: AB48 (0x38344241) vulkan: XB48 (0x38344258) vulkan: AB30 (0x30334241) vulkan: XB30 (0x30334258) vulkan: AR30 (0x30335241) vulkan: XR30 (0x30335258) vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0 wlserver: Running compositor on wayland display ‘gamescope-0’ wlserver: [backend/headless/backend.c:16] Starting headless backend wlserver: [xwayland/server.c:108] Starting Xwayland on :0 wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x56328d65e4d0 (res 0x56328d65d180) wlserver: [xwayland/server.c:273] Xserver is ready pipewire: stream state changed: connecting pipewire: stream state changed: paused pipewire: stream available on node ID: 121 vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0 pipewire: renegotiating stream params (size: 1280x720) xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_STAYS_ON_TOP xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_BELOW wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x56328d4fea20 (res 0x56328d56e7d0) The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Unsupported maximum keycode 708, clipping. X11 cannot support keycodes above 255. Errors from xkbcomp are not fatal to the X server (EE) failed to read Wayland events: Broken pipe Segmentation fault (core dumped)

in lutris using flatpak and flatpak gamescope:

Start monitoring process. No CAP_SYS_NICE, falling back to regular-priority compute and threads. Performance will be affected. wlserver: [backend/headless/backend.c:68] Creating headless backend vulkan: selecting physical device ‘AMD Radeon Graphics (RADV VANGOGH)’: queue family 1 (general queue family 0) vulkan: physical device supports DRM format modifiers vulkan: supported DRM formats for sampling usage: vulkan: AR24 (0x34325241) vulkan: XR24 (0x34325258) vulkan: AB24 (0x34324241) vulkan: XB24 (0x34324258) vulkan: RG16 (0x36314752) vulkan: NV12 (0x3231564E) vulkan: AB4H (0x48344241) vulkan: XB4H (0x48344258) vulkan: AB48 (0x38344241) vulkan: XB48 (0x38344258) vulkan: AB30 (0x30334241) vulkan: XB30 (0x30334258) vulkan: AR30 (0x30335241) vulkan: XR30 (0x30335258) vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0 wlserver: Running compositor on wayland display ‘gamescope-0’ wlserver: [backend/headless/backend.c:16] Starting headless backend wlserver: [xwayland/server.c:108] Starting Xwayland on :0 The XKEYBOARD keymap compiler (xkbcomp) reports:

Warning: Could not resolve keysym XF86CameraAccessEnable Warning: Could not resolve keysym XF86CameraAccessDisable Warning: Could not resolve keysym XF86CameraAccessToggle Warning: Could not resolve keysym XF86NextElement Warning: Could not resolve keysym XF86PreviousElement Warning: Could not resolve keysym XF86AutopilotEngageToggle Warning: Could not resolve keysym XF86MarkWaypoint Warning: Could not resolve keysym XF86Sos Warning: Could not resolve keysym XF86NavChart Warning: Could not resolve keysym XF86FishingChart Warning: Could not resolve keysym XF86SingleRangeRadar Warning: Could not resolve keysym XF86DualRangeRadar Warning: Could not resolve keysym XF86RadarOverlay Warning: Could not resolve keysym XF86TraditionalSonar Warning: Could not resolve keysym XF86ClearvuSonar Warning: Could not resolve keysym XF86SidevuSonar Warning: Could not resolve keysym XF86NavInfo Errors from xkbcomp are not fatal to the X server wlserver: [types/wlr_compositor.c:673] New wlr_surface 0x5612f1ad62b0 (res 0x5612f1ad95e0) wlserver: [xwayland/server.c:273] Xserver is ready pipewire: pw_context_connect failed Warning: failed to setup PipeWire, screen capture won’t be available gamemodeauto: fsync: up and running. xwm: Unhandled client message: _NET_STARTUP_INFO_BEGIN xwm: Unhandled client message: _NET_STARTUP_INFO xwm: Unhandled client message: _NET_STARTUP_INFO wlserver: [types/wlr_compositor.c:673] New wlr_surface 0x5612f1cf3b00 (res 0x5612f1c22200) xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ wlserver: [types/wlr_compositor.c:673] New wlr_surface 0x5612f1cf3f10 (res 0x5612f1c22440) xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ xwm: got the same buffer committed twice, ignoring. The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Unsupported maximum keycode 708, clipping. X11 cannot support keycodes above 255. Errors from xkbcomp are not fatal to the X server (EE) failed to read Wayland events: Connection reset by peer X connection to :0 broken (explicit kill or server shutdown). X connection to :0 broken (explicit kill or server shutdown). X connection to :0 broken (explicit kill or server shutdown). X connection to :0 broken (explicit kill or server shutdown). Monitored process exited. Initial process has exited (return code: 139) Exit with return code 139