diff options
| author | Grisha Shipunov | 2025-01-05 23:42:40 +0100 |
|---|---|---|
| committer | Grisha Shipunov | 2025-01-05 23:43:42 +0100 |
| commit | ee3c877d5bc320dbffe02547ccbac7a7f7f1cd8a (patch) | |
| tree | b9aa923e7a0339a35f4815a4c401d01ce535118d /hosts/toaster/amd.nix | |
| parent | 5b8fa1a5e8f95e2a442dd8b78d31600037e907f6 (diff) | |
amdgpu: never buy amd laptop ever again
Diffstat (limited to 'hosts/toaster/amd.nix')
| -rw-r--r-- | hosts/toaster/amd.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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 |
