You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Originally, setting OBS_VKCAPTURE=1 would allow game windows to be captured with "Game Capture" in OBS Studio. Now, games must be launched with obs-vkcapture %command% otherwise the game cannot be captured.
System (please complete the following information):
OS: openSUSE Tumbleweed
GPU: AMD Radeon RX 580
Mesa version: 24.1.7
obs-vkcapture version: 1.5.1
OBS log:
10:02:59.391: Using EGL/X11
10:02:59.391: CPU Name: AMD Ryzen 5 3600 6-Core Processor
10:02:59.391: CPU Speed: 4161.687MHz
10:02:59.392: Physical Cores: 6, Logical Cores: 12
10:02:59.392: Physical Memory: 15885MB Total, 1475MB Free
10:02:59.392: Kernel Version: Linux 6.6.58-1-longterm
10:02:59.392: Distribution: "openSUSE Tumbleweed" "20241028"
10:02:59.392: Desktop Environment: KDE (KDE)
10:02:59.392: Session Type: wayland
10:02:59.392: Window System: X11.0 - vendor string: SUSE LINUX - vendor release: 12401003
10:02:59.392: Qt Version: 6.8.0 (runtime), 6.8.0 (compiled)
10:02:59.392: Portable mode: false
10:02:59.420: OBS 31.0.0 (linux)
10:02:59.420: ---------------------------------
10:02:59.420: ---------------------------------
10:02:59.420: audio settings reset:
10:02:59.420: samples per sec: 48000
10:02:59.420: speakers: 2
10:02:59.420: max buffering: 960 milliseconds
10:02:59.420: buffering type: dynamically increasing
10:02:59.424: ---------------------------------
10:02:59.424: Initializing OpenGL...
10:02:59.493: Loading up OpenGL on adapter AMD AMD Radeon RX 580 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.54, 6.6.58-1-longterm)
10:02:59.493: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 24.1.7, shading language 4.60
10:02:59.526: ---------------------------------
10:02:59.526: video settings reset:
10:02:59.526: base resolution: 1920x1080
10:02:59.526: output resolution: 1920x1080
10:02:59.526: downscale filter: Bicubic
10:02:59.526: fps: 60/1
10:02:59.526: format: NV12
10:02:59.526: YUV mode: Rec. 709/Partial
10:02:59.526: NV12 texture support enabled
10:02:59.526: P010 texture support not available
10:02:59.529: Audio monitoring device:
10:02:59.529: name: Default
10:02:59.529: id: default
10:02:59.530: ---------------------------------
10:02:59.545: Failed to load 'en-US' text for module: 'decklink-captions.so'
10:02:59.561: Failed to load 'en-US' text for module: 'decklink-output-ui.so'
10:02:59.574: A DeckLink iterator could not be created. The DeckLink drivers may not be installed
10:02:59.574: Failed to initialize module 'decklink.so'
10:02:59.845: [pipewire] Available capture sources:
10:02:59.845: [pipewire] - Monitor source
10:02:59.845: [pipewire] - Window source
10:02:59.880: v4l2loopback not installed, virtual camera not registered
10:02:59.896: [linux-vkcapture] plugin loaded successfully (version 1.5.1)
10:02:59.914: [obs-browser]: Version 2.24.2
10:02:59.915: [obs-browser]: CEF Version 127.0.6533.100 (runtime), 127.3.4+ge9e2e14+chromium-127.0.6533.100 (compiled)
10:02:59.996: VAAPI: API version 1.22
10:02:59.998: FFmpeg VAAPI H264 encoding supported
10:03:00.005: FFmpeg VAAPI AV1 encoding not supported
10:03:00.012: FFmpeg VAAPI HEVC encoding supported
10:03:00.066: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: cannot open shared object file: No such file or directory
10:03:00.066:
10:03:00.066: NVENC not supported
10:03:00.066: Failed to initialize module 'obs-nvenc.so'
10:03:00.210: [obs-websocket] [obs_module_load] you can haz websockets (Version: 5.5.3 | RPC Version: 1)
10:03:00.210: [obs-websocket] [obs_module_load] Qt version (compile-time): 6.8.0 | Qt version (run-time): 6.8.0
10:03:00.210: [obs-websocket] [obs_module_load] Linked ASIO Version: 103002
10:03:00.210: DEPRECATION: obs_frontend_get_global_config is deprecated. Read from global or user configuration explicitly instead.
10:03:00.216: [obs-websocket] [obs_module_load] Module loaded.
10:03:00.289: [vlc-video]: VLC 3.0.21 Vetinari found, VLC video source enabled
10:03:00.290: ---------------------------------
10:03:00.290: Loaded Modules:
10:03:00.290: vlc-video.so
10:03:00.290: text-freetype2.so
10:03:00.290: rtmp-services.so
10:03:00.290: obs-x264.so
10:03:00.290: obs-websocket.so
10:03:00.290: obs-webrtc.so
10:03:00.290: obs-vst.so
10:03:00.290: obs-transitions.so
10:03:00.290: obs-qsv11.so
10:03:00.290: obs-outputs.so
10:03:00.290: obs-libfdk.so
10:03:00.290: obs-filters.so
10:03:00.290: obs-ffmpeg.so
10:03:00.290: obs-browser.so
10:03:00.290: linux-vkcapture.so
10:03:00.290: linux-v4l2.so
10:03:00.290: linux-pulseaudio.so
10:03:00.290: linux-pipewire.so
10:03:00.290: linux-pipewire-audio.so
10:03:00.290: linux-capture.so
10:03:00.290: linux-alsa.so
10:03:00.290: image-source.so
10:03:00.290: frontend-tools.so
10:03:00.290: decklink-output-ui.so
10:03:00.290: decklink-captions.so
10:03:00.290: ---------------------------------
10:03:00.290: ---------------------------------
10:03:00.290: Available Encoders:
10:03:00.290: Video Encoders:
10:03:00.290: - ffmpeg_svt_av1 (SVT-AV1)
10:03:00.290: - ffmpeg_aom_av1 (AOM AV1)
10:03:00.290: - ffmpeg_vaapi_tex (FFmpeg VAAPI H.264)
10:03:00.290: - hevc_ffmpeg_vaapi_tex (FFmpeg VAAPI HEVC)
10:03:00.290: - obs_x264 (x264)
10:03:00.290: Audio Encoders:
10:03:00.290: - ffmpeg_aac (FFmpeg AAC)
10:03:00.290: - ffmpeg_opus (FFmpeg Opus)
10:03:00.290: - ffmpeg_pcm_s16le (FFmpeg PCM (16-bit))
10:03:00.290: - ffmpeg_pcm_s24le (FFmpeg PCM (24-bit))
10:03:00.290: - ffmpeg_pcm_f32le (FFmpeg PCM (32-bit float))
10:03:00.290: - ffmpeg_alac (FFmpeg ALAC (24-bit))
10:03:00.290: - ffmpeg_flac (FFmpeg FLAC (16-bit))
10:03:00.290: - libfdk_aac (libfdk AAC)
10:03:00.290: ==== Startup complete ===============================================
10:03:00.338: All scene data cleared
10:03:00.338: ------------------------------------------------
10:03:00.342: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.6) 15.0.0'
10:03:00.342: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
10:03:00.342: pulse-input: Started recording from 'alsa_output.pci-0000_06_00.4.analog-stereo.monitor' (default)
10:03:00.342: [Loaded global audio device]: 'Desktop Audio'
10:03:00.342: pulse-input: Server name: 'PulseAudio (on PipeWire 1.2.6) 15.0.0'
10:03:00.342: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
10:03:00.342: pulse-input: Started recording from 'alsa_input.pci-0000_06_00.4.analog-stereo' (default)
10:03:00.342: [Loaded global audio device]: 'Mic/Aux'
10:03:00.344: Switched to scene 'Vkcapture'
10:03:00.344: ------------------------------------------------
10:03:00.344: Loaded scenes:
10:03:00.344: - scene 'Vkcapture':
10:03:00.344: - source: 'Game Capture' (vkcapture-source)
10:03:00.344: ------------------------------------------------
10:03:00.893: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Desktop Audio)
10:03:00.893:
10:03:04.572: ==== Shutting down ==================================================
10:03:04.575: pulse-input: Stopped recording from 'alsa_output.pci-0000_06_00.4.analog-stereo.monitor'
10:03:04.575: pulse-input: Got 168 packets with 201600 frames
10:03:04.576: pulse-input: Stopped recording from 'alsa_input.pci-0000_06_00.4.analog-stereo'
10:03:04.576: pulse-input: Got 167 packets with 200400 frames
10:03:04.576: [linux-vkcapture] destroy
10:03:04.619: All scene data cleared
10:03:04.620: ------------------------------------------------
10:03:04.671: [obs-websocket] [obs_module_unload] Shutting down...
10:03:04.671: Tried to call obs_frontend_remove_event_callback with no callbacks!
10:03:04.671: [obs-websocket] [obs_module_unload] Finished shutting down.
10:03:04.671: [linux-vkcapture] plugin unloaded
10:03:04.676: [Scripting] Total detached callbacks: 0
10:03:04.676: Freeing OBS context data
10:03:04.688: == Profiler Results =============================
10:03:04.688: run_program_init: 1371.79 ms
10:03:04.688: ┣OBSApp::AppInit: 11.935 ms
10:03:04.688: ┃ ┗OBSApp::InitLocale: 0.667 ms
10:03:04.689: ┗OBSApp::OBSInit: 1078.34 ms
10:03:04.689: ┣obs_startup: 1.033 ms
10:03:04.689: ┗OBSBasic::OBSInit: 1049.63 ms
10:03:04.689: ┣OBSBasic::InitBasicConfig: 0.614 ms
10:03:04.689: ┣OBSBasic::ResetAudio: 0.269 ms
10:03:04.689: ┣OBSBasic::ResetVideo: 108.45 ms
10:03:04.689: ┃ ┗obs_init_graphics: 105.272 ms
10:03:04.689: ┃ ┗shader compilation: 31.916 ms
10:03:04.689: ┣OBSBasic::InitOBSCallbacks: 0.005 ms
10:03:04.689: ┣OBSBasic::InitHotkeys: 0.024 ms
10:03:04.689: ┣obs_load_all_modules2: 759.956 ms
10:03:04.689: ┃ ┣obs_init_module(decklink-captions.so): 0 ms
10:03:04.689: ┃ ┣obs_init_module(decklink-output-ui.so): 0 ms
10:03:04.689: ┃ ┣obs_init_module(decklink.so): 0.125 ms
10:03:04.689: ┃ ┣obs_init_module(frontend-tools.so): 64.617 ms
10:03:04.689: ┃ ┣obs_init_module(image-source.so): 0.013 ms
10:03:04.689: ┃ ┣obs_init_module(linux-alsa.so): 0.003 ms
10:03:04.689: ┃ ┣obs_init_module(linux-capture.so): 0.363 ms
10:03:04.689: ┃ ┣obs_init_module(linux-pipewire-audio.so): 0.268 ms
10:03:04.689: ┃ ┣obs_init_module(linux-pipewire.so): 19.376 ms
10:03:04.689: ┃ ┣obs_init_module(linux-pulseaudio.so): 0.003 ms
10:03:04.689: ┃ ┣obs_init_module(linux-v4l2.so): 3.675 ms
10:03:04.689: ┃ ┣obs_init_module(linux-vkcapture.so): 0.255 ms
10:03:04.689: ┃ ┣obs_init_module(obs-browser.so): 0.069 ms
10:03:04.689: ┃ ┣obs_init_module(obs-ffmpeg.so): 27.27 ms
10:03:04.689: ┃ ┣obs_init_module(obs-filters.so): 0.029 ms
10:03:04.689: ┃ ┣obs_init_module(obs-libfdk.so): 0.002 ms
10:03:04.689: ┃ ┣obs_init_module(obs-nvenc.so): 0.15 ms
10:03:04.689: ┃ ┃ ┗nvenc_check: 0.13 ms
10:03:04.689: ┃ ┣obs_init_module(obs-outputs.so): 0.006 ms
10:03:04.689: ┃ ┣obs_init_module(obs-qsv11.so): 16.068 ms
10:03:04.689: ┃ ┣obs_init_module(obs-transitions.so): 0.009 ms
10:03:04.689: ┃ ┣obs_init_module(obs-vst.so): 0.005 ms
10:03:04.689: ┃ ┣obs_init_module(obs-webrtc.so): 0.007 ms
10:03:04.689: ┃ ┣obs_init_module(obs-websocket.so): 5.269 ms
10:03:04.689: ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
10:03:04.689: ┃ ┣obs_init_module(rtmp-services.so): 0.874 ms
10:03:04.689: ┃ ┣obs_init_module(text-freetype2.so): 0.014 ms
10:03:04.689: ┃ ┗obs_init_module(vlc-video.so): 2.06 ms
10:03:04.689: ┣OBSBasic::InitService: 1.451 ms
10:03:04.689: ┣OBSBasic::ResetOutputs: 8.156 ms
10:03:04.689: ┣OBSBasic::CreateHotkeys: 0.134 ms
10:03:04.689: ┣OBSBasic::InitPrimitives: 0.076 ms
10:03:04.689: ┗OBSBasic::Load: 41.863 ms
10:03:04.689: obs_hotkey_thread(25 ms): min=0.045 ms, median=0.064 ms, max=0.499 ms, 99th percentile=0.193 ms, 100% below 25 ms
10:03:04.689: audio_thread(Audio): min=0.004 ms, median=0.032 ms, max=0.403 ms, 99th percentile=0.237 ms
10:03:04.689: obs_graphics_thread(16.6667 ms): min=0.061 ms, median=0.314 ms, max=15.731 ms, 99th percentile=4.33 ms, 100% below 16.667 ms
10:03:04.689: ┣tick_sources: min=0 ms, median=0.003 ms, max=0.046 ms, 99th percentile=0.012 ms
10:03:04.689: ┣output_frame: min=0.045 ms, median=0.071 ms, max=5.259 ms, 99th percentile=0.269 ms
10:03:04.689: ┃ ┗gs_context(video->graphics): min=0.045 ms, median=0.07 ms, max=5.258 ms, 99th percentile=0.268 ms
10:03:04.689: ┃ ┣render_video: min=0.006 ms, median=0.014 ms, max=0.074 ms, 99th percentile=0.051 ms
10:03:04.689: ┃ ┃ ┗render_main_texture: min=0.004 ms, median=0.012 ms, max=0.043 ms, 99th percentile=0.041 ms
10:03:04.689: ┃ ┗gs_flush: min=0.001 ms, median=0.002 ms, max=0.017 ms, 99th percentile=0.006 ms
10:03:04.689: ┗render_displays: min=0.002 ms, median=0.211 ms, max=9.045 ms, 99th percentile=0.629 ms
10:03:04.689: =================================================
10:03:04.689: == Profiler Time Between Calls ==================
10:03:04.689: obs_hotkey_thread(25 ms): min=25.064 ms, median=25.122 ms, max=27.998 ms, 96.6346% within ±2% of 25 ms (0% lower, 3.36538% higher)
10:03:04.689: obs_graphics_thread(16.6667 ms): min=14.431 ms, median=16.667 ms, max=19.695 ms, 97.7199% within ±2% of 16.667 ms (1.30293% lower, 0.977199% higher)
10:03:04.689: =================================================
10:03:04.690: Number of memory leaks: 0
Game log:
OBS_VKCAPTURE=1 OBS_VKCAPTURE_QUIET=0 minetest
(thats it)
The text was updated successfully, but these errors were encountered:
The issue is most likely in the game, so you should try to get a log there. Either the vkcapture layer is not loading at all, or some issue when setting up the capture.
Describe the bug
Originally, setting OBS_VKCAPTURE=1 would allow game windows to be captured with "Game Capture" in OBS Studio. Now, games must be launched with obs-vkcapture %command% otherwise the game cannot be captured.
System (please complete the following information):
OBS log:
Game log:
(thats it)
The text was updated successfully, but these errors were encountered: