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 0ed1b11..a4117de 100644 --- a/systems/x86_64-linux/drivebystation-nix/hardware/graphics/intel.nix +++ b/systems/x86_64-linux/drivebystation-nix/hardware/graphics/intel.nix @@ -38,6 +38,7 @@ vpl-gpu-rt # oneVPL runtime intel-vaapi-driver # fallback intel-compute-runtime # OpenCL/Level Zero + level-zero # Level Zero API for compute ]; }; @@ -66,6 +67,11 @@ # DXVK optimizations DXVK_HUD = "compiler"; # Monitor shader compilation # DXVK_ASYNC = "1"; # Enable if you want async shader compilation (may cause issues) + + # Intel IPEX / PyTorch settings + ZE_ENABLE_ALT_DRIVERS = "libze_intel_gpu.so.1"; # Enable Intel GPU driver for Level Zero + SYCL_CACHE_PERSISTENT = "1"; # Enable persistent SYCL cache + SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS = "1"; # Performance optimization }; @@ -103,4 +109,15 @@ ## User Access ############################ users.users.andreas.extraGroups = [ "video" "render" ]; + + ############################ + ## System Packages for AI/ML + ############################ + environment.systemPackages = with pkgs; [ + intel-compute-runtime + level-zero + # For checking GPU compute capabilities + clinfo + vulkan-tools + ]; }