From 48714afaf58fbcf10b153a9fc5a61670fe145f7c Mon Sep 17 00:00:00 2001 From: Roz K Date: Fri, 16 Dec 2022 03:24:27 +0100 Subject: [PATCH] Add a script for nvidia prime. --- nv_prime.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100755 nv_prime.sh diff --git a/nv_prime.sh b/nv_prime.sh new file mode 100755 index 0000000..9e58643 --- /dev/null +++ b/nv_prime.sh @@ -0,0 +1,2 @@ +#!/bin/sh +__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia $1