ValveSoftware / gamescope

SteamOS session compositing window manager
Other
2.84k stars 189 forks source link

Alt+F4 blocks further gamescope launches #875

Open perroboc opened 1 year ago

perroboc commented 1 year ago

I've enabled a game to use gamescope with these launch options: gamescope -h 1080 -H 1080 -r 144 -f -- %command%, and the game runs great, until I close it with Alt+F4. I am unable to launch the game again in the same session, and have to log out and in back again. In the "broken" session, I'm able to start a game without gamescope just fine, even after Alt+F4.

I'm using Arch, KDE Plasma, X11, pipewire, AMDGPU.

Here's the journal of me starting the game and hitting Alt+F4

5/11/23 10:18 PM    steam-runtime   (EE) failed to read Wayland events: Broken pipe
5/11/23 10:18 PM    steam-runtime   X connection to :1 broken (explicit kill or server shutdown).
5/11/23 10:18 PM    steam-runtime   X connection to :1 broken (explicit kill or server shutdown).
5/11/23 10:18 PM    steam-runtime   X connection to :1 broken (explicit kill or server shutdown).
5/11/23 10:18 PM    steam-runtime   X connection to :1 broken (explicit kill or server shutdown).
5/11/23 10:18 PM    steam-runtime   X connection to :1 broken (explicit kill or server shutdown).
5/11/23 10:18 PM    steam-runtime   X connection to :1 broken (explicit kill or server shutdown).
5/11/23 10:18 PM    kwin_x11    OpenGL vendor string:                   AMD
5/11/23 10:18 PM    kwin_x11    OpenGL renderer string:                 AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.52, 6.3.1-arch1-1)
5/11/23 10:18 PM    kwin_x11    OpenGL version string:                  4.6 (Compatibility Profile) Mesa 23.0.3
5/11/23 10:18 PM    kwin_x11    OpenGL shading language version string: 4.60
5/11/23 10:18 PM    kwin_x11    Driver:                                 Unknown
5/11/23 10:18 PM    kwin_x11    GPU class:                              Unknown
5/11/23 10:18 PM    kwin_x11    OpenGL version:                         4.6
5/11/23 10:18 PM    kwin_x11    GLSL version:                           4.60
5/11/23 10:18 PM    kwin_x11    Mesa version:                           23.0.3
5/11/23 10:18 PM    kwin_x11    X server version:                       1.21.1
5/11/23 10:18 PM    kwin_x11    Linux kernel version:                   6.3.1
5/11/23 10:18 PM    kwin_x11    Requires strict binding:                yes
5/11/23 10:18 PM    kwin_x11    GLSL shaders:                           yes
5/11/23 10:18 PM    kwin_x11    Texture NPOT support:                   yes
5/11/23 10:18 PM    kwin_x11    Virtual Machine:                        no
5/11/23 10:18 PM    kwin_x11    BlurConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    ZoomConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    WindowViewConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    SlidingPopupsConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    SlideConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    OverviewConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    MagicLampConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    KscreenConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    kwin_x11    DesktopGridConfig::instance called after the first use - ignoring
5/11/23 10:18 PM    steam-runtime   Game process removed: AppID 307690 "gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 85772
5/11/23 10:18 PM    steam-runtime   ThreadGetProcessExitCode: no such process 86013
5/11/23 10:18 PM    steam-runtime   ThreadGetProcessExitCode: no such process 85974
5/11/23 10:18 PM    steam-runtime   ThreadGetProcessExitCode: no such process 85900
5/11/23 10:18 PM    steam-runtime   ThreadGetProcessExitCode: no such process 85789
5/11/23 10:18 PM    steam-runtime   ThreadGetProcessExitCode: no such process 85779
5/11/23 10:18 PM    steam-runtime   Uploaded AppInterfaceStats to Steam
5/11/23 10:18 PM    plasmashell file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/Footer.qml:155:5: QML LeaveButtons: Binding loop detected for property "shouldCollapseButtons"
5/11/23 10:18 PM    user@1000.service   g_object_unref: assertion 'G_IS_OBJECT (object)' failed
5/11/23 10:18 PM    steam-runtime   reaping pid: 85993 -- gameoverlayui

