diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-01-04 20:45:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-01-04 20:45:44 +0000 |
commit | 499d79cec5d33b19330c43bbb4e4cedfb1e4e2e2 (patch) | |
tree | 989d6c6abfc5746069f92c564d4395531ea3171f /x11-misc/nvidia-prime/files | |
parent | a0b8a4a6131435f52b409c1565751f5c64051343 (diff) |
x11-misc/nvidia-prime : new package
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 "$@" |