We provide https://github.com/nowrep/obs-vkcapture as the obs-studio-gamecapture
package.
- Please note that for Nvidia cards you need driver version 515 or newer. due to the Nvidia proprietary driver missing support for
VK_EXT_external_memory_dma_buf
Vulkan extension in older versions. - We have modified the separate Vulkan and OpenGL capture commands into a single
obs-gamecapture
command that you can use, like so:obs-gamecapture somegame
For example, to use this with a steam game in the game’s steam command options:
obs-gamecapture %command% - Please note that if you are using the AMD AMF encoder in OBS (see instructions here first), you must make sure to launch OBS with vk_pro, and your game with whatever driver you want (you can mix them!):
Mesa/RADV:vk_radv %command%
AMDGPU-PRO:vk_pro %command%
AMDVLK:vk_amdvlk %command%
As noted, first launch OBS with the pro driver:vk_pro obs
Then, run the game with the open source radv driver:
Steam:
—————-
RADV + Game Capture:vk_radv obs-gamecapture %command%
+ MangoHud:mangohud vk_radv obs-gamecapture %command%
—————-
Lutris:
—————-Right click the game > configure. Next click the “System Options” tab. At the bottom, check the “Show advanced options” box.
vk_radv:In the “Vulkan ICD Loader” drop down, select the “AMD RADV Open Source” option.
obs-gamecapture
:
In the “Command prefix” text box, enterobs-gamecapture
mangohud
:
Enable the “FPS Counter (MangoHud)” option.
—————-
Then add your “Game Capture” source into OBS!