Then trying to start it again, it doesnt run:

5/11/23 10:19 PM    steam-runtime   ExecuteSteamURL: "steam://open/steam://rungameid/307690"
5/11/23 10:19 PM    steam-runtime   ExecuteSteamURL: "steam://rungameid/307690"
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
5/11/23 10:19 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:19 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to SynchronizingControllerConfig with ""
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
5/11/23 10:19 PM    steam-runtime   /bin/sh\0-c\0gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'\0
5/11/23 10:19 PM    steam-runtime   Game process added : AppID 307690 "gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 88235, IP 0.0.0.0:0
5/11/23 10:19 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:19 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:19 PM    steam-runtime   No CAP_SYS_NICE, falling back to regular-priority compute and threads.
5/11/23 10:19 PM    steam-runtime   Performance will be affected.
5/11/23 10:19 PM    steam-runtime   wlserver: [backend/headless/backend.c:68] Creating headless backend
5/11/23 10:19 PM    steam-runtime   vulkan: selecting physical device 'AMD Radeon RX 7900 XTX (RADV GFX1100)': queue family 1
5/11/23 10:19 PM    steam-runtime   vulkan: physical device supports DRM format modifiers
5/11/23 10:19 PM    steam-runtime   Fossilize INFO: Overriding serialization path: "/run/media/linux_software/SteamLibrary/steamapps/shadercache/307690/fozpipelinesv6/steamapprun_pipeline_cache".
5/11/23 10:19 PM    steam-runtime   vulkan: supported DRM formats for sampling usage:
5/11/23 10:19 PM    steam-runtime   vulkan:   0x34325241
5/11/23 10:19 PM    steam-runtime   vulkan:   0x34325258
5/11/23 10:19 PM    steam-runtime   vulkan:   0x3231564E
5/11/23 10:19 PM    steam-runtime   wlserver: Running compositor on wayland display 'gamescope-0'
5/11/23 10:19 PM    steam-runtime   wlserver: [backend/headless/backend.c:16] Starting headless backend
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
5/11/23 10:19 PM    steam-runtime   wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
5/11/23 10:19 PM    steam-runtime   wlserver: [xwayland/server.c:108] Starting Xwayland on :1
5/11/23 10:19 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:19 PM    kernel  gamescope-sdl[88239]: segfault at 968 ip 00007f4a42107675 sp 00007f4a2effc6f0 error 4 in libX11.so.6.4.0[7f4a420e9000+8b000] likely on CPU 2 (core 2, socket 0)
5/11/23 10:19 PM    kernel  Code: 89 44 24 28 31 c0 48 85 f6 0f 84 e6 00 00 00 48 89 f7 ff 15 05 38 10 00 48 89 c2 31 c0 48 81 fa fe ff 00 00 0f 87 a9 00 00 00 <48> 8b 83 68 09 00 00 48 85 c0 74 05 48 89 df ff 10 ba 08 00 00 00
5/11/23 10:19 PM    systemd Started Process Core Dump (PID 88243/UID 0).
5/11/23 10:19 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to Completed with ""
5/11/23 10:19 PM    systemd-coredump    Process 88235 (gamescope) of user 1000 dumped core.

Stack trace of thread 88239:
#0  0x00007f4a42107675 XQueryExtension (libX11.so.6 + 0x3a675)
#1  0x00007f4a41cb4b2f n/a (libXtst.so.6 + 0x2b2f)
#2  0x00007f4a41cb620d XTestFakeRelativeMotionEvent (libXtst.so.6 + 0x420d)
#3  0x0000561b483e5f9e n/a (gamescope + 0x30f9e)
#4  0x00007f4a418e1943 execute_native_thread_routine (libstdc++.so.6 + 0xe1943)
#5  0x00007f4a4169d44b n/a (libc.so.6 + 0x8744b)
#6  0x00007f4a41720e40 n/a (libc.so.6 + 0x10ae40)

Stack trace of thread 88237:
#0  0x00007f4a416adca2 __libc_free (libc.so.6 + 0x97ca2)
#1  0x00007f4a3f573794 n/a (/home/perro/.local/share/Steam/ubuntu12_64/libVkLayer_steam_fossilize.so + 0x2d794)
ELF object binary architecture: AMD x86-64

