No description
  • C 97.5%
  • CMake 2.3%
  • Shell 0.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-11-03 14:20:09 +01:00
.github CI: Install libsimde-dev 2026-02-22 18:31:45 +01:00
data/locale Remove 'Force HDR' option 2026-02-22 18:42:59 +01:00
dist Add flatpak manifests and only check for OBS when builing plugin (#49) 2021-12-24 13:34:43 +01:00
src Improved mouse pointer handling 2026-11-03 14:20:09 +01:00
.gitignore Add .gitignore 2021-03-21 16:21:31 +01:00
CMakeLists.txt cursor confined to game window 2026-11-03 13:40:33 +01:00
LICENSE Add obs plugin template 2021-03-21 16:25:29 +01:00
plugin-macros.h.in plugin: Add wayland cursor implementation 2021-11-04 13:17:45 +01:00
README.md Add option to change game name with OBS_VKCAPTURE_NAME env variable. 2026-03-20 18:52:38 +01:00

OBS Linux Vulkan/OpenGL game capture

OBS plugin for Vulkan/OpenGL game capture on Linux.

AUR: obs-vkcapture-git

Flatpak:

About Flatpak

If you use Flatpak OBS, you need to install Flatpak OBS plugin.
If you use Flatpak Steam, you need to install Flatpak Capture tools to be able to capture games running inside Flatpak Steam runtine.

For capturing games outside Flatpak runtime, you need native build regardless of if you are using Flatpak OBS or not.

Dependencies

  • cmake
  • libobs
  • libvulkan
  • libgl
  • libegl
  • libX11 (optional)
  • libxcb (optional)
  • libwayland-client (optional)
  • wayland-scanner (optional)

Building

mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release ..
make && make install

Usage

  1. Add Game Capture to your OBS scene.
  2. Start the game with capture enabled obs-gamecapture %command%.
  3. (Recommended) Start the game with only Vulkan capture enabled env OBS_VKCAPTURE=1 %command%.

To change the game name that is displayed in OBS Source properties, set OBS_VKCAPTURE_NAME=custom_name_here.

Troubleshooting

NVIDIA

Driver version >= 515.43.04 and nvidia-drm.modeset=1 kernel parameter are required. In Wayland session make sure OBS is running on Wayland and not XWayland.