Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888187 - sys-kernel/gentoo-kernel-bin-6.1.1 CONFIG_FB_EFI + FB_VESA is unset
Summary: sys-kernel/gentoo-kernel-bin-6.1.1 CONFIG_FB_EFI + FB_VESA is unset
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-24 19:35 UTC by shawnbon206
Modified: 2023-01-07 17:27 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,7.86 KB, text/plain)
2022-12-24 19:42 UTC, shawnbon206
Details

Note You need to log in before you can comment on or make changes to this bug.
Description shawnbon206 2022-12-24 19:35:28 UTC
When I upgraded to sys-kernel/gentoo-kernel-bin-6.1.1  suddenly I was unable to see the cryptsetup password prompt of dracut. If I enter in the password blindly  it will unlock, and continue booting. In other words I can't see anything except for the UEFI vendor logo until the DRM Framebuffer drivers kick in. 

I looked in the config and CONFIG_FB_EFI was not set, so as a test I built gentoo-kernel-6.1.1 with `CONFIG_FB_EFI=y` and now I can see the text from early framebuffer again.

Steps to reproduce from a clean stage 3:

1. emerge =sys-kernel/gentoo-kernel-bin-6.1.1
2. reboot and observe early framebuffer is not functioning


I can reproduce this on two machines, one based on MSI Z87-G45 motherboard, and the other is an 2020 Thinkpad T14s (Intel). Both using systemd-boot as a bootloader. On both systems CONFIG_FB_EFI=y resolves the issue.
Comment 1 shawnbon206 2022-12-24 19:42:48 UTC
Created attachment 844857 [details]
emerge --info

emerge --info
Comment 2 Ionen Wolkens gentoo-dev 2022-12-24 19:46:30 UTC
afaik fedora (which we use the configs from) disables FB_EFI in its more bleeding edge configs and keeps it in production for nvidia, but disabling entirely won't work with the changes from bug #840439 which also disabled DRM_SIMPLEDRM

I'd say we should just force enable it to be sure.
Comment 3 Ionen Wolkens gentoo-dev 2022-12-24 19:54:08 UTC
(In reply to Ionen Wolkens from comment #2)
> afaik fedora (which we use the configs from) disables FB_EFI in its more
> bleeding edge configs and keeps it in production for nvidia, but disabling
> entirely won't work with the changes from bug #840439 which also disabled
> DRM_SIMPLEDRM
> 
> I'd say we should just force enable it to be sure.
Uh, and FB_VESA for non-efi. They disable the entire FB subsystem in that version of the configs (I recall seeing that for early 6.0 configs too, not that I pay close attention to how they're handling these -- perhaps other notable differences).
Comment 4 Marco Scardovi (scardracs) 2023-01-05 19:19:05 UTC
I can reproduce the same issue on my Asus TUF Gaming B660M-Plus WiFi with a GTX1650.
Also same steps fix the issue (I actually have blind TTYs).
Comment 5 Sergey Okhapkin 2023-01-06 20:46:24 UTC
Same problem here (pure Intel graphics, no discrete cards). No kernel/initrd boot messages on the screen even if initrd starts interactive shell to fix some boot issues. CONFIG_FB_EFI/FB_VESA are a must have settings.
Comment 6 Marco Scardovi (scardracs) 2023-01-06 22:18:51 UTC
(In reply to Sergey Okhapkin from comment #5)
> Same problem here (pure Intel graphics, no discrete cards). No kernel/initrd
> boot messages on the screen even if initrd starts interactive shell to fix
> some boot issues. CONFIG_FB_EFI/FB_VESA are a must have settings.

If you have configured VIDEO_CARDS=“intel” in make.conf it should be enough as intel video driver (be sure to install Linux-firmware too) has TTY support, not present on nvidia-drivers
Comment 7 Sergey Okhapkin 2023-01-07 14:44:18 UTC
(In reply to Marco Scardovi (scardracs) from comment #6)
> If you have configured VIDEO_CARDS=“intel” in make.conf it should be enough
> as intel video driver (be sure to install Linux-firmware too) has TTY
> support, not present on nvidia-drivers

I have VIDEO_CARDS="intel i965 iris". But Intel video driver and firmware are not available during early kernel boot.
Comment 8 Larry the Git Cow gentoo-dev 2023-01-07 17:27:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2699d443df822bb54c82e7c6ab368e2b8716d6cd

commit 2699d443df822bb54c82e7c6ab368e2b8716d6cd
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-07 17:26:06 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-07 17:27:14 +0000

    sys-kernel/gentoo-kernel-bin: Bump to 6.1.4
    
    Closes: https://bugs.gentoo.org/888187
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-kernel/gentoo-kernel-bin/Manifest              |   6 +
 .../gentoo-kernel-bin-6.1.4.ebuild                 | 127 +++++++++++++++++++++
 2 files changed, 133 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c386b703d8454ed4ce1f574b29df0eb6a3d69c

commit f1c386b703d8454ed4ce1f574b29df0eb6a3d69c
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-07 15:08:17 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-07 17:27:10 +0000

    sys-kernel/gentoo-kernel: Bump to 6.1.4
    
    Closes: https://bugs.gentoo.org/888187
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-kernel/gentoo-kernel/Manifest                  |   3 +
 .../gentoo-kernel/gentoo-kernel-6.1.4.ebuild       | 137 +++++++++++++++++++++
 2 files changed, 140 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=636aa67cff060d76a14c706ef0a3298887de71fc

commit 636aa67cff060d76a14c706ef0a3298887de71fc
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2023-01-07 15:08:05 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2023-01-07 17:27:09 +0000

    sys-kernel/vanilla-kernel: Bump to 6.1.4
    
    Closes: https://bugs.gentoo.org/888187
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-kernel/vanilla-kernel/Manifest                 |   3 +
 .../vanilla-kernel/vanilla-kernel-6.1.4.ebuild     | 134 +++++++++++++++++++++
 2 files changed, 137 insertions(+)