Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2021 19:18:58 +0100
From:      Ruben van Staveren via freebsd-stable <freebsd-stable@freebsd.org>
To:        Ruben van Staveren via freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: No ConOut(Dev) on ASUS PRIME Z590M-PLUS UEFI
Message-ID:  <0205EEAE-BE01-4FB4-A05E-6CAE76AFABC4@verweg.com>
In-Reply-To: <84A8B82F-A466-44FD-B118-47F754878DD9@verweg.com>
References:  <84A8B82F-A466-44FD-B118-47F754878DD9@verweg.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail-CEECFC5E-1867-410C-A3D8-C20EA9C8FE20
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

Yes, this got the video console working again

Thanks!

> On 23 Dec 2021, at 12:44, Ruben van Staveren via freebsd-stable <freebsd-s=
table@freebsd.org> wrote:
>=20
> =EF=BB=BF
> Note to self and other people interested.
>=20
> Maybe =E2=80=9Cloader.efi: Do not use as frame buffer BLT-only GOPs=E2=80=9C=
 https://cgit.freebsd.org/src/commit/?id=3D76cbf786406311b7d89db0b725f9cd0c8=
90e54e4 is worth trying, going to check this out tonight (CET)
>=20
>>> On 19 Oct 2021, at 21:44, Ruben van Staveren <ruben@verweg.com> wrote:
>>>=20
>> =EF=BB=BFI=E2=80=99ve booted the systems with the FreeBSD 12 live usb sti=
ck and the Ubuntu 20.04 LTS desktop live usb.
>>=20
>> Both don=E2=80=99t show the required(???) ConOut/ConOutDev devices, preve=
nting FreeBSD 13 from doing anything graphical there and falling back to ser=
ial.
>>=20
>> It looks like the FreeBSD 12 loader tries vga textmode anyway in that cas=
e but support for that has been removed from the FreeBSD 13 loader.
>>=20
>> Does anyone more enlightened in UEFI has a clue wether this is a valid mo=
therboard behaviour?
>>=20
>>=20
>>> On 6 Oct 2021, at 15:17, Warner Losh <imp@bsdimp.com> wrote:
>>>=20
>>>=20
>>>=20
>>>> On Wed, Oct 6, 2021, 6:22 AM Tomoaki AOKI <junchoon@dec.sakura.ne.jp> w=
rote:
>>>> On Wed, 6 Oct 2021 10:59:55 +0200
>>>> Ruben van Staveren via freebsd-stable <freebsd-stable@freebsd.org>
>>>> wrote:
>>>>=20
>>>> >=20
>>>> >=20
>>>> > > On 6 Oct 2021, at 05:20, Warner Losh <imp@bsdimp.com> wrote:
>>>> > >=20
>>>> > > =E3=80=93
>>>> > >=20
>>>> > >=20
>>>> > >> On Tue, Oct 5, 2021, 12:17 PM Ruben van Staveren via freebsd-stabl=
e <freebsd-stable@freebsd.org> wrote:
>>>> > >>=20
>>>> > >=20
>>>> > >=20
>>>> > > Can you pipe this through '| carbs sudo efivar --devicepath' please=
?
>>>> >=20
>>>> > sudo efivar | grep -- -Con | carbs sudo efivar --device-path
>>>> > 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
>>>> > : PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x1,0x0),/PciRoot(0x0)/=
Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x3,0x0)
>>>> >=20
>>>> > 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
>>>> > : PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x1,0x0),/PciRoot(0x0)/=
Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x3,0x0)
>>>=20
>>>=20
>>> So two USB devices. I'm guessing that they are a keyboard and mouse.
>>>=20
>>> Warner
>>>=20
>>>> >=20
>>>> > > Warner=20
>>>> > >>=20
>>>> >=20
>>>> > I wonder if this has something to do with secure boot restrictions, t=
he documentation of that motherboard is quite heavy on it. This is disabled a=
s far as I know, as all SATA/NVMe storage is available. At first I thought t=
his might be due to the intel i9-11900T video not supported yet, but also wi=
th a GeForce GT 710 installed the video doesn=E2=80=99t work in UEFI mode.
>>>> >=20
>>>> > Best Regards,
>>>> >     Ruben
>>>>=20
>>>> Just a thought reading web page [1].
>>>> The motherbord actually uses just the same device path as ConIn, but
>>>> does NOT set ConOut and ConOutDev erroneously.
>>>> If so, we would need trying device path of conIn for ConOut, if not set=
.
>>>>=20
>>>>=20
>>>> [1]
>>>> https://edk2-docs.gitbook.io/edk-ii-uefi-driver-writer-s-guide/3_founda=
tion/readme.15/3157_conout
>>>>=20
>>>>=20
>>>> Just FYI, my ThinkPad P52 with nvidia GPU, UEFI boot is working,  shows=

