Resource icon

Linux Vulkan/OpenGL game capture 1.4.0

nowrep

New Member
nowrep submitted a new resource:

Linux Vulkan game capture - Vulkan game capture for Linux

OBS Linux Vulkan game capture

OBS plugin for Vulkan game capture on Linux.

Requires OBS with EGL support (currently unreleased, you need to build from git).

Usage
  1. Add Game Capture (Vulkan) to your OBS scene.
  2. Start the game with OBS_VKCAPTURE=1 environment variable set.

Example:

OBS_VKCAPTURE=1 game

Only supports capturing one game at a time.

Read more about this resource...
 

brainiac05

New Member
Hey there.
i would like to try out this extension but no Vulkan programm 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 se an rx580 with the current mesa driver.
 

ripper81

New Member
Hi i have a question regarding the Plugin. OBS is installed as a flatpak on my system. Steam is installed as native package. What is needed to get this combination working?

Do i have to install OBS as a native package too?
 

imrazor

New Member
For reference, I am running PopOS 22.04 LTS with an AMD 6700 GPU. PopOS does not have this OBS plugin (obs-vkcapture) in it's repo, so I am trying to build from source. To the best of my knowledge I have all required dependencies installed except the Wayland libraries (since Wayland is not used in my rather old distro.) I am seeing multiple compilation errors referencing 'color space' as seen below:

/home/[username]/src/obs-vkcapture/src/vkcapture.c: In function ‘vkcapture_get_color_space’:
/home/[username]/src/obs-vkcapture/src/vkcapture.c:678:10: error: variable ‘color_space’ has initializer but incomplete type
678 | enum gs_color_space color_space = ctx->tdata.color_space;
| ^~~~~~~~~~~~~~
/home/[username]/src/obs-vkcapture/src/vkcapture.c:678:25: error: storage size of ‘color_space’ isn’t known
678 | enum gs_color_space color_space = ctx->tdata.color_space;
| ^~~~~~~~~~~
/home/[username]/src/obs-vkcapture/src/vkcapture.c:681:23: error: ‘GS_CS_709_EXTENDED’ undeclared (first use in this function)
681 | color_space = GS_CS_709_EXTENDED;
| ^~~~~~~~~~~~~~~~~~
/home/[username]/src/obs-vkcapture/src/vkcapture.c:686:12: warning: ‘return’ with a value, in function returning void
686 | return color_space;

Does this mean I'm missing some requirement? OBS Studio version 27.2.3 is installed from the PopOS repo, so in addition to building from the most recent source,I also tried to compile version 1.0.1 of the obs-vkcapture source since that is roughly contemporaneous with OBS 27. However these errors persist.

Any recommendations for resolving these errors?
 
Top