Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Black screen UEFI only if SecureBoot is enabled.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gentoo-k19
n00b
n00b


Joined: 03 Jul 2020
Posts: 4

PostPosted: Fri Jul 03, 2020 1:06 am    Post subject: Black screen UEFI only if SecureBoot is enabled. Reply with quote

Hello,
I've followed Sakaki's guide
(https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide)

I can definatly boot into the system when Secure Boot is DISABLED in the BIOS.
When it is enabled, I see black screen on the laptop, BUT if I have external monitor(s) connected I see proper output (asking for passphrase and so on.....) on the monitors (laptop screen stays blank), also back light on the screen is enabled , just no output.
I run Gentoo on Dual Videocard Laptop (Intel and NVIDIA), i belive few years back I somewhow soft disabled the Intel card.
AFAIK I've build in (not modules) support for both intel and nvidia cards in kernel.

I'm fairly new in desktop linux (I used it some time back) saying that, please let me know if you require more logs.

(dmesg) https://pastebin.com/ayMv8P48
(emerge --info) https://pastebin.com/2r89Er7B
(lspci) https://pastebin.com/GjU14hL5
Back to top
View user's profile Send private message
joanandk
Apprentice
Apprentice


Joined: 12 Feb 2017
Posts: 169

PostPosted: Fri Jul 03, 2020 4:17 am    Post subject: Re: Black screen UEFI only if SecureBoot is enabled. Reply with quote

gentoo-k19 wrote:
... please let me know if you require more logs.

(dmesg) https://pastebin.com/ayMv8P48


Hi,
Did you compare the dmesg of secure boot disabled and dmesg of secure boot enabled? There might be a hint in there.

Please send us the dmesg with secure boot.

BR
Back to top
View user's profile Send private message
gentoo-k19
n00b
n00b


Joined: 03 Jul 2020
Posts: 4

PostPosted: Fri Jul 03, 2020 5:33 am    Post subject: Reply with quote

Here is dmesg with secure boot
https://pastebin.com/EjnPpj4h

Right now i do not have external monitor (and unfortunately i will not have access to one for a while) so running some of these command completely blind might present a challenge.

I removed timestamps and diff both msg's , to my untrained eye , there were no major differences.
Back to top
View user's profile Send private message
poe_1957
Apprentice
Apprentice


Joined: 26 Sep 2018
Posts: 192
Location: Mortsel

PostPosted: Sun Jul 05, 2020 11:24 am    Post subject: Reply with quote

Do you have any cpufrequency governers active ? (ondemand, conservative, performance,...).
There are issues with it. And you do not see it. (freezes... )
That's why I consider 5.4.38 not stable. in >=5.5.8 it is solved. But Gentoo is not so far.
_________________
Linuxpioneer
ALUG
Back to top
View user's profile Send private message
gentoo-k19
n00b
n00b


Joined: 03 Jul 2020
Posts: 4

PostPosted: Sun Jul 05, 2020 9:55 pm    Post subject: Reply with quote

poe_1957 wrote:
Do you have any cpufrequency governers active ? (ondemand, conservative, performance,...).
There are issues with it. And you do not see it. (freezes... )
That's why I consider 5.4.38 not stable. in >=5.5.8 it is solved. But Gentoo is not so far.


No, nothing outside defaults. Do notice, computer is not frozen, it responds on input and shows output on external screens (if present) just the builtin laptop screen is the one that is back lit but black.
Back to top
View user's profile Send private message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Mon Jul 06, 2020 7:17 am    Post subject: Reply with quote

Did you delete any of the pre-installed secure boot keys? You need to keep one
of the 2 microsoft keys in the secure boot db, because it is used to authenticate
the UEFI video bios when secure boot is on. I ran into the same issue a few years
ago, just reload the factory keys in uefi setup, replace the PK and KEK with
your keys, and _append_ your db key to DB.
Back to top
View user's profile Send private message
gentoo-k19
n00b
n00b


Joined: 03 Jul 2020
Posts: 4

PostPosted: Mon Jul 06, 2020 3:19 pm    Post subject: Reply with quote

roarinelk wrote:
..... You need to keep one
of the 2 microsoft keys in the secure boot db, because it is used to authenticate
the UEFI video bios when secure boot is on. ......


Would that present same issue (black sceen) on windows too ?
If yes ,
then this is not my case, I have windows 10 instalation on a separate media.
Win10 boots with full video in secure mode.


I will read and follow
https://wiki.gentoo.org/wiki/Sakaki%27s_EFI_Install_Guide/Configuring_Secure_Boot_under_OpenRC
and see if the keys are the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum