From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id AGI3Av7BDWSYOgAASxT56A (envelope-from ) for ; Sun, 12 Mar 2023 13:13:50 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uFtAAf7BDWQMVQEAG6o9tA (envelope-from ) for ; Sun, 12 Mar 2023 13:13:50 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C91F12D09C for ; Sun, 12 Mar 2023 13:13:49 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pbKZz-0003U6-O4; Sun, 12 Mar 2023 08:13:35 -0400 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 1pbFx1-0001Kv-Uj for bug-guix@gnu.org; Sun, 12 Mar 2023 03:17:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pbFx1-0003CD-JF for bug-guix@gnu.org; Sun, 12 Mar 2023 03:17:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pbFx1-0001Hb-FJ for bug-guix@gnu.org; Sun, 12 Mar 2023 03:17:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#62141: Grub: set terminal_output earlier Resent-From: Emmanuel Beffara Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 12 Mar 2023 07:17:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62141 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 62141@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16786054214884 (code B ref -1); Sun, 12 Mar 2023 07:17:03 +0000 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 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-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 X-Mailman-Approved-At: Sun, 12 Mar 2023 08:13:34 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beffara.org header.s=gm1 header.b=O+f+nNBa; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1678623229; a=rsa-sha256; cv=none; b=CMfCMyQz818lrJ1VletIT1BKOVBOeasgPPkj4KLnpFaSvCU6kbI8duzkG28Fvs/gnjqpuz I9Ex7YzmwjN9GxFUQQv4zwkGgGRvLlsRsppE+Fl1NuXQzRXzXIa/koJ/XD8sD1niV+eqit Ba2DIOa9/HVc0+UySvPdGK5Bs7t2GgJTWjDVtw6TQmHOtESMfIwO9TXmEHGVAtffkCbZbN DNIIxWsaVhtMzTBIP8/VlOafNO9/A2SNGpsxFXgtmtokMVFkp5yKhbF7XIv/s4FgsNAl79 /PLrkyvwNw06bgu4rj3dLyJisXzYMsnNJn4qlHA6UPVDshOjUNg8dbPWtgnPSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1678623229; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=mAIe6NOTl2NREqeUh5p4YHBMX2hGuKs3zJwgPPT40CU=; b=EQzz2i2l0xTSkVnhkY8DXjQM5kqOZURl/eXnhMj8um/BUik5Xnp4DULd7u3efsBezerN8D T6KW1jCztuaPaxwwXiTWibLrugz8PyncMNaoSdw5rG2LuvTcbyujVZPjIY9onOAGtZQ5rY xzDgvvcbfGxKsAgYrfpZIXjvmmB/enEh68TttH+TH/EubpgrdyVEht2ncufcl0sAJgkG+C Xy9BjcxgFvZSGZmqR01X9LNNguygZvgsq18PCAA59qyYrTaRIuu60UUaIkmdgFvJT/4snP zNswGLSIJpP4fW09I5o8xFDSwy60q18vexfmEnb0rmmuP9Jx8RMnObf4pavZOg== X-Migadu-Spam-Score: -2.51 X-Spam-Score: -2.51 X-Migadu-Queue-Id: C91F12D09C X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=beffara.org header.s=gm1 header.b=O+f+nNBa; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=none X-TUID: NBX9xVF3DSON 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