git.iko.soy/typeable/nixpkgs
on master help sign in
kernel-config: Enable FB_VESA and FRAMEBUFFER_CONSOLE

Commit 159fed47bc (nixos/grub: Fix video display on efi) changed BIOS systems to start in non-text mode as well. Enable FB_VESA to get a framebuffer console on BIOS systems. Change FRAMEBUFFER_CONSOLE to 'y' instead of the default 'm' to so the user doesn't need to manually load the fbcon module anymore. Other distros have similar defaults, at least on Arch: CONFIG_FB_VESA=y CONFIG_FRAMEBUFFER_CONSOLE=y and on Ubuntu (12.04): CONFIG_FB_VESA=m CONFIG_FRAMEBUFFER_CONSOLE=y Fixes #8139

commit9c2f2bc89334a0c824d83c0d50072580f77b365c authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> dateWed 3 Jun 2015, 23:43 (12 years ago) parent33a1b14
3 files changed+2−7
nixos/doc/manual/installation/installing-uefi.xml−4 nixos/modules/installer/cd-dvd/installation-cd-base.nix−3 pkgs/os-specific/linux/kernel/common-config.nix+2
nixos/doc/manual/installation/installing-uefi.xml−4
@@ -41,10 +41,6 @@ changes:
4141 <option>boot.loader.efi</option> and <option>boot.loader.gummiboot</option>
4242 as well.</para>
4343 </listitem>
44− <listitem>
45− <para>To see console messages during early boot, add <literal>"fbcon"</literal>
46− to your <option>boot.initrd.kernelModules</option>.</para>
47− </listitem>
4844</itemizedlist>
4945</para>
5046
nixos/modules/installer/cd-dvd/installation-cd-base.nix−3
@@ -42,9 +42,6 @@ with lib;
4242 # Add Memtest86+ to the CD.
4343 boot.loader.grub.memtest86.enable = true;
4444
45− # Get a console as soon as the initrd loads fbcon on EFI boot.
46− boot.initrd.kernelModules = [ "fbcon" ];
47−
4845 # Allow the user to log in as root without a password.
4946 users.extraUsers.root.initialHashedPassword = "";
5047}
pkgs/os-specific/linux/kernel/common-config.nix+2
@@ -131,6 +131,8 @@ with stdenv.lib;
131131 FB_SIS_300 y
132132 FB_SIS_315 y
133133 FB_3DFX_ACCEL y
134+ FB_VESA y
135+ FRAMEBUFFER_CONSOLE y
134136 ${optionalString (versionOlder version "3.9" || stdenv.system == "i686-linux") ''
135137 FB_GEODE y
136138 ''}