Krolyxon
Auto
Light
Dark
Summary
Tree
Log
Refs
Find
Commit
bcf3d26
Branches
master
Refs →
aurora
/
.local
/
bin
/
nvidia-run
9 lines · 210 B · Bourne Again Shell (bash)
Raw
Blame
History
Download
1
#!/usr/bin/env bash
2
3
export
__NV_PRIME_RENDER_OFFLOAD
=1
4
export
__GLX_VENDOR_LIBRARY_NAME
=nvidia
5
export
__VK_LAYER_NV_optimus
=NVIDIA_only
6
export
GBM_BACKEND
=nvidia-drm
7
export
LIBVA_DRIVER_NAME
=nvidia
8
9
exec
"$@"