1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-27 20:19:45 +01:00

16ach6h: re-enable edid for internal display only

This commit is contained in:
piousdeer 2024-03-18 22:10:15 +07:00
parent 968952f950
commit b081de56df
2 changed files with 4 additions and 3 deletions

View file

@ -10,7 +10,9 @@ in
{
hardware.firmware = [ chip_edid ];
boot.kernelParams = [ "drm.edid_firmware=edid/16ach6h.bin" ];
# For some reason, the internal display is sometimes eDP-1, and sometimes it's eDP-2
boot.kernelParams = [ "drm.edid_firmware=eDP-1:edid/16ach6h.bin,eDP-2:edid/16ach6h.bin" ];
# This fails at the moment, https://github.com/NixOS/nixos-hardware/issues/795
# Extra refresh rates seem to work regardless
# boot.initrd.extraFiles."lib/firmware/edid/16ach6h.bin".source = pkgs.runCommandLocal "chip_edid" { } "cp ${./16ach6h.bin} $out";

View file

@ -8,8 +8,7 @@
../../../../common/gpu/nvidia/prime.nix
../../../../common/pc/laptop
../../../../common/pc/laptop/ssd
# This seems to break extra monitor modes
# ../edid
../edid
];
# Still needs to load at some point if we want X11 to work