5/11/23 10:19 PM    systemd systemd-coredump@14-88243-0.service: Deactivated successfully.
5/11/23 10:19 PM    steam-runtime   (EE) could not connect to wayland server
5/11/23 10:19 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:19 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:19 PM    steam-runtime   Game process removed: AppID 307690 "gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 88235
5/11/23 10:19 PM    steam-runtime   ThreadGetProcessExitCode: no such process 88242
5/11/23 10:19 PM    steam-runtime   Uploaded AppInterfaceStats to Steam

And then, trying to start it yet again, it's stuck:

5/11/23 10:20 PM    steam-runtime   ExecuteSteamURL: "steam://open/steam://rungameid/307690"
5/11/23 10:20 PM    steam-runtime   ExecuteSteamURL: "steam://rungameid/307690"
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
5/11/23 10:20 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:20 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp changed task to SynchronizingControllerConfig with ""
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
5/11/23 10:20 PM    steam-runtime   /bin/sh\0-c\0gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'\0
5/11/23 10:20 PM    steam-runtime   Game process added : AppID 307690 "gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 89086, IP 0.0.0.0:0
5/11/23 10:20 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:20 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:20 PM    steam-runtime   No CAP_SYS_NICE, falling back to regular-priority compute and threads.
5/11/23 10:20 PM    steam-runtime   Performance will be affected.
5/11/23 10:20 PM    steam-runtime   wlserver: [backend/headless/backend.c:68] Creating headless backend
5/11/23 10:20 PM    steam-runtime   vulkan: selecting physical device 'AMD Radeon RX 7900 XTX (RADV GFX1100)': queue family 1
5/11/23 10:20 PM    steam-runtime   vulkan: physical device supports DRM format modifiers
5/11/23 10:20 PM    steam-runtime   Fossilize INFO: Overriding serialization path: "/run/media/linux_software/SteamLibrary/steamapps/shadercache/307690/fozpipelinesv6/steamapprun_pipeline_cache".
5/11/23 10:20 PM    steam-runtime   vulkan: supported DRM formats for sampling usage:
5/11/23 10:20 PM    steam-runtime   vulkan:   0x34325241
5/11/23 10:20 PM    steam-runtime   vulkan:   0x34325258
5/11/23 10:20 PM    steam-runtime   vulkan:   0x3231564E
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
5/11/23 10:20 PM    steam-runtime   wlserver: Running compositor on wayland display 'gamescope-0'
5/11/23 10:20 PM    steam-runtime   wlserver: [backend/headless/backend.c:16] Starting headless backend
5/11/23 10:20 PM    steam-runtime   wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
5/11/23 10:20 PM    steam-runtime   wlserver: [xwayland/server.c:108] Starting Xwayland on :1
5/11/23 10:20 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:20 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:20 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:20 PM    steam-runtime   GameAction [AppID 307690, ActionID 3] : LaunchApp changed task to Completed with ""
5/11/23 10:20 PM    steam-runtime   wlserver: [types/wlr_compositor.c:673] New wlr_surface 0x55a5fb760fe0 (res 0x55a5fb718fb0)
5/11/23 10:20 PM    steam-runtime   wlserver: [xwayland/server.c:273] Xserver is ready
5/11/23 10:20 PM    steam-runtime   pipewire: stream state changed: connecting
5/11/23 10:20 PM    steam-runtime   pipewire: stream state changed: paused
5/11/23 10:20 PM    steam-runtime   pipewire: stream available on node ID: 87
5/11/23 10:20 PM    steam-runtime   pipewire: renegotiating stream params (size: 1920x1080)
5/11/23 10:20 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:20 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:20 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:20 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:20 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory

The last time I could see a gamescope process running in the background:

$ ps -fea | grep gamescope
perro      89086   84621  0 22:20 ?        00:00:03 gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- /run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper/_v2-entry-point --verb=waitforexitandrun -- /run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0/proton waitforexitandrun /run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe
perro      89875   88902  0 22:26 pts/3    00:00:00 grep --color=auto gamescope

Killing the process and trying to start the game again yields the same results:

5/11/23 10:22 PM    steam-runtime   ExecuteSteamURL: "steam://open/steam://open/games"
5/11/23 10:25 PM    kwin_x11    kwin_core: XCB error: 152 (BadDamage), sequence: 28419, resource id: 20992277, major code: 143 (DAMAGE), minor code: 3 (Subtract)
5/11/23 10:25 PM    user@1000.service   gtk_disable_setlocale() must be called before gtk_init()
5/11/23 10:25 PM    user@1000.service   gtk_disable_setlocale() must be called before gtk_init()
5/11/23 10:25 PM    user@1000.service   gtk_disable_setlocale() must be called before gtk_init()
5/11/23 10:25 PM    plasmashell org.kde.plasma.notifications: Trying to replace notification with id 1636 which doesn't exist, creating a new one. This is an application bug!
5/11/23 10:25 PM    plasmashell Could not find the Plasmoid for Plasma::FrameSvgItem(0x556ad579d3a0) QQmlContext(0x556ad5a28070) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
5/11/23 10:25 PM    plasmashell Could not find the Plasmoid for Plasma::FrameSvgItem(0x556ad579d3a0) QQmlContext(0x556ad5a28070) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
5/11/23 10:25 PM    kwin_x11    kwin_core: XCB error: 152 (BadDamage), sequence: 44791, resource id: 20993398, major code: 143 (DAMAGE), minor code: 3 (Subtract)
5/11/23 10:26 PM    tailscaled  open-conn-track: timeout opening (TCP 100.104.68.47:35132 => 95.216.195.133:80); no associated peer node
5/11/23 10:26 PM    tailscaled  open-conn-track: timeout opening (TCP 100.104.68.47:35132 => 95.216.195.133:80); no associated peer node
5/11/23 10:26 PM    tailscaled  open-conn-track: timeout opening (TCP 100.104.68.47:35132 => 95.216.195.133:80); no associated peer node
5/11/23 10:26 PM    kwin_x11    kwin_core: XCB error: 152 (BadDamage), sequence: 49566, resource id: 20993986, major code: 143 (DAMAGE), minor code: 3 (Subtract)
5/11/23 10:27 PM    steam-runtime   gamescope: received kill signal, terminating!
5/11/23 10:27 PM    steam-runtime   (EE) failed to read Wayland events: Broken pipe
5/11/23 10:27 PM    steam-runtime   Game process removed: AppID 307690 "gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 89086
5/11/23 10:27 PM    steam-runtime   ThreadGetProcessExitCode: no such process 89103
5/11/23 10:27 PM    steam-runtime   ThreadGetProcessExitCode: no such process 89093
5/11/23 10:27 PM    steam-runtime   Uploaded AppInterfaceStats to Steam
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp changed task to ProcessingInstallScript with ""
5/11/23 10:27 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:27 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp changed task to SynchronizingControllerConfig with ""
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp changed task to CreatingProcess with ""
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp waiting for user response to CreatingProcess ""
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp continues with user response "CreatingProcess"
5/11/23 10:27 PM    steam-runtime   /bin/sh\0-c\0gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'\0
5/11/23 10:27 PM    steam-runtime   Game process added : AppID 307690 "gamescope -h 1080 -H 1080 -r 144 -f -- /home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 90068, IP 0.0.0.0:0
5/11/23 10:27 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:27 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:27 PM    steam-runtime   No CAP_SYS_NICE, falling back to regular-priority compute and threads.
5/11/23 10:27 PM    steam-runtime   Performance will be affected.
5/11/23 10:27 PM    steam-runtime   wlserver: [backend/headless/backend.c:68] Creating headless backend
5/11/23 10:27 PM    steam-runtime   vulkan: selecting physical device 'AMD Radeon RX 7900 XTX (RADV GFX1100)': queue family 1
5/11/23 10:27 PM    steam-runtime   vulkan: physical device supports DRM format modifiers
5/11/23 10:27 PM    steam-runtime   Fossilize INFO: Overriding serialization path: "/run/media/linux_software/SteamLibrary/steamapps/shadercache/307690/fozpipelinesv6/steamapprun_pipeline_cache".
5/11/23 10:27 PM    steam-runtime   vulkan: supported DRM formats for sampling usage:
5/11/23 10:27 PM    steam-runtime   vulkan:   0x34325241
5/11/23 10:27 PM    steam-runtime   vulkan:   0x34325258
5/11/23 10:27 PM    steam-runtime   vulkan:   0x3231564E
5/11/23 10:27 PM    steam-runtime   wlserver: Running compositor on wayland display 'gamescope-0'
5/11/23 10:27 PM    steam-runtime   wlserver: [backend/headless/backend.c:16] Starting headless backend
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp changed task to WaitingGameWindow with ""
5/11/23 10:27 PM    steam-runtime   wlserver: [xwayland/sockets.c:63] Failed to bind socket @/tmp/.X11-unix/X0: Address already in use
5/11/23 10:27 PM    steam-runtime   wlserver: [xwayland/server.c:108] Starting Xwayland on :1
5/11/23 10:27 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:27 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:27 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:27 PM    steam-runtime   GameAction [AppID 307690, ActionID 4] : LaunchApp changed task to Completed with ""
5/11/23 10:27 PM    steam-runtime   wlserver: [types/wlr_compositor.c:673] New wlr_surface 0x562a43840c60 (res 0x562a439feac0)
5/11/23 10:27 PM    steam-runtime   wlserver: [xwayland/server.c:273] Xserver is ready
5/11/23 10:27 PM    steam-runtime   pipewire: stream state changed: connecting
5/11/23 10:27 PM    steam-runtime   pipewire: stream state changed: paused
5/11/23 10:27 PM    steam-runtime   pipewire: stream available on node ID: 87
5/11/23 10:27 PM    steam-runtime   pipewire: renegotiating stream params (size: 1920x1080)
5/11/23 10:27 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:27 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:27 PM    steam-runtime   WARNING: discarding _NET_WM_PID 86122 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:27 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:27 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory

