nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
532 stars 25 forks source link

Portal 2 crashes on PLAY since Steam update #94

Closed test-ca-git closed 2 years ago

test-ca-git commented 2 years ago

I've been capturing Portal 2 on Fedora 36 KDE without issue. Steam updated earlier this week, and despite no change in settings, the game now crashes on launch. The game capture plugin still presents in OBS.

To reproduce the behaviour, I did a fresh install of Fedora 36 (Fedora-Workstation-Live-x86_64-36-1.5) and executed the following commands to it:

sudo dnf upgrade
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install com.valvesoftware.Steam
flatpak install com.obsproject.Studio
flatpak install org.freedesktop.Platform.VulkanLayer.OBSVkCapture
flatpak install com.obsproject.Studio.Plugin.OBSVkCapture

Here's the resulting versioning:

[user@fed36 ~]$ flatpak list
Name                                Application ID                                               Version                Branch            Installation
OBS Studio                          com.obsproject.Studio                                        28.0.1                 stable            system
OBS VkCapture Plugin                com.obsproject.Studio.Plugin.OBSVkCapture                    1.2.0                  stable            system
Steam                               com.valvesoftware.Steam                                      1.0.0.74               stable            system
Freedesktop Platform                org.freedesktop.Platform                                     22.08.0                22.08             system
i386                                org.freedesktop.Platform.Compat.i386                                                22.08             system
Mesa                                org.freedesktop.Platform.GL.default                          21.3.9                 21.08             system
Mesa                                org.freedesktop.Platform.GL.default                          mesa-22.1.7            22.08             system
Mesa                                org.freedesktop.Platform.GL32.default                        mesa-22.1.7            22.08             system
Intel                               org.freedesktop.Platform.VAAPI.Intel                                                21.08             system
Intel                               org.freedesktop.Platform.VAAPI.Intel                                                22.08             system
i386                                org.freedesktop.Platform.VAAPI.Intel.i386                                           22.08             system
OBS VkCapture tools                 org.freedesktop.Platform.VulkanLayer.OBSVkCapture            1.2.0                  21.08             system
openh264                            org.freedesktop.Platform.openh264                            2.1.0                  2.0               system
openh264                            org.freedesktop.Platform.openh264                            2.1.0                  2.3.0             system
Adwaita theme                       org.kde.KStyle.Adwaita                                                              6.3               system
KDE Application Platform            org.kde.Platform                                                                    6.3               system

Then I imported profiles and scenes into OBS, installed Portal 2 in Steam, and set the following LAUNCH OPTIONS: obs-gamecapture %command% -vulkan

Portal 2 doesn't have a logfile, so after a restart, I ran the Steam flatpak from shell and saved the output:

[user@fed36 ~]$ flatpak run com.valvesoftware.Steam
INFO:root:https://github.com/flathub/com.valvesoftware.Steam/wiki
INFO:root:Will set XDG dirs prefix to /home/user/.var/app/com.valvesoftware.Steam
DEBUG:root:Checking input devices permissions
WARNING:root:Missing permissions for input devices
INFO:root:Overriding TZ to Australia/Melbourne
steam.sh[2]: Running Steam on org.freedesktop.platform 22.08 64-bit
steam.sh[2]: STEAM_RUNTIME is enabled automatically
setup.sh[78]: Steam runtime environment up-to-date!
steam.sh[2]: Steam client's requirements are satisfied
[2022-09-03 23:35:46] Startup - updater built Aug 20 2022 01:16:55
[2022-09-03 23:35:46] Startup - Steam Client launched with: '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'
Installing breakpad exception handler for appid(steam)/version(1661825435)
[2022-09-03 23:35:47] Loading cached metrics from disk (/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/package/steam_client_metrics.bin)
[2022-09-03 23:35:47] Using the following download hosts for Public, Realm steamglobal
[2022-09-03 23:35:47] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-09-03 23:35:47] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
[2022-09-03 23:35:47] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
Installing breakpad exception handler for appid(steam)/version(1661825435)
[2022-09-03 23:35:47] Verifying installation...
[2022-09-03 23:35:47] Verification complete
Loaded SDL version 2.25.0-7450656
ComputeStartupMode: found registry default startup mode: 0steamwebhelper.sh[173]: Runtime for steamwebhelper: defaulting to /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
steamwebhelper.sh[173]: Running under Flatpak, disabling sandbox
steamwebhelper.sh[173]: CEF sandbox already disabled
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
CAppInfoCacheReadFromDiskThread took 111 milliseconds to initialize
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)

