From 271658bf4de678a183aa4cda4881b5f37471ef09 Mon Sep 17 00:00:00 2001 From: Andreas Schaafsma Date: Thu, 12 Feb 2026 20:16:32 +0100 Subject: [PATCH] further tweaks --- .../drivebystation-nix/hardware/graphics/intel.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/systems/x86_64-linux/drivebystation-nix/hardware/graphics/intel.nix b/systems/x86_64-linux/drivebystation-nix/hardware/graphics/intel.nix index cd4ce44..2f86076 100644 --- a/systems/x86_64-linux/drivebystation-nix/hardware/graphics/intel.nix +++ b/systems/x86_64-linux/drivebystation-nix/hardware/graphics/intel.nix @@ -53,7 +53,19 @@ ]; environment.variables = { + # Force Intel GPU for all graphics operations KWIN_DRM_DEVICES = "/dev/dri/card0"; + + # Vulkan/DXVK optimizations for B580 + ANV_ENABLE_PIPELINE_CACHE = "1"; + + # Shader cache settings + MESA_SHADER_CACHE_DISABLE = "false"; + MESA_SHADER_CACHE_MAX_SIZE = "10G"; + + # DXVK optimizations + DXVK_HUD = "compiler"; # Monitor shader compilation + # DXVK_ASYNC = "1"; # Enable if you want async shader compilation (may cause issues) };