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 authored and mergify[bot] committed 2024-02-01 10:08:38 +00:00
1 parent 83ce5906a5
commit 3b54f86b53
1 file changed
+4
+4
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" ];
}