(steam:153): Gtk-WARNING **: 23:35:50.758: gtk_disable_setlocale() must be called before gtk_init()
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
Installing breakpad exception handler for appid(steam)/version(1661825435)
local (potentially out of sync) copy of roaming config loaded - 1459 bytes.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
roaming config store loaded successfully - 1459 bytes.
migrating temporary roaming config store
Installing breakpad exception handler for appid(steam)/version(1661825435)
src/clientdll/compatmanager.cpp (1041) : GetCompatibilityToolCommandLineInternal on dependent tool failed
src/clientdll/compatmanager.cpp (1041) : GetCompatibilityToolCommandLineInternal on dependent tool failed
Installing breakpad exception handler for appid(steam)/version(1661825435)
assert_20220903233552_27.dmp[323]: Uploading dump (out-of-process)
/tmp/dumps/assert_20220903233552_27.dmp
BRefreshApplicationsInLibrary 1: 23ms
assert_20220903233552_27.dmp[323]: Finished uploading minidump (out-of-process): success = yes
assert_20220903233552_27.dmp[323]: response: CrashID=bp-b82256da-2272-469a-a9e9-48ad62220903
assert_20220903233552_27.dmp[323]: file ''/tmp/dumps/assert_20220903233552_27.dmp'', upload yes: ''CrashID=bp-b82256da-2272-469a-a9e9-48ad62220903''
Installing breakpad exception handler for appid(steam)/version(1661825435)
Failed to init SteamVR because it isn't installed
ExecCommandLine: "'/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/steam' '-no-cef-sandbox'"
System startup time: 7.56 seconds
BuildCompleteAppOverviewChange: 283
RegisterForAppOverview 1: 21ms
RegisterForAppOverview 2: 22ms
Installing breakpad exception handler for appid(steam)/version(1661825435)
Installing breakpad exception handler for appid(steam)/version(1661825435)

# added this line to the log: this is where I clicked PLAY on Portal 2.

