Closed emaxoda closed 1 year ago
Can you try running the game with env OBS_VKCAPTURE=1 %command%
instead of obs-gamecapture?
Running the game with that env variable indeed works as it should. Should I switch my the games to using the variable instead of obs-gamecapture or is it a case specific thing? Edit: I saw in the readme it's for vulkan only so I'll keep using obs-gamecapture on OpenGL games and the environment variable on vulkan ones
Yes, if the game uses both OpenGL and Vulkan it can cause issues. I'm not exactly sure what's happening in this case, but I think there are two connections from the game and the OpenGL connection wins (the order from your log is: vulkan -> vulkan destroy -> opengl -> vulkan). And if you restart OBS the Vulkan connection wins because the OpenGL connection is no longer presenting?
Maybe the plugin should send keepalive pings and disconnect non-responding clients.
it fixes the problem i was having while using obs-gamecapture EDIT: by the way I know this is not the channel but I saw you have a branch on obs called amf-linux-tex, I've been using your pull request for amf on linux for a long time now, what's the difference between those two?
by the way I know this is not the channel but I saw you have a branch on obs called amf-linux-tex, I've been using your pull request for amf on linux for a long time now, what's the difference between those two?
It uses texture encode aka "zero copy", so instead of downloading the rendered scene from GPU to CPU and then uploading it back to GPU when encoding it keeps the data on GPU.
i've been using the commits since I asked, so thanks for all the work you do!
Like the title say if I try to capture this game it won't capture anything unless I restart OBS with the game running and then i get the capture going, there's nothing useful on the steam logs other than getting the capture to work with the workaround.
steamlogs.txt
obs-normal.txt
obs-restart.txt