Received: from list by lists.gnu.org with archive (Exim 4.71) id 1Xez8S-0002rB-0A for mharc-grub-devel@gnu.org; Fri, 17 Oct 2014 00:27:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xez8J-0002pj-Sa for grub-devel@gnu.org; Fri, 17 Oct 2014 00:27:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xez8C-0004Wr-JJ for grub-devel@gnu.org; Fri, 17 Oct 2014 00:27:19 -0400 Received: from woodpecker.gentoo.org ([2001:470:ea4a:1:214:c2ff:fe64:b2d3]:36338 helo=smtp.gentoo.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xez8C-0004WC-Cc for grub-devel@gnu.org; Fri, 17 Oct 2014 00:27:12 -0400 Received: from naomi.gilbertsystems.net (d149-67-196-129.col.wideopenwest.com [67.149.129.196]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: floppym) by smtp.gentoo.org (Postfix) with ESMTPSA id 4BFC63402E6 for ; Fri, 17 Oct 2014 04:27:10 +0000 (UTC) From: Mike Gilbert To: grub-devel@gnu.org Subject: [PATCH] 10_linux: Default gfxpayload=keep only when booting using efi Date: Fri, 17 Oct 2014 00:27:06 -0400 Message-Id: <1413520026-16701-1-git-send-email-floppym@gentoo.org> X-Mailer: git-send-email 2.1.2 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 2001:470:ea4a:1:214:c2ff:fe64:b2d3 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Oct 2014 04:27:26 -0000 vesafb seems to be unreliable when using BIOS compat mode. --- On Gentoo Linux, we are getting frequent reports of a "black screen" after the Linux kernel has been loaded. Hopefully this will resolve it. ChangeLog | 5 +++++ util/grub.d/10_linux.in | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 190d19d..dff8342 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-10-17 Mike Gilbert + + * util/grub.d/10_linux.in: Default gfxpayload=keep only when booting + using efi. vesafb seems to be unreliable when using BIOS compat mode. + 2014-10-14 Andrei Borzenkov * grub-core/loader/arm/linux.c: Use full initializer for initrd_ctx to diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index d2e2a8f..a54b888 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -104,7 +104,9 @@ linux_entry () echo " load_video" | sed "s/^/$submenu_indentation/" if grep -qx "CONFIG_FB_EFI=y" "${config}" 2> /dev/null \ && grep -qx "CONFIG_VT_HW_CONSOLE_BINDING=y" "${config}" 2> /dev/null; then - echo " set gfxpayload=keep" | sed "s/^/$submenu_indentation/" + echo ' if [ "x$grub_platform" = xefi ]; then' | sed "s/^/$submenu_indentation/" + echo " set gfxpayload=keep" | sed "s/^/$submenu_indentation/" + echo ' fi' | sed "s/^/$submenu_indentation/" fi else if [ "x$GRUB_GFXPAYLOAD_LINUX" != xtext ]; then -- 2.1.2