From 3b54f86b535735d22f2f18ec90a8c0c9ba508f6e Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sun, 28 Jan 2024 12:00:00 +0000 Subject: [PATCH] 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. --- dell/inspiron/5515/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dell/inspiron/5515/default.nix b/dell/inspiron/5515/default.nix index 5e1fa64..c2e8e31 100644 --- a/dell/inspiron/5515/default.nix +++ b/dell/inspiron/5515/default.nix @@ -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" ]; }