From 4a43774913a421cf6c8d1916d557efbc0b57aded Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Sat, 20 Jan 2024 01:51:15 +0100 Subject: [PATCH] host framenix: apply workaround against amdgpu issue --- hosts/framenix/default.nix | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/hosts/framenix/default.nix b/hosts/framenix/default.nix index aadb17f..121c298 100644 --- a/hosts/framenix/default.nix +++ b/hosts/framenix/default.nix @@ -13,12 +13,12 @@ in networking.hostName = "framenix"; # Define your hostname. - # try newer kernels - boot.kernelPackages = pkgs.linuxPackages_latest; - # use newer linux-firmware from unstable hardware.firmware = lib.mkBefore [ unstable.linux-firmware ]; + # try newer kernels + boot.kernelPackages = pkgs.linuxPackages_latest; + boot.loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; @@ -49,6 +49,12 @@ in # I do not need fingerprint reading services.fprintd.enable = false; - environment.systemPackages = [ pkgs.radeontop ]; + environment.systemPackages = [ + pkgs.radeontop + pkgs.framework-tool + ]; + + # temporary workaround for graphics flicker-artifact issues: + boot.kernelParams = [ "amdgpu.sg_display=0" ]; }