From 3fe50eef61aa3e3167fff93502234bb1a43b4f40 Mon Sep 17 00:00:00 2001 From: obiwac Date: Tue, 22 Feb 2022 18:28:12 +0100 Subject: [PATCH] package: run with `nv-sglrun` to use NVENC --- UI/obs-app.cpp | 3 ++- package/scripts/entry.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/UI/obs-app.cpp b/UI/obs-app.cpp index 35466fb8bc9543..7c24e1264d460e 100644 --- a/UI/obs-app.cpp +++ b/UI/obs-app.cpp @@ -1508,7 +1508,8 @@ string OBSApp::GetVersionString() const #elif __OpenBSD__ ver << "openbsd)"; #elif __FreeBSD__ - ver << "freebsd)"; + /* ver << "freebsd)"; */ + ver << "aquaBSD)"; // assume aquaBSD for the time being #else /* assume linux for the time being */ ver << "linux)"; #endif diff --git a/package/scripts/entry.sh b/package/scripts/entry.sh index 082a71cd402695..f79c86d6216073 100644 --- a/package/scripts/entry.sh +++ b/package/scripts/entry.sh @@ -4,5 +4,5 @@ set -e chmod +x bin/obs ( cd bin - ./obs $@ + nv-sglrun ./obs $@ )