nowrep / obs-vkcapture

OBS Linux Vulkan/OpenGL game capture
GNU General Public License v2.0
532 stars 25 forks source link

Is there way to get system installed vkcapture to work on a flatpak app. #225

Closed chikenpotpi closed 2 months ago

chikenpotpi commented 2 months ago

The README says you can capture non flatpaks from obs flatpak, im hoping the reverse is possible.

nowrep commented 2 months ago

For capturing flatpak apps, you need to use https://github.com/flathub/org.freedesktop.Platform.VulkanLayer.OBSVkCapture

chikenpotpi commented 2 months ago

For capturing flatpak apps, you need to use https://github.com/flathub/org.freedesktop.Platform.VulkanLayer.OBSVkCapture

Ah okay good to know, unfortunately the app im using in flatpak doesnt have vkcapture support. Hopefully they will add it soon.

games647 commented 2 months ago

@chikenpotpi It's not required for Vulkan Games. The game can use the implicit Vulkan layer if installed and the environment variable is set.

flatpak run --env=OBS_VKCAPTURE=1 --env=MANGOHUD=1 APP_ID works fine for me.