mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-12-01 13:33:30 +01:00
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:
1 parent
83ce5906a5
commit
3b54f86b53
1 file changed
+4
@@ -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" ];
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user