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
- cmake
- libobs
- libvulkan
- libgl
- libX11 (optional)
- libxcb (optional)
- libwayland-client (optional)
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
- Vulkan capture requires VK_EXT_external_memory_dma_buf (NVIDIA driver >= 515.43.04)
- OpenGL GLX capture doesn't work with NVIDIA 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
.