OBS plugin for Vulkan/OpenGL game capture on Linux.
Requires OBS 27.
On X11 you need to explicitly enable EGL: OBS_USE_EGL=1 obs
.
AUR: obs-vkcapture-git
Flatpak:
- Capture tools: org.freedesktop.Platform.VulkanLayer.OBSVkCapture
- OBS plugin: com.obsproject.Studio.Plugin.OBSVkCapture
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib ..
make && make install
- Add
Game Capture
to your OBS scene. - Start the game with capture enabled
obs-vkcapture game
obs-glcapture game
- Requires VK_EXT_external_memory_dma_buf - not available in NVIDIA proprietary driver
Cannot create EGLImage: Arguments are inconsistent
If you get this error with Vulkan capture, try starting the game with OBS_VKCAPTURE_LINEAR=1
environment variable.
No Game Capture source available in OBS
If you are on X11, make sure you run OBS with EGL enabled: OBS_USE_EGL=1 obs
.