ec00ae50e1
Building the DKMS module was failing due to a missing header. Patch taken from Arch Linux, should be fixed in the next release. prime-run script to run applications using PRIME Offload.
5 lines
136 B
Bash
5 lines
136 B
Bash
#!/bin/sh
|
|
export __NV_PRIME_RENDER_OFFLOAD=1
|
|
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
|
export __VK_LAYER_NV_optimus=NVIDIA_only
|
|
exec "$@"
|