From owner-freebsd-current@freebsd.org  Sat Jan 16 12:41:02 2021
Return-Path: <owner-freebsd-current@freebsd.org>
Delivered-To: freebsd-current@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 005744DD7E3
 for <freebsd-current@mailman.nyi.freebsd.org>;
 Sat, 16 Jan 2021 12:41:02 +0000 (UTC)
 (envelope-from joh.hendriks@gmail.com)
Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com
 [IPv6:2a00:1450:4864:20::636])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4DHyMc6DN4z3m2v
 for <freebsd-current@freebsd.org>; Sat, 16 Jan 2021 12:41:00 +0000 (UTC)
 (envelope-from joh.hendriks@gmail.com)
Received: by mail-ej1-x636.google.com with SMTP id ke15so9463419ejc.12
 for <freebsd-current@freebsd.org>; Sat, 16 Jan 2021 04:41:00 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:from:to:references:message-id:date
 :user-agent:mime-version:in-reply-to:content-transfer-encoding
 :content-language;
 bh=SxQThBpaQkBUrJet5KjzwMEdPl22lSLDV9gQqU4I9sI=;
 b=F6/Zqwe7faaNMbhiyRnH9DoC2IdIVWK1j5IfCT6EtrV+GFP9e/SU0oDZJHJCAKNwYI
 oDpZ5YTwAewxEq/N4ac3TP4rpolY2Acgix9Pxjc9cUIKYEuO+qeA6rhwH82Ed6qp71Ir
 B7A4SwAlxI6OCjOZfjAhh97SnRK+u7mQxqiYX+3pdRtWDVmL8iWfpWSUQtkuUU4s9C/V
 93Tyof6VnBVEstEXyGfCVqk2M2JVx+wBjkq//36XR06N5axTTPBIwOEV76jTLh/yzwtB
 G06kP0lUGyVEIctZUthis2ncXesjVIwS4oufQuMU9X29CUElLWSbFrx8LC7DJJ9wuZe5
 EHWg==
X-Gm-Message-State: AOAM531F/mFBQGqGekrHyG4rqMDsBeheqfXb07kzGJJvTzE80cda2kTl
 OKqEMXl36UkFM8BBcR7lMTQ7IgH52tmXew==
X-Google-Smtp-Source: ABdhPJxoVvUqVc30yNyNbI4rDguuS8vJM13fMwXkQNg4yzDcihHPfhuMDvtP+drwKY2w8iSlx+bf7Q==
X-Received: by 2002:a17:906:259a:: with SMTP id
 m26mr12148202ejb.399.1610800858869; 
 Sat, 16 Jan 2021 04:40:58 -0800 (PST)
Received: from MacBook-Pro-van-Johan.local
 (85-147-130-226.cable.dynamic.v4.ziggo.nl. [85.147.130.226])
 by smtp.gmail.com with ESMTPSA id cc8sm7459387edb.17.2021.01.16.04.40.58
 for <freebsd-current@freebsd.org>
 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128);
 Sat, 16 Jan 2021 04:40:58 -0800 (PST)
Subject: Re: boot loader blank screen
From: Johan Hendriks <joh.hendriks@gmail.com>
To: freebsd-current@freebsd.org
References: <358513ba-699f-8af8-ed4e-a08fd1012db0@codenetworks.net>
 <F9A68339-4C8D-45C2-9B17-B432E122785F@me.com>
 <b49a7816-533c-67ed-d263-2551a2a04de8@gmail.com>
 <c8470083-b2f5-4df8-1aca-f21b8616e4b6@gmail.com>
Message-ID: <47aa1871-320b-f1ea-fd00-258a5d3649fe@gmail.com>
Date: Sat, 16 Jan 2021 13:40:56 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:78.0)
 Gecko/20100101 Thunderbird/78.6.1
MIME-Version: 1.0
In-Reply-To: <c8470083-b2f5-4df8-1aca-f21b8616e4b6@gmail.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Rspamd-Queue-Id: 4DHyMc6DN4z3m2v
X-Spamd-Bar: ++
X-Spamd-Result: default: False [2.80 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 R_SPF_ALLOW(0.00)[+ip6:2a00:1450:4000::/36:c];
 FREEMAIL_FROM(0.00)[gmail.com];
 URIBL_RED(3.50)[codenetworks.net:email]; TO_DN_NONE(0.00)[];
 RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+];
 DMARC_POLICY_ALLOW(0.00)[gmail.com,none];
 HAS_ANON_DOMAIN(0.10)[]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+];
 RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::636:from];
 FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US];
 TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim];
 ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.991];
 R_DKIM_ALLOW(0.00)[gmail.com:s=20161025];
 MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-0.80)[-0.804];
 MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1];
 SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::636:from:127.0.2.255];
 BAD_REP_POLICIES(0.10)[]; NEURAL_SPAM_SHORT(1.00)[0.999];
 RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::636:from];
 RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current]
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 16 Jan 2021 12:41:02 -0000