>>>> output of `efivar | grep -- -Con | xargs efivar --device-path`
>>>>=20
>>>> 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev
>>>> : PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/AcpiAdr(0x80010100)
>>>>=20
>>>> 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev
>>>> : PciRoot(0x0)/Pci(0x1f,0x0)/Acpi(PNP0303,0x0)
>>>>=20
>>>> 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut
>>>> : PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/AcpiAdr(0x80010100)
>>>>=20
>>>> 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn
>>>> : PciRoot(0x0)/Pci(0x1f,
>>>> 0x0)/Acpi(PNP0303,0x0),/VenHw(87c8ba12-5952-4012-8297-dede395f5d5b),/Pc=
iRoot(0x0)/Pci(0x1f,
>>>> 0x0)/Acpi(PNP0f03,0x0),/VenHw(ea52f05f-ee81-45b7-807a-ceefbe9ba6c2),/Pc=
iRoot(0x0)/Pci(0x14,0x0)/USB(0x5,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x3,0x=
0)/USB(0x0,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x0,0x0)
>>>>=20
>>>>=20
>>>> --=20
>>>> Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>
>>=20

--Apple-Mail-CEECFC5E-1867-410C-A3D8-C20EA9C8FE20
Content-Type: multipart/related;
	type="text/html";
	boundary=Apple-Mail-138F3C5E-B81C-4311-99CB-28B17CBBA9A6
Content-Transfer-Encoding: 7bit


--Apple-Mail-138F3C5E-B81C-4311-99CB-28B17CBBA9A6
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div dir=3D"ltr"></div><div dir=3D"ltr">Yes=
, this got the video console working again</div><div dir=3D"ltr"><br></div><=
div dir=3D"ltr">Thanks!</div><div dir=3D"ltr"><br><blockquote type=3D"cite">=
On 23 Dec 2021, at 12:44, Ruben van Staveren via freebsd-stable &lt;freebsd-=
stable@freebsd.org&gt; wrote:<br><br></blockquote></div><blockquote type=3D"=
cite"><div dir=3D"ltr">=EF=BB=BF<meta http-equiv=3D"content-type" content=3D=
"text/html; charset=3Dutf-8"><div dir=3D"ltr"></div><div dir=3D"ltr">Note to=
 self and other people interested.</div><div dir=3D"ltr"><br></div><div dir=3D=
"ltr">Maybe =E2=80=9Cloader.efi: Do not use as frame buffer BLT-only GOPs=E2=
=80=9C&nbsp;<a href=3D"https://cgit.freebsd.org/src/commit/?id=3D76cbf786406=
311b7d89db0b725f9cd0c890e54e4">https://cgit.freebsd.org/src/commit/?id=3D76c=
bf786406311b7d89db0b725f9cd0c890e54e4</a>&nbsp;is worth trying, going to che=
ck this out tonight (CET)</div><div dir=3D"ltr"><br><blockquote type=3D"cite=
">On 19 Oct 2021, at 21:44, Ruben van Staveren &lt;ruben@verweg.com&gt; wrot=
e:<br><br></blockquote></div><blockquote type=3D"cite"><div dir=3D"ltr">=EF=BB=
=BF<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">=
I=E2=80=99ve booted the systems with the FreeBSD 12 live usb stick and the U=
buntu 20.04 LTS desktop live usb.<div class=3D""><br class=3D""></div><div c=
lass=3D"">Both don=E2=80=99t show the required(???) ConOut/ConOutDev devices=
, preventing FreeBSD 13 from doing anything graphical there and falling back=
 to serial.</div><div class=3D""><br class=3D""></div><div class=3D"">It loo=
