Closed KostiukI closed 3 months ago
Gamescope seems to crash now on latest master even without any arguments. A simple case:
➜ ~ gamescope -- glxgears
[gamescope] [Info] console: gamescope version 3.14.26-9-geafd073+
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
ATTENTION: default value of option vk_khr_present_wait overridden by environment.
[gamescope] [Info] vulkan: selecting physical device 'AMD Radeon RX 6800 (RADV NAVI21)': queue family 1 (general queue family 0)
[gamescope] [Info] vulkan: physical device supports DRM format modifiers
[gamescope] [Info] wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope] [Info] xdg_backend: Seat name:
[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: NV12 (0x3231564E)
[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: [wayland] wl_global_create: implemented version for 'wl_shm' higher than interface version (2 > 1)
[gamescope] [Error] wlserver: [types/wlr_shm.c:536] wl_global_create failed
[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
(EE)
(EE) Backtrace:
(EE) 0: Xwayland (0x55cc23632000+0x16a412) [0x55cc2379c412]
(EE) 1: Xwayland (0x55cc23632000+0x16a515) [0x55cc2379c515]
(EE) 2: /lib64/libc.so.6 (0x7f1e78c0f000+0x40d00) [0x7f1e78c4fd00]
(EE) 3: /lib64/libwayland-client.so.0 (wl_proxy_get_version+0x4) [0x7f1e795e92f4]
(EE) 4: Xwayland (0x55cc23632000+0x305ea) [0x55cc236625ea]
(EE) 5: Xwayland (0x55cc23632000+0x27c0e) [0x55cc23659c0e]
(EE) 6: Xwayland (0x55cc23632000+0xfb9c7) [0x55cc2372d9c7]
(EE) 7: Xwayland (0x55cc23632000+0xac967) [0x55cc236de967]
(EE) 8: Xwayland (0x55cc23632000+0x95739) [0x55cc236c7739]
(EE) 9: Xwayland (0x55cc23632000+0x206c5) [0x55cc236526c5]
(EE) 10: /lib64/libc.so.6 (0x7f1e78c0f000+0x2a088) [0x7f1e78c39088]
(EE) 11: /lib64/libc.so.6 (__libc_start_main+0x8b) [0x7f1e78c3914b]
(EE) 12: Xwayland (0x55cc23632000+0x22525) [0x55cc23654525]
(EE)
(EE) Segmentation fault at address 0x40
(EE)
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE)
[gamescope] [Error] wlserver: [xwayland/server.c:269] Xwayland startup failed, not setting up xwm
Fedora 40 KDE Plasma 6.1.3 Mesa 24.1.5
So the workaround is to use earlier versions of gamescope? Which is best to use?
Your XWayland is out of date compared to the XWayland you built against.
Not a Gamescope bug.
Oh, ok, I see. How to find out the version it was built for? I have just used the instructions somewhere in github of how to build it, so I have no idea, honestly
I want to start a game using gamescope through lutris, as it's otherwise graphically broken every time I switch window focus. It works fine without gamescope, however with gamescope it doesn't start. Here are the logs from Lutris:
I have no idea how to resolve it and I'm not a pro in Linux either. Please help. Thanks.