From 46fe13725b071037b86814532bbebbb6e2cf366a Mon Sep 17 00:00:00 2001 From: "Henry J. Webster" Date: Thu, 30 Jul 2026 15:40:30 -0500 Subject: enzo: early-KMS amdgpu so greeter uses the console font Load amdgpu in the initrd so the native mode is set before the console font is applied. Previously amdgpu loaded late and reset the fbcon to the kernel 8x16 font, leaving the greeter with the wrong tiny font while Terminus only survived in the pre-driver LUKS prompt. Assisted-by: Claude:claude-opus-4-8 --- machines/enzo/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'machines') diff --git a/machines/enzo/default.nix b/machines/enzo/default.nix index e4b86c9..0e9d6e4 100644 --- a/machines/enzo/default.nix +++ b/machines/enzo/default.nix @@ -91,8 +91,12 @@ hardware.acpilight.enable = true; environment.systemPackages = [ pkgs.brightnessctl ]; - # --- GPU --- - # TODO: adjust for the laptop's actual GPU once known. For an Intel iGPU add - # intel-media-driver to hardware.graphics.extraPackages; for a discrete AMD - # GPU you may want ROCm as in machines/kusanagi/default.nix. + # --- GPU (AMD integrated) --- + # Load amdgpu in the initrd (early KMS) so the native mode is set before the + # console font is applied. Otherwise amdgpu loads late, resets the fbcon to + # the kernel's 8x16 font, and the greeter shows the wrong (tiny) font while + # the Terminus font only survives in the pre-driver LUKS prompt. + # (Merges with the dm-snapshot entry in hardware-configuration.nix. If the + # driver check shows `radeon` instead of `amdgpu`, swap the name.) + boot.initrd.kernelModules = [ "amdgpu" ]; } -- cgit v1.3