From unknown Mon Jun 23 13:12:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62141 <62141@debbugs.gnu.org> To: bug#62141 <62141@debbugs.gnu.org> Subject: Status: Grub: set terminal_output earlier Reply-To: bug#62141 <62141@debbugs.gnu.org> Date: Mon, 23 Jun 2025 20:12:13 +0000 retitle 62141 Grub: set terminal_output earlier reassign 62141 guix submitter 62141 Emmanuel Beffara severity 62141 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 12 03:17:01 2023 Received: (at submit) by debbugs.gnu.org; 12 Mar 2023 07:17:01 +0000 Received: from localhost ([127.0.0.1]:59016 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pbFwy-0001Gb-Q5 for submit@debbugs.gnu.org; Sun, 12 Mar 2023 03:17:01 -0400 Received: from lists.gnu.org ([209.51.188.17]:37400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pb4A0-0004xx-0H for submit@debbugs.gnu.org; Sat, 11 Mar 2023 13:41:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb49z-000634-Nm for bug-guix@gnu.org; Sat, 11 Mar 2023 13:41:39 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pb49x-000559-Ed for bug-guix@gnu.org; Sat, 11 Mar 2023 13:41:39 -0500 Received: (Authenticated sender: manu@beffara.org) by mail.gandi.net (Postfix) with ESMTPSA id 1D18BE0004 for ; Sat, 11 Mar 2023 18:41:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beffara.org; s=gm1; t=1678560094; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: references:references; bh=mAIe6NOTl2NREqeUh5p4YHBMX2hGuKs3zJwgPPT40CU=; b=O+f+nNBaATpnicdOkkF5cHySqyxMajVdDtT/RYUDKqdwZEXwyZyoJ2qSqZ9yEOl++JQpXd qi1Ox/4PZfE5WhLYQ6nnP8jNUCb3SADwZR/Quexnbj8I76kR0q0hkOhBPBqK7eUlTQheCO O1/Qga4ejm86WPBrNaW3ZpDmlmmADJFV5ydUi4NncqLnKKn5QXcJb3OGtDzn3euuwdlAGd w5M4agzdRPDFOHCX4nD9HVTgiICNYRNSUm46Ge0ZHBWOi0TEqZK5P8d815Gf4V6YMGfJ5B 1LXWNa3UnUuZhhCtUNAutsPSQbib6z8Re2L66LOy6BF5jc44cSFg5lFvdtJtUg== Date: Sat, 11 Mar 2023 19:41:30 +0100 Message-ID: <20230311194130.GI20567@beffara.org> From: Emmanuel Beffara To: bug-guix@gnu.org Subject: Grub: set terminal_output earlier References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Received-SPF: none client-ip=2001:4b98:dc4:8::224; envelope-from=manu@beffara.org; helo=relay4-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 12 Mar 2023 03:16:56 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello Guix, In the generated `grub.cfg`, it would be an improvement to set the `terminal_output` before any user input is required by Grub, for proper interaction. In my case, the laptop has a HiDPI display and Grub starts with a graphical terminal in 3840x2160 resolution with extremely small characters. Then it asks for the LUKS passphrase (I use full-system encryption) before setting the output mode specified in the configuration. Not only is it unreadable, but Grub is also known to be particularly slow with high resolutions [1], which makes interaction painful, in case some emergency prompt happens (which it does in the current state of things, cf. other bug reports). [1] https://askubuntu.com/questions/1227735/grub-is-extremely-slow-1-second-per-key-input My current method is to edit `grub.cfg` by hand after each `guix system reconfigure` to move the lines between `if loadfont unicode; then` and `terminal_output gfxterm` at the beginning, but this is not a viable solution. -- Emmanuel