mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-23 10:09:44 +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:
parent
83ce5906a5
commit
3b54f86b53
1 changed files with 4 additions and 0 deletions
|
@ -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" ];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue