Add a script for nvidia prime.

This commit is contained in:
Roz K 2022-12-16 03:24:27 +01:00
parent e361a68b7c
commit 48714afaf5
Signed by: roz
GPG Key ID: 51FBF4E483E1C822
1 changed files with 2 additions and 0 deletions

2
nv_prime.sh Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia $1