ValveSoftware / gamescope

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

When Steam is running inside Gamescope, it crashes as soon as streaming is attempted #837

Open SkyLeite opened 1 year ago

SkyLeite commented 1 year ago

Steps to reproduce

  1. Launch Gamescope with Steam: gamescope -f -e -- /nix/store/b2rdnhppw9snx77mkywbyj3pfpywfq12-steam/bin/steam -tenfoot -steamos -fulldesktopres
  2. Launch any game
  3. Connect to it from another device using Steam Link (in my case, Steam Deck and Android TV)

Coredump

[nix-shell:~]$ sudo coredumpctl gdb 17668
           PID: 17668 (gamescope-wl)
           UID: 1234 (sky)
           GID: 100 (users)
        Signal: 6 (ABRT)
     Timestamp: Sat 2023-04-01 15:15:16 -03 (16min ago)
  Command Line: /nix/store/m9dq3qqllp5fr97yxknlxf85d9rz805j-gamescope-3.11.52-beta6/bin/gamescope -W 5120 -H 1440 -U -i -f -e -- /nix/store/b2rdnhppw9snx77mkywbyj3pfpywfq12-steam/bin/steam -tenfoot -steamos -fulldesktopres
    Executable: /nix/store/m9dq3qqllp5fr97yxknlxf85d9rz805j-gamescope-3.11.52-beta6/bin/.gamescope-wrapped
 Control Group: /user.slice/user-1234.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1234.slice
       Session: 3
     Owner UID: 1234 (sky)
       Boot ID: c9b8a3eda478471d9554853e05874283
    Machine ID: b28c6557ed1e4853864e0e2e65513f5f
      Hostname: home
       Storage: /var/lib/systemd/coredump/core.gamescope-wl.1234.c9b8a3eda478471d9554853e05874283.17668.1680372916000000.zst (present)
  Size on Disk: 2.4M
       Message: Process 17668 (gamescope-wl) of user 1234 dumped core.

                Module libpipewire-module-session-manager.so without build-id.
                Module libpipewire-module-metadata.so without build-id.
                Module libpipewire-module-adapter.so without build-id.
                Module libpipewire-module-client-device.so without build-id.
                Module libpipewire-module-client-node.so without build-id.
                Module libpipewire-module-protocol-native.so without build-id.
                Module libspa-dbus.so without build-id.
                Module libspa-journal.so without build-id.
                Module libspa-support.so without build-id.
                Module libelf.so.0 without build-id.
                Module libdrm_amdgpu.so.1 without build-id.
                Module libxml2.so.2 without build-id.
                Module libncursesw.so.6 without build-id.
                Module libunwind.so.8 without build-id.
                Module libxshmfence.so.1 without build-id.
                Module libxcb-randr.so.0 without build-id.
                Module libxcb-sync.so.1 without build-id.
                Module libX11-xcb.so.1 without build-id.
                Module libz.so.1 without build-id.
                Module libdecor-0.so.0 without build-id.
                Module libdbus-1.so.3 without build-id.
                Module libgpg-error.so.0 without build-id.
                Module libpcre2-8.so.0 without build-id.
                Module liblz4.so.1 without build-id.
                Module libzstd.so.1 without build-id.
                Module liblzma.so.5 without build-id.
                Module libgcrypt.so.20 without build-id.
                Module libgudev-1.0.so.0 without build-id.
                Module libICE.so.6 without build-id.
                Module libSM.so.6 without build-id.
                Module libsystemd.so.0 without build-id.
                Module libwacom.so.9 without build-id.
                Module libevdev.so.2 without build-id.
                Module libmtdev.so.1 without build-id.
                Module libexpat.so.1 without build-id.
                Module libGLdispatch.so.0 without build-id.
                Module libXdmcp.so.6 without build-id.
                Module libXau.so.6 without build-id.
                Module libjsoncpp.so.24 without build-id.
                Module libXt.so.6 without build-id.
                Module libxcb-errors.so.0 without build-id.
                Module libxcb-res.so.0 without build-id.
                Module libxcb-icccm.so.4 without build-id.
                Module libxcb-composite.so.0 without build-id.
                Module libseat.so.1 without build-id.
                Module libxcb-xinput.so.0 without build-id.
                Module libxcb-xfixes.so.0 without build-id.
                Module libxcb-shm.so.0 without build-id.
                Module libxcb-render-util.so.0 without build-id.
                Module libxcb-render.so.0 without build-id.
                Module libxcb-present.so.0 without build-id.
                Module libxcb-dri3.so.0 without build-id.
                Module libinput.so.10 without build-id.
                Module libGLESv2.so.2 without build-id.
                Module libEGL.so.1 without build-id.
                Module libudev.so.1 without build-id.
                Module libXss.so.1 without build-id.
                Module libXrandr.so.2 without build-id.
                Module libXi.so.6 without build-id.
                Module libXcursor.so.1 without build-id.
                Module libffi.so.8 without build-id.
                Module libxcb.so.1 without build-id.
                Module libgcc_s.so.1 without build-id.
                Module libstdc++.so.6 without build-id.
                Module libopenvr_api.so without build-id.
                Module libdisplay-info.so.1 without build-id.
                Module libpipewire-0.3.so.0 without build-id.
                Module libcap.so.2 without build-id.
                Module libXmu.so.6 without build-id.
                Module libXtst.so.6 without build-id.
                Module libliftoff.so.0 without build-id.
                Module libvulkan.so.1 without build-id.
                Module libwlroots.so.11 without build-id.
                Module libSDL2-2.0.so.0 without build-id.
                Module libxkbcommon.so.0 without build-id.
                Module libdrm.so.2 without build-id.
                Module libXRes.so.1 without build-id.
                Module libXxf86vm.so.1 without build-id.
                Module libXext.so.6 without build-id.
                Module libXrender.so.1 without build-id.
                Module libXcomposite.so.1 without build-id.
                Module libXfixes.so.3 without build-id.
                Module libXdamage.so.1 without build-id.
                Module libX11.so.6 without build-id.
                Module .gamescope-wrapped without build-id.
                Stack trace of thread 17686:
                #0  0x00007f9f26c8abc7 __pthread_kill_implementation (libc.so.6 + 0x8abc7)
                #1  0x00007f9f26c3db46 raise (libc.so.6 + 0x3db46)
                #2  0x00007f9f26c284b5 abort (libc.so.6 + 0x284b5)
                #3  0x00007f9f26c283d9 __assert_fail_base.cold.0 (libc.so.6 + 0x283d9)
                #4  0x00007f9f26c367b6 __assert_fail (libc.so.6 + 0x367b6)
                #5  0x0000000000474f0d _ZL24stream_handle_add_bufferPvP9pw_buffer (.gamescope-wrapped + 0x74f0d)
                #6  0x00007f9f27481d7b impl_port_use_buffers (libpipewire-0.3.so.0 + 0x9cd7b)
                #7  0x00007f9f2747687f pw_impl_port_use_buffers (libpipewire-0.3.so.0 + 0x9187f)
                #8  0x00007f9f25767398 client_node_port_use_buffers (libpipewire-module-client-node.so + 0x14398)
                #9  0x00007f9f25775f77 client_node_demarshal_port_use_buffers (libpipewire-module-client-node.so + 0x22f77)
                #10 0x00007f9f257c37c4 process_remote (libpipewire-module-protocol-native.so + 0x177c4)
                #11 0x00007f9f257c3e38 on_remote_data (libpipewire-module-protocol-native.so + 0x17e38)
                #12 0x00007f9f26231ede loop_iterate (libspa-support.so + 0x9ede)
                #13 0x00000000004758e4 _ZL12run_pipewireP14pipewire_state (.gamescope-wrapped + 0x758e4)
                #14 0x00007f9f270e0533 execute_native_thread_routine (libstdc++.so.6 + 0xe0533)
                #15 0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #16 0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17671:
                #0  0x00007f9f26d02759 __poll (libc.so.6 + 0x102759)
                #1  0x00007f9f2779aba9 SDL_IOReady (libSDL2-2.0.so.0 + 0x19aba9)
                #2  0x00007f9f2776b160 Wayland_WaitEventTimeout (libSDL2-2.0.so.0 + 0x16b160)
                #3  0x00007f9f276692e8 SDL_WaitEvent_REAL (libSDL2-2.0.so.0 + 0x692e8)
                #4  0x000000000045b948 _Z17inputSDLThreadRunv (.gamescope-wrapped + 0x5b948)
                #5  0x00007f9f270e0533 execute_native_thread_routine (libstdc++.so.6 + 0xe0533)
                #6  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #7  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17669:
                #0  0x00007f9f26c857d5 __futex_abstimed_wait_common (libc.so.6 + 0x857d5)
                #1  0x00007f9f26c88202 pthread_cond_wait@@GLIBC_2.3.2 (libc.so.6 + 0x88202)
                #2  0x00007f9f1b813489 cnd_wait (libvulkan_radeon.so + 0x213489)
                #3  0x00007f9f1b7e6a9b util_queue_thread_func (libvulkan_radeon.so + 0x1e6a9b)
                #4  0x00007f9f1b8133c7 impl_thrd_routine (libvulkan_radeon.so + 0x2133c7)
                #5  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #6  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17668:
                #0  0x00007f9f26d02759 __poll (libc.so.6 + 0x102759)
                #1  0x00000000004457b2 _Z12wlserver_runv (.gamescope-wrapped + 0x457b2)
                #2  0x000000000040f3bf main (.gamescope-wrapped + 0xf3bf)
                #3  0x00007f9f26c2924e __libc_start_call_main (libc.so.6 + 0x2924e)
                #4  0x00007f9f26c29309 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x29309)
                #5  0x0000000000410355 _start (.gamescope-wrapped + 0x10355)

                Stack trace of thread 17685:
                #0  0x00007f9f26d0f307 epoll_wait (libc.so.6 + 0x10f307)
                #1  0x00007f9f26240e20 impl_pollfd_wait (libspa-support.so + 0x18e20)
                #2  0x00007f9f26231d5b loop_iterate (libspa-support.so + 0x9d5b)
                #3  0x00007f9f2742e4bc do_loop (libpipewire-0.3.so.0 + 0x494bc)
                #4  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #5  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17688:
                #0  0x00007f9f26cd5135 clock_nanosleep@GLIBC_2.2.5 (libc.so.6 + 0xd5135)
                #1  0x00007f9f26cd9c77 __nanosleep (libc.so.6 + 0xd9c77)
                #2  0x000000000042d219 _Z15sleep_for_nanosm (.gamescope-wrapped + 0x2d219)
                #3  0x000000000045cf56 _Z15vblankThreadRunv (.gamescope-wrapped + 0x5cf56)
                #4  0x00007f9f270e0533 execute_native_thread_routine (libstdc++.so.6 + 0xe0533)
                #5  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #6  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17687:
                #0  0x00007f9f26d02759 __poll (libc.so.6 + 0x102759)
                #1  0x000000000043eeaf _Z17steamcompmgr_mainiPPc (.gamescope-wrapped + 0x3eeaf)
                #2  0x0000000000442df9 _ZL21steamCompMgrThreadRuniPPc (.gamescope-wrapped + 0x42df9)
                #3  0x00007f9f270e0533 execute_native_thread_routine (libstdc++.so.6 + 0xe0533)
                #4  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #5  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17691:
                #0  0x00007f9f26d02759 __poll (libc.so.6 + 0x102759)
                #1  0x0000000000432492 _Z19imageWaitThreadMainv (.gamescope-wrapped + 0x32492)
                #2  0x00007f9f270e0533 execute_native_thread_routine (libstdc++.so.6 + 0xe0533)
                #3  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #4  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)

                Stack trace of thread 17690:
                #0  0x00007f9f26cd9a27 wait4 (libc.so.6 + 0xd9a27)
                #1  0x000000000042e59f _ZNSt6thread11_State_implINS_8_InvokerISt5tupleIJZL12spawn_clientPPcEUlvE_EEEEE6_M_runEv (.gamescope-wrapped + 0x2e59f)
                #2  0x00007f9f270e0533 execute_native_thread_routine (libstdc++.so.6 + 0xe0533)
                #3  0x00007f9f26c88e86 start_thread (libc.so.6 + 0x88e86)
                #4  0x00007f9f26d0fd30 __clone3 (libc.so.6 + 0x10fd30)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /nix/store/m9dq3qqllp5fr97yxknlxf85d9rz805j-gamescope-3.11.52-beta6/bin/.gamescope-wrapped...
