From ee3c877d5bc320dbffe02547ccbac7a7f7f1cd8a Mon Sep 17 00:00:00 2001 From: Grisha Shipunov Date: Sun, 5 Jan 2025 23:42:40 +0100 Subject: amdgpu: never buy amd laptop ever again --- hosts/toaster/amd.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'hosts/toaster/amd.nix') diff --git a/hosts/toaster/amd.nix b/hosts/toaster/amd.nix index 667fda1..54872a0 100644 --- a/hosts/toaster/amd.nix +++ b/hosts/toaster/amd.nix @@ -1,6 +1,13 @@ { pkgs, config, ... }: { boot.initrd.kernelModules = [ "amdgpu" ]; + boot.kernelParams = [ + # use new amd pstate driver + "amd_pstate=active" + # try to fix weird flickering + "amdgpu.sg_display=0" + ]; + # hardware.graphics = { # extraPackages = with pkgs; [ # rocm-opencl-icd -- cgit v1.3.1