flathub / net.lutris.Lutris

https://flathub.org/apps/details/net.lutris.Lutris
129 stars 27 forks source link

[bug] gamescope not working #346

Open BrandowLucas opened 1 year ago

BrandowLucas commented 1 year ago

Describe the problem flatpak version of gamescope ain't working, i tried many times on the past couple of weeks using modern distros and it simple doesn't launch, i'm using lutris 0.5.13 with an AMD apu (ryzen 5 5500u).

Is it reproducible with native Lutris? no, on native lutris version works normally as it should.

Steps to reproduce

1 - flatpak install com.valvesoftware.Steam.Utility.gamescope 2 - flatpak run net.lutris 3 - enable gamescope on lutris 4 - launch game

Expected behavior Gamescope to work

Actual behavior log:

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 RENOIR)': queue family 1 vulkan: physical device supports DRM format modifiers vulkan: supported DRM formats for sampling usage: vulkan: 0x34325241 vulkan: 0x34325258 vulkan: 0x3231564E wlserver: Running compositor on wayland display 'gamescope-0' wlserver: [backend/headless/backend.c:16] Starting headless backend wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X1: Address already in use wlserver: [xwayland/server.c:108] Starting Xwayland on :2 couldn't create gbm device EGL setup failed, disabling glamor Failed to initialize glamor, falling back to sw wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x5611836b0790 (res 0x5611836cf8e0) wlserver: [xwayland/server.c:273] Xserver is ready pipewire: pw_context_connect failed Warning: failed to setup PipeWire, screen capture won't be available [2023-06-24 02:59:15.603] [ngg.mw.logger] [info] Setting up hooks [2023-06-24 02:59:15.603] [ngg.mw.logger] [info] Activating feature 'Custom Texture Loader' [2023-06-24 02:59:15.603] [ngg.mw.logger] [info] Activating feature 'Next Gen Shader Values' [2023-06-24 02:59:15.603] [ngg.mw.logger] [info] Activating feature 'Next Gen Motion Blur' [2023-06-24 02:59:15.603] [ngg.mw.logger] [info] Activating feature 'Front End Shadows' [2023-06-24 02:59:15.603] [ngg.mw.logger] [info] * Activating feature 'Time of Day Slider' wlserver: [types/wlr_compositor.c:681] New wlr_surface 0x5611836fb890 (res 0x561183828d10) xwm: error 2: BadValue (integer parameter out of range for operation) request 137 minor 31 serial 489 xwm: error 2: BadValue (integer parameter out of range for operation) request 137 minor 31 serial 492 xwm: error 139: 139 request 137 minor 32 serial 510 xwm: error 139: 139 request 137 minor 32 serial 513 X connection to :2 broken (explicit kill or server shutdown). xwm: error 3: BadWindow (invalid Window parameter) request 15 minor 0 serial 558 (EE) failed to read Wayland events: Broken pipe Monitored process exited. Initial process has exited (return code: 0) All processes have quit Exit with return code 0 2023-06-24 02:59:20,942: Game still running (state: running) 2023-06-24 02:59:20,942: Stopping nfs (wine)

Flatpak info flatpak --version Flatpak 1.10.8 flatpak --gl-drivers default host

xrishox commented 11 months ago

i'm having the same issue.

rakonkido commented 10 months ago

Remove that Flatpak and run flatpak install flathub org.freedesktop.Platform.VulkanLayer.gamescope