(No debugging symbols found in /nix/store/m9dq3qqllp5fr97yxknlxf85d9rz805j-gamescope-3.11.52-beta6/bin/.gamescope-wrapped)

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=16384 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=512 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:pipewire-memfd:flags=0x0000000f,type=2,size=2312 (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:xwayland-shared (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/wlroots-jkBELn (deleted) during file-backed mapping note processing

warning: core file may not match specified executable file.
[New LWP 17686]
[New LWP 17671]
[New LWP 17669]
[New LWP 17668]
[New LWP 17685]
[New LWP 17688]
[New LWP 17687]
[New LWP 17691]
[New LWP 17690]

warning: Section `.reg-xstate/17686' in core file too small.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/nix/store/9xfad3b5z4y00mzmk2wnn4900q0qmxns-glibc-2.35-224/lib/libthread_db.so.1".
Core was generated by `/nix/store/m9dq3qqllp5fr97yxknlxf85d9rz805j-gamescope-3.11.52-beta6/bin/gamesco'.
Program terminated with signal SIGABRT, Aborted.

warning: Section `.reg-xstate/17686' in core file too small.
#0  0x00007f9f26c8abc7 in __pthread_kill_implementation () from /nix/store/8xk4yl1r3n6kbyn05qhan7nbag7npymx-glibc-2.35-224/lib/libc.so.6
[Current thread is 1 (Thread 0x7f9f18ebb640 (LWP 17686))]
warning: File "/nix/store/shasq3azl2298vqkvq5mc7vivdqp3yrj-gcc-12.2.0-lib/lib/libstdc++.so.6.0.30-gdb.py" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load:/nix/store/b13h86pg7lbf6vpc1vwzw6akmakyw1bs-gcc-11.3.0-lib".

Notes

  1. Streaming works perfectly if Gamescope is not involved
  2. As far as I can tell, Steam integration is enabled (with -e)
  3. Nested or stand alone doesn't matter. Same thing happens on both

System Information

Attached: tmp.WBDY7bOJHJ.txt

Ps.: This is taken from Steam itself. Unfortunately Github wouldn't let me paste it directly, saying it's too long.

System Information summary Computer Information: Manufacturer: Gigabyte Technology Co., Ltd. Model: B450 AORUS M Form Factor: Desktop No Touch Input Detected Processor Information: CPU Vendor: AuthenticAMD CPU Brand: AMD Ryzen 9 5900X 12-Core Processor CPU Family: 0x19 CPU Model: 0x21 CPU Stepping: 0x2 CPU Type: 0x0 Speed: 4950 Mhz 24 logical processors 12 physical processors HyperThreading: Supported FCMOV: Supported SSE2: Supported SSE3: Supported SSSE3: Supported SSE4a: Supported SSE41: Supported SSE42: Supported AES: Supported AVX: Supported AVX2: Supported AVX512F: Unsupported AVX512PF: Unsupported AVX512ER: Unsupported AVX512CD: Unsupported AVX512VNNI: Unsupported SHA: Supported CMPXCHG16B: Supported LAHF/SAHF: Supported PrefetchW: Unsupported Operating System Version: "NixOS 23.05 (Stoat)" (64 bit) Kernel Name: Linux Kernel Version: 6.2.7-zen1 X Server Vendor: The X.Org Foundation X Server Release: 12201008 X Window Manager: wlroots wm Steam Runtime Version: steam-runtime_0.20230118.0 Video Card: Driver: AMD AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.49, 6.2.7-zen1) Driver Version: 4.6 (Compatibility Profile) Mesa 23.1.0-devel OpenGL Version: 4.6 Desktop Color Depth: 24 bits per pixel Monitor Refresh Rate: 239 Hz VendorID: 0x1002 DeviceID: 0x744c Revision Not Detected Number of Monitors: 3 Number of Logical Video Cards: 1 Primary Display Resolution: 5120 x 1440 Desktop Resolution: 5120 x 2520 Primary Display Size: 46.85" x 13.39" (48.70" diag) 119.0cm x 34.0cm (123.7cm diag) Primary VRAM: 24576 MB Sound card: Audio device: ATI R6xx HDMI Memory: RAM: 48103 MB VR Hardware: VR Headset: None detected Miscellaneous: UI Language: English LANG: en_US.UTF-8 Total Hard Disk Space Available: 929810 MB Largest Free Hard Disk Block: 615670 MB Storage: Number of SSDs: 3 SSD sizes: 2000G,1000G,1000G Number of HDDs: 0

Logs:

sky@home ~$ /nix/store/m9dq3qqllp5fr97yxknlxf85d9rz805j-gamescope-3.11.52-beta6/bin/gamescope -W 5120 -H 1440 -U -i -f -e -- /nix/store/b2rdnhppw9snx77mkywbyj3pfpywfq12-steam/bin/steam -tenfoot -steamos -fulldesktopres
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 RX 7900 XTX (RADV GFX1100)': queue family 1
vulkan: physical device supports DRM format modifiers
vulkan: supported DRM formats for sampling usage:
vulkan:   AR24 (0x34325241)
vulkan:   XR24 (0x34325258)
vulkan:   AB24 (0x34324241)
vulkan:   XB24 (0x34324258)
vulkan:   NV12 (0x3231564E)
vulkan:   AB4H (0x48344241)
vulkan:   AB48 (0x38344241)
vulkan:   AB30 (0x30334241)
vulkan:   XB30 (0x30334258)
vulkan:   AR30 (0x30335241)
vulkan:   XR30 (0x30335258)
wlserver: Running compositor on wayland display 'gamescope-0'
wlserver: [backend/headless/backend.c:16] Starting headless backend
wlserver: [xwayland/server.c:108] Starting Xwayland on :1
wlserver: [types/wlr_compositor.c:673] New wlr_surface 0xeb4b80 (res 0x905200)
wlserver: [xwayland/server.c:273] Xserver is ready
pipewire: stream state changed: connecting
pipewire: stream state changed: paused
pipewire: stream available on node ID: 94
steam.sh[8029]: Running Steam on nixos 23.05 64-bit
steam.sh[8029]: STEAM_RUNTIME is enabled automatically
setup.sh[8104]: Steam runtime environment up-to-date!
run.sh[8116]: Warning: An unexpected error occurred while executing "/sbin/ldconfig -XNv", the exit status was 127
steam.sh[8029]: Steam client's requirements are satisfied
[2023-04-01 15:00:56] Startup - updater built Mar 24 2023 17:19:53
[2023-04-01 15:00:56] Startup - Steam Client launched with: '/home/sky/.local/share/Steam/ubuntu12_32/steam' '-tenfoot' '-steamos' '-fulldesktopres'
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8122)
[2023-04-01 15:00:56] Loading cached metrics from disk (/home/sky/.local/share/Steam/package/steam_client_metrics.bin)
[2023-04-01 15:00:56] Using the following download hosts for Public, Realm steamglobal
[2023-04-01 15:00:56] 1. https://client-update.akamai.steamstatic.com, /, Realm 'steamglobal', weight was 1000, source = 'update_hosts_cached.vdf'
[2023-04-01 15:00:56] 2. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 1, source = 'update_hosts_cached.vdf'
[2023-04-01 15:00:56] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8129)
[2023-04-01 15:00:56] Verifying installation...
[2023-04-01 15:00:56] Verification complete
Loaded SDL version 3.0.0-1117-g727c7d4e2
XRRGetOutputInfo Workaround: initialized with override: 1 real: 0xeb6fa6b0
XRRGetCrtcInfo Workaround: initialized with override: 1 real: 0xeb6f8f80
GetWin32Stats: display was not open yet, good
ComputeStartupMode: forcing gamepadui, overriding tenfoot/bigpicture
steamwebhelper.sh[8138]: Runtime for steamwebhelper: defaulting to /home/sky/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8142)
steamwebhelper.sh[8138]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
steamwebhelper.sh[8138]: CEF sandbox already disabled
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8180)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8181)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8182)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8183)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8186)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8187)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8188)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8195)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8196)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8197)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8198)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8229)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8230)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8232)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8235)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8237)
Couldn't initialize SDL: wayland not available
CAppInfoCacheReadFromDiskThread took 92 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8266)
Failed to init SteamVR because it isn't installed

(steam:8122): Gtk-WARNING **: 15:00:57.392: gtk_disable_setlocale() must be called before gtk_init()
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8288)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8290)
local (potentially out of sync) copy of roaming config loaded - 379 bytes.
Couldn't initialize SDL: wayland not available
Local Device Found
  type: 045e 0b12
  path: sdl://1
  serial_number:  - 0
  Manufacturer:
  Product:      Xbox Series X Controller
  Release:      50b
  Interface:    -1

!! Steam controller device opened for index 0.
wlserver: [types/wlr_compositor.c:673] New wlr_surface 0xed6c70 (res 0x977080)
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Unsupported maximum keycode 708, clipping.
>                   X11 cannot support keycodes above 255.
Errors from xkbcomp are not fatal to the X server
GetWin32Stats: restoring previous glx context
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8356)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8387)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8389)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8390)
BRefreshApplicationsInLibrary 1: 1ms
roaming config store loaded successfully - 379 bytes.
migrating temporary roaming config store
CDesktopCapturePipeWire: Couldn't load libgbm.so.1
CDesktopCapturePipeWire: Couldn't load libraries, GBM support disabled
CDesktopCapturePipeWire: setting stream node ID: 94
ExecCommandLine: "'/home/sky/.local/share/Steam/ubuntu12_32/steam' '-tenfoot' '-steamos' '-fulldesktopres'"
System startup time: 6.26 seconds
BuildCompleteAppOverviewChange: 986 apps
RegisterForAppOverview 1: 5ms
RegisterForAppOverview 2: 6ms
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(8891)
xwm: error 3: BadWindow (invalid Window parameter) request 12 minor 0 serial 10596
xwm: error 3: BadWindow (invalid Window parameter) request 12 minor 0 serial 10599
^[[A^[[BInstalling breakpad exception handler for appid(steam)/version(1679680416)/tid(8924)
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to UnlockingH264 with ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
pressure-vessel-wrap[8933]: W: Found more than one possible libdrm data directory from provider
/nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gio/modules/libgioremote-volume-monitor.so
/nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gio/modules/libgvfsdbus.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_get_source_tag
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognomeproxy.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgioenvironmentproxy.so: undefined symbol: g_simple_proxy_resolver_new
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgioenvironmentproxy.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognutls.so: undefined symbol: g_byte_array_steal
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognutls.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_get_source_tag
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiolibproxy.so
/nix/store/a46g6jg1rckzr7s965pb7kibr315k070-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_hash_table_get_keys_as_array
Failed to load module: /nix/store/a46g6jg1rckzr7s965pb7kibr315k070-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9152)
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to RunningInstallScript with ""

Unhandled Exception:
System.TypeLoadException: Could not load type of field 'InstallerMessage.Form1+<CodecCheck>d__11:<codecQuary>5__2' (3) due to: Could not load file or assembly 'Windows.Foundation.UniversalApiContract, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at InstallerMessage.Form1..ctor () [0x00063] in <f443aebfc45044fe842a2fa8533dcc55>:0
  at (wrapper remoting-invoke-with-check) InstallerMessage.Form1..ctor()
  at InstallerMessage.Program.Main () [0x0000b] in <f443aebfc45044fe842a2fa8533dcc55>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'InstallerMessage.Form1+<CodecCheck>d__11:<codecQuary>5__2' (3) due to: Could not load file or assembly 'Windows.Foundation.UniversalApiContract, Version=14.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies.
  at InstallerMessage.Form1..ctor () [0x00063] in <f443aebfc45044fe842a2fa8533dcc55>:0
  at (wrapper remoting-invoke-with-check) InstallerMessage.Form1..ctor()
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to SynchronizingControllerConfig with ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0/home/sky/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2050650 -- /home/sky/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/sky/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sky/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/sky/.local/share/Steam/steamapps/common/RESIDENT EVIL 4  BIOHAZARD RE4/re4.exe'\0
Game process added : AppID 2050650 "/home/sky/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2050650 -- /home/sky/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/sky/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sky/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/sky/.local/share/Steam/steamapps/common/RESIDENT EVIL 4  BIOHAZARD RE4/re4.exe'", ProcID 9168, IP 0.0.0.0:0
chdir /home/sky/.local/share/Steam/steamapps/common/RESIDENT EVIL 4  BIOHAZARD RE4
ERROR: ld.so: object '/home/sky/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/sky/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/sky/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/sky/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/sky/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 2050650, ActionID 1] : LaunchApp changed task to Completed with ""

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.698: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.

(steam:8122): LIBDBUSMENU-GLIB-WARNING **: 15:01:29.699: Trying to remove a child that doesn't believe we're it's parent.
pressure-vessel-wrap[9169]: W: Found more than one possible libdrm data directory from provider
/nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gio/modules/libgioremote-volume-monitor.so
/nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gvfs/libgvfscommon.so: undefined symbol: g_task_set_source_tag
Failed to load module: /nix/store/dznrcc1ih3ww41nfiykwm67dxn0365j5-gvfs-1.50.3/lib/gio/modules/libgvfsdbus.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognomeproxy.so: undefined symbol: g_task_get_source_tag
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognomeproxy.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgioenvironmentproxy.so: undefined symbol: g_simple_proxy_resolver_new
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgioenvironmentproxy.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognutls.so: undefined symbol: g_byte_array_steal
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiognutls.so
/nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiolibproxy.so: undefined symbol: g_task_get_source_tag
Failed to load module: /nix/store/s3dgj1avqw9gv9c660r9fgg1hz7xzs4l-glib-networking-2.74.0/lib/gio/modules/libgiolibproxy.so
/nix/store/a46g6jg1rckzr7s965pb7kibr315k070-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so: undefined symbol: g_hash_table_get_keys_as_array
Failed to load module: /nix/store/a46g6jg1rckzr7s965pb7kibr315k070-dconf-0.40.0-lib/lib/gio/modules/libdconfsettings.so
fsync: up and running.
wine: Using setpriority to control niceness in the [-10,10] range
ThreadGetProcessExitCode: no such process 9323
ThreadGetProcessExitCode: no such process 9321
ThreadGetProcessExitCode: no such process 9319
ThreadGetProcessExitCode: no such process 9318
ThreadGetProcessExitCode: no such process 9170
ThreadGetProcessExitCode: no such process 9326
Game process updated : AppID 2050650 "/home/sky/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2050650 -- /home/sky/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/sky/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sky/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/sky/.local/share/Steam/steamapps/common/RESIDENT EVIL 4  BIOHAZARD RE4/re4.exe'", ProcID 9322, IP 0.0.0.0:0
Setting breakpad minidump AppID = 2050650
Steam_SetMinidumpSteamID:  Caching Steam ID:  76561198008888523 [API loaded no]
Game process updated : AppID 2050650 "/home/sky/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2050650 -- /home/sky/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/sky/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sky/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/sky/.local/share/Steam/steamapps/common/RESIDENT EVIL 4  BIOHAZARD RE4/re4.exe'", ProcID 9391, IP 0.0.0.0:0
Setting breakpad minidump AppID = 2050650
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198008888523 [API loaded no]
wlserver: [types/wlr_compositor.c:673] New wlr_surface 0xd9c4f0 (res 0xee86f0)
Game process updated : AppID 2050650 "/home/sky/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=2050650 -- /home/sky/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/sky/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/sky/.local/share/Steam/steamapps/common/Proton - Experimental'/proton waitforexitandrun  '/home/sky/.local/share/Steam/steamapps/common/RESIDENT EVIL 4  BIOHAZARD RE4/re4.exe'", ProcID 9391, IP 0.0.0.0:0
Setting breakpad minidump AppID = 2050650
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561198008888523 [API loaded no]
Fossilize INFO: Overriding serialization path: "/home/sky/.local/share/Steam/steamapps/shadercache/2050650/fozpipelinesv6/steamapprun_pipeline_cache".
wlserver: [types/wlr_compositor.c:673] New wlr_surface 0xd9b9b0 (res 0xc915d0)
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_ABOVE
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_VERT
xwm: Unhandled NET_WM_STATE property change: _NET_WM_STATE_MAXIMIZED_HORZ
xwm: Unhandled client message: _NET_WM_FULLSCREEN_MONITORS
a
BRefreshApplicationsInLibrary 1: 0ms
BuildCompleteAppOverviewChange: 1011 apps

(steam:8122): Gtk-WARNING **: 15:01:56.868: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.872: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.872: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.873: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:01:56.874: gtk_disable_setlocale() must be called before gtk_init()
Streaming initialized and listening on port 27031
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9582)
Warning: thread priority outside allowed range 15
Session state Idle -> Handshake
Got control packet k_EStreamControlClientHandshake
Session state Handshake -> MTUDiscovery
Sent ping with MTU 1024, increment = 512
Ping failed, reduced increment to 256
Sent ping with MTU 1280, increment = 256
Ping failed, reduced increment to 128
Sent ping with MTU 1408, increment = 128
Ping failed, reduced increment to 64
Send to 192.168.1.229:36562 with size 1476 failed (90): Message too longPing failed, reduced increment to 32
Sent ping with MTU 1440, increment = 32
Send to 192.168.1.229:36562 with size 1476 failed (90): Message too longPing failed, reduced increment to 16
Sent ping with MTU 1456, increment = 16
Send to 192.168.1.229:36562 with size 1476 failed (90): Message too longPing failed, reduced increment to 8
Sent ping with MTU 1464, increment = 8
Ping timeout, resending with MTU 1464
Send to 192.168.1.229:36562 with size 1476 failed (90): Message too longPing failed, reduced increment to 4
Sent ping with MTU 1468, increment = 4
Send to 192.168.1.229:36562 with size 1476 failed (90): Message too longPing failed, reduced increment to 2
Send to 192.168.1.229:36562 with size 1474 failed (90): Message too longPing failed, reduced increment to 1
Send to 192.168.1.229:36562 with size 1473 failed (90): Message too longPing failed, reduced increment to 0
MTU discovery complete, detected value 1468
Session state MTUDiscovery -> Authenticating
Got control packet k_EStreamControlAuthenticationRequest
Session state Authenticating -> Negotiating
Got control packet k_EStreamControlNegotiationSetConfig
Got control packet k_EStreamControlNegotiationComplete
Session state Negotiating -> StreamStarting
Streaming started to steamdeck at 192.168.1.229:36562, audio channels = 2, MTU = 1468
Streaming quality: k_EStreamQualityBalanced
Streaming bitrate: Automatic
Device form factor: computer
Maximum capture: 1280x800 58.75 FPS
Video Streaming: enabled
Audio Streaming: enabled
Input Streaming: enabled

=====================================================================
Game: Resident Evil 4 (2050650)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9583)
Setting target bitrate to 15000 Kbit/s, burst bitrate is 75000 Kbit/s
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9584)
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9585)
Session state StreamStarting -> Streaming
GameScope focus changed to appID 2050650
Window title set to Resident Evil 4
Streamed game has created a window
Changing record window: 0x3400001
>>> Starting desktop stream
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9586)
SynchronizeClientState(): setting capture size 5120x1440
SynchronizeClientState(): setting title to Resident Evil 4
SynchronizeClientState(): setting icon 32x32
SynchronizeClientState(): setting activity to k_EStreamActivityGame: Resident Evil 4
Installing breakpad exception handler for appid(steam)/version(1679680416)/tid(9587)
Recording system audio
PulseAudio: Sink bluez_output.00_16_94_37_A4_24.1 is default
PulseAudio: Adding sink[57] alsa_output.pci-0000_09_00.1.hdmi-stereo with priority 1, monitor is alsa_output.pci-0000_09_00.1.hdmi-stereo.monitor
PulseAudio: Adding sink[58] alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output with priority 1, monitor is alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo-output.monitor
PulseAudio: Adding sink[61] alsa_output.pci-0000_0b_00.4.iec958-stereo with priority 1, monitor is alsa_output.pci-0000_0b_00.4.iec958-stereo.monitor
PulseAudio: Adding sink[93] bluez_output.00_16_94_37_A4_24.1 with priority 7, monitor is bluez_output.00_16_94_37_A4_24.1.monitor
PulseAudio: Recording on device bluez_output.00_16_94_37_A4_24.1.monitor
Audio mix: start=634140422, returned=0
Audio source [System Pulse]: init=0, adjustment=0, through=0, last_start=0, mixed=0, drop_before=0, drop_after=0
PulseAudio: Connected to device bluez_output.00_16_94_37_A4_24.1.monitor (93, not suspended).
PulseAudio: Using sample spec 's16le 2ch 48000Hz', channel map 'front-left,front-right'.
CDesktopCapturePipeWire: PipeWire stream state changed to connecting
CDesktopCapturePipeWire: PipeWire stream state changed to paused
CDesktopCapturePipeWire: PipeWire stream format changed (size: 5120x1440, format 23, stride 5120, size 11059200, dmabuf: 0)
pipewire: format changed (size: 5120x1440, requested 0x0, format 23, stride 5120, size: 11059200, dmabuf: 0)
CDesktopCapturePipeWire: PipeWire stream state changed to streaming
pipewire: stream state changed: streaming
CLIENT: Got control packet k_EStreamControlSetQoS
CLIENT: Got control packet k_EStreamControlSetTargetBitrate
CLIENT: Starting audio stream: frequency=48000, channels=2
CLIENT: Opened audio device: format=2, channels=2, frequency=48000
CLIENT: Initialized audio decoder: codec=3, sample rate=48000, channels=2
CLIENT: Got control packet k_EStreamControlStartAudioData
CLIENT: Got control packet k_EStreamControlSetSpectatorMode
CLIENT: Got control packet k_EStreamControlSetCaptureSize
CLIENT: Got control packet k_EStreamControlSetTitle
CLIENT: Got control packet k_EStreamControlSetIcon
CLIENT: Got control packet k_EStreamControlSetActivity
>>> Switching video stream from NONE to Desktop_MovieStream
BuildCompleteAppOverviewChange: 1022 apps
CGameStreamVideoStageVAAPI: Reinitializing 1280x360 at 2500 Kbit/s and 58.75 FPS with quality 0
CDesktopCapturePipeWire: PipeWire stream format changed (size: 5120x1440, format 23, stride 5120, size 11059200, dmabuf: 0)
ffmpeg verbose: libva: VA-API version 1.17.0
ffmpeg verbose: libva: Trying to open /run/opengl-driver-32/lib/dri/radeonsi_drv_video.so
pipewire: format changed (size: 5120x1440, requested 1280x800, format 23, stride 5120, size: 11059200, dmabuf: 0)
gamescope: ../src/pipewire.cpp:477: void stream_handle_add_buffer(void*, pw_buffer*): Assertion `buffer->texture != nullptr' failed.

(steam:8122): Gtk-WARNING **: 15:02:02.544: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.544: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()
ffmpeg verbose: libva: Found init function __vaDriverInit_1_17

(steam:8122): Gtk-WARNING **: 15:02:02.545: gtk_disable_setlocale() must be called before gtk_init()
ffmpeg verbose: libva: va_openDriver() returns 0
ffmpeg verbose: Initialised VAAPI connection: version 1.17
ffmpeg verbose: VAAPI driver: Mesa Gallium driver 23.1.0-devel for AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.49, 6.2.7-zen1).
ffmpeg verbose: Driver not found in known nonstandard list, using standard behaviour.
ffmpeg verbose: Input surface format is nv12.
ffmpeg verbose: Using VAAPI profile VAProfileH264Main (6).
ffmpeg verbose: Using VAAPI entrypoint VAEntrypointEncSlice (6).
ffmpeg verbose: Using VAAPI render target format YUV420 (0x1).
ffmpeg verbose: RC mode: VBR.
ffmpeg verbose: RC target: 83% of 3000000 bps over 1000 ms.
ffmpeg verbose: RC buffer: 3000000 bits, initial fullness 2250000 bits.
ffmpeg verbose: RC framerate: 235/4 (58.75 fps).
ffmpeg verbose: Using intra and P-frames (supported references: 1 / 0).
ffmpeg warning: Driver does not support some wanted packed headers (wanted 0xd, found 0).
ffmpeg verbose: Using level 3.1.
>>> Capture method set to Desktop PipeWire NV12 + VAAPI H264
>>> Capture resolution set to 1280x360
>>> Capture colorspace set to BT.601 limited range
>>> Capture method set to Desktop OpenGL NV12 + VAAPI H264
CLIENT: Got control packet k_EStreamControlStartVideoData
CLIENT: Got control packet k_EStreamControlVideoEncoderInfo
Got control packet k_EStreamControlVideoDecoderInfo
>>> Client video decoder set to VAAPI tiled hardware decoding
CLIENT: Got control packet k_EStreamControlVideoEncoderInfo
CLIENT: CVDPAUAccel: GL_NV_vdpau_interop not available on current context
CLIENT: ffmpeg verbose: Trying to use DRM render node for device 0.
CLIENT: ffmpeg verbose: libva: VA-API version 1.16.0
CLIENT: ffmpeg verbose: libva: Trying to open /usr/lib/dri/radeonsi_drv_video.so
CLIENT: ffmpeg verbose: libva: Found init function __vaDriverInit_1_16
CLIENT: ffmpeg verbose: libva: va_openDriver() returns 0
CLIENT: ffmpeg verbose: Initialised VAAPI connection: version 1.16
CLIENT: ffmpeg verbose: VAAPI driver: Mesa Gallium driver 22.2.0 for AMD Custom GPU 0405 (vangogh, LLVM 14.0.6, DRM 3.45, 5.13.0-valve36-1-neptune).
CLIENT: ffmpeg verbose: Driver not found in known nonstandard list, using standard behaviour.
CLIENT: VAAPI tiled hardware decoding
CLIENT: ffmpeg verbose: Reinit context to 1280x368, pix_fmt: vaapi_vld
CGameStreamVideoStageVAAPI: Reinitializing 1280x360 at 2500 Kbit/s and 58.75 FPS with quality 0
ffmpeg verbose: libva: VA-API version 1.17.0
ffmpeg verbose: libva: Trying to open /run/opengl-driver-32/lib/dri/radeonsi_drv_video.so
ffmpeg verbose: libva: Found init function __vaDriverInit_1_17
ffmpeg verbose: libva: va_openDriver() returns 0
ffmpeg verbose: Initialised VAAPI connection: version 1.17
ffmpeg verbose: VAAPI driver: Mesa Gallium driver 23.1.0-devel for AMD Radeon RX 7900 XTX (gfx1100, LLVM 15.0.7, DRM 3.49, 6.2.7-zen1).
ffmpeg verbose: Driver not found in known nonstandard list, using standard behaviour.
ffmpeg verbose: Input surface format is nv12.
ffmpeg verbose: Using VAAPI profile VAProfileH264Main (6).
ffmpeg verbose: Using VAAPI entrypoint VAEntrypointEncSlice (6).
ffmpeg verbose: Using VAAPI render target format YUV420 (0x1).
ffmpeg verbose: RC mode: VBR.
ffmpeg verbose: RC target: 83% of 3000000 bps over 1000 ms.
ffmpeg verbose: RC buffer: 3000000 bits, initial fullness 2250000 bits.
ffmpeg verbose: RC framerate: 235/4 (58.75 fps).
ffmpeg verbose: Using intra and P-frames (supported references: 1 / 0).
ffmpeg warning: Driver does not support some wanted packed headers (wanted 0xd, found 0).
ffmpeg verbose: Using level 3.1.
CLIENT: Video rect: 1280x800 at 0,0
CLIENT: Texture rect: 1280x360 at 0,0
CLIENT: Video size: 1280x360, output size: 1280x800, overlay size: 1280x800
CLIENT: Video rect: 1280x360 at 0,220
CLIENT: Texture rect: 1280x360 at 0,0
CLIENT: Video rect: 1280x360 at 0,220
CLIENT: Texture rect: 1280x360 at 0,0
(EE) failed to read Wayland events: Connection reset by peer
CDesktopCapturePipeWire: PipeWire stream state changed to paused
[1]    7986 IOT instruction (core dumped)   -W 5120 -H 1440 -U -i -f -e --  -tenfoot -steamos -fulldesktopres
X connection to :1 broken (explicit kill or server shutdown).
X connection to :1 broken (explicit kill or server shutdown).
X connection to :1 broken (explicit kill or server shutdown).
X connection to :1 broken (explicit kill or server shutdown).
X connection to :1 broken (explicit kill or server shutdown).
Fatal IO error 11 (Resource temporarily unavailable) on X server :1.
X connection to :1 broken (explicit kill or server shutdown).
SkyLeite commented 1 year ago

Since it seems like the error happens in stream_handle_add_buffer in pipewire.cpp:430, this issue might be related to https://github.com/obsproject/obs-studio/issues/8170 which is (apparently) solved by https://github.com/obsproject/obs-studio/pull/8293 and https://github.com/emersion/xdg-desktop-portal-wlr/pull/258. Unfortunately I'm not knowledgeable in C++ or Pipewire's internals to submit a PR

safijari commented 1 year ago

Seems related to #775

ruineka commented 1 year ago

I got a journal log showing the crash events with my testing.

Stream-crash.log

majewsky commented 1 year ago

@SkyLeite You may want to retry with the recently released xdg-desktop-portal-wlr 0.7.0. The issue of mine in OBS that you linked is resolved for me by that update.

kutlaykizil commented 1 year ago

@SkyLeite Can you try to start the gamescope with gamescope -H 1080 -W 1920 -e command and limit the resolution to 1080p on the client side to see if it works?

From my own setup I see that trying to start a stream with a lower resolution (or aspect ratio) than what gamescope uses seems to crush it. Maybe the same thing is happening to you too.

Samsagax commented 1 year ago

New find here. Using the SteamDeck pipewire I still get the same result but maybe there is a clue in the gamescope output:

wlserver: Updating mode for xwayland server #1: 3840x2160@60
pipewire: format changed (size: 3840x2160, requested 0x0, format 23, stride 3840, size: 12441600, dmabuf: 0)
pipewire: stream state changed: streaming
pipewire: format changed (size: 3840x2160, requested 1920x1080, format 23, stride 3840, size: 12441600, dmabuf: 0)
vulkan: Unable to acquire screenshot texture. Out of textures.
gamescope: ../src/pipewire.cpp:477: void stream_handle_add_buffer(void*, pw_buffer*): Assertion `buffer->texture != nullptr' failed.
(EE) failed to read Wayland events: Broken pipe
(EE) failed to read Wayland events: Broken pipe

Seems that the vulkan texture is failing.