GameAction [AppID 620, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 620, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 620, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 620, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 620, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 620, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0obs-gamecapture /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan\0
Game process added : AppID 620 "obs-gamecapture /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan", ProcID 430, IP 0.0.0.0:0
chdir /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2
GameAction [AppID 620, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 620, ActionID 1] : LaunchApp changed task to Completed with ""
/bin/sh: line 1: obs-gamecapture: command not found
Game process removed: AppID 620 "obs-gamecapture /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan", ProcID 430 
Uploaded AppInterfaceStats to Steam

# added this line to the log: this is where Steam returned to where it was prior to clicking PLAY.

Steam: An X Error occurred
X Error of failed request:  BadWindow (invalid Window parameter)
Major opcode of failed request:  40 (X_TranslateCoords)
Resource id in failed request:  0x20000f
Serial number of failed request:  25391
xerror_handler: X failed, continuing

(steam:153): GLib-GObject-CRITICAL **: 23:37:06.275: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(steam:153): GLib-GObject-WARNING **: 23:37:06.276: invalid (NULL) pointer instance

(steam:153): GLib-GObject-CRITICAL **: 23:37:06.276: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

(steam:153): GLib-GObject-CRITICAL **: 23:37:06.276: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
[2022-09-03 23:37:06] Shutdown
[user@fed36 ~]$ 

And the OBS logs:

[user@fed36 ~]$ flatpak run com.obsproject.Studio
debug: Found portal inhibitor
Attempted path: share/obs/obs-studio/locale/en-US.ini
Attempted path: /app/share/obs/obs-studio/locale/en-US.ini
Attempted path: share/obs/obs-studio/themes/Light.qss
Attempted path: /app/share/obs/obs-studio/themes/Light.qss
info: Platform: Wayland
info: CPU Name: Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz
info: CPU Speed: 1800.078MHz
info: Physical Cores: 4, Logical Cores: 8
info: Physical Memory: 15864MB Total, 12972MB Free
info: Kernel Version: Linux 5.19.6-200.fc36.x86_64
info: Distribution: "KDE Flatpak runtime" "5.15-21.08"
info: Session Type: wayland
info: Qt Version: 6.3.1 (runtime), 6.3.1 (compiled)
info: Portable mode: false
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Light/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Light/Close.svg', because: No such file or directory
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Light/Popout.svg', because: No such file or directory
qt.svg: Cannot open file '/app/share/obs/obs-studio/themes/Light/Popout.svg', because: No such file or directory
Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
Attempted path: /app/share/obs/obs-studio/themes/Dark/no_sources.svg
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
qt.core.qmetaobject.connectslotsbyname: QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
info: OBS 28.0.1 (linux)
info: ---------------------------------
info: ---------------------------------
info: audio settings reset:
        samples per sec: 48000
        speakers:        2
        max buffering:   960 milliseconds
        buffering type:  dynamically increasing
info: ---------------------------------
info: Initializing OpenGL...
info: Using EGL/Wayland
info: Initialized EGL 1.5
info: Loading up OpenGL on adapter Intel Mesa Intel(R) Iris(R) Plus Graphics 655 (CFL GT3)
info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 21.3.9 (git-78c96ae5b6), shading language 4.60
info: ---------------------------------
info: video settings reset:
        base resolution:   1920x1080
        output resolution: 1920x1080
        downscale filter:  Bicubic
        fps:               48/1
        format:            NV12
        YUV mode:          Rec. 709/Partial
info: NV12 texture support not available
info: P010 texture support not available
info: Audio monitoring device:
        name: Default
        id: default
info: ---------------------------------
warning: No AJA devices found, skipping loading AJA UI plugin
warning: Failed to initialize module 'aja-output-ui.so'
warning: No AJA devices found, skipping loading AJA plugin
warning: Failed to initialize module 'aja.so'
warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
warning: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
libDeckLinkAPI.so: cannot open shared object file: No such file or directory
warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
warning: Failed to initialize module 'decklink.so'
info: [pipewire] Available captures:
info: [pipewire]     - Desktop capture
info: [pipewire]     - Window capture
warning: v4l2loopback not installed, virtual camera disabled
info: [obs-browser]: Version 2.18.5
info: [obs-browser]: CEF Version 103.0.5060.134 (runtime), 103.0.0-5060-shared-textures_143.2591+g4204d54+chromium-103.0.5060.134 (compiled)
info: FFMPEG VAAPI supported
info: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.0.1 | RPC Version: 1)
info: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.3.1 | Qt version (run-time): 6.3.1
info: [obs-websocket] [obs_module_load] Linked ASIO Version: 101201
info: [obs-websocket] [obs_module_load] Module loaded.
info: [linux-vkcapture] plugin loaded successfully (version 1.2.0)
info: ---------------------------------
info:   Loaded Modules:
info:     linux-vkcapture.so
info:     text-freetype2.so
info:     rtmp-services.so
info:     obs-x264.so
info:     obs-websocket.so
info:     obs-vst.so
info:     obs-transitions.so
info:     obs-outputs.so
info:     obs-filters.so
info:     obs-ffmpeg.so
info:     obs-browser.so
info:     linux-v4l2.so
info:     linux-pulseaudio.so
info:     linux-pipewire.so
info:     linux-jack.so
info:     linux-capture.so
info:     image-source.so
info:     frontend-tools.so
info:     decklink-output-ui.so
info:     decklink-captions.so
info: ---------------------------------
info: ==== Startup complete ===============================================
info: All scene data cleared
info: ------------------------------------------------
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.56) 15.0.0'
info: pulse-input: Audio format: s32le, 44100 Hz, 2 channels
info: pulse-input: Started recording from 'alsa_output.usb-Topping_DX7_Pro-00.analog-stereo.monitor'
info: [Loaded global audio device]: 'Desktop Audio'
info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.56) 15.0.0'
error: pulse-input: An error occurred while getting the source info!
info: [Loaded global audio device]: 'Mic/Aux'
info:     - filter: 'Noise Suppression' (noise_suppress_filter_v2)
info: [Media Source 'Opening video']: settings:
        input:                   /home/user/Steaming artefacts/opening.mkv
        input_format:            (null)
        speed:                   100
        is_looping:              no
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     no
        ffmpeg_options:          
info: Set FFmpeg options: 
info: [Media Source 'intermission video']: settings:
        input:                   /home/user/Steaming artefacts/intermission.mkv
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         yes
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     no
        ffmpeg_options:          
info: Set FFmpeg options: 
info: [Media Source 'intermission audio']: settings:
        input:                   /home/user/Steaming artefacts/Bach.wav
        input_format:            (null)
        speed:                   100
        is_looping:              yes
        is_linear_alpha:         no
        is_hw_decoding:          no
        is_clear_on_media_end:   yes
        restart_on_activate:     yes
        close_when_inactive:     no
        ffmpeg_options:          
