From 2b9b333f246d1a53b87bf50260297b6e65272721 Mon Sep 17 00:00:00 2001 From: Sergei Poljanski Date: Sat, 3 Oct 2026 21:35:52 +0400 Subject: [PATCH] boot: back to LTS kernel (6.18), NPU/FLM caveat documented Co-Authored-By: Claude Fable 5.1 --- modules/boot.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/modules/boot.nix b/modules/boot.nix index 0573e96..ff454fd 100644 --- a/modules/boot.nix +++ b/modules/boot.nix @@ -2,10 +2,13 @@ { config, pkgs, lib, ... }: { - # Kernel 7.x: the in-tree amdxdna driver on 6.18 is too old for FastFlowLM - # (flm validate: kernel_ok=false, and it loads NPU firmware 1.0.0.63 while - # FLM needs >=1.1.0.0 — the 7.x driver loads npu_7.sbin = 1.1.2.64 instead). - boot.kernelPackages = pkgs.linuxPackages_latest; + # LTS kernel (currently 6.18.x). + # CAVEAT: this breaks FastFlowLM NPU acceleration — the in-tree amdxdna driver + # on 6.18 is too old (flm validate: kernel_ok=false, and it loads NPU firmware + # 1.0.0.63 while FLM needs >=1.1.0.0; the 7.x driver loads npu_7.sbin = + # 1.1.2.64 instead). Switch back to pkgs.linuxPackages_latest if the NPU is + # needed again, until 1.1.x amdxdna lands in an LTS series. + boot.kernelPackages = pkgs.linuxPackages; # amdgpu GTT (dynamically shared system RAM the iGPU can address) raised to # 56 GiB. On kernel 6.18 `amdgpu.gttsize` is deprecated; TTM controls it in