If I clear the Launch Options, and log back into the KDE Session, I'm able to close the game by Alt+F4 and launch it again just fine:

5/11/23 10:32 PM    steam-runtime   ExecuteSteamURL: "steam://open/steam://rungameid/307690"
5/11/23 10:32 PM    steam-runtime   ExecuteSteamURL: "steam://rungameid/307690"
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to ProcessingInstallScript with ""
5/11/23 10:32 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:32 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory
5/11/23 10:32 PM    steam-runtime   fsync: up and running.
5/11/23 10:32 PM    steam-runtime   wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to SynchronizingControllerConfig with ""
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to CreatingProcess with ""
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp waiting for user response to CreatingProcess ""
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp continues with user response "CreatingProcess"
5/11/23 10:32 PM    steam-runtime   /bin/sh\0-c\0/home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'\0
5/11/23 10:32 PM    steam-runtime   Game process added : AppID 307690 "/home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 93852, IP 0.0.0.0:0
5/11/23 10:32 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:32 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
5/11/23 10:32 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:32 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:32 PM    steam-runtime   ERROR: ld.so: object '/home/perro/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to WaitingGameWindow with ""
5/11/23 10:32 PM    steam-runtime   GameAction [AppID 307690, ActionID 2] : LaunchApp changed task to Completed with ""
5/11/23 10:32 PM    steam-runtime   WARNING: discarding _NET_WM_PID 93655 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:32 PM    steam-runtime   WARNING: discarding _NET_WM_PID 93655 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:32 PM    steam-runtime   WARNING: discarding _NET_WM_PID 93655 as invalid for X11 window - use specialized XCB_X11_TO_PID function!
5/11/23 10:32 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/system32/d3d12core.dll": No such file or directory
5/11/23 10:32 PM    steam-runtime   Proton: Error while copying to "/run/media/linux_software/SteamLibrary/steamapps/compatdata/307690/pfx/drive_c/windows/syswow64/d3d12core.dll": No such file or directory
5/11/23 10:32 PM    steam-runtime   fsync: up and running.
5/11/23 10:32 PM    steam-runtime   wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93955
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93953
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93854
5/11/23 10:32 PM    steam-runtime   Game process updated : AppID 307690 "/home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 93954, IP 0.0.0.0:0
5/11/23 10:32 PM    steam-runtime   Setting breakpad minidump AppID = 307690
5/11/23 10:32 PM    steam-runtime   Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198017551145 [API loaded no]
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93958
5/11/23 10:32 PM    steam-runtime   Game process updated : AppID 307690 "/home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 94035, IP 0.0.0.0:0
5/11/23 10:32 PM    steam-runtime   Setting breakpad minidump AppID = 307690
5/11/23 10:32 PM    steam-runtime   Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198017551145 [API loaded no]
5/11/23 10:32 PM    steam-runtime   Fossilize INFO: Overriding serialization path: "/run/media/linux_software/SteamLibrary/steamapps/shadercache/307690/fozpipelinesv6/steamapprun_pipeline_cache".
5/11/23 10:32 PM    steam-runtime   05/11 22:32:52 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(20230511003933)/tid(94102)
5/11/23 10:32 PM    steam-runtime   05/11 22:32:52 Init: Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)/tid(94102)
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: line 5: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
5/11/23 10:32 PM    steam-runtime   Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 72: non-double matrix element
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 80: saw unknown, expected number
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
5/11/23 10:32 PM    steam-runtime   Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
5/11/23 10:32 PM    kded5   Registering ":1.1116/StatusNotifierItem" to system tray
5/11/23 10:32 PM    kded5   Service  ":1.1116" unregistered
5/11/23 10:32 PM    kded5   Registering ":1.1117/StatusNotifierItem" to system tray
5/11/23 10:32 PM    kded5   Service  ":1.1117" unregistered
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 94008
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93992
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93984
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93964
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93961
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93954
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93952
5/11/23 10:32 PM    steam-runtime   pid 93956 != 93955, skipping destruction (fork without exec?)
5/11/23 10:32 PM    steam-runtime   Game process removed: AppID 307690 "/home/perro/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=307690 -- /home/perro/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/run/media/linux_software/SteamLibrary/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/run/media/linux_software/SteamLibrary/steamapps/common/Proton 8.0'/proton waitforexitandrun  '/run/media/linux_software/SteamLibrary/steamapps/common/SleepingDogsDefinitiveEdition/sdhdship.exe'", ProcID 94035
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 94035
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93973
5/11/23 10:32 PM    steam-runtime   ThreadGetProcessExitCode: no such process 93853
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMAPPLIST_INTERFACE_VERSION001 / AppList
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMAPPS_INTERFACE_VERSION006 / Apps
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMCONTROLLER_INTERFACE_VERSION / Controller
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMHTTP_INTERFACE_VERSION002 / HTTP
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMMUSIC_INTERFACE_VERSION001 / Music
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION012 / RemoteStorage
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMSCREENSHOTS_INTERFACE_VERSION002 / Screenshots
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMUGC_INTERFACE_VERSION002 / UGC
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMUNIFIEDMESSAGES_INTERFACE_VERSION001 / UnifiedMessages
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface STEAMUSERSTATS_INTERFACE_VERSION011 / UserStats
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface SteamFriends014 / Friends
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface SteamMatchMaking009 / Matchmaking
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface SteamMatchMakingServers002 / MatchmakingServers
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface SteamNetworking005 / Networking
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface SteamUser017 / User
5/11/23 10:32 PM    steam-runtime   Game 307690 created interface SteamUtils007 / Utils
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUserStats::GetAchievement : 60
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUserStats::RequestCurrentStats : 1
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientAppManager::GetCurrentLanguage : 1
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUtils::RecordSteamInterfaceCreation : 17
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUtils::SetOverlayNotificationPosition : 1
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUtils::GetAPICallResult : 1
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUtils::GetAppID : 20
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUser::GetEncryptedAppTicket : 1
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUser::RequestEncryptedAppTicket : 1
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUser::GetSteamID : 3
5/11/23 10:32 PM    steam-runtime   Game 307690 method call count for IClientUser::BLoggedOn : 1
5/11/23 10:32 PM    steam-runtime   Uploaded AppInterfaceStats to Steam
5/11/23 10:32 PM    user@1000.service   g_object_unref: assertion 'G_IS_OBJECT (object)' failed
5/11/23 10:33 PM    steam-runtime   reaping pid: 94102 -- gameoverlayui
sjohal21 commented 2 months ago

Exact same issue here, on nearly the same setup (exact same GPU, Arch, KDE, so on) on the latest version of Gamescope. Exiting the game from within its menu works fine, but ALT + F4 seemingly just breaks everything.

davidfrickert commented 2 months ago

same issue here. it seems that when you alt + f4, the game stays running somehow, e.g.:

davidjf    32552  2.6  0.0   4600  1632 ?        S    18:57   0:00 /home/davidjf/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/libexec/steam-runtime-tools-0/srt-bwrap --args 32 /usr/lib/pressure-vessel/from-host/bin/pressure-vessel-adverb --generate-locales --fd 21 --regenerate-ld.so-cache /var/pressure-vessel/ldso --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu --set-ld-library-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu/aliases --overrides-path /usr/lib/pressure-vessel/overrides --exit-with-parent --subreaper --assign-fd=1=6 --assign-fd=2=7 --shell=none --terminal=none -- /home/davidjf/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launcher-interface-0 container-runtime /usr/share/steam/compatibilitytools.d/proton-ge-custom/proton waitforexitandrun /home/davidjf/.local/share/Steam/steamapps/common/Hades II/Ship/Hades2.exe /c ../ /steampowered /VerboseScriptLogging=false /DebugKeysEnabled=false /UnsafeDebugKeysEnabled=false /LiveCreateTextures=false /CheckNonExistingTextures=false /DirectLoadShell=true /SaveCollectionRate=1
davidjf    32640  0.1  0.0  30344  5376 ?        Ss   18:57   0:00 /usr/lib/pressure-vessel/from-host/bin/pressure-vessel-adverb --generate-locales --fd 21 --regenerate-ld.so-cache /var/pressure-vessel/ldso --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu --add-ld.so-path /usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu --set-ld-library-path /usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu/aliases --overrides-path /usr/lib/pressure-vessel/overrides --exit-with-parent --subreaper --assign-fd=1=6 --assign-fd=2=7 --shell=none --terminal=none -- /home/davidjf/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper/pressure-vessel/bin/steam-runtime-launcher-interface-0 container-runtime /usr/share/steam/compatibilitytools.d/proton-ge-custom/proton waitforexitandrun /home/davidjf/.local/share/Steam/steamapps/common/Hades II/Ship/Hades2.exe /c ../ /steampowered /VerboseScriptLogging=false /DebugKeysEnabled=false /UnsafeDebugKeysEnabled=false /LiveCreateTextures=false /CheckNonExistingTextures=false /DirectLoadShell=true /SaveCollectionRate=1
davidjf    32681  0.2  0.0 882540 23812 ?        Ssl  18:57   0:00 C:\windows\system32\services.exe
davidjf    32684  0.1  0.0 546456 23344 ?        Ssl  18:57   0:00 C:\windows\system32\winedevice.exe
davidjf    32694  3.7  0.1 728220 40752 ?        Ssl  18:57   0:00 C:\windows\system32\winedevice.exe
davidjf    32707  0.2  0.0 414484 23636 ?        Ssl  18:57   0:00 C:\windows\system32\plugplay.exe
davidjf    32715  0.0  0.0 196868 14788 ?        Ssl  18:57   0:00 C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted
davidjf    32723  0.8  0.1 428444 60580 ?        Ssl  18:57   0:00 C:\windows\system32\explorer.exe /desktop
davidjf    32732  0.0  0.0 471344 18892 ?        Ssl  18:57   0:00 C:\windows\system32\rpcss.exe
davidfrickert commented 2 months ago

well, small workaround, in a script where you call gamescope, ensure you kill exe processes. this is obviously not ideal as it might kill more stuff than you want to but since i dont run wine outside of games i'm ok with it (at least until the core issue is fixed)

#!/usr/bin/env bash
SDL_VIDEODRIVER=x11 gamescope -w 2560 -h 1600 -W 2560 -H 1600 -f "$@" 
pkill -f "\.exe"
Wgelyjr commented 1 month ago

Seeing this issue on Fedora 40 KDE.