diff options
Diffstat (limited to 'x11-misc/nvidia-prime/files')
-rw-r--r-- | x11-misc/nvidia-prime/files/nvidia-prime.conf | 4 | ||||
-rw-r--r-- | x11-misc/nvidia-prime/files/prime-run | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/x11-misc/nvidia-prime/files/nvidia-prime.conf b/x11-misc/nvidia-prime/files/nvidia-prime.conf new file mode 100644 index 00000000..71b45ddf --- /dev/null +++ b/x11-misc/nvidia-prime/files/nvidia-prime.conf @@ -0,0 +1,4 @@ +Section "ServerLayout" + Identifier "layout" + Option "AllowNVIDIAGPUScreens" +EndSection 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 "$@" |