Skip to content

Commit

Permalink
fix: disable efifb driver for generic and only xavier-nx som types
Browse files Browse the repository at this point in the history
  • Loading branch information
Princemachiavelli committed Mar 29, 2024
1 parent 2d25a65 commit 5f87466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ in

# Needed on Orin at least, but upstream has it for both
"nvidia.rm_firmware_active=all"
] ++ lib.optional (lib.hasPrefix "xavier-" cfg.som) "video=efifb:off"; # Disable efifb driver, which crashes Xavier AGX/NX
] ++ lib.optional (lib.hasPrefix "xavier-nx" cfg.som || cfg.som == "generic") "video=efifb:off"; # Disable efifb driver, which crashes Xavier NX

boot.initrd.includeDefaultModules = false; # Avoid a bunch of modules we may not get from tegra_defconfig
boot.initrd.availableKernelModules = [ "xhci-tegra" ]; # Make sure USB firmware makes it into initrd
Expand Down

0 comments on commit 5f87466

Please sign in to comment.