From 8be2ff2110606ed9a47d4d93198ceb9cd71d3cb4 Mon Sep 17 00:00:00 2001 From: Jrelvas <55360900+Noted-Jrelvas@users.noreply.github.com> Date: Tue, 21 Nov 2023 22:15:27 +0000 Subject: [PATCH] Set env OBS_VKCAPTURE by default for player OBS_VKCAPTURE allows OBS to capture Roblox Player's vulkan buffer directly, bypassing window decorations and providing lower latencies. This default is player-only for now, as OBS will get confused with studio and capture plugin windows instead of the actual viewport. Studio captures also flicker, probably due to limitations with the childwindow patch. Signed-off-by: Jrelvas <55360900+Noted-Jrelvas@users.noreply.github.com> --- config/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/config.go b/config/config.go index f3657264..32846ee3 100644 --- a/config/config.go +++ b/config/config.go @@ -116,6 +116,9 @@ func Default() Config { FFlags: roblox.FFlags{ "DFIntTaskSchedulerTargetFps": 640, }, + Env: Environment{ + "OBS_VKCAPTURE": "1", + }, }, Studio: Binary{ Dxvk: true,