From 67418f037a51af759b5c48d1b4d011faf7de0ecc Mon Sep 17 00:00:00 2001 From: Hermes Date: Tue, 9 Jun 2026 22:44:45 -0400 Subject: [PATCH] Rex timing: remove vc4/panel_cwu50 from boot.kernelModules too MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Let udev auto-load display modules when RP1 PCIe southbridge appears on the bus (~12s). This is exactly how Rex's Debian image works — no forced loading in initrd or stage-2. - boot.initrd.kernelModules: only ocp8178_bl (backlight only) - boot.kernelModules: no display modules (udev handles it) - SDDM disabled (Hyprland kept for manual start) --- hosts/uConsole/configuration.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/hosts/uConsole/configuration.nix b/hosts/uConsole/configuration.nix index 6fc60e9..7767c06 100755 --- a/hosts/uConsole/configuration.nix +++ b/hosts/uConsole/configuration.nix @@ -181,16 +181,13 @@ in "rtl8xxxu" # RTL8188/8192/8723 USB WiFi "rtl2832_sdr" # RTL-SDR kernel module "dvb_usb_rtl28xxu" # RTL-SDR DVB-T - # CRITICAL: Load vc4 + panel_cwu50 AFTER RP1 PCIe init (~12s) - # Don't put them in initrd — RP1 southbridge isn't ready yet - "panel_cwu50" # uConsole display panel driver - "vc4" # VideoCore 4 KMS GPU driver ]; boot.blacklistedKernelModules = [ ]; - # Override nixos-uconsole initrd: don't load vc4/panel_cwu50 early - # (RP1 PCIe isn't ready yet — causes CRTC error) + # Rex-style: vc4/panel_cwu50 NOT loaded in initrd or forced + # udev auto-loads them when RP1 PCIe southbridge is ready (~12s) + # This avoids "Cannot find any crtc" from premature probe boot.initrd.kernelModules = lib.mkForce [ "ocp8178_bl" ]; # ============================================================