OBS Linux Vulkan/OpenGL game capture

Overview

OBS Linux Vulkan/OpenGL game capture

OBS plugin for Vulkan/OpenGL game capture on Linux.

Requires OBS with EGL support (currently unreleased, you need to build from git).
On X11 you need to explicitly enable EGL: OBS_USE_EGL=1 obs.

AUR: obs-vkcapture-git

Building

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ..
make && make install

Usage

  1. Add Game Capture to your OBS scene.
  2. Start the game with capture enabled

Vulkan

obs-vkcapture game

OpenGL

obs-glcapture game

Only supports capturing one game at a time.

Comments
  • Vulkan capture not working since 0.7 - RX 5600XT

    Vulkan capture not working since 0.7 - RX 5600XT

    Obs stdout:

    info: [linux-vkcapture] Creating texture from dmabuf 1276x1391 modifier:144115188085734146
    info: [linux-vkcapture]  [0] fd:39 stride:5120 offset:0
    info: [linux-vkcapture]  [1] fd:40 stride:1536 offset:7208960
    error: Cannot create EGLImage: Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).
    error: [linux-vkcapture] Could not create texture from dmabuf source
    amd 
    opened by Lepidos 25
  • Incompatibility with Steam in-game overlay

    Incompatibility with Steam in-game overlay

    When I'm trying to open in-game Steam overlay with obs-vkcapture enabled it crashes or freezes my game (tested with some games, including Proton and native (at least Valheim does)).

    I'm using X11 (AwesomeWM), OBS Studio 27.0.0-rc3-48-gca88ba8bb, vkcapture is c4e6728 and Mesa version is 21.1.0.

    Here is a log file from Deep Rock Galactic.log with obs-vkcapture as example.

    opened by ogdenwebb 24
  • obs-vkcapture GetMemoryFdKHR failed VK_ERROR_INITIALIZATION_FAILED

    obs-vkcapture GetMemoryFdKHR failed VK_ERROR_INITIALIZATION_FAILED

    Using the proprietary nvidia drivers (515.48.07) on manjaro i3. obs-vkcapture built from latest master.

    $> obs-vkcapture vkcube
    [obs-vkcapture] Init Vulkan 1.1.3
    [obs-vkcapture] CreateInstance
    [obs-vkcapture] CreateInstance VK_SUCCESS
    Selected GPU 0: NVIDIA GeForce RTX 3090, type: DiscreteGpu
    [obs-vkcapture] CreateXcbSurfaceKHR
    [obs-vkcapture] CreateDevice
    [obs-vkcapture] Injecting VK_KHR_bind_memory2 extension
    [obs-vkcapture] Injecting VK_KHR_get_memory_requirements2 extension
    [obs-vkcapture] Injecting VK_KHR_external_memory_fd extension
    [obs-vkcapture] Injecting VK_EXT_image_drm_format_modifier extension
    [obs-vkcapture] CreateDevice VK_SUCCESS
    [obs-vkcapture] CreateSwapchainKHR VK_SUCCESS
    [obs-vkcapture] GetSwapchainImagesKHR VK_SUCCESS
    [obs-vkcapture] GetSwapchainImagesKHR VK_SUCCESS
    [obs-vkcapture] Texture VK_FORMAT_B8G8R8A8_UNORM 1259x1387
    [obs-vkcapture] Available modifiers:
    [obs-vkcapture]  0: modifier:216172782120099861 planes:1
    [obs-vkcapture]  1: modifier:216172782120099860 planes:1
    [obs-vkcapture]  2: modifier:216172782120099859 planes:1
    [obs-vkcapture]  3: modifier:216172782120099858 planes:1
    [obs-vkcapture]  4: modifier:216172782120099857 planes:1
    [obs-vkcapture]  5: modifier:216172782120099856 planes:1
    [obs-vkcapture]  6: modifier:0 planes:1
    [obs-vkcapture] GetMemoryFdKHR failed VK_ERROR_INITIALIZATION_FAILED
    [obs-vkcapture] ------------------- vulkan capture freed -------------------
    [obs-vkcapture] vk_shtex_init failed
    
    nvidia 
    opened by mgroshans 20
  • obs-vkcapture doesn't capture with Proton and dxvk git

    obs-vkcapture doesn't capture with Proton and dxvk git

    Hey there! I recently became aware that obs-vkcapture stopped working with Proton after dxvk started using Vulkan 1.3 (post-1.10.2, basically). I discovered the bug with proton-tkg (https://github.com/Frogging-Family/wine-tkg-git) and a recent dxvk commit; Proton-7.0 and Proton-GE 7.24, which likely use the latest dxvk release, work normally. Native games also seem to work fine.

    From what I read, it seems like it might be enough to just bump the version number in src/obs_vkcapture.json.in. I've put the relevant information and the logs below. Thanks!

    OS: Arch Linux GPU: Nvidia GTX 960 Game: The Cat and the Coup (Steam ID# 95700, freely available) steam-95700_proton_7_0.log steam-95700_proton_ge_7_24.log steam-95700_proton_tkg.log 2022-07-17_15-20-11_vkcapture.txt

    opened by CartoonFan 17
  • Required Version of Vulkan Loader SDK Is Not Checked When CMake Configures Build

    Required Version of Vulkan Loader SDK Is Not Checked When CMake Configures Build

    What is the minimum version of the Vulkan Loader SDK (libvulkan1 and libvulkan-dev) that this plugin will build with?

    I'm running elementaryOS 5.1.7 Hera (aka Ubuntu 18.0.4LTS), and the libvulkan version available via apt-get is 1.1.70, which is from 2018.

    SIDE NOTE: I'd just go ahead and build the latest libvulkan from source and install it, but I have a delicate config that I'm afraid of messing up: I have to run some old versions of gpu and opencl drivers so DaVinci Resolve will run. Is anyone else trying to deal with this sort of situation?

    opened by BloodyMess 16
  • OBS-vkcapture-git not working or showing up in sources

    OBS-vkcapture-git not working or showing up in sources

    I did the necessary patches listed here: https://github.com/keylase/nvidia-patch

    And downloaded obs-vkcapture-git and obs-nvfbc on archlinux.

    Despite that, OBS won't show "Game Capture" in the sources window and I lose about 30fps in games when recording.

    Here is the output in the terminal when I run OBS_USE_EGL=1 obs

    Attempted path: share/obs/obs-studio/locale/en-US.ini
    
    Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
    
    Attempted path: share/obs/obs-studio/locale.ini
    
    Attempted path: /usr/share/obs/obs-studio/locale.ini
    
    Attempted path: share/obs/obs-studio/themes/Dark.qss
    
    Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
    
    info: Using EGL/X11
    
    info: CPU Name: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz
    
    info: CPU Speed: 4600.238MHz
    
    info: Physical Cores: 6, Logical Cores: 12
    
    info: Physical Memory: 23908MB Total, 19771MB Free
    
    info: Kernel Version: Linux 5.19.10-arch1-1
    
    info: Distribution: "Arch Linux" Unknown
    
    info: Session Type: x11
    
    info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
    
    info: Qt Version: 5.15.6 (runtime), 5.15.5 (compiled)
    
    info: Portable mode: false
    
    Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
    
    Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
    
    QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
    
    QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
    
    QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
    
    info: OBS 27.2.4-2 (linux)
    
    info: ---------------------------------
    
    info: ---------------------------------
    
    info: audio settings reset:
    
    	samples per sec: 48000
    
    	speakers:        2
    
    info: ---------------------------------
    
    info: Initializing OpenGL...
    
    info: Loading up OpenGL on adapter Intel Mesa Intel(R) UHD Graphics (CML GT2)
    
    info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 22.1.7, shading language 4.60
    
    info: ---------------------------------
    
    info: video settings reset:
    
    	base resolution:   1920x1200
    
    	output resolution: 1920x1200
    
    	downscale filter:  Bicubic
    
    	fps:               60/1
    
    	format:            NV12
    
    	YUV mode:          709/Partial
    
    info: NV12 texture support not available
    
    info: Audio monitoring device:
    
    	name: Default
    
    	id: default
    
    info: ---------------------------------
    
    warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
    
    warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
    
    info: [pipewire] Available captures:
    
    info: [pipewire]     - Desktop capture
    
    info: [pipewire]     - Window capture
    
    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
    
    info: No blackmagic support
    
    info: [linux-vkcapture] plugin loaded successfully (version 1.2.0)
    
    Segmentation fault (core dumped)
    

    It doesn't seem to detect my NVIDIA RTX 2060 laptop dedicated GPU either. I don't have nvidia-prime installed as Steam and lutris pick up my graphics card without it.

    Please help.

    opened by mercifulboss 15
  • Game Capture show up but doesnt let me select any window

    Game Capture show up but doesnt let me select any window

    Os: Pop_OS 22.04 X11 I have install Obs-vkcapture and set up everything to make it work (like putting the env var "OBS_USE_EGL=1" into the OBS flatpak using flatseal), game capture show up but after click on it doesnt let select a window to stream, what can I do to fix it?

    Screenshot from 2022-08-24 16-23-06

    opened by AmyRoxwell 14
  • No Vulkan program willl launch with VKCAPTURE=1

    No Vulkan program willl launch with VKCAPTURE=1

    Hey there. i would like to try out this extension but no Vulkan program willl launch with VKCAPTURE=1 I get an [obs-vkcapture] Init 0.3 and then nothing. Nothing in journal either. No crash no nothing. Neither wayland nor x. Any tips on how to debug this?

    I am on arch with obs-vkcapture-git from AUR and i use an rx580 with the current mesa driver.

    opened by brainiac05 14
  • problem with vkbasalt and capture

    problem with vkbasalt and capture

    when i am trying to use vkbasalt and the capture i am getting this

    Screenshot 2022-12-26 19-22-40

    even if no reshader is being used or the vkb is turn off, if i remove the VKB enable its back to normal

    the normal: Screenshot 2022-12-26 19-15-19

    opened by mesmerx 13
  • opengl capture does not work on amd(mesa) for anything other than glxgears

    opengl capture does not work on amd(mesa) for anything other than glxgears

    Heya,

    So the opengl capture works for glxgears, but glmark2 fails. I thought this might be due to only having the 64 bit library, as glmark2 is 32 bit, so I tested it with a few linux native steam games that are 64 bit and use ogl.

    I validated that the LD_PRELOAD is working by checking the libraries loaded via KDE's task manager (you can right click the process->detailed memory info to view a list of all loaded libraries)

    Here's what it looks like from the task manager listing:

    Library loaded: 144 KB /usr/lib64/libobs_glcapture.so

    Here's the launch option being used:

    LD_PRELOAD=/usr/lib64/libobs_glcapture.so %command%

    64 bit check from Last Epoch:

    $ file Last\ Epoch.x86_64 Last Epoch.x86_64: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=2a1da7a4ffbc16bad3cab634551563522905febf, stripped

    64 bit check from Mad Max:

    $ file MadMax MadMax: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=960c435f879a39e4e1046aee91f9047a6d16a0a5, stripped

    64 bit check from Dying Light:

    $ file DyingLightGame DyingLightGame: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=c72b738701309c627b4499ed024cfd2224a03fcf, stripped

    As mentioned, glxgears works:

    $ file $(which glxgears) /usr/bin/glxgears: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=9206f610e9d744622d7c83c8cafaaf3fa47b401b, for GNU/Linux 3.2.0, stripped

    Note:

    A resource that may help with improvement on opengl capture which I've tried in the past is the source from this:

    https://github.com/MaartenBaert/ssr/tree/master/glinject

    Relevant reddit discussion: https://www.reddit.com/r/linux_gaming/comments/9j62uv/experimental_obs_plugin_for_gl_game_capturing/

    Thanks again for your work, having a vulkan capture on linux is awesome.

    opened by GloriousEggroll 13
  • X11/OpenBox: Stream crash when game is in separate virtual Desktop

    X11/OpenBox: Stream crash when game is in separate virtual Desktop

    Hello,

    I must say that this plugin is a godsend with respect to added input lag. Unfortunately I cannot use it yet to stream: I use LXQt (because it does not have a compositor with OpenBox) and put the game in a separate virtual desktop. I sometimes switch on and off the game. And when using game capture the twitch stream directly crashes. Please see the attached video.

    Can you reproduce the error ? Using Xcomposite does not produce this error afaik, I tested it for a few minutes and it didn't get triggered.

    I have obs-studio and obs-vkcapture compiled from Git. I use Gentoo, with mesa/radv 21.1.0_rc3 to run my games on my RX 5700 XT and to stream with FFMPEG-VAAPI with the GPU.

    Thanks!

    OBS Stream crash.zip

    opened by AdelKS 12
  • Image stopped displaying on Steam OS 3.5 (Steam Deck)

    Image stopped displaying on Steam OS 3.5 (Steam Deck)

    OBS 28.1.2 Flatpak OBS-VKCapture 1.2.2 Flatpak OBS-VKCapture tools 1.2.2 locally compiled

    The Game Capture source properly resizes if I resize the window but no image is displayed. Started with fresh scene to make sure I hadn't messed anything up.

    image

    opened by parkerlreed 3
  • unable to get vkcapture to capture vseeface for transparency manjaro(arch).

    unable to get vkcapture to capture vseeface for transparency manjaro(arch).

    so im trying to get obs to see vseeface using this due to the fact that this allows for transparency. since vseeface is a virtual webcam im really wanting that transparency for streaming but i can not for the life of me get it to capture

    the code i use to start up vseeface is obs-gamecapture lutris rungame/vseeface

    log

    Attempted path: share/obs/obs-studio/locale/en-US.ini
    Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
    Attempted path: share/obs/obs-studio/locale.ini
    Attempted path: /usr/share/obs/obs-studio/locale.ini
    Attempted path: share/obs/obs-studio/themes/Yami.qss
    Attempted path: /usr/share/obs/obs-studio/themes/Yami.qss
    info: Using EGL/X11
    info: CPU Name: AMD Ryzen 7 2700X Eight-Core Processor
    info: CPU Speed: 4016.992MHz
    info: Physical Cores: 8, Logical Cores: 16
    info: Physical Memory: 32020MB Total, 11438MB Free
    info: Kernel Version: Linux 6.1.1-1-MANJARO
    info: Distribution: "Manjaro Linux" Unknown
    info: Session Type: x11
    info: Window System: X11.0, Vendor: The X.Org Foundation, Version: 1.21.1
    info: Qt Version: 6.4.1 (runtime), 6.4.1 (compiled)
    info: Portable mode: false
    Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
    Attempted path: /usr/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.1.2-2 (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: Loading up OpenGL on adapter AMD AMD Radeon RX 5700 (navi10, LLVM 14.0.6, DRM 3.49, 6.1.1-1-MANJARO)
    info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 22.3.1, shading language 4.60
    info: ---------------------------------
    info: video settings reset:
            base resolution:   1920x1080
            output resolution: 1920x1080
            downscale filter:  Bicubic
            fps:               60/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: 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
    info: [linux-vkcapture] plugin loaded successfully (version 1.2.2)
    info: [Move Transition] loaded version 2.8.0
    info: FFMPEG VAAPI supported
    info: ---------------------------------
    info:   Loaded Modules:
    info:     text-freetype2.so
    info:     rtmp-services.so
    info:     obs-x264.so
    info:     obs-vst.so
    info:     obs-transitions.so
    info:     obs-outputs.so
    info:     obs-libfdk.so
    info:     obs-filters.so
    info:     obs-ffmpeg.so
    info:     move-transition.so
    info:     linux-vkcapture.so
    info:     linux-v4l2.so
    info:     linux-pulseaudio.so
    info:     linux-pipewire.so
    info:     linux-jack.so
    info:     linux-capture.so
    info:     linux-alsa.so
    info:     image-source.so
    info:     frontend-tools.so
    info:     decklink-output-ui.so
    info:     decklink-captions.so
    info: ---------------------------------
    QLayout: Attempting to add QLayout "" to OBSBasic "OBSBasic", which already has a layout
    QWidget::setTabOrder: 'first' and 'second' must be in the same window
    info: ==== Startup complete ===============================================
    info: Switched to Preview/Program mode
    info: ------------------------------------------------
    info: All scene data cleared
    info: ------------------------------------------------
    info: pulse-input: Server name: 'pulseaudio 16.1'
    info: pulse-input: Audio format: s16le, 48000 Hz, 2 channels
    info: pulse-input: Started recording from 'alsa_output.pci-0000_0c_00.3.analog-stereo.monitor' (default)
    info: [Loaded global audio device]: 'Desktop Audio'
    info: pulse-input: Server name: 'pulseaudio 16.1'
    info: pulse-input: Audio format: s16le, 44100 Hz, 2 channels
    info: pulse-input: Started recording from 'alsa_input.pci-0000_0c_00.3.analog-stereo' (default)
    info: [Loaded global audio device]: 'Mic/Aux'
    info: Switched to scene 'Scene'
    info: ------------------------------------------------
    info: Loaded scenes:
    info: - scene 'Scene':
    info:     - source: 'Image' (image_source)
    info:     - source: 'Game Capture' (vkcapture-source)
    info: ------------------------------------------------
    Attempted path: share/obs/obs-studio/images/overflow.png
    Attempted path: /usr/share/obs/obs-studio/images/overflow.png
    info: ==== Shutting down ==================================================
    info: pulse-input: Stopped recording from 'alsa_output.pci-0000_0c_00.3.analog-stereo.monitor'
    info: pulse-input: Got 208494 packets with 10530137 frames
    info: pulse-input: Stopped recording from 'alsa_input.pci-0000_0c_00.3.analog-stereo'
    info: pulse-input: Got 17331 packets with 9674060 frames
    info: [linux-vkcapture] destroy
    info: All scene data cleared
    info: ------------------------------------------------
    info: [linux-vkcapture] plugin unloaded
    info: [Scripting] Total detached callbacks: 0
    info: Freeing OBS context data
    warning: 1 views remain at shutdown
    info: == Profiler Results =============================
    info: run_program_init: 644.96 ms
    info:  ┣OBSApp::AppInit: 5.811 ms
    info:  ┃ ┗OBSApp::InitLocale: 1.212 ms
    info:  ┗OBSApp::OBSInit: 600.669 ms
    info:    ┣obs_startup: 1.225 ms
    info:    ┗OBSBasic::OBSInit: 552.563 ms
    info:      ┣OBSBasic::InitBasicConfig: 0.069 ms
    info:      ┣OBSBasic::ResetAudio: 0.151 ms
    info:      ┣OBSBasic::ResetVideo: 113.557 ms
    info:      ┣OBSBasic::InitOBSCallbacks: 0.005 ms
    info:      ┣OBSBasic::InitHotkeys: 0.05 ms
    info:      ┣obs_load_all_modules2: 308.689 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.145 ms
    info:      ┃ ┣obs_init_module(frontend-tools.so): 77.489 ms
    info:      ┃ ┣obs_init_module(image-source.so): 0.01 ms
    info:      ┃ ┣obs_init_module(linux-alsa.so): 0.002 ms
    info:      ┃ ┣obs_init_module(linux-capture.so): 0.38 ms
    info:      ┃ ┣obs_init_module(linux-jack.so): 0.003 ms
    info:      ┃ ┣obs_init_module(linux-pipewire.so): 1.341 ms
    info:      ┃ ┣obs_init_module(linux-pulseaudio.so): 0.005 ms
    info:      ┃ ┣obs_init_module(linux-v4l2.so): 5.257 ms
    info:      ┃ ┣obs_init_module(linux-vkcapture.so): 0.117 ms
    info:      ┃ ┣obs_init_module(move-transition.so): 0.06 ms
    info:      ┃ ┣obs_init_module(obs-ffmpeg.so): 1.329 ms
    info:      ┃ ┃ ┗nvenc_check: 1.196 ms
    info:      ┃ ┣obs_init_module(obs-filters.so): 0.039 ms
    info:      ┃ ┣obs_init_module(obs-libfdk.so): 0.002 ms
    info:      ┃ ┣obs_init_module(obs-outputs.so): 0.004 ms
    info:      ┃ ┣obs_init_module(obs-transitions.so): 0.01 ms
    info:      ┃ ┣obs_init_module(obs-vst.so): 0.006 ms
    info:      ┃ ┣obs_init_module(obs-x264.so): 0.002 ms
    info:      ┃ ┣obs_init_module(rtmp-services.so): 1.023 ms
    info:      ┃ ┗obs_init_module(text-freetype2.so): 0.014 ms
    info:      ┣OBSBasic::ResetOutputs: 0.114 ms
    info:      ┣OBSBasic::CreateHotkeys: 0.039 ms
    info:      ┣OBSBasic::InitService: 1.328 ms
    info:      ┣OBSBasic::InitPrimitives: 0.139 ms
    info:      ┗OBSBasic::Load: 33.54 ms
    info: obs_hotkey_thread(25 ms): min=0.047 ms, median=0.064 ms, max=96.418 ms, 99th percentile=0.964 ms, 99.7354% below 25 ms
    info: audio_thread(Audio): min=0.009 ms, median=0.041 ms, max=0.423 ms, 99th percentile=0.071 ms
    info: obs_graphics_thread(16.6667 ms): min=0.073 ms, median=0.542 ms, max=110.003 ms, 99th percentile=1.187 ms, 99.7871% below 16.667 ms
    info:  ┣tick_sources: min=0 ms, median=0.009 ms, max=0.128 ms, 99th percentile=0.014 ms
    info:  ┣output_frame: min=0.041 ms, median=0.093 ms, max=3.679 ms, 99th percentile=0.168 ms
    info:  ┃ ┗gs_context(video->graphics): min=0.041 ms, median=0.093 ms, max=3.673 ms, 99th percentile=0.167 ms
    info:  ┃   ┣render_video: min=0.007 ms, median=0.023 ms, max=0.222 ms, 99th percentile=0.041 ms
    info:  ┃   ┃ ┗render_main_texture: min=0.005 ms, median=0.02 ms, max=0.188 ms, 99th percentile=0.035 ms
    info:  ┃   ┗gs_flush: min=0.001 ms, median=0.002 ms, max=0.106 ms, 99th percentile=0.007 ms
    info:  ┗render_displays: min=0.002 ms, median=0.419 ms, max=109.85 ms, 99th percentile=0.943 ms
    info: =================================================
    info: == Profiler Time Between Calls ==================
    info: obs_hotkey_thread(25 ms): min=25.064 ms, median=25.125 ms, max=121.481 ms, 98.7343% within ±2% of 25 ms (0% lower, 1.26568% higher)
    info: obs_graphics_thread(16.6667 ms): min=4.164 ms, median=16.667 ms, max=110.008 ms, 99.4982% within ±2% of 16.667 ms (0.250912% lower, 0.250912% higher)
    info: =================================================
    info: Number of memory leaks: 0
    
    opened by KaziiTheAvali 2
  • Obs stops responding

    Obs stops responding

    Hi,

    I am trying to capture asseto corsa competizione using obs 28.x with the launch option: env OBS_VKCAPTURE_LINEAR=1 OBS_VKCAPTURE=1 %command%, but when i select the window to capture the game, obs stop responding. I dont know if i am doing something wrong, or if it was not supposed to work with my nvidia driver with this game.

    I am running obs and steam using flatpak on a fedora system (x11)

    The last log on obs:

    info: [linux-vkcapture] Creating texture from dmabuf 1920x1080 modifier:0
    info: [linux-vkcapture]  [0] fd:44 stride:7680 offset:0
    

    Log from game:

     [obs-vkcapture] Texture VK_FORMAT_B8G8R8A8_UNORM 1920x1080
    [obs-vkcapture] ------------------ vulkan capture started ------------------
    

    Thanks.

    nvidia 
    opened by tonysilva16 6
  • obs-vkcapture for Origin games

    obs-vkcapture for Origin games

    Seems there could be a problem running obs-vkcapture with origin games as they run behind a Origin launcher which does not at all like obs-vkcapture run before it.

    It be nice if there was a env variable that could be used like OBSCAPTURE = "Game.exe" ? something like that would be useful.

    EDIT: It might just be a issue with the quicklaunch method. Running obs-vkcapture on origin.exe appears to work, maybe.

    EDIT2: Nope, seems it will ignore anything launched with origin. Except launchers itself... Using Mass Effect LEG as a test case, it can't see the game exe in the game capture source.

    opened by jarrard 9
  • OBS Game Capture does not work with games running on dGPU

    OBS Game Capture does not work with games running on dGPU

    I have a gamer laptop with dual GPU: Captura desde 2022-07-25 23-16-13

    When trying to record any game running on the dGPU, it does not work. WHEN USING THE iGPU IT WORKS!

    Example: CSGO, running on the dGPU:

    STEAM TERMINAL LOGS:

    [rogbyte@msi-alpha15 ~]$ DRI_PRIME=1 steam 
    steam.sh[48558]: Running Steam on nobara 36 64-bit
    steam.sh[48558]: STEAM_RUNTIME is enabled automatically
    setup.sh[48633]: Steam runtime environment up-to-date!
    steam.sh[48558]: Steam client's requirements are satisfied
    [2022-07-25 23:58:16] Startup - updater built Jun  7 2022 03:18:19
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    [2022-07-25 23:58:17] Loading cached metrics from disk (/home/rogbyte/.local/share/Steam/package/steam_client_metrics.bin)
    [2022-07-25 23:58:17] Using the following download hosts for Public, Realm steamglobal
    [2022-07-25 23:58:17] 1. https://cdn.cloudflare.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
    [2022-07-25 23:58:17] 2. https://cdn.akamai.steamstatic.com, /client/, Realm 'steamglobal', weight was 100, source = 'update_hosts_cached.vdf'
    [2022-07-25 23:58:17] 3. http://media.steampowered.com, /client/, Realm 'steamglobal', weight was 1, source = 'baked in'
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    [2022-07-25 23:58:17] Verificando instalación...
    [2022-07-25 23:58:17] Verification complete
    Loaded SDL version 2.0.22-7215337
    Gtk-Message: 23:58:17.436: Failed to load module "pk-gtk-module"
    ComputeStartupMode: found registry default startup mode: 0steamwebhelper.sh[48729]: Runtime for steamwebhelper: defaulting to /home/rogbyte/.local/share/Steam/ubuntu12_64/steam-runtime-heavy
    steamwebhelper.sh[48729]: glibc >= 2.34, partially disabling sandbox until CEF supports clone3()
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    CAppInfoCacheReadFromDiskThread took 22 milliseconds to initialize
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    
    (steam:48702): Gtk-WARNING **: 23:58:29.010: gtk_disable_setlocale() must be called before gtk_init()
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Fossilize INFO: Setting autogroup scheduling.
    roaming config store loaded successfully - 243 bytes.
    migrating temporary roaming config store
    BRefreshApplicationsInLibrary 1: 6ms
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Failed to init SteamVR because it isn't installed
    ExecCommandLine: "'/home/rogbyte/.local/share/Steam/ubuntu12_32/steam'"
    System startup time: 13.17 seconds
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.560: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.560: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:30.561: Trying to remove a child that doesn't believe we're it's parent.
    BuildCompleteAppOverviewChange: 150
    RegisterForAppOverview 1: 11ms
    RegisterForAppOverview 2: 11ms
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to UpdatingAppInfo with ""
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to ProcessingInstallScript with ""
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to SynchronizingCloud with ""
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to SiteLicenseSeatCheckout with ""
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to CreatingProcess with ""
    GameAction [AppID 730, ActionID 1] : LaunchApp waiting for user response to CreatingProcess ""
    GameAction [AppID 730, ActionID 1] : LaunchApp continues with user response "CreatingProcess"
    /bin/sh\0-c\0gamemoderun obs-gamecapture /home/rogbyte/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- '/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh' -steam -fullscreen\0
    Game process added : AppID 730 "gamemoderun obs-gamecapture /home/rogbyte/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- '/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh' -steam -fullscreen", ProcID 49680, IP 0.0.0.0:0
    chdir /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to WaitingGameWindow with ""
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    GameAction [AppID 730, ActionID 1] : LaunchApp changed task to Completed with ""
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.049: Trying to remove a child that doesn't believe we're it's parent.
    
    (steam:48702): LIBDBUSMENU-GLIB-WARNING **: 23:58:58.050: Trying to remove a child that doesn't believe we're it's parent.
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    gamemodeauto: 
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    gamemodeauto: 
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/usr/lib64/libVkLayer_obs_vkcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/usr/lib64/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    gamemodeauto: 
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/usr/lib/libVkLayer_obs_vkcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/usr/lib/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    gamemodeauto: 
    pid 49691 != 49690, skipping destruction (fork without exec?)
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/usr/lib/libVkLayer_obs_vkcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/usr/lib/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/usr/lib/libVkLayer_obs_vkcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    ERROR: ld.so: object '/usr/lib/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    [obs-vkcapture] Init GLX 1.1.4
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    *** MESA_GLSL_CACHE_DIR is deprecated; use MESA_SHADER_CACHE_DIR instead ***
    *** MESA_GLSL_CACHE_MAX_SIZE is deprecated; use MESA_SHADER_CACHE_MAX_SIZE instead ***
    SDL video target is 'x11'
    This system supports the OpenGL extension GL_EXT_framebuffer_object.
    This system supports the OpenGL extension GL_EXT_framebuffer_blit.
    This system supports the OpenGL extension GL_EXT_framebuffer_multisample.
    This system DOES NOT support the OpenGL extension GL_APPLE_fence.
    This system DOES NOT support the OpenGL extension GL_NV_fence.
    This system supports the OpenGL extension GL_ARB_sync.
    This system supports the OpenGL extension GL_EXT_draw_buffers2.
    This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform.
    This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range.
    This system supports the OpenGL extension GL_ARB_map_buffer_range.
    This system supports the OpenGL extension GL_ARB_vertex_buffer_object.
    This system supports the OpenGL extension GL_ARB_occlusion_query.
    This system DOES NOT support the OpenGL extension GL_APPLE_texture_range.
    This system DOES NOT support the OpenGL extension GL_APPLE_client_storage.
    This system DOES NOT support the OpenGL extension GL_ARB_uniform_buffer.
    This system supports the OpenGL extension GL_ARB_vertex_array_bgra.
    This system supports the OpenGL extension GL_EXT_vertex_array_bgra.
    This system supports the OpenGL extension GL_ARB_framebuffer_object.
    This system DOES NOT support the OpenGL extension GL_GREMEDY_string_marker.
    This system supports the OpenGL extension GL_ARB_debug_output.
    This system supports the OpenGL extension GL_EXT_direct_state_access.
    This system DOES NOT support the OpenGL extension GL_NV_bindless_texture.
    This system supports the OpenGL extension GL_AMD_pinned_memory.
    This system supports the OpenGL extension GL_EXT_framebuffer_multisample_blit_scaled.
    This system supports the OpenGL extension GL_EXT_texture_sRGB_decode.
    This system supports the OpenGL extension GL_NVX_gpu_memory_info.
    This system supports the OpenGL extension GL_ATI_meminfo.
    This system supports the OpenGL extension GL_EXT_texture_compression_s3tc.
    This system supports the OpenGL extension GL_EXT_texture_compression_dxt1.
    This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt3.
    This system supports the OpenGL extension GL_ANGLE_texture_compression_dxt5.
    This system supports the OpenGL extension GL_ARB_buffer_storage.
    This system supports the OpenGL extension GLX_EXT_swap_control_tear.
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/engine_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/engine_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/filesystem_stdio_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/filesystem_stdio_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/inputsystem_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/inputsystem_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vphysics_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vphysics_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/materialsystem_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/materialsystem_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/datacache_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/datacache_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/studiorender_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/studiorender_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/soundemittersystem_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vscript_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vscript_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vguimatsurface_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vguimatsurface_client.so: wrong ELF class: ELFCLASS32
    Installing breakpad exception handler for appid(gameoverlayui)/version(20220607031826)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vgui2_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/vgui2_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/shaderapidx9_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/shaderapidx9_client.so: wrong ELF class: ELFCLASS32
     failed to dlopen /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/localize_client.so error=/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/bin/localize_client.so: wrong ELF class: ELFCLASS32
    Created D3D9 device successfully
    WARNING: unable to link grab_window and grab_window because one or more is a ConCommand.
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
    Installing breakpad exception handler for appid(gameoverlayui)/version(1.0)
    Using breakpad minidump system 730/13837.1490.JC
    Using breakpad crash handler
    [S_API] SteamAPI_Init(): Loaded '/home/rogbyte/.local/share/Steam/linux64/steamclient.so' OK.
    Game process updated : AppID 730 "gamemoderun obs-gamecapture /home/rogbyte/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- '/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh' -steam -fullscreen", ProcID 49693, IP 0.0.0.0:0
    Setting breakpad minidump AppID = 730
    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:  76561199378205760 [API loaded yes]
    SteamInternal_SetMinidumpSteamID:  Setting Steam ID:  76561199378205760
    Initialized low level socket/threading support.
    Set SteamNetworkingSockets P2P_STUN_ServerList to '162.254.192.87:3478' as per SteamNetworkingSocketsSerialized
    Got ISteamNetworkingSockets user interfaces from standalone lib
    Pending ping measurement until network config is obtained.
    SDR RelayNetworkStatus:  avail=Attempting  config=Attempting  anyrelay=Waiting   (Attempt #1 to fetch config from https://api.steampowered.com/ISteamApps/GetSDRConfig/v1?appid=730)
    AuthStatus (steamid:76561199378205760):  Attempting  (Requesting cert)
    USRLOCAL path using Steam profile data folder:
    /home/rogbyte/.local/share/Steam/userdata/1417940032/730/local
    Did not detect any valid joysticks.
    Timed out waiting for game mapping!
    RESZ NOT SUPPORTED!
    INTZ NOT SUPPORTED!
    RESZ NOT SUPPORTED!
    INTZ NOT SUPPORTED!
    
     ##### swap interval = 0     swap limit = 1 #####
    [obs-vkcapture] Texture GL_RGBA 1920x1080
    ERROR: ld.so: object '/home/rogbyte/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/usr/lib64/libVkLayer_obs_vkcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    ERROR: ld.so: object '/usr/lib64/libobs_glcapture.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
    crash_20220725235902_2.dmp[49745]: Uploading dump (out-of-process)
    /tmp/dumps/crash_20220725235902_2.dmp
    crash_20220725235902_2.dmp[49745]: Finished uploading minidump (out-of-process): success = yes
    crash_20220725235902_2.dmp[49745]: response: Discarded=1
    crash_20220725235902_2.dmp[49745]: file ''/tmp/dumps/crash_20220725235902_2.dmp'', upload yes: ''Discarded=1''
    gamemodeauto: 
    pid 49745 != 49744, skipping destruction (fork without exec?)
    /home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh: line 88: 49693 Segmentation fault      (core dumped) ${DEBUGGER} "${GAMEROOT}"/${GAMEEXE} "$@"
    Game process removed: AppID 730 "gamemoderun obs-gamecapture /home/rogbyte/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=730 -- '/home/Juegos/Steam/steamapps/common/Counter-Strike Global Offensive/csgo.sh' -steam -fullscreen", ProcID 49693 
    ThreadGetProcessExitCode: no such process 49744
    ThreadGetProcessExitCode: no such process 49693
    ThreadGetProcessExitCode: no such process 49692
    ThreadGetProcessExitCode: no such process 49690
    Game 730 created interface STEAMAPPLIST_INTERFACE_VERSION001 / 
    Game 730 created interface STEAMAPPS_INTERFACE_VERSION008 / 
    Game 730 created interface STEAMHTMLSURFACE_INTERFACE_VERSION_005 / 
    Game 730 created interface STEAMHTTP_INTERFACE_VERSION003 / 
    Game 730 created interface STEAMHTTP_INTERFACE_VERSION003 / HTTP
    Game 730 created interface STEAMINVENTORY_INTERFACE_V003 / 
    Game 730 created interface STEAMMUSICREMOTE_INTERFACE_VERSION001 / 
    Game 730 created interface STEAMMUSIC_INTERFACE_VERSION001 / 
    Game 730 created interface STEAMPARENTALSETTINGS_INTERFACE_VERSION001 / 
    Game 730 created interface STEAMREMOTESTORAGE_INTERFACE_VERSION016 / 
    Game 730 created interface STEAMSCREENSHOTS_INTERFACE_VERSION003 / 
    Game 730 created interface STEAMUGC_INTERFACE_VERSION016 / 
    Game 730 created interface STEAMUSERSTATS_INTERFACE_VERSION012 / 
    Game 730 created interface STEAMVIDEO_INTERFACE_V002 / 
    Game 730 created interface SteamController008 / 
    Game 730 created interface SteamFriends017 / 
    Game 730 created interface SteamInput006 / 
    Game 730 created interface SteamMatchGameSearch001 / 
    Game 730 created interface SteamMatchMaking009 / 
    Game 730 created interface SteamMatchMakingServers002 / 
    Game 730 created interface SteamNetworking006 / 
    Game 730 created interface SteamNetworkingSocketsSerialized005 / 
    Game 730 created interface SteamUser021 / 
    Game 730 created interface SteamUser021 / User
    Game 730 created interface SteamUtils010 / 
    Game 730 created interface SteamUtils010 / Utils
    Game 730 method call count for IClientNetworkingSocketsSerialized::GetSTUNServer : 2
    Game 730 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicket : 6
    Game 730 method call count for IClientNetworkingSocketsSerialized::GetCachedRelayTicketCount : 1
    Game 730 method call count for IClientNetworkingSocketsSerialized::GetCertAsync : 1
    Game 730 method call count for IClientControllerSerialized::BCheckGameDirectoryAndReloadConfigIfNecessary : 1
    Game 730 method call count for IClientControllerSerialized::EnableDeviceCallbacks : 1
    Game 730 method call count for IClientControllerSerialized::HasGameMapping : 11
    Game 730 method call count for IClientHTTP::SendHTTPRequest : 1
    Game 730 method call count for IClientHTTP::SetHTTPRequestHeaderValue : 1
    Game 730 method call count for IClientHTTP::CreateHTTPRequest : 1
    Game 730 method call count for IClientAppManager::GetCurrentLanguage : 1
    Game 730 method call count for IClientUtils::RecordSteamInterfaceCreation : 28
    Game 730 method call count for IClientUtils::IsSteamChina : 3
    Game 730 method call count for IClientUtils::GetLauncherType : 1
    Game 730 method call count for IClientUtils::GetAppID : 30
    Game 730 method call count for IClientUtils::GetIPCountry : 1
    Game 730 method call count for IClientUtils::GetServerRealTime : 1
    Game 730 method call count for IClientUtils::GetConnectedUniverse : 2
    Game 730 method call count for IClientUser::GetUserDataFolder : 1
    Game 730 method call count for IClientUser::GetSteamID : 6
    Game 730 method call count for IClientUser::BLoggedOn : 1
    Uploaded AppInterfaceStats to Steam
    
    (process:49717): GLib-GObject-CRITICAL **: 23:59:08.950: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
    src/steamexe/main.cpp (253) : Assertion Failed: reaping pid: 49717 -- gameoverlayui
    
    src/steamexe/main.cpp (253) : Assertion Failed: reaping pid: 49717 -- gameoverlayui
    
    Installing breakpad exception handler for appid(steam)/version(1654574690)
    assert_20220725235919_30.dmp[49835]: Uploading dump (out-of-process)
    /tmp/dumps/assert_20220725235919_30.dmp
    assert_20220725235919_30.dmp[49835]: Finished uploading minidump (out-of-process): success = yes
    assert_20220725235919_30.dmp[49835]: response: CrashID=bp-d05ac301-b8f6-4165-ac21-bf2ae2220725
    assert_20220725235919_30.dmp[49835]: file ''/tmp/dumps/assert_20220725235919_30.dmp'', upload yes: ''CrashID=bp-d05ac301-b8f6-4165-ac21-bf2ae2220725''
    

    ~~The game crashes, it DOES NOT START.~~

    OBS TERMINAL LOGS:

    [rogbyte@msi-alpha15 ~]$ vk_pro obs
    QSocketNotifier: Can only be used with threads started with QThread
    Attempted path: share/obs/obs-studio/locale/en-US.ini
    Attempted path: /usr/share/obs/obs-studio/locale/en-US.ini
    Attempted path: share/obs/obs-studio/locale.ini
    Attempted path: /usr/share/obs/obs-studio/locale.ini
    Attempted path: share/obs/obs-studio/locale/es-ES.ini
    Attempted path: /usr/share/obs/obs-studio/locale/es-ES.ini
    info: Using preferred locale 'es-ES'
    Attempted path: share/obs/obs-studio/themes/Dark.qss
    Attempted path: /usr/share/obs/obs-studio/themes/Dark.qss
    info: Platform: Wayland
    info: CPU Name: AMD Ryzen 7 5800H with Radeon Graphics
    info: CPU Speed: 2471.736MHz
    info: Physical Cores: 8, Logical Cores: 16
    info: Physical Memory: 31363MB Total, 13954MB Free
    info: Kernel Version: Linux 5.18.13-201.fsync.fc36.x86_64
    info: Distribution: "Nobara Linux" 36
    info: Session Type: wayland
    info: Qt Version: 5.15.3 (runtime), 5.15.3 (compiled)
    info: Portable mode: false
    Attempted path: share/obs/obs-studio/themes/Dark/no_sources.svg
    Attempted path: /usr/share/obs/obs-studio/themes/Dark/no_sources.svg
    QMetaObject::connectSlotsByName: No matching signal for on_tbar_position_valueChanged(int)
    QMetaObject::connectSlotsByName: No matching signal for on_actionShowTransitionProperties_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionHideTransitionProperties_triggered()
    info: OBS 27.2.4 (linux)
    info: ---------------------------------
    info: ---------------------------------
    info: audio settings reset:
    	samples per sec: 48000
    	speakers:        2
    info: ---------------------------------
    info: Initializing OpenGL...
    info: Using EGL/Wayland
    info: Initialized EGL 1.5
    info: Loading up OpenGL on adapter AMD RENOIR (renoir, LLVM 14.0.0, DRM 3.46, 5.18.13-201.fsync.fc36.x86_64)
    info: OpenGL loaded successfully, version 4.6 (Core Profile) Mesa 22.2.0-devel, shading language 4.60
    info: ---------------------------------
    info: video settings reset:
    	base resolution:   1920x1080
    	output resolution: 1920x1080
    	downscale filter:  Bicubic
    	fps:               60/1
    	format:            NV12
    	YUV mode:          709/Partial
    info: NV12 texture support not available
    info: Audio monitoring device:
    	name: Por defecto
    	id: default
    info: ---------------------------------
    warning: Failed to load 'en-US' text for module: 'decklink-captions.so'
    warning: Failed to load 'en-US' text for module: 'decklink-ouput-ui.so'
    info: [pipewire] Available captures:
    info: [pipewire]     - Desktop capture
    info: [pipewire]     - Window capture
    libDeckLinkAPI.so: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
    warning: A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
    info: No blackmagic support
    warning: v4l2loopback not installed, virtual camera disabled
    warning: Failed to load 'es-ES' text for module: 'linux-vkcapture.so'
    info: [linux-vkcapture] plugin loaded successfully (version 1.1.2)
    info: [obs-browser]: Version 2.17.14
    info: [obs-browser]: CEF Version 95.0.4638.69 (runtime), 95.0.0-MediaHandler.2463+g3b3ac84+chromium-95.0.4638.69 (compiled)
    error: os_dlopen(libnvidia-encode.so.1->libnvidia-encode.so.1): libnvidia-encode.so.1: no se puede abrir el fichero del objeto compartido: No existe el fichero o el directorio
    
    info: FFMPEG VAAPI supported
    info: FFMPEG HEVC VAAPI supported
    info: [StreamFX] Loading Version 0.11.1.0-g81a96998
    info: [StreamFX] <gfx::opengl> Version 4.6 initialized.
    warning: [StreamFX] <encoder::aom::av1> Loading of '/usr/share/obs/obs-plugins/StreamFX/libaom.so' failed.
    warning: [StreamFX] <encoder::aom::av1> Loading of 'libaom' failed.
    error: [StreamFX] <encoder::aom::av1> Failed to initialize AOM AV1 encoder: Unable to load AOM library.
    info: [StreamFX] Loaded Version 0.11.1.0-g81a96998
    info: [vlc-video]: VLC 3.0.17.2 Vetinari found, VLC video source enabled
    info: ---------------------------------
    info:   Loaded Modules:
    info:     vlc-video.so
    info:     text-freetype2.so
    info:     StreamFX.so
    info:     rtmp-services.so
    info:     obs-x264.so
    info:     obs-vst.so
    info:     obs-transitions.so
    info:     obs-outputs.so
    info:     obs-libfdk.so
    info:     obs-filters.so
    info:     obs-ffmpeg.so
    info:     obs-browser.so
    info:     linux-vkcapture.so
    info:     linux-v4l2.so
    info:     linux-pulseaudio.so
    info:     linux-jack.so
    info:     linux-decklink.so
    info:     linux-capture.so
    info:     linux-alsa.so
    info:     image-source.so
    info:     frontend-tools.so
    info:     decklink-ouput-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, 48000 Hz, 2 channels
    info: pulse-input: Started recording from 'alsa_output.pci-0000_07_00.6.HiFi__hw_Generic_1__sink.monitor'
    info: [Loaded global audio device]: 'Audio del escritorio'
    info: pulse-input: Server name: 'PulseAudio (on PipeWire 0.3.56) 15.0.0'
    info: pulse-input: Audio format: s32le, 48000 Hz, 2 channels
    info: pulse-input: Started recording from 'alsa_input.pci-0000_07_00.6.HiFi__hw_acp__source'
    info: [Loaded global audio device]: 'Mic/Aux'
    error: zext_screencopy_manager_v1 not available
    info: Switched to scene 'Escena'
    info: ------------------------------------------------
    info: Loaded scenes:
    info: - scene 'Escena':
    info:     - source: 'Game Capture' (vkcapture-source)
    info: ------------------------------------------------
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    libpng warning: iCCP: known incorrect sRGB profile
    qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
    info: [StreamFX] <updater> Automatic checks at launch are now enabled.
    Attempted path: share/obs/obs-studio/images/overflow.png
    Attempted path: /usr/share/obs/obs-studio/images/overflow.png
    info: adding 21 milliseconds of audio buffering, total audio buffering is now 21 milliseconds (source: Audio del escritorio)
    
    info: adding 21 milliseconds of audio buffering, total audio buffering is now 42 milliseconds (source: Mic/Aux)
    
    

    Captura desde 2022-07-26 00-19-46

    opened by Joe0770 8
  • Captures at 30fps.

    Captures at 30fps.

    OBS is set to record at 60fps, both the preview of source and recording itself looks like 30fps. There is no such issue with any other method of capturing window or entire screen. As if plugin is just set to capture at 30fps.

    i3wm archlinux zen nvidia proprietary all up to date

    Thanks.

    nvidia 
    opened by kndgs 16
Releases(v1.2.2)
Owner
David Rosca
David Rosca
OpenGL®-Starter is a template for your upcoming OpenGL Projects which has been compiled to run the most basic Hello World OpenGL Program from LearnOpenGL.com.

OpenGL®-Starter OpenGL®-Starter is a template for your upcoming OpenGL Projects which has been compiled to run the most basic Hello World OpenGL Progr

Kushagra 9 Sep 7, 2022
Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal

Low Level Graphics Library (LLGL) Documentation NOTE: This repository receives bug fixes only, but no major updates. Pull requests may still be accept

Lukas Hermanns 1.5k Jan 8, 2023
Axel Gneiting 1.5k Dec 31, 2022
C++/openGL/Vulkan 3D engine

DeusEx Machina engine C++/GL/Vulkan 3D graphic engine First commit, hello world! :D Reddit post about why I started with skeletal animation system and

Brais 41 May 19, 2022
A legacy OpenGL simulator for OpenGL 4.4, written in C++.

the-ancient-tri A legacy OpenGL simulator for OpenGL 4.4, written in C++. Why? My Uni forces us to use legacy OpenGL (eww!), and I didn't want to lear

Mohammad Issawi 4 Feb 10, 2022
The project shows how to hook IDXGISwapChain::Present and capture window frames.

DirectX Present Hook The project is an answer to this Stack Overflow question https://stackoverflow.com/questions/40538590/getting-dxgi-swapchain-by-h

Eugen 7 Nov 1, 2022
基于 Vulkan 实现的 GPUImage

Vulkan-GPUImage 基于 Vulkan 渲染的 GPUImage 版本,实现渲染链机制,复刻 GPUImage 上的多个效果(逐渐增加中)。 更多技术实现,详见源码~~ Vulkan 学习文章 进击的 Vulkan 移动开发(一)之今生前世 进击的 Vulkan 移动开发之 Instan

glumes 143 Nov 15, 2022
Minimal pathtracer using Vulkan RayTracing

Single File Vulkan Pathtracing Minimal pathtracer using Vulkan RayTracing Environment Vulkan SDK 1.2.162.0 GPU / Driver that support Vulkan Ray Tracin

Yuki Nishidate 29 Dec 21, 2022
Vulkan physically based raytracer including denoising

VulkanPBRT Vulkan physically based raytracer including denoising. The GPU raytracer is based on Vulkan only, as well as for the denoising only the Vul

null 18 Nov 25, 2022
A toy renderer written in C using Vulkan to perform real-time ray tracing research.

This is a toy renderer written in C using Vulkan. It is intentionally minimalist. It has been developed and used for the papers "BRDF Importance Sampl

Christoph Peters 290 Dec 19, 2022
This repository accompanies Ray Tracing Gems II: Next Generation Rendering with DXR, Vulkan, and OptiX

Apress Source Code This repository accompanies Ray Tracing Gems II: Next Generation Rendering with DXR, Vulkan, and OptiX by Adam Marrs, Peter Shirley

Apress 684 Dec 29, 2022
Vulkan Minimal Hybrid Rendering

Vulkan Minimal Hybrid Rendering A minimal hybrid rendering sample using ray query Features Rasterization Raytraced shadow Environment Vulkan SDK 1.2.1

Yuki Nishidate 11 Aug 31, 2022
vkfetch is a fetch-program that displays basic information about your vulkan-compatible graphic card(s)!

vkfetch vkfetch is a fetch-program that displays basic information about your vulkan-compatible graphic card(s)! vkfetch will also display some vendor

Wunk 19 Oct 27, 2022
simple fdtd using vulkan, omp or single thread

fdtd simple fdtd using vulkan, omp or single thread example how to build first clone the repo with: git clone https://github.com/nikisalli/fdtd.git up

Nik 5 Nov 12, 2022
This repo will sort of document my story of learning vulkan with VulkanSDK and cl (msvc) on windows.

Learning Vulkan This repo is a means of documenting my journey with learning Vulkan's basics on windows. Because of the binaries in the LunarG VulkanS

null 2 Dec 8, 2021
A realtime Vulkan voxel path tracer.

brickmap-vulkan A realtime Vulkan voxel path tracer. This is a work in progress! This system is a Vulkan/SPIRV implementation of the BrickMap by stijn

brandon reinhart 0 Nov 3, 2022
Open-Source Vulkan C++ API

Vulkan-Hpp: C++ Bindings for Vulkan The goal of the Vulkan-Hpp is to provide header only C++ bindings for the Vulkan C API to improve the developers V

The Khronos Group 2.5k Jan 8, 2023
Implementation of Peter Shirley's Ray Tracing In One Weekend book using Vulkan and NVIDIA's RTX extension.

Ray Tracing In Vulkan My implementation of Peter Shirley's Ray Tracing in One Weekend books using Vulkan and NVIDIA's RTX extension (formerly VK_NV_ra

Tanguy Fautre 862 Dec 31, 2022
SPIRV-Reflect is a lightweight library that provides a C/C++ reflection API for SPIR-V shader bytecode in Vulkan applications.

SPIRV-Reflect SPIRV-Reflect is a lightweight library that provides a C/C++ reflection API for SPIR-V shader bytecode in Vulkan applications. SPIRV-Ref

The Khronos Group 457 Dec 26, 2022