flathub / org.freedesktop.Platform.VulkanLayer.gamescope

https://flathub.org/apps/details/org.freedesktop.Platform.VulkanLayer.gamescope
17 stars 6 forks source link

games no longer start with gamescope (flatpak) since recent steam update #275

Open revulent opened 2 weeks ago

revulent commented 2 weeks ago

steam (flatpak) updated to 1730853027 and now flatpak gamescope won't start. Maybe due to steam runtime changes? steam logs when attempting to start a game with gamescope

Fossilize INFO: Overriding serialization path: "/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/shader_cache_temp_dir_d3d12_64/fozpipelinesv6/steamapprun_pipeline_cache".
fsync: up and running.
chdir "/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Marvel's Spider-Man Remastered"
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
Game Recording - would start recording game 1817070, but recording for this game is disabled
Adding process 4792 for gameID 1817070
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
gamemodeauto: 
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
gamemodeauto: 
[gamescope-brokey] [Info]  console: gamescope-brokey version 3.14.24
No CAP_SYS_NICE, falling back to regular-priority compute and threads.
Performance will be affected.
WARNING: discarding _NET_WM_PID 3577 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
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-brokey] [Info]  vulkan: selecting physical device 'AMD Radeon RX 7900 GRE (RADV NAVI31)': queue family 1 (general queue family 0)
[gamescope-brokey] [Info]  vulkan: physical device supports DRM format modifiers
Fossilize INFO: Overriding serialization path: "/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/shadercache/1817070/fozpipelinesv6/steamapprun_pipeline_cache".
[gamescope-brokey] [Info]  wlserver: [backend/headless/backend.c:67] Creating headless backend
[gamescope-brokey] [Info]  xdg_backend: Seat name: seat0
[gamescope-brokey] [Info]  vulkan: supported DRM formats for sampling usage:
[gamescope-brokey] [Info]  vulkan:   AR24 (0x34325241)
[gamescope-brokey] [Info]  vulkan:   XR24 (0x34325258)
[gamescope-brokey] [Info]  vulkan:   AB24 (0x34324241)
[gamescope-brokey] [Info]  vulkan:   XB24 (0x34324258)
[gamescope-brokey] [Info]  vulkan:   RG16 (0x36314752)
[gamescope-brokey] [Info]  vulkan:   NV12 (0x3231564E)
[gamescope-brokey] [Info]  vulkan:   AB4H (0x48344241)
[gamescope-brokey] [Info]  vulkan:   XB4H (0x48344258)
[gamescope-brokey] [Info]  vulkan:   AB48 (0x38344241)
[gamescope-brokey] [Info]  vulkan:   XB48 (0x38344258)
[gamescope-brokey] [Info]  vulkan:   AB30 (0x30334241)
[gamescope-brokey] [Info]  vulkan:   XB30 (0x30334258)
[gamescope-brokey] [Info]  vulkan:   AR30 (0x30335241)
[gamescope-brokey] [Info]  vulkan:   XR30 (0x30335258)
[gamescope-brokey] [Info]  wlserver: Running compositor on wayland display 'gamescope-0'
[gamescope-brokey] [Info]  wlserver: [backend/headless/backend.c:17] Starting headless backend
[gamescope-brokey] [Info]  wlserver: Successfully initialized libei for input emulation!
[gamescope-brokey] [Error] wlserver: [xwayland/sockets.c:64] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
[gamescope-brokey] [Info]  wlserver: [xwayland/server.c:107] Starting Xwayland on :1
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
gamemodeauto: 
[gamescope-brokey] [Debug] wlserver: [types/wlr_compositor.c:771] New wlr_surface 0x55ddde376d30 (res 0x55ddde378c30)
[gamescope-brokey] [Debug] wlserver: [xwayland/server.c:272] Xserver is ready
[gamescope-brokey] [Error] pipewire: pw_context_connect failed
Warning: failed to setup PipeWire, screen capture won't be available
[gamescope-brokey] [Info]  xwm: Embedded, no cursor set. Using left_ptr by default.
[gamescope-brokey] [Info]  vblank: Using timerfd.
[gamescope-brokey] [Info]  xdg_backend: PreferredMetadata: Red: 0.6836 0.30762, Green: 0.22754 0.73046, Blue: 0.14648 0.04786, White: 0.31348 0.3291, Max Luminance: 400 nits, Min Luminance: 0.005 nits, Max Full Frame Luminance: 254 nits
[gamescope-brokey] [Info]  josh edid: Patching res 800x1280 -> 3840x2160
Adding process 4804 for gameID 1817070
Adding process 4815 for gameID 1817070
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
steam-launch-wrapper: Unrecognised option /var/home/e/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper
dbus[4818]: arguments to dbus_pending_call_block() were incorrect, assertion "pending != NULL" failed in file ../../dbus/dbus-pending-call.c line 766.
This is normally a bug in some application using the D-Bus library.

dbus[4818]: arguments to dbus_pending_call_steal_reply() were incorrect, assertion "pending != NULL" failed in file ../../dbus/dbus-pending-call.c line 733.
This is normally a bug in some application using the D-Bus library.

GameMode ERROR: D-Bus error: Did not receive a reply
gamemodeauto: D-Bus error: Did not receive a reply
[gamescope-brokey] [Info]  launch: Primary child shut down!
(EE) failed to read Wayland events: Broken pipe
Adding process 4818 for gameID 1817070
Adding process 4820 for gameID 1817070
Game Recording - game stopped [gameid=1817070]
Removing process 4820 for gameID 1817070
Removing process 4818 for gameID 1817070
Removing process 4815 for gameID 1817070
Removing process 4804 for gameID 1817070
Removing process 4792 for gameID 1817070
ColinKinloch commented 2 weeks ago

What desktop environment, distro? What steam launch options are you using?(gamescope -- %command%)

revulent commented 2 weeks ago

plasma, fedora 41.

gamescope -f --hdr-enabled -W 3840 -H 2160 -r 240

playing with the command lines though doesn't seem to matter

but it seems to be working now? I'm not sure what happened