info: Set FFmpeg options: 
info: v4l2-input: Start capture from /dev/video0
error: v4l2-input: Unable to open device
error: v4l2-input: Initialization failed, errno: No such file or directory
error: ext_screencopy_manager_v1 not available
info: Switched to scene 'Game'
info: ------------------------------------------------
info: Loaded scenes:
info: - scene 'Start Streaming blank':
info: - scene 'Open':
info:     - source: 'Image' (image_source)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info:     - source: 'Opening video' (ffmpeg_source)
info: - scene 'Spotify':
info:     - source: 'Spotify audio' (jack_output_capture)
info: - scene 'Game':
info:     - source: 'Game Capture' (vkcapture-source)
info: - scene 'Intermission':
info:     - source: 'intermission video' (ffmpeg_source)
info:     - source: 'intermission audio' (ffmpeg_source)
info: - scene 'Close':
info:     - source: 'Image' (image_source)
info:     - source: 'Video Capture Device (V4L2)' (v4l2_input)
info: ------------------------------------------------
info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Spotify audio)

Attempted path: share/obs/obs-studio/images/overflow.png
Attempted path: /app/share/obs/obs-studio/images/overflow.png
info: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Desktop Audio)

info: ==== Shutting down ==================================================
info: Switched to scene 'Game'
info: Switched to scene 'Game'
info: pulse-input: Stopped recording from 'alsa_output.usb-Topping_DX7_Pro-00.analog-stereo.monitor'
info: pulse-input: Got 4902 packets with 5402004 frames
info: [linux-vkcapture] destroy
info: All scene data cleared
info: ------------------------------------------------
info: [linux-vkcapture] plugin unloaded
info: [obs-websocket] [obs_module_unload] Shutting down...
info: [obs-websocket] [obs_module_unload] Finished shutting down.
info: [Scripting] Total detached callbacks: 0
info: Freeing OBS context data
warning: 1 views remain at shutdown
info: == Profiler Results =============================
info: run_program_init: 2006.89 ms
info:  ┣OBSApp::AppInit: 38.538 ms
info:  ┃ ┗OBSApp::InitLocale: 11.101 ms
info:  ┗OBSApp::OBSInit: 1609.17 ms
info:    ┣obs_startup: 11.509 ms
info:    ┗OBSBasic::OBSInit: 992.813 ms
info:      ┣OBSBasic::InitBasicConfig: 0.238 ms
info:      ┣OBSBasic::ResetAudio: 0.462 ms
info:      ┣OBSBasic::ResetVideo: 131.126 ms
info:      ┣OBSBasic::InitOBSCallbacks: 0.005 ms
info:      ┣OBSBasic::InitHotkeys: 0.086 ms
info:      ┣obs_load_all_modules2: 503.836 ms
info:      ┃ ┣obs_init_module(aja-output-ui.so): 0.961 ms
info:      ┃ ┣obs_init_module(aja.so): 0.966 ms
info:      ┃ ┣obs_init_module(decklink-captions.so): 0 ms
info:      ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms
info:      ┃ ┣obs_init_module(decklink.so): 0.174 ms
info:      ┃ ┣obs_init_module(frontend-tools.so): 118.687 ms
info:      ┃ ┣obs_init_module(image-source.so): 0.007 ms
info:      ┃ ┣obs_init_module(linux-capture.so): 0 ms
info:      ┃ ┣obs_init_module(linux-jack.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-pipewire.so): 1.429 ms
info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.001 ms
info:      ┃ ┣obs_init_module(linux-v4l2.so): 26.17 ms
info:      ┃ ┣obs_init_module(obs-browser.so): 1.198 ms
info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 15.169 ms
info:      ┃ ┃ ┗nvenc_check: 1.93 ms
info:      ┃ ┣obs_init_module(obs-filters.so): 0.021 ms
info:      ┃ ┣obs_init_module(obs-outputs.so): 0.002 ms
info:      ┃ ┣obs_init_module(obs-transitions.so): 0.011 ms
info:      ┃ ┣obs_init_module(obs-vst.so): 0.006 ms
info:      ┃ ┣obs_init_module(obs-websocket.so): 8.579 ms
info:      ┃ ┣obs_init_module(obs-x264.so): 0.001 ms
info:      ┃ ┣obs_init_module(rtmp-services.so): 2.459 ms
info:      ┃ ┣obs_init_module(text-freetype2.so): 0.016 ms
info:      ┃ ┗obs_init_module(linux-vkcapture.so): 0.137 ms
info:      ┣OBSBasic::ResetOutputs: 0.846 ms
info:      ┣OBSBasic::CreateHotkeys: 0.03 ms
info:      ┣OBSBasic::InitService: 2.7 ms
info:      ┣OBSBasic::InitPrimitives: 0.129 ms
info:      ┗OBSBasic::Load: 289.234 ms
info: obs_hotkey_thread(25 ms): min=0 ms, median=0.002 ms, max=0.22 ms, 99th percentile=0.003 ms, 100% below 25 ms
info: audio_thread(Audio): min=0.009 ms, median=0.212 ms, max=2.16 ms, 99th percentile=0.423 ms
info: obs_graphics_thread(20.8333 ms): min=0.032 ms, median=1.186 ms, max=184.221 ms, 99th percentile=1.919 ms, 99.9661% below 20.833 ms
info:  ┣tick_sources: min=0 ms, median=0.04 ms, max=184.135 ms, 99th percentile=0.092 ms
info:  ┣output_frame: min=0.015 ms, median=0.394 ms, max=34.309 ms, 99th percentile=0.615 ms
info:  ┃ ┗gs_context(video->graphics): min=0.014 ms, median=0.393 ms, max=34.309 ms, 99th percentile=0.612 ms
info:  ┃   ┣render_video: min=0.008 ms, median=0.089 ms, max=29.048 ms, 99th percentile=0.17 ms
info:  ┃   ┃ ┗render_main_texture: min=0.007 ms, median=0.077 ms, max=29.037 ms, 99th percentile=0.152 ms
info:  ┃   ┗gs_flush: min=0.001 ms, median=0.254 ms, max=5.234 ms, 99th percentile=0.415 ms
info:  ┗render_displays: min=0.003 ms, median=0.576 ms, max=4.284 ms, 99th percentile=1.175 ms
info: =================================================
info: == Profiler Time Between Calls ==================
info: obs_hotkey_thread(25 ms): min=25.02 ms, median=25.141 ms, max=25.947 ms, 99.8985% within ±2% of 25 ms (0% lower, 0.101523% higher)
info: obs_graphics_thread(20.8333 ms): min=3.252 ms, median=20.832 ms, max=184.226 ms, 99.8645% within ±2% of 20.833 ms (0.0677392% lower, 0.0677392% higher)
info: =================================================
info: Number of memory leaks: 0
[user@fed36 ~]$ 

I added a note "# added this line to the log:" to the Steam logs at the point before clicking PLAY and once it had crashed.

The line /bin/sh: line 1: obs-gamecapture: command not found jumped out at me, but I don't know how to fix it. Fingers crossed I just screwed up the install!

In any case, many thanks for this cool plugin.

nowrep commented 2 years ago

If it's using Vulkan, just use env OBS_VKCAPTURE=1 %command%

test-ca-git commented 2 years ago

Thanks David. I changed the LAUNCH OPTIONS to env OBS_VKCAPTURE=1 %command% -vulkan, and now the game runs.

However, OBS isn't capturing anything, it just shows a black screen. Its logs are unchanged from above, and the new output from Steam is below.

GameAction [AppID 620, ActionID 3] : LaunchApp changed task to ProcessingInstallScript with ""
GameAction [AppID 620, ActionID 3] : LaunchApp changed task to SynchronizingCloud with ""
GameAction [AppID 620, ActionID 3] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
GameAction [AppID 620, ActionID 3] : LaunchApp changed task to CreatingProcess with ""
GameAction [AppID 620, ActionID 3] : LaunchApp waiting for user response to CreatingProcess ""
GameAction [AppID 620, ActionID 3] : LaunchApp continues with user response "CreatingProcess"
/bin/sh\0-c\0env OBS_VKCAPTURE=1 /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan\0
Game process added : AppID 620 "env OBS_VKCAPTURE=1 /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan", ProcID 528, IP 0.0.0.0:0
chdir /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
GameAction [AppID 620, ActionID 3] : LaunchApp changed task to WaitingGameWindow with ""
GameAction [AppID 620, ActionID 3] : LaunchApp changed task to Completed with ""
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
pid 530 != 529, skipping destruction (fork without exec?)
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
SDL video target is 'x11'
SDL video target is 'x11'

Using shader api: shaderapivk
Using shader api: shaderapivk

info:  Game: portal2_linux
info:  DXVK: v1.9.2-32-ga2dc99c
info:  Built-in extension providers:
info:    SDL2 WSI
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_xlib_surface
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0
warn:  Skipping CPU adapter: llvmpipe (LLVM 14.0.6, 256 bits)
info:  D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT
info:  Intel(R) Iris(R) Plus Graphics 655 (CFL GT3):
info:    Driver: 22.1.7
info:    Vulkan: 1.3.211
info:    Memory Heap[0]: 
info:      Size: 11898 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0xf
WARNING: unable to link grab_window and grab_window because one or more is a ConCommand.
WARNING: unable to link grab_window and grab_window because one or more is a ConCommand.

Using breakpad crash handler
[S_API] SteamAPI_Init(): Loaded '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/linux32/steamclient.so' OK.
Game process updated : AppID 620 "env OBS_VKCAPTURE=1 /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan", ProcID 532, IP 0.0.0.0:0
Setting breakpad minidump AppID = 620
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
SteamInternal_SetMinidumpSteamID:  Caching Steam ID:  76561197971690156 [API loaded yes]
SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561197971690156
Did not detect any valid joysticks.
Did not detect any valid joysticks.

CSoundEmitterSystemBase::BaseInit:  Manifest 'scripts/game_sounds_manifest.txt' with bogus file type 'new_sound_scripts_must_go_below_here', expecting 'declare_file' or 'precache_file'
CSoundEmitterSystemBase::BaseInit:  Manifest 'scripts/game_sounds_manifest.txt' with bogus file type 'new_sound_scripts_must_go_below_here', expecting 'declare_file' or 'precache_file'

Convar r_flashlightscissor has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: has FCVAR_CHEAT, parent wins)
Convar r_flashlightscissor has conflicting FCVAR_CHEAT flags (child: no FCVAR_CHEAT, parent: has FCVAR_CHEAT, parent wins)

info:  Device properties:
info:    Device name:     : Intel(R) Iris(R) Plus Graphics 655 (CFL GT3)
info:    Driver version   : 22.1.7
info:  Enabled device extensions:
info:    VK_EXT_4444_formats
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state
info:    VK_EXT_host_query_reset
info:    VK_EXT_robustness2
info:    VK_EXT_shader_demote_to_helper_invocation
info:    VK_EXT_shader_stencil_export
info:    VK_EXT_shader_viewport_index_layer
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_create_renderpass2
info:    VK_KHR_depth_stencil_resolve
info:    VK_KHR_draw_indirect_count
info:    VK_KHR_driver_properties
info:    VK_KHR_image_format_list
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_float_controls
info:    VK_KHR_swapchain
info:  Device features:
info:    robustBufferAccess                     : 1
info:    fullDrawIndexUint32                    : 1
info:    imageCubeArray                         : 1
info:    independentBlend                       : 1
info:    geometryShader                         : 1
info:    tessellationShader                     : 0
info:    sampleRateShading                      : 1
info:    dualSrcBlend                           : 0
info:    logicOp                                : 0
info:    multiDrawIndirect                      : 0
info:    drawIndirectFirstInstance              : 0
info:    depthClamp                             : 1
info:    depthBiasClamp                         : 1
info:    fillModeNonSolid                       : 1
info:    depthBounds                            : 0
info:    multiViewport                          : 1
info:    samplerAnisotropy                      : 1
info:    textureCompressionBC                   : 1
info:    occlusionQueryPrecise                  : 1
info:    pipelineStatisticsQuery                : 1
info:    vertexPipelineStoresAndAtomics         : 1
info:    fragmentStoresAndAtomics               : 0
info:    shaderImageGatherExtended              : 0
info:    shaderStorageImageExtendedFormats      : 0
info:    shaderStorageImageReadWithoutFormat    : 0
info:    shaderStorageImageWriteWithoutFormat   : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 0
info:    variableMultisampleRate                : 0
info:  VK_EXT_4444_formats
info:    formatA4R4G4B4                         : 1
info:    formatA4B4G4R4                         : 0
info:  VK_EXT_custom_border_color
info:    customBorderColors                     : 1
info:    customBorderColorWithoutFormat         : 1
info:  VK_EXT_depth_clip_enable
info:    depthClipEnable                        : 1
info:  VK_EXT_extended_dynamic_state
info:    extendedDynamicState                   : 1
info:  VK_EXT_host_query_reset
info:    hostQueryReset                         : 1
info:  VK_EXT_memory_priority
info:    memoryPriority                         : 0
info:  VK_EXT_robustness2
info:    robustBufferAccess2                    : 1
info:    robustImageAccess2                     : 0
info:    nullDescriptor                         : 1
info:  VK_EXT_shader_demote_to_helper_invocation
info:    shaderDemoteToHelperInvocation         : 1
info:  VK_EXT_transform_feedback
info:    transformFeedback                      : 0
info:    geometryStreams                        : 0
info:  VK_EXT_vertex_attribute_divisor
info:    vertexAttributeInstanceRateDivisor     : 1
info:    vertexAttributeInstanceRateZeroDivisor : 1
info:  VK_KHR_buffer_device_address
info:    bufferDeviceAddress                    : 0
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 0
Fossilize INFO: Overriding serialization path: "/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/shadercache/620/fozpipelinesv6/steamapprun_pipeline_cache".
info:  DXVK: Read 284 valid state cache entries
info:  DXVK: Using 5 compiler threads
info:  D3D9DeviceEx::ResetSwapChain:
info:    Requested Presentation Parameters
info:      - Width:              1920
info:      - Height:             1080
info:      - Format:             D3D9Format::A8R8G8B8
info:      - Auto Depth Stencil: true
info:                  ^ Format: D3D9Format::D24S8
info:      - Windowed:           false
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1920x1080
info:    Image count:  3
info:    Exclusive FS: 0
warn:  D3D9Cursor::ShowCursor: Not supported on native
info:  Presenter: Actual swap chain properties:
info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR
info:    Buffer size:  1920x1080
info:    Image count:  3
info:    Exclusive FS: 0
Installing breakpad exception handler for appid(gameoverlayui)/version(20220820011708)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
CClientSteamContext logged on = 1
CClientSteamContext logged on = 1

Convar building_cubemaps has conflicting FCVAR_CHEAT flags (child: has FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins)
Convar building_cubemaps has conflicting FCVAR_CHEAT flags (child: has FCVAR_CHEAT, parent: no FCVAR_CHEAT, parent wins)

Game.dll loaded for "Half-Life 2"
Game.dll loaded for "Half-Life 2"

warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
warning: Unknown nb_ctl request:  4
Unable to remove /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2/textwindow_temp.html! (errno 2)
Unable to remove /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2/textwindow_temp.html! (errno 2)
Reference Count for Material ___error (1) != 0
Reference Count for Material __background (1) != 0
Reference Count for Material __title (1) != 0
Reference Count for Material sprites/grav_beam_noz (1) != 0
Reference Count for Material vgui/white (7) != 0
Reference Count for Material particle/star_noz (2) != 0
Reference Count for Material vgui/white_additive (2) != 0
Reference Count for Material particle/beam_generic_2_add (2) != 0
Reference Count for Material particle/particle_glow_05_add_15ob (10) != 0
Reference Count for Material particle/particle_glow_05_add_15ob_noz (3) != 0
Reference Count for Material particle/particle_ring_pulled_add_oriented (1) != 0
Reference Count for Material particle/particle_ring_wave_5_add (1) != 0
Reference Count for Material particle/particle_flares/aircraft_white (1) != 0
Reference Count for Material particle/electrical_arc/electrical_arc (1) != 0
Reference Count for Material particle/beam_generic_5_add (3) != 0
Reference Count for Material particle/beam_generic_4_add (2) != 0
Reference Count for Material particle/beam_laser_soft_01 (1) != 0
Reference Count for Material particle/fire_particle_4/fire_particle_4 (2) != 0
Reference Count for Material particle/sparks/sparks (2) != 0
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_000.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_000.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_047.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_047.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_124.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_124.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_043.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_043.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_001.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_001.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_002.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_002.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/update/pak01_010.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/update/pak01_010.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_140.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_140.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/update/pak01_002.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/update/pak01_002.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_059.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_059.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_048.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_048.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_032.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_032.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_031.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_031.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_046.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_046.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_042.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_042.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_040.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_040.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2_dlc2/pak01_000.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2_dlc2/pak01_000.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_008.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_008.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_120.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_120.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_060.vpk was never closed
File /home/user/.var/app/com.valvesoftware.steam/.local/share/steam/steamapps/common/portal 2/portal2/pak01_060.vpk was never closed
Game process removed: AppID 620 "env OBS_VKCAPTURE=1 /home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=620 -- '/home/user/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Portal 2/portal2.sh' -game portal2 -steam -vulkan", ProcID 532 
ThreadGetProcessExitCode: no such process 532
ThreadGetProcessExitCode: no such process 531
ThreadGetProcessExitCode: no such process 529
Game 620 created interface STEAMAPPLIST_INTERFACE_VERSION001 / 
Game 620 created interface STEAMAPPS_INTERFACE_VERSION008 / 
Game 620 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
Game 620 created interface STEAMHTTP_INTERFACE_VERSION003 / 
Game 620 created interface STEAMINVENTORY_INTERFACE_V003 / 
Game 620 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
Game 620 created interface STEAMMUSIC_INTERFACE_VERSION001 / 
Game 620 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
Game 620 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
Game 620 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
Game 620 created interface STEAMUGC_INTERFACE_VERSION016 / 
Game 620 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
Game 620 created interface STEAMVIDEO_INTERFACE_V002 / 
Game 620 created interface SteamController008 / 
Game 620 created interface SteamFriends017 / 
Game 620 created interface SteamGameCoordinator001 / 
Game 620 created interface SteamInput005 / 
Game 620 created interface SteamInput006 / 
Game 620 created interface SteamMatchGameSearch001 / 
Game 620 created interface SteamMatchMaking009 / 
Game 620 created interface SteamMatchMakingServers002 / 
Game 620 created interface SteamNetworking006 / 
Game 620 created interface SteamUser021 / 
Game 620 created interface SteamUser021 / User
Game 620 created interface SteamUtils010 / 
Game 620 method call count for IClientGameCoordinator::RetrieveMessage : 2
Game 620 method call count for IClientGameCoordinator::IsMessageAvailable : 4
Game 620 method call count for IClientGameCoordinator::SendMessage : 1
Game 620 method call count for IClientRemoteStorage::EnumeratePublishedFilesByUserAction : 1
Game 620 method call count for IClientRemoteStorage::GetCREItemVoteSummary : 1
Game 620 method call count for IClientRemoteStorage::EnumerateUserSubscribedFiles : 1
Game 620 method call count for IClientRemoteStorage::EnumerateUserPublishedFiles : 1
Game 620 method call count for IClientRemoteStorage::GetPublishedFileDetails : 1
Game 620 method call count for IClientRemoteStorage::GetQuota : 1
Game 620 method call count for IClientRemoteStorage::GetFileSize : 3
Game 620 method call count for IClientRemoteStorage::FileRead : 3
Game 620 method call count for IClientRemoteStorage::FileWrite : 1
Game 620 method call count for IClientNetworking::AllowP2PPacketRelay : 2
Game 620 method call count for IClientNetworking::ReadP2PPacket : 5556
Game 620 method call count for IClientUserStats::GetAchievement : 51
Game 620 method call count for IClientUserStats::GetStat : 132
Game 620 method call count for IClientUserStats::RequestCurrentStats : 1
Game 620 method call count for IClientAppManager::GetCurrentLanguage : 16
Game 620 method call count for IClientAppManager::GetAppStateInfo : 1
Game 620 method call count for IClientUtils::DismissFloatingGamepadTextInput : 1
Game 620 method call count for IClientUtils::RecordSteamInterfaceCreation : 141
Game 620 method call count for IClientUtils::GetAPICallResult : 5
Game 620 method call count for IClientUtils::GetAppID : 147
Game 620 method call count for IClientUtils::GetConnectedUniverse : 4
Game 620 method call count for IClientFriends::GetFriendPersonaName_Public : 3
Game 620 method call count for IClientFriends::RequestUserInformation : 1
Game 620 method call count for IClientFriends::GetPersonaName : 1
Game 620 method call count for IClientUser::GetSteamID : 6
Game 620 method call count for IClientUser::BLoggedOn : 7
Uploaded AppInterfaceStats to Steam
dreamyukii commented 2 years ago

you need to install org.freedesktop.Platform.VulkanLayer.OBSVkCapture version 22.08 since now steam using org.freedesktop.Platform version 22.08.

test-ca-git commented 2 years ago

Good eye! You fixed it mate!

I did my install on 2022-09-04 01:32:12, and the 22.08 branch was pushed to flathub on 2022-09-03 13:51:17, so the versions should have aligned. I guess flatpak grabs the old branch or something. In any case, flatpak upgrade ignores the new branch, so the fix is:

flatpak uninstall org.freedesktop.Platform.VulkanLayer.OBSVkCapture
flatpak install org.freedesktop.Platform.VulkanLayer.OBSVkCapture

and select "2".

Now the original LAUNCH OPTIONS command obs-gamecapture %command% -vulkan works.

Thank you for your time, David and Ahmad.