ks like the FreeBSD 12 loader tries vga textmode anyway in that case but sup=
port for that has been removed from the FreeBSD 13 loader.</div><div class=3D=
""><br class=3D""></div><div class=3D"">Does anyone more enlightened in UEFI=
 has a clue wether this is a valid motherboard behaviour?</div><div class=3D=
""><br class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><=
div class=3D"">On 6 Oct 2021, at 15:17, Warner Losh &lt;<a href=3D"mailto:im=
p@bsdimp.com" class=3D"">imp@bsdimp.com</a>&gt; wrote:</div><br class=3D"App=
le-interchange-newline"><div class=3D""><meta charset=3D"UTF-8" class=3D""><=
div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica;=
 font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight=
: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-=
transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke=
-width: 0px; text-decoration: none;" class=3D""><div class=3D""><br class=3D=
""><br class=3D""><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail=
_attr">On Wed, Oct 6, 2021, 6:22 AM Tomoaki AOKI &lt;<a href=3D"mailto:junch=
oon@dec.sakura.ne.jp" class=3D"">junchoon@dec.sakura.ne.jp</a>&gt; wrote:<br=
 class=3D""></div><blockquote class=3D"gmail_quote" style=3D"margin: 0px 0px=
 0px 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-co=
lor: rgb(204, 204, 204); padding-left: 1ex;">On Wed, 6 Oct 2021 10:59:55 +02=
00<br class=3D"">Ruben van Staveren via freebsd-stable &lt;<a href=3D"mailto=
:freebsd-stable@freebsd.org" target=3D"_blank" rel=3D"noreferrer" class=3D""=
>freebsd-stable@freebsd.org</a>&gt;<br class=3D"">wrote:<br class=3D""><br c=
lass=3D"">&gt;<span class=3D"Apple-converted-space">&nbsp;</span><br class=3D=
"">&gt;<span class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">&gt=
; &gt; On 6 Oct 2021, at 05:20, Warner Losh &lt;<a href=3D"mailto:imp@bsdimp=
.com" target=3D"_blank" rel=3D"noreferrer" class=3D"">imp@bsdimp.com</a>&gt;=
 wrote:<br class=3D"">&gt; &gt;<span class=3D"Apple-converted-space">&nbsp;<=
/span><br class=3D"">&gt; &gt; =E3=80=93<br class=3D"">&gt; &gt;<span class=3D=
"Apple-converted-space">&nbsp;</span><br class=3D"">&gt; &gt;<span class=3D"=
Apple-converted-space">&nbsp;</span><br class=3D"">&gt; &gt;&gt; On Tue, Oct=
 5, 2021, 12:17 PM Ruben van Staveren via freebsd-stable &lt;<a href=3D"mail=
to:freebsd-stable@freebsd.org" target=3D"_blank" rel=3D"noreferrer" class=3D=
"">freebsd-stable@freebsd.org</a>&gt; wrote:<br class=3D"">&gt; &gt;&gt;<spa=
n class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">&gt; &gt;<span=
 class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">&gt; &gt;<span c=
lass=3D"Apple-converted-space">&nbsp;</span><br class=3D"">&gt; &gt; Can you=
 pipe this through '| carbs sudo efivar --devicepath' please?<br class=3D"">=
&gt;<span class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">&gt; s=
udo efivar | grep -- -Con | carbs sudo efivar --device-path<br class=3D"">&g=
t; 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn<br class=3D"">&gt; : PciRoot(0=
x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x1,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(=
0x1,0x0)/USB(0x3,0x0)<br class=3D"">&gt;<span class=3D"Apple-converted-space=
">&nbsp;</span><br class=3D"">&gt; 8be4df61-93ca-11d2-aa0d-00e098032b8c-ConI=
nDev<br class=3D"">&gt; : PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x1,0x=
0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x1,0x0)/USB(0x3,0x0)<br class=3D""></blo=
ckquote></div></div><div dir=3D"auto" class=3D""><br class=3D""></div><div d=
ir=3D"auto" class=3D"">So two USB devices. I'm guessing that they are a keyb=
oard and mouse.</div><div dir=3D"auto" class=3D""><br class=3D""></div><div d=
ir=3D"auto" class=3D"">Warner</div><div dir=3D"auto" class=3D""><br class=3D=
""></div><div dir=3D"auto" class=3D""><div class=3D"gmail_quote"><blockquote=
 class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; border-left-width=
: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padd=
ing-left: 1ex;">&gt;<span class=3D"Apple-converted-space">&nbsp;</span><br c=
lass=3D"">&gt; &gt; Warner<span class=3D"Apple-converted-space">&nbsp;</span=
><br class=3D"">&gt; &gt;&gt;<span class=3D"Apple-converted-space">&nbsp;</s=
pan><br class=3D"">&gt;<span class=3D"Apple-converted-space">&nbsp;</span><b=
r class=3D"">&gt; I wonder if this has something to do with secure boot rest=
rictions, the documentation of that motherboard is quite heavy on it. This i=
s disabled as far as I know, as all SATA/NVMe storage is available. At first=
 I thought this might be due to the intel i9-11900T video not supported yet,=
 but also with a GeForce GT 710 installed the video doesn=E2=80=99t work in U=
EFI mode.<br class=3D"">&gt;<span class=3D"Apple-converted-space">&nbsp;</sp=
an><br class=3D"">&gt; Best Regards,<br class=3D"">&gt;&nbsp; &nbsp; &nbsp;R=
uben<br class=3D""><br class=3D"">Just a thought reading web page [1].<br cl=
ass=3D"">The motherbord actually uses just the same device path as ConIn, bu=
t<br class=3D"">does NOT set ConOut and ConOutDev erroneously.<br class=3D""=
>If so, we would need trying device path of conIn for ConOut, if not set.<br=
 class=3D""><br class=3D""><br class=3D"">[1]<br class=3D""><a href=3D"https=
://edk2-docs.gitbook.io/edk-ii-uefi-driver-writer-s-guide/3_foundation/readm=
e.15/3157_conout" rel=3D"noreferrer noreferrer" target=3D"_blank" class=3D""=
>https://edk2-docs.gitbook.io/edk-ii-uefi-driver-writer-s-guide/3_foundation=
/readme.15/3157_conout</a><br class=3D""><br class=3D""><br class=3D"">Just =
FYI, my ThinkPad P52 with nvidia GPU, UEFI boot is working,&nbsp; shows<br c=
lass=3D"">output of `efivar | grep -- -Con | xargs efivar --device-path`<br c=
lass=3D""><br class=3D"">8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOutDev<br c=
lass=3D"">: PciRoot(0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/AcpiAdr(0x80010100)<br cl=
ass=3D""><br class=3D"">8be4df61-93ca-11d2-aa0d-00e098032b8c-ConInDev<br cla=
ss=3D"">: PciRoot(0x0)/Pci(0x1f,0x0)/Acpi(PNP0303,0x0)<br class=3D""><br cla=
ss=3D"">8be4df61-93ca-11d2-aa0d-00e098032b8c-ConOut<br class=3D"">: PciRoot(=
0x0)/Pci(0x1,0x0)/Pci(0x0,0x0)/AcpiAdr(0x80010100)<br class=3D""><br class=3D=
"">8be4df61-93ca-11d2-aa0d-00e098032b8c-ConIn<br class=3D"">: PciRoot(0x0)/P=
ci(0x1f,<br class=3D"">0x0)/Acpi(PNP0303,0x0),/VenHw(87c8ba12-5952-4012-8297=
-dede395f5d5b),/PciRoot(0x0)/Pci(0x1f,<br class=3D"">0x0)/Acpi(PNP0f03,0x0),=
/VenHw(ea52f05f-ee81-45b7-807a-ceefbe9ba6c2),/PciRoot(0x0)/Pci(0x14,0x0)/USB=
(0x5,0x0),/PciRoot(0x0)/Pci(0x14,0x0)/USB(0x3,0x0)/USB(0x0,0x0),/PciRoot(0x0=
)/Pci(0x14,0x0)/USB(0x0,0x0)<br class=3D""><br class=3D""><br class=3D"">--<=
span class=3D"Apple-converted-space">&nbsp;</span><br class=3D"">Tomoaki AOK=
I&nbsp; &nbsp; &lt;<a href=3D"mailto:junchoon@dec.sakura.ne.jp" target=3D"_b=
lank" rel=3D"noreferrer" class=3D"">junchoon@dec.sakura.ne.jp</a>&gt;</block=
quote></div></div></div></div></blockquote></div><br class=3D""></div></div>=
</blockquote></div></blockquote></body></html>=

--Apple-Mail-138F3C5E-B81C-4311-99CB-28B17CBBA9A6
Content-Type: application/octet-stream;
	name=signature.asc;
	x-apple-part-url=FF38E2AB-3F00-4645-B4C6-8F5363237963
Content-Disposition: attachment;
	filename=signature.asc
Content-Transfer-Encoding: 7bit
Content-Id: <FF38E2AB-3F00-4645-B4C6-8F5363237963>

-----BEGIN PGP SIGNATURE-----

iQIzBAEBAgAdFiEEJ5YXTZtFY5bgSLwXiG9r7NR3qT8FAmFvH7wACgkQiG9r7NR3
qT/dNBAAjGA4DXuZgbW1vm4ki6LEd6jBxB1f8dt64coezqysp9675qZTBgrVNbDO
oNEWo1lCygCuc0DhQpbHeuZB0u1CqX8Bjh1AdEh/AfEpGqeAvKfsAo3Xau385PuT
D/GAEROs/iadbj/Edu/KQOyBAxKM8KbO1H3j10dJq8DaibnIv8lzvw5LKaD7dOhg
fTi4oPtuR/aX8rsFRp7UJeY5yRZ2i69n74G78RH7pslfSgW2DybIYycSveDX5zVN
C8mtXwWa1IdlFBa7f2mdg/fbXhZYUuPT1W2/+W+Bi9i3LO92ayFlgI/UQ1msGcT6
ewMgSXrX/653a5OwyzXx4q3gFLOY0OJhBpsjO6urDxVgc/aXuTy2zsSjPTdtuOHw
SNVGpd+Fvjqf0ZgNxPl6gL/7RfYgxgTAlRN+Uqm1m2suclS41tmtmHsSaCvTJPgI
9G5icU7ZrtR5MY8m1MsM4xM+8ov5xhRWHccSN8Pl0FzFgladALueDoZkU5cyZIEw
Bg7yH0m1cHeOC8q4JONLHWyKe5JApaV9OLq1tPDcbh4FXRhFsm5Z6aGeY24RtqHt
SEewFC5JhPZVIW3o5t/vDIkvL+bUnybQxYA8qOBZn9XB0l8zxO3JLA9+LHNJwbKZ
OAReMOg6TOqnkFhxPUn1PKKyxMqyCywAC1eagA18nM1jOAFnEYU=
=g8Ff
-----END PGP SIGNATURE-----

--Apple-Mail-138F3C5E-B81C-4311-99CB-28B17CBBA9A6--

--Apple-Mail-CEECFC5E-1867-410C-A3D8-C20EA9C8FE20--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0205EEAE-BE01-4FB4-A05E-6CAE76AFABC4>