From d3d95bf9306270af1ac0cf69f7812eb3ec0864ac Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 15 Oct 2025 14:54:31 -0400 Subject: [PATCH 1/4] Update flake.lock --- flake.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index cf47d56..b1f06f6 100644 --- a/flake.lock +++ b/flake.lock @@ -7,11 +7,11 @@ ] }, "locked": { - "lastModified": 1759337100, - "narHash": "sha256-CcT3QvZ74NGfM+lSOILcCEeU+SnqXRvl1XCRHenZ0Us=", + "lastModified": 1760462439, + "narHash": "sha256-bks3rTsKGlqehk4l7rViIg2lBnUsY6we22O+ecRZB/c=", "owner": "nix-community", "repo": "home-manager", - "rev": "004753ae6b04c4b18aa07192c1106800aaacf6c3", + "rev": "990e5ce6791ff1f497a61280a82eb66e3789e0e9", "type": "github" }, "original": { @@ -22,11 +22,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1759036355, - "narHash": "sha256-0m27AKv6ka+q270dw48KflE0LwQYrO7Fm4/2//KCVWg=", + "lastModified": 1760284886, + "narHash": "sha256-TK9Kr0BYBQ/1P5kAsnNQhmWWKgmZXwUQr4ZMjCzWf2c=", "owner": "nixos", "repo": "nixpkgs", - "rev": "e9f00bd893984bc8ce46c895c3bf7cac95331127", + "rev": "cf3f5c4def3c7b5f1fc012b3d839575dbe552d43", "type": "github" }, "original": { From 4b43add3b9d1e5a91f78fb40809f5ee8da150f69 Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 15 Oct 2025 14:55:31 -0400 Subject: [PATCH 2/4] Add h264 client ...still hasn't fixed RDP white-screen from Archie --- hosts/default/configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 2f9bb81..42a8d27 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -237,6 +237,7 @@ in # $ nix search wget environment.systemPackages = with pkgs; [ freerdp # connect to KDE remotely w/RDP instead (KDE 6.1 servers)...seems it's still an xwindows client that's most tested. 🤮 + openh264 # rather, this is the client library dos2unix # convert file line endings dnsmasq # temporarily allowed for connection sharing ansible # automation/software-defined-configuration tool From 3f3eef5f281c0592080c7f21592bf6f120e2a42f Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 15 Oct 2025 14:56:09 -0400 Subject: [PATCH 3/4] Replace deprecated AMDVLK Defaults to RADV --- hosts/default/configuration.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 42a8d27..564b37c 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -384,7 +384,7 @@ in #services.rustdesk-server.openFirewall = false; # RX 6700 XT setup hardware.graphics.extraPackages = [ - pkgs.amdvlk + #pkgs.amdvlk - replaced by RADV (enabled by default) pkgs.libcap pkgs.libva pkgs.mesa @@ -398,11 +398,13 @@ in #pkgs.rocmPackages.rocm-device-libs #pkgs.rocmPackages.rpp ]; + hardware.graphics.enable = true; + hardware.graphics.enable32Bit = true; # To enable Vulkan support for 32-bit applications, also add: - hardware.graphics.extraPackages32 = [ - pkgs.driversi686Linux.amdvlk - ]; + #hardware.graphics.extraPackages32 = [ + # pkgs.driversi686Linux.amdvlk - replaced by RADV..hopefully also 32-bit enabled by default. + #]; hardware.amdgpu.opencl.enable = true; From b032bbfabb2b18b10682a99d6a5a02198973dd8c Mon Sep 17 00:00:00 2001 From: "Chris (wolcen) Thompson" Date: Wed, 15 Oct 2025 14:56:46 -0400 Subject: [PATCH 4/4] Fix current issues compiling hipblaslt ...disables GPU acceleration, but better than running out of ram when it fails to build --- hosts/default/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/default/configuration.nix b/hosts/default/configuration.nix index 564b37c..4328e00 100644 --- a/hosts/default/configuration.nix +++ b/hosts/default/configuration.nix @@ -388,7 +388,7 @@ in pkgs.libcap pkgs.libva pkgs.mesa - pkgs.rocmPackages.clr.icd + #pkgs.rocmPackages.clr.icd ...no idea if this is causing the rocm-related build fail. #pkgs.pcre2 #pkgs.libselinux #pkgs.rocmPackages.rocblas @@ -410,7 +410,7 @@ in services.ollama = { enable = true; - acceleration = "rocm"; + #acceleration = "rocm"; hipblaslt not compiling at present environmentVariables = { HCC_AMDGPU_TARGET = "gfx1031"; # used to be necessary, but doesn't seem to anymore OLLAMA_LOAD_TIMEOUT = "2m"; # Reduce load timeout (from 5 min)...if it's that big, forget it.