kernel: force amdgpu init on boot
Some checks failed
Build and Deploy / mreow (push) Successful in 1h38m1s
Build and Deploy / yarn (push) Successful in 1m2s
Build and Deploy / muffin (push) Failing after 28s

This commit is contained in:
2026-04-22 15:43:37 -04:00
parent 9ed48ce841
commit d5e6908899

View File

@@ -193,6 +193,14 @@
DRM_I915 = lib.mkForce no; DRM_I915 = lib.mkForce no;
DRM_XE = lib.mkForce no; DRM_XE = lib.mkForce no;
# early-boot framebuffer chain: drop every alternative to amdgpu so
# the console never transitions simpledrm -> dummy -> amdgpu (visible
# as a flash + scrolled dmesg). amdgpu owns the display from initrd
# onward; pre-amdgpu kernel output stays in the printk ring buffer.
DRM_SIMPLEDRM = lib.mkForce no;
FB_EFI = lib.mkForce no;
FB_VESA = lib.mkForce no;
# intel cpu / platform # intel cpu / platform
INTEL_IOMMU = lib.mkForce no; INTEL_IOMMU = lib.mkForce no;
INTEL_IDLE = lib.mkForce no; INTEL_IDLE = lib.mkForce no;
@@ -325,12 +333,12 @@
initrd = { initrd = {
systemd.enable = true; systemd.enable = true;
compressor = "zstd"; compressor = "zstd";
kernelModules = [ "amdgpu" ]; # own the display from initrd, no fbcon handoff
availableKernelModules = [ availableKernelModules = [
"xhci_pci" "xhci_pci"
"thunderbolt" "thunderbolt"
"nvme" "nvme"
"usbhid" "usbhid"
"amdgpu"
]; ];
}; };