cs2 wont start with gamescope
Is there an existing issue for this?
- [x] I have searched the existing issues
Are you using any gamescope patches or a forked version of gamescope?
- [x] The issue occurs on upstream gamescope without any modifications
Current Behavior
Running cs 2 in wayland (set wayland in cs2.sh) it eihter doesnt open at all or opens minimized and you cant unminimize it
Steps To Reproduce
1.Start the game in wayland mode (wayland in cs2.sh) with the launch options : gamescope -w 1280 -h 960 -W 1920 -H 1080 -f -S stretch -- %command% 2. Game starts minimized and you cant open it or game doesnt open at all 3. gg
Hardware information
OS: CachyOS x86_64
Kernel: Linux 6.18.0-3-cachyos
CPU: AMD Ryzen 5 2600X (12) @ 3.60 GHz
GPU: AMD Radeon RX 580 Series [Discrete]
Memory: 5.22 GiB / 15.55 GiB (34%)
Swap: 1.61 GiB / 15.55 GiB (10%)
Disk (/): 119.57 GiB / 445.13 GiB (27%) - btrfs
Driver: Mesa 25.3.1-arch1.3
Software information
- Desktop environment: DE Plasma 6.5.3
- Session type: wayland
- Gamescope version: gamescope version 3.16.17
- Gamescope launch command(s): gamescope -w 1280 -h 960 -W 1920 -H 1080 -f -S stretch -- %command%
Which gamescope backends have the issue you are reporting?
- [x] Wayland (default for nested gamescope)
- [ ] DRM (default for embedded gamescope, i.e. gamescope-session)
- [ ] SDL
- [ ] OpenVR
Logging, screenshots, or anything else
Running gamescope in the launch options immediately crashes the game before it gets to show up : gamescope -w 1280 -h 960 -W 1920 -H 1080 -f -S stretch -- %command%
reaping` pid: 59621 -- steam
chdir "/home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive" ERROR: ld.so: object '/home/cone/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. Game Recording - would start recording game 730, but recording for this game is disabled Adding process 60230 for gameID 730 [gamescope] [Info] console: gamescope version 3.16.17 (gcc 15.2.1) [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts' [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope' [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common' [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2) [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays' [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongo.lcd.lua' (id: 6) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua' (id: 7) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 8) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 9) [gamescope] [Info] scriptmgr: Loading scripts from: '/etc/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/etc/gamescope/scripts' does not exist [gamescope] [Info] scriptmgr: Loading scripts from: '/home/cone/.config/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/home/cone/.config/gamescope/scripts' does not exist ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment. [gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 580 Series (RADV POLARIS10)': queue family 1 (general queue family 0) [gamescope] [Info] vulkan: physical device does not support DRM format modifiers [gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend [gamescope] [Info] xdg_backend: Seat name: seat0 [gamescope] [Info] vulkan: supported DRM formats for sampling usage: [gamescope] [Info] vulkan: AR24 (0x34325241) [gamescope] [Info] vulkan: XR24 (0x34325258) [gamescope] [Info] vulkan: AB24 (0x34324241) [gamescope] [Info] vulkan: XB24 (0x34324258) [gamescope] [Info] vulkan: RG16 (0x36314752) [gamescope] [Info] vulkan: AB4H (0x48344241) [gamescope] [Info] vulkan: XB4H (0x48344258) [gamescope] [Info] vulkan: AB48 (0x38344241) [gamescope] [Info] vulkan: XB48 (0x38344258) [gamescope] [Info] vulkan: AB30 (0x30334241) [gamescope] [Info] vulkan: XB30 (0x30334258) [gamescope] [Info] vulkan: AR30 (0x30335241) [gamescope] [Info] vulkan: XR30 (0x30335258) [gamescope] [Info] wlserver: Using explicit sync when available [gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0' [gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend [gamescope] [Info] wlserver: Successfully initialized libei for input emulation! [gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :1 The XKEYBOARD keymap compiler (xkbcomp) reports:
Warning: Could not resolve keysym XF86OK Warning: Could not resolve keysym XF86GoTo Warning: Could not resolve keysym XF86VendorLogo Warning: Could not resolve keysym XF86MediaSelectProgramGuide Warning: Could not resolve keysym XF86MediaSelectProgramGuide Warning: Could not resolve keysym XF86MediaSelectHome Warning: Could not resolve keysym XF86MediaLanguageMenu Warning: Could not resolve keysym XF86MediaTitleMenu Warning: Could not resolve keysym XF86AudioChannelMode Warning: Could not resolve keysym XF86MediaSelectPC Warning: Could not resolve keysym XF86MediaSelectTV Warning: Could not resolve keysym XF86MediaSelectCable Warning: Could not resolve keysym XF86MediaSelectVCR Warning: Could not resolve keysym XF86MediaSelectVCRPlus Warning: Could not resolve keysym XF86MediaSelectSatellite Warning: Could not resolve keysym XF86MediaSelectCD Warning: Could not resolve keysym XF86MediaSelectTape Warning: Could not resolve keysym XF86MediaSelectRadio Warning: Could not resolve keysym XF86MediaSelectTuner Warning: Could not resolve keysym XF86MediaPlayer Warning: Could not resolve keysym XF86MediaSelectTeletext Warning: Could not resolve keysym XF86MediaSelectAuxiliary Warning: Could not resolve keysym XF86MediaPlaySlow Warning: Could not resolve keysym XF86NumberEntryMode Warning: Could not resolve keysym XF86RefreshRateToggle Warning: Could not resolve keysym XF86Accessibility Warning: Could not resolve keysym XF86DoNotDisturb Errors from xkbcomp are not fatal to the X server [gamescope] [Info] pipewire: stream state changed: connecting [gamescope] [Info] pipewire: stream state changed: paused [gamescope] [Info] pipewire: stream available on node ID: 92 [gamescope] [Info] xdg_backend: uMaxContentLightLevel: 80 [gamescope] [Info] xdg_backend: HDR INFO [gamescope] [Info] xdg_backend: cv_hdr_enabled: false [gamescope] [Info] xdg_backend: uTF: GAMMA22 [gamescope] [Info] xdg_backend: bExposeHDRSupport: false [gamescope] [Info] xdg_backend: uMaxContentLightLevel: 200 [gamescope] [Info] xdg_backend: HDR INFO [gamescope] [Info] xdg_backend: cv_hdr_enabled: false [gamescope] [Info] xdg_backend: uTF: GAMMA22 [gamescope] [Info] xdg_backend: bExposeHDRSupport: false [gamescope] [Info] edid: Patching res 800x1280 -> 1280x720 [gamescope] [Info] vblank: Using timerfd. [gamescope] [Warn] launch: Failed to open systemd message bus, there will be no cgroup protection for focused windows.
steam-launch-wrapper: Unrecognised option /home/cone/.local/share/Steam/ubuntu12_32/reaper [gamescope] [Info] launch: Primary child shut down! (EE) failed to read Wayland events: Broken pipe Game Recording - game stopped [gameid=730] Removing process 60230 for gameID 730 [2025-12-21 20:55:38] Background update loop checking for update. . . [2025-12-21 20:55:38] Checking for available updates... [2025-12-21 20:55:38] Downloading manifest: https://client-update.akamai.steamstatic.com/steam_client_ubuntu12 [2025-12-21 20:55:38] Manifest download: send request [2025-12-21 20:55:38] Manifest download: waiting for download to finish [2025-12-21 20:55:39] Manifest download: finished [2025-12-21 20:55:39] Download skipped: /steam_client_ubuntu12 version 1766177208, installed version 1766177208, existing pending version 0 [2025-12-21 20:55:39] Nothing to do chdir "/home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive" Game Recording - would start recording game 730, but recording for this game is disabled Adding process 61194 for gameID 730 ERROR: ld.so: object '/home/cone/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. [gamescope] [Info] console: gamescope version 3.16.17 (gcc 15.2.1) [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts' [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope' [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/common' [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/inspect.lua' (id: 0) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/modegen.lua' (id: 1) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/common/util.lua' (id: 2) [gamescope] [Info] scriptmgr: Loading scripts from: '/usr/share/gamescope/scripts/00-gamescope/displays' [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/asus.rogally.lcd.lua' (id: 3) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/deckhd.steamdeck.deckhd-lcd.lua' (id: 4) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/gpd.win4.lcd.lua' (id: 5) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongo.lcd.lua' (id: 6) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/lenovo.legiongos.lcd.lua' (id: 7) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.lcd.lua' (id: 8) [gamescope] [Info] scriptmgr: Running script file '/usr/share/gamescope/scripts/00-gamescope/displays/valve.steamdeck.oled.lua' (id: 9) [gamescope] [Info] scriptmgr: Loading scripts from: '/etc/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/etc/gamescope/scripts' does not exist [gamescope] [Info] scriptmgr: Loading scripts from: '/home/cone/.config/gamescope/scripts' [gamescope] [Warn] scriptmgr: Directory '/home/cone/.config/gamescope/scripts' does not exist ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment. [gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 580 Series (RADV POLARIS10)': queue family 1 (general queue family 0) [gamescope] [Info] vulkan: physical device does not support DRM format modifiers [gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend [gamescope] [Info] xdg_backend: Seat name: seat0 [gamescope] [Info] vulkan: supported DRM formats for sampling usage: [gamescope] [Info] vulkan: AR24 (0x34325241) [gamescope] [Info] vulkan: XR24 (0x34325258) [gamescope] [Info] vulkan: AB24 (0x34324241) [gamescope] [Info] vulkan: XB24 (0x34324258) [gamescope] [Info] vulkan: RG16 (0x36314752) [gamescope] [Info] vulkan: AB4H (0x48344241) [gamescope] [Info] vulkan: XB4H (0x48344258) [gamescope] [Info] vulkan: AB48 (0x38344241) [gamescope] [Info] vulkan: XB48 (0x38344258) [gamescope] [Info] vulkan: AB30 (0x30334241) [gamescope] [Info] vulkan: XB30 (0x30334258) [gamescope] [Info] vulkan: AR30 (0x30335241) [gamescope] [Info] vulkan: XR30 (0x30335258) [gamescope] [Info] wlserver: Using explicit sync when available [gamescope] [Info] wlserver: Running compositor on wayland display 'gamescope-0' [gamescope] [Info] wlserver: [backend/headless/backend.c:17] Starting headless backend [gamescope] [Info] wlserver: Successfully initialized libei for input emulation! [gamescope] [Info] wlserver: [xwayland/server.c:107] Starting Xwayland on :1 The XKEYBOARD keymap compiler (xkbcomp) reports:
Warning: Could not resolve keysym XF86OK Warning: Could not resolve keysym XF86GoTo Warning: Could not resolve keysym XF86VendorLogo Warning: Could not resolve keysym XF86MediaSelectProgramGuide Warning: Could not resolve keysym XF86MediaSelectProgramGuide Warning: Could not resolve keysym XF86MediaSelectHome Warning: Could not resolve keysym XF86MediaLanguageMenu Warning: Could not resolve keysym XF86MediaTitleMenu Warning: Could not resolve keysym XF86AudioChannelMode Warning: Could not resolve keysym XF86MediaSelectPC Warning: Could not resolve keysym XF86MediaSelectTV Warning: Could not resolve keysym XF86MediaSelectCable Warning: Could not resolve keysym XF86MediaSelectVCR Warning: Could not resolve keysym XF86MediaSelectVCRPlus Warning: Could not resolve keysym XF86MediaSelectSatellite Warning: Could not resolve keysym XF86MediaSelectCD Warning: Could not resolve keysym XF86MediaSelectTape Warning: Could not resolve keysym XF86MediaSelectRadio Warning: Could not resolve keysym XF86MediaSelectTuner Warning: Could not resolve keysym XF86MediaPlayer Warning: Could not resolve keysym XF86MediaSelectTeletext Warning: Could not resolve keysym XF86MediaSelectAuxiliary Warning: Could not resolve keysym XF86MediaPlaySlow Warning: Could not resolve keysym XF86NumberEntryMode Warning: Could not resolve keysym XF86RefreshRateToggle Warning: Could not resolve keysym XF86Accessibility Warning: Could not resolve keysym XF86DoNotDisturb Errors from xkbcomp are not fatal to the X server [gamescope] [Info] pipewire: stream state changed: connecting [gamescope] [Info] pipewire: stream state changed: paused [gamescope] [Info] pipewire: stream available on node ID: 119 [gamescope] [Info] xdg_backend: uMaxContentLightLevel: 80 [gamescope] [Info] xdg_backend: HDR INFO [gamescope] [Info] xdg_backend: cv_hdr_enabled: false [gamescope] [Info] xdg_backend: uTF: GAMMA22 [gamescope] [Info] xdg_backend: bExposeHDRSupport: false [gamescope] [Info] xdg_backend: uMaxContentLightLevel: 200 [gamescope] [Info] xdg_backend: HDR INFO [gamescope] [Info] xdg_backend: cv_hdr_enabled: false [gamescope] [Info] xdg_backend: uTF: GAMMA22 [gamescope] [Info] xdg_backend: bExposeHDRSupport: false [gamescope] [Info] edid: Patching res 800x1280 -> 1280x960 [gamescope] [Info] vblank: Using timerfd. [gamescope] [Warn] launch: Failed to open systemd message bus, there will be no cgroup protection for focused windows.
basename: extra operand 'Offensive/game/cs2.sh' Try 'basename --help' for more information. Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x55aedce4d260 Using breakpad crash handler [S_API] SteamAPI_Init(): Loaded '/home/cone/.local/share/Steam/linux64/steamclient.so' OK. Setting breakpad minidump AppID = 730 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit 12/21 20:58:01 minidumps folder is set to /tmp/dumps 12/21 20:58:01 Init: Installing breakpad exception handler for appid(730)/version(10329521)/tid(61806) Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199042220547 [API loaded yes] SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561199042220547 Setting breakpad minidump AppID = 2347771 Loaded libSDL3.so.0, got 0x55aedcf9cbc0 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x55aedce35b70 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55aedcfa6510 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x55aedcfb8ea0 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x55aedcfcba20 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x55aedcfde3b0 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55aedcff1160 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55aedd003af0 crash_20251221205801_2.dmp[61816]: Uploading dump (out-of-process) /tmp/dumps/crash_20251221205801_2.dmp /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 109: 61806 Segmentation fault (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@" crash_20251221205801_2.dmp[61816]: Finished uploading minidump (out-of-process): success = yes crash_20251221205801_2.dmp[61816]: response: Discarded=1 crash_20251221205801_2.dmp[61816]: file ''/tmp/dumps/crash_20251221205801_2.dmp'', upload yes: ''Discarded=1'' [gamescope] [Info] launch: Primary child shut down! (EE) failed to read Wayland events: Broken pipe Game Recording - game stopped [gameid=730] Removing process 61194 for gameID 730
Ive tried a bunch of variations and the all either crash the game or the game hangs ,stays minimized and you cant open it. i also tried running hte game x11 to no avail.
Start the game in wayland mode
gamescope does not expose support for wayland client apps by default, you would have to add --expose-wayland which is still pretty experimental afaik
Start the game in wayland mode
gamescope does not expose support for wayland client apps by default, you would have to add
--expose-waylandwhich is still pretty experimental afaik
When i do this, the game stays minimized but does not crash. You cant open it though.
pressure-vessel-wrap[68555]: W: Extra environment variable WAYLAND_DISPLAY set during container setup but not in known_vars; check logic basename: extra operand 'Offensive/game/cs2.sh' Try 'basename --help' for more information. Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x55d96360c270 Using breakpad crash handler [S_API] SteamAPI_Init(): Loaded '/home/cone/.local/share/Steam/linux64/steamclient.so' OK. Setting breakpad minidump AppID = 730 Forcing breakpad minidump interfaces to load Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit 12/21 21:18:02 minidumps folder is set to /tmp/dumps 12/21 21:18:02 Init: Installing breakpad exception handler for appid(730)/version(10329521)/tid(68660) Looking up breakpad interfaces from steamclient Calling BreakpadMiniDumpSystemInit SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561199042220547 [API loaded yes] SteamInternal_SetMinidumpSteamID: Setting Steam ID: 76561199042220547 Setting breakpad minidump AppID = 2347771 Loaded libSDL3.so.0, got 0x55d96375bec0 libdecor-cairo-WARNING: Could not get required globals Failed to load plugin 'libdecor-cairo.so': failed to init No plugins found, falling back on no decorations Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x55d9635f4b80 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55d9637759d0 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x55d96377b810 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x55d96377ce90 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x55d9637768c0 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55d963770ee0 Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55d963772550 ATTENTION: default value of option vk_xwayland_wait_ready overridden by environment. ATTENTION: default value of option radv_override_graphics_shader_version overridden by environment. [Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1. Fossilize INFO: Overriding serialization path: "/home/cone/.local/share/Steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache". [gamescope] [Info] wlserver: [wayland] error in client communication (pid 68660) xdg_surface#13: error 5: Tried to set invalid xdg-surface geometry
what happens with the expose wayland command
Gamescope has various issues with running games on Wayland.
I can't confirm any issues with cs2 running through gamescope. Tested intel, nvidia - both are working.
I think the main reason is your wayland in cs2.sh (don't even know what does it mean):
steam-launch-wrapper: Unrecognised option /home/cone/.local/share/Steam/ubuntu12_32/reaper
[gamescope] [Info] launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
basename: extra operand 'Offensive/game/cs2.sh'
Try 'basename --help' for more information.
Loaded /home/cone/.local/share/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x55aedce4d260
make sure launch options are correct.
The issue can be closed, as not a gamescope bug.
UPD: Tested with wayland via SDL_VIDEO_DRIVER=wayland env variable, no script modifications, everything looks fine