summaryrefslogtreecommitdiff
path: root/x11-misc/nvidia-prime/files/prime-run
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/nvidia-prime/files/prime-run')
-rw-r--r--x11-misc/nvidia-prime/files/prime-run2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11-misc/nvidia-prime/files/prime-run b/x11-misc/nvidia-prime/files/prime-run
new file mode 100644
index 00000000..59d01de2
--- /dev/null
+++ b/x11-misc/nvidia-prime/files/prime-run
@@ -0,0 +1,2 @@
+#!/bin/bash
+__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia "$@"