dell inspiron 5515: add early kms

since the update to 23.11, the screen would remain black frequently on
boot. Pressing alt+sysrq+k would make the display manager start.
Empirically, setting early kms up has solved the issue.
This commit is contained in:
Guillaume Girol 2024-01-28 12:00:00 +00:00 committed by mergify[bot]
parent 83ce5906a5
commit 3b54f86b53

View file

@ -29,5 +29,9 @@
# https://bbs.archlinux.org/viewtopic.php?id=266108 says linux >= 5.12 required
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") pkgs.linuxPackages_latest;
# sometimes boots to a black screen, and pressing alt+sysrq+k makes the
# display manager start
# fixed by early kernel modesetting
boot.initrd.kernelModules = [ "amdgpu" ];
}