From 650f52140fd531b242b4ce942f8e57079fc295e1 Mon Sep 17 00:00:00 2001 From: krolyxon Date: Tue, 13 Jan 2026 20:44:06 +0530 Subject: make nvidia environment variables conditional --- .config/hypr/source/environment_variables.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to '.config/hypr') diff --git a/.config/hypr/source/environment_variables.conf b/.config/hypr/source/environment_variables.conf index 3c89ba7..6e64446 100644 --- a/.config/hypr/source/environment_variables.conf +++ b/.config/hypr/source/environment_variables.conf @@ -15,8 +15,11 @@ env = QT_QPA_PLATFORM,wayland;xcb # Qt: Use Wayland if available, fall back to env = SDL_VIDEODRIVER,Wayland # Run SDL2 applications on Wayland. Remove or set to x11 if games that provide older versions of SDL cause compatibility issues env = CLUTTER_BACKEND,wayland # Clutter applications to try and use the Wayland backend -# Nvidia -# env = GBM_BACKEND,nvidia-drm +# Force NVIDIA as primary GPU +# env = __NV_PRIME_RENDER_OFFLOAD,1 # env = __GLX_VENDOR_LIBRARY_NAME,nvidia +# env = __VK_LAYER_NV_optimus,NVIDIA_only +# env = GBM_BACKEND,nvidia-drm +# env = WLR_NO_HARDWARE_CURSORS,1 # env = LIBVA_DRIVER_NAME,nvidia -- cgit v1.2.3