ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.97k stars 197 forks source link

Can't start games in X11 #1426

Open dzuberi opened 1 month ago

dzuberi commented 1 month ago
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libtier0.so, got 0x5e7424c640f0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x5e7424e05eb0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libinputsystem.so, got 0x5e7424e068d0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/liblocalize.so, got 0x5e7424e4c190
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/librendersystemvulkan.so, got 0x5e7424e5e560
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x5e7424e715d0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libschemasystem.so, got 0x5e7424e83ce0
[Gamescope WSI] Forcing on VK_EXT_swapchain_maintenance1.
Fossilize INFO: Overriding serialization path: "/mnt/c/Program Files (x86)/Steam/steamapps/shadercache/730/fozpipelinesv6/steamapprun_pipeline_cache".
wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x561bf4b67ff0 (res 0x561bf4bb5890)
[Gamescope WSI] Creating Gamescope surface: xid: 0x40001a
[Gamescope WSI] Atom of T was wrong type. Expected XCB_ATOM_CARDINAL.
wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x561bf4b6b340 (res 0x561bf4bb6780)
[Gamescope WSI] Made gamescope surface for xid: 0x40001a
[Gamescope WSI] Surface state:
  steam app id:                  730
  window xid:                    0x40001a
  wayland surface res id:        5
  layer client flags:            0x0
  server hdr output enabled:     false
  hdr formats exposed to client: false
[Gamescope WSI] Creating swapchain for xid: 0x40001a - minImageCount: 6 - format: VK_FORMAT_R8G8B8A8_SRGB - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
> Warning:          Could not resolve keysym XF86KbdInputAssistPrevgrou
> Warning:          Could not resolve keysym XF86KbdInputAssistNextgrou
Errors from xkbcomp are not fatal to the X server
[Gamescope WSI] Created swapchain for xid: 0x40001a - imageCount: 6
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x5e743089d4a0
Loaded libpangoft2-1.0.so, got (nil)
 failed to dlopen "libpangoft2-1.0.so" error=libpangoft2-1.0.so: cannot open shared object file: No such file or directory
vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x5e74308c5d40
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 39: unknown element "fontpattern"
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 40: unknown element "fontpattern"
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 41: unknown element "fontpattern"
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 42: unknown element "fontpattern"
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 43: unknown element "fontpattern"
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/fonts.conf", line 86: saw string, expected range
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/panorama/fonts/conf.d/41-repl-os-win.conf", line 148: Having multiple values in <test> isn't supported and may not work as expected
Fontconfig warning: "/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/panorama/fonts/../../../core/panorama/fonts/conf.d/41-repl-os-win.conf", line 160: Having multiple values in <test> isn't supported and may not work as expected
vulkan: Creating Gamescope nested swapchain with format 44 and colorspace 0
pipewire: renegotiating stream params (size: 839x1386)
Loaded libfreetype.so.6, got 0x5e74308c73c0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama_text_pango.so, got 0x5e74308c5d40
Loaded libfontconfig.so.1, got 0x5e74308c79e0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x5e742fec5800
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x5e742fec6f50
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpulse_system.so, got 0x5e742fec87a0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvscript.so, got 0x5e742fecaab0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x5e742fecb320
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x5e742fecdda0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libvphysics2.so, got 0x5e742fed20e0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x5e742fed3750
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libsteamaudio.so, got 0x5e7430a07fa0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenesystem.so, got 0x5e7430a1c520
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libparticles.so, got 0x5e7430a323c0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanoramauiclient.so, got 0x5e7430a454e0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libv8system.so, got 0x5e7430a57eb0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libpanorama.so, got 0x5e7430a4f9b0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x5e74314aa4b0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libclient.so, got 0x5e74314db240
Loaded libmpg123.so.0, got 0x5e7431519b20
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libcairo.so, got 0x5e74317dcf50
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libengine2.so, got 0x5e7424c82aa0
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x5e74318dc650
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x5e74318efe80
Loaded /mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x5e7431902270
[Gamescope WSI] Creating swapchain for xid: 0x40001a - minImageCount: 6 - format: VK_FORMAT_R8G8B8A8_SRGB - colorspace: VK_COLOR_SPACE_SRGB_NONLINEAR_KHR - flip: true
[Gamescope WSI] Created swapchain for xid: 0x40001a - imageCount: 6
wlserver: [types/wlr_pointer_constraints_v1.c:278] new locked_pointer 0x561bf4b10ce0 (res 0x561bf4bb9990)
wlserver: [types/wlr_pointer_constraints_v1.c:378] constrained 0x561bf4b10ce0
(EE) failed to read Wayland events: Connection reset by peer
[Gamescope WSI] getWindowRect: xcb_get_geometry failed for window 0x40001a.
[Gamescope WSI] getLargestObscuringWindowSize: xcb_query_tree failed for window 0x40001a.
[Gamescope WSI] getToplevelWindow: xcb_query_tree failed for window 0x40001a.
[Gamescope WSI] canBypassXWayland: failed to get window info for window 0x40001a.
crash_20240718223520_2.dmp[14599]: Uploading dump (out-of-process)
/tmp/dumps/crash_20240718223520_2.dmp
crash_20240718223520_2.dmp[14599]: Finished uploading minidump (out-of-process): success = yes
crash_20240718223520_2.dmp[14599]: response: CrashID=bp-c6418642-0fcc-4101-9317-136332240718
crash_20240718223520_2.dmp[14599]: file ''/tmp/dumps/crash_20240718223520_2.dmp'', upload yes: ''CrashID=bp-c6418642-0fcc-4101-9317-136332240718''
/mnt/c/Program Files (x86)/Steam/steamapps/common/Counter-Strike Global Offensive/game/cs2.sh: line 118: 14484 Segmentation fault      (core dumped) ${STEAM_RUNTIME_PREFIX} ${GAME_DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"

Here is my log from CS2. The one that's consistent is (EE) failed to read Wayland events: Connection reset by peer . My command is barebones for now:

LD_PRELOAD="" gamescope -r 240 -- %command%

azealo commented 1 month ago

I am having the same issue in Arch Linux 6.9.9, occurs on both intel and nvidia graphics

Here's the log for running vkcube : gamescope_vkcube_log.txt

dzuberi commented 1 month ago

Oh also I should mention that the game has no issue running without gamescope

dzuberi commented 1 month ago

I'm running Arch Linux with kernel 6.9.9-zen1-1-zen, NVIDIA drivers

extra/nvidia-dkms 555.58.02-1

I'm in X11 with i3wm

GuestSneezeOSDev commented 1 month ago

Use Wayland or sudo pacman -S xwayland