nowrep / obs-vkcapture

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

Does not capture flatpaks when running inside distrobox #224

Open ItsRogueRen opened 1 month ago

ItsRogueRen commented 1 month ago

Describe the bug When using OBS from a Distrobox container (i.e. Ubuntu so that you have the API log in for Twitch/YouTube/etc) obs-vkcapture is unable to capture flatpaks running outside of the distrobox. Currently trying to figure out of this is an issue with the plugin or distrobox

Screenshots or video If applicable, add screenshots or video to help explain your problem.

System (please complete the following information):

OBS log:

https://pastebin.com/2wt6x3Li

Game log:

Paste game terminal output here.
Make sure to set OBS_VKCAPTURE_QUIET=0 environment variable.
nowrep commented 1 month ago

The OBS plugin creates abstract unix socket which the clients (games) connect to. So if you run OBS in some kind of sandbox, you need to make sure the socket is visible from outside.

ItsRogueRen commented 1 month ago

The OBS plugin creates abstract unix socket which the clients (games) connect to. So if you run OBS in some kind of sandbox, you need to make sure the socket is visible from outside.

OK that would probably be a distrobox issue then, I'll have to see if there is something that can be done for that to allow it to see flatpaks