On 16/01/2021 12:21, Johan Hendriks wrote:
> On 15/01/2021 20:06, Johan Hendriks wrote:
>>
>> On 15/01/2021 14:51, Toomas Soome wrote:
>>> Could you please check latest current now?:)
>>>
>>> Thanks,
>>> Toomas
>>>
>>>> On 13. Jan 2021, at 20:13, Santiago Martinez <sm@codenetworks.net> 
>>>> wrote:
>>>>
>>>> Hi, +1 on this, i still have issue on a supermicro.
>>>>
>>>> Santi
>>>>
>>>>> On 1/8/21 8:11 PM, John Kennedy wrote:
>>>>>> On Wed, Jan 06, 2021 at 02:19:12PM -0800, John Kennedy wrote:
>>>>>>   I saw your commit of 99870c70bac7 (loader: rewrite 
>>>>>> vidc_install_font),
>>>>>> 31c2bcad7e44 (loader: remove left over call to unsetenv()), and 
>>>>>> belatedly
>>>>>> babda0952f8355a89b3241d5e8943c7da0fa4f6b (hw.vga.textmode -> 
>>>>>> screen.textmode).
>>>>>>
>>>>>>   Didn't fix the blank screen, and I thought the hw.vga.textmode 
>>>>>> workaround
>>>>>> had broken until I read that commit fully (will try it next reboot).
>>>>>>
>>>>>>   At main-c255633-g3efe9b3e77c3 right now (also past your 
>>>>>> f1829643c476.
>>>>>   At main-c255756-g40903394bf48, still no love for my system yet.  
>>>>> FYI,
>>>>> screen.textmode=0 continued to work around the issue, as expected.
>>>>>
>>>>> _______________________________________________
>>>>> freebsd-current@freebsd.org mailing list
>>>>> https://lists.freebsd.org/mailman/listinfo/freebsd-current
>>>>> To unsubscribe, send any mail to 
>>>>> "freebsd-current-unsubscribe@freebsd.org"
>>>>
>>>>
>> I found out my desktop pc that i updated today also has a blank screen.
>> In my case setting the following helps
>>
>> screen.textmode=1
>> vbe_max_resolution=800x600
>>
>> And thank you for that lovely boot screen and awesome font, very neat!
>>
>> My release is main-c255921-gec2700e01532: Wed Jan 13 12:32:28 CET 2021
>>
>> This is on a old intel core 2
>> Copyright (c) 1992-2021 The FreeBSD Project.
>> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>>     The Regents of the University of California. All rights reserved.
>> FreeBSD is a registered trademark of The FreeBSD Foundation.
>> FreeBSD 13.0-CURRENT #24 main-c255921-gec2700e01532: Wed Jan 13 
>> 12:32:28 CET 2021
>> root@srv-01.thuis.local:/usr/obj/usr/src/amd64.amd64/sys/KRNL amd64
>> FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git 
>> llvmorg-11.0.1-rc2-0-g43ff75f2c3f)
>> VT(vbefb): resolution 1280x1024
>> CPU: Intel(R) Core(TM)2 Duo CPU     E6550  @ 2.33GHz (2327.55-MHz 
>> K8-class CPU)
>>   Origin="GenuineIntel"  Id=0x6fb  Family=0x6  Model=0xf Stepping=11
>> Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> 
>>
>> Features2=0xe3fd<SSE3,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM> 
>>
>>   AMD Features=0x20100800<SYSCALL,NX,LM>
>>   AMD Features2=0x1<LAHF>
>>   VT-x: (disabled in BIOS) HLT,PAUSE
>>   TSC: P-state invariant, performance statistics
>>
>>
> I found out that i have this line in my /boot/loader.conf file.
> loader_logo="orb"
>
> if i leave that in, than only this setting works and only the text 
> based boot screen works.
> screen.textmode=1
>
> I then can not use the vbe_max_resolution="800x600" setting as i get 
> no screen (in the top it looks like i have some small consoles of 
> about 20 pixels high in all collors.)
> If i remover the loader_logo="orb" line, then i can use 
> vbe_max_resolution="800x600" and i see the console but only in 16 
> colors i think.
>
> I will rebuild to the current of this moment and see if the latest works.
>
I just did an update to FreeBSD jhost002.thuis.local 13.0-ALPHA1 FreeBSD 
13.0-ALPHA1 #26 main-c256002-gfe258f23ef36: Sat Jan 16 12:25:49 CET 2021 
root@srv-01.thuis.local:/usr/obj/usr/src/amd64.amd64/sys/KRNL amd64

For me all works now on my desktop pc.

With an empty /boot/loader.conf all is fine, it boots to the text based 
screen.
Setting vbe_max_resolution= resolution give me that beautiful boot page, 
thank you very much for that. I always get laugh about by my Linux 
colleages about the FreeBSD boot screen, those days are over ;-). Also 
the font for me is very pleasant to see.

Thank you for all your work on this.

regards Johan