mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 01:07:14 +08: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:
committed by
mergify[bot]
parent
83ce5906a5
commit
3b54f86b53
@@ -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