Add NVIDIA hybrid graphics configuration for nymph (PRIME offload, GRUB params, power management, prime-run wrapper)

This commit is contained in:
Fabio Scotto di Santolo
2026-03-22 12:11:53 +01:00
parent 27cf182178
commit 40c81ea003
2 changed files with 60 additions and 0 deletions

View 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 "$@"