Skip to content

ColdIce1605/obs-vkcapture

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OBS Linux Vulkan/OpenGL game capture

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:

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

Known Issues

  • Requires VK_EXT_external_memory_dma_buf - not available in NVIDIA proprietary driver

Troubleshooting

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.

About

OBS Linux Vulkan/OpenGL game capture

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 97.5%
  • CMake 2.2%
  • Shell 0.3%