amdgpu: never buy amd laptop ever again

This commit is contained in:
Grisha Shipunov 2025-01-05 23:42:40 +01:00
parent 5b8fa1a5e8
commit ee3c877d5b
3 changed files with 7 additions and 6 deletions

View file

@ -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