Black screen in installer

  • Done
  • quality assurance status badge
Details
3 participants
  • Iku-Tulo Vilutar
  • pelzflorian (Florian Pelz)
  • Csepp
Owner
unassigned
Submitted by
Iku-Tulo Vilutar
Severity
normal
I
I
Iku-Tulo Vilutar wrote on 27 Aug 2023 20:40
(address . bug-guix@gnu.org)
CAG3y4grnFMjV5NVmWM+6RDHhruyVuTQtBCB3NuaYnGSscjj3xg@mail.gmail.com
Hello,

I'm trying to install Guix system on an i386 laptop. When the installer
should reach the GUI, only a black screen is displayed.

I tried to boot by editing Linux boot parameters in GRUB and set
`nomodeset` and removed `quiet`. Now without `quiet` I saw the following
messages before the black screen:

```
intelfb: Version 0.9.6
intelfb: Cannot reserve FB region
```

Then I tried `nomodeset video=uvesafb` Linux parameters and the GUI now
rendered. I don't know if these work as a global workaround for other
machines, should they be documented in the installation instructions?
Attachment: file
P
P
pelzflorian (Florian Pelz) wrote on 31 Aug 2023 12:52
(name . Iku-Tulo Vilutar)(address . ikutulovilutar@gmail.com)(address . 65572@debbugs.gnu.org)
87a5u7cwlh.fsf@pelzflorian.de
Hello Iku-Tulo, thank you for the report.

Vilutar <ikutulovilutar@gmail.com> writes:
Toggle quote (3 lines)
> intelfb: Version 0.9.6
> intelfb: Cannot reserve FB region

An unlikely guess: I have had problems with a black screen when using a
television as a screen. However this does not sound like it.

Toggle quote (4 lines)
> Then I tried `nomodeset video=uvesafb` Linux parameters and the GUI
> now rendered. I don't know if these work as a global workaround for
> other machines,

No, there have been reports that uvesafb does not work on every machine.

Toggle quote (3 lines)
> should they be documented in the installation
> instructions?

Yes, if we can give proper instructions. Perhaps the attached patch?

Regards,
Florian
From: Florian Pelz <pelzflorian@pelzflorian.de>
Date: Thu, 31 Aug 2023 12:44:55 +0200
Subject: [PATCH] doc: Describe black screen issue when booting the installer.

With suggestions by Iku-Tulo Vilutar <ikutulovilutar@gmail.com>.

* doc/guix.texi (System Installation): Add suggestion when
booting the installer fails with a black screen.
---
doc/guix.texi | 10 ++++++++++
1 file changed, 10 insertions(+)

Toggle diff (25 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index 04e5875925..5aeed7851d 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2402,6 +2402,16 @@ BIOS or UEFI boot menu, where you can choose to boot from the USB stick.
In order to boot from Libreboot, switch to the command mode by pressing
the @kbd{c} key and type @command{search_grub usb}.
+Sadly, on some machines, the installation medium cannot be properly
+booted and you only see a black screen after booting. This may
+indicate that your machine cannot run Guix System; perhaps you instead
+want to install Guix on a foreign distro (@pxref{Binary
+Installation}). If you are adventurous, a possible workaround is
+pressing the @kbd{e} key in the GRUB boot menu and appending
+@option{nomodeset video=uvesafb} to the Linux bootline. Sometimes the
+black screen issue can also be resolved by connecting a different
+display.
+
@xref{Installing Guix in a VM}, if, instead, you would like to install
Guix System in a virtual machine (VM).

base-commit: 299d0463d54c97b237deb2fe9e464108544344c0
--
2.41.0
I
I
Iku-Tulo Vilutar wrote on 31 Aug 2023 13:11
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 65572@debbugs.gnu.org)
CAG3y4go5eVfEy2bDh+panauBm-uYtiFrd9x1J=mQOKVmFdh++Q@mail.gmail.com
Looks good to me. Thank you.

On Thu, 31 Aug 2023 at 13:52, pelzflorian (Florian Pelz) <
pelzflorian@pelzflorian.de> wrote:

Toggle quote (24 lines)
> Hello Iku-Tulo, thank you for the report.
>
> Vilutar <ikutulovilutar@gmail.com> writes:
> > intelfb: Version 0.9.6
> > intelfb: Cannot reserve FB region
>
> An unlikely guess: I have had problems with a black screen when using a
> television as a screen. However this does not sound like it.
>
> > Then I tried `nomodeset video=uvesafb` Linux parameters and the GUI
> > now rendered. I don't know if these work as a global workaround for
> > other machines,
>
> No, there have been reports that uvesafb does not work on every machine.
>
> > should they be documented in the installation
> > instructions?
>
> Yes, if we can give proper instructions. Perhaps the attached patch?
>
> Regards,
> Florian
>
>
Attachment: file
F
F
Florian Pelz wrote on 31 Aug 2023 22:33
[PATCH v2] doc: Describe black screen issue when booting the installer.
(address . 65572@debbugs.gnu.org)(name . Florian Pelz)(address . pelzflorian@pelzflorian.de)
20230831204854.4074-1-pelzflorian@pelzflorian.de
With suggestions by Iku-Tulo Vilutar <ikutulovilutar@gmail.com>.

* doc/guix.texi (System Installation): Add suggestion when
booting the installer fails with a black screen.
---
Improved wording:
* added "after waiting for two minutes"

doc/guix.texi | 10 ++++++++++
1 file changed, 10 insertions(+)

Toggle diff (25 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index 04e5875925..fba9df1cce 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2402,6 +2402,16 @@ BIOS or UEFI boot menu, where you can choose to boot from the USB stick.
In order to boot from Libreboot, switch to the command mode by pressing
the @kbd{c} key and type @command{search_grub usb}.
+Sadly, on some machines, the installation medium cannot be properly
+booted and you only see a black screen after booting even after you
+waited for two minutes. This may indicate that your machine cannot run
+Guix System; perhaps you instead want to install Guix on a foreign
+distro (@pxref{Binary Installation}). If you are adventurous, a
+possible workaround is pressing the @kbd{e} key in the GRUB boot menu
+and appending @option{nomodeset video=uvesafb} to the Linux bootline.
+Sometimes the black screen issue can also be resolved by connecting a
+different display.
+
@xref{Installing Guix in a VM}, if, instead, you would like to install
Guix System in a virtual machine (VM).

base-commit: b51e45d3aaa8a85d39a8a4c3d18e8b57254aeaf2
--
2.41.0
P
P
pelzflorian (Florian Pelz) wrote on 31 Aug 2023 22:56
Re: bug#65572: Black screen in installer
(name . Iku-Tulo Vilutar)(address . ikutulovilutar@gmail.com)(address . 65572@debbugs.gnu.org)
87wmxb0w3a.fsf@pelzflorian.de
Hi Iku-Tulo, one more thing, could you confirm that `nomodeset` alone
without video=uvesafb really is not enough?

Regards,
Florian
I
I
Iku-Tulo Vilutar wrote on 1 Sep 2023 08:34
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)(address . 65572@debbugs.gnu.org)
CAG3y4gouan-Eubs9EneKCVEqmQEA9WvHRWg7UihB=TZ+qXQcnQ@mail.gmail.com
Actually, just `nomodeset` seems to work. Sometimes booting to GUI can take
up to 10 minutes, so it might be I gave up just trying `nomodeset`
previously and added `video=uvesafb` and re-tried.

On Thu, 31 Aug 2023 at 23:56, pelzflorian (Florian Pelz) <
pelzflorian@pelzflorian.de> wrote:

Toggle quote (6 lines)
> Hi Iku-Tulo, one more thing, could you confirm that `nomodeset` alone
> without video=uvesafb really is not enough?
>
> Regards,
> Florian
>
Attachment: file
F
F
Florian Pelz wrote on 1 Sep 2023 11:07
[PATCH v3] doc: Describe black screen issue when booting the installer.
(address . 65572@debbugs.gnu.org)
20230901090856.2468-1-pelzflorian@pelzflorian.de
With suggestions by Iku-Tulo Vilutar <ikutulovilutar@gmail.com>.

* doc/guix.texi (System Installation): Add suggestion when
booting the installer fails with a black screen.
---
changes:
- tell users to wait 10 minutes, not 2
- don't suggest video=uvesafb which is without effect
- more positive wording (don't give up just yet)

doc/guix.texi | 10 ++++++++++
1 file changed, 10 insertions(+)

Toggle diff (25 lines)
diff --git a/doc/guix.texi b/doc/guix.texi
index 04e5875925..464060f42c 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -2402,6 +2402,16 @@ BIOS or UEFI boot menu, where you can choose to boot from the USB stick.
In order to boot from Libreboot, switch to the command mode by pressing
the @kbd{c} key and type @command{search_grub usb}.
+Sadly, on some machines, the installation medium cannot be properly
+booted and you only see a black screen after booting even after you
+waited for ten minutes. This may indicate that your machine cannot run
+Guix System; perhaps you instead want to install Guix on a foreign
+distro (@pxref{Binary Installation}). But don't give up just yet; a
+possible workaround is pressing the @kbd{e} key in the GRUB boot menu
+and appending @option{nomodeset} to the Linux bootline.
+Sometimes the black screen issue can also be resolved by connecting a
+different display.
+
@xref{Installing Guix in a VM}, if, instead, you would like to install
Guix System in a virtual machine (VM).

base-commit: b51e45d3aaa8a85d39a8a4c3d18e8b57254aeaf2
--
2.41.0
C
C
Csepp wrote on 1 Sep 2023 14:28
(name . Florian Pelz)(address . pelzflorian@pelzflorian.de)
87pm32cbww.fsf@riseup.net
Florian Pelz <pelzflorian@pelzflorian.de> writes:

Toggle quote (15 lines)
> With suggestions by Iku-Tulo Vilutar <ikutulovilutar@gmail.com>.
> Fixes <https://issues.guix.gnu.org/65572>.
>
> * doc/guix.texi (System Installation): Add suggestion when
> booting the installer fails with a black screen.
> ---
> changes:
> - tell users to wait 10 minutes, not 2
> - don't suggest video=uvesafb which is without effect
> - more positive wording (don't give up just yet)
>
> doc/guix.texi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>

There was a thread about having a dedicated "safe video" option in the
GRUB menu, like a lot of distros do. I still think we should do that as
well, because having to edit the kernel boot arguments is much more
difficult, and because the user wouldn't have to go consult the manual
to know that there is such an option, it would be right in front of
them.
But of course documenting the workaround like this is the next best
thing.
P
P
pelzflorian (Florian Pelz) wrote on 2 Sep 2023 14:43
(address . 65572-done@debbugs.gnu.org)
87y1hon3tw.fsf@pelzflorian.de
Pushed as 2890114a708e3a54a14ceb762f0726b013ffdc85.

Csepp <raingloom@riseup.net> writes:
Toggle quote (3 lines)
> There was a thread about having a dedicated "safe video" option in the
> GRUB menu, like a lot of distros do. I still think we should do that

Yes, I agree. It would need a way to make a custom GRUB menu entry that
refers to a Guix System generation, and adding that feature is
complicated because it best worked for other non-GRUB bootloaders too.
If it were added, “safe video” could be described in the same place.

Regards,
Florian
C
C
Csepp wrote on 2 Sep 2023 15:13
(name . pelzflorian (Florian Pelz))(address . pelzflorian@pelzflorian.de)
877cp8vhni.fsf@riseup.net
"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:

Toggle quote (14 lines)
> Pushed as 2890114a708e3a54a14ceb762f0726b013ffdc85.
>
> Csepp <raingloom@riseup.net> writes:
>> There was a thread about having a dedicated "safe video" option in the
>> GRUB menu, like a lot of distros do. I still think we should do that
>
> Yes, I agree. It would need a way to make a custom GRUB menu entry that
> refers to a Guix System generation, and adding that feature is
> complicated because it best worked for other non-GRUB bootloaders too.
> If it were added, “safe video” could be described in the same place.
>
> Regards,
> Florian

I think we should just handle a (nested?) (a-)list of operating-system
objects. It would be useful for a lot of other use cases too. I for
one would like to have the option to boot my Thinkpad with libre
software by default but have the ability to use drivers from The
Forbidden Channel when I bring it to campus and need wifi.
Or to be able to choose a noPAE kernel on old machines. Or have both an
LTS kernel and the latest release, and maybe even a nightly build for
testing.
?
Your comment

This issue is archived.

To comment on this conversation send an email to 65572@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 65572
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch