mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
Add NVIDIA hybrid graphics configuration for nymph (PRIME offload, GRUB params, power management, prime-run wrapper)
This commit is contained in:
5
dotfiles/nymph/.local/bin/prime-run
Normal file
5
dotfiles/nymph/.local/bin/prime-run
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# Wrapper to launch applications with NVIDIA PRIME offload
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
exec "$@"
|
||||
Reference in New Issue
Block a user