Date: Sat, 26 Aug 2023 14:02:57 +0100 From: Nuno Teixeira <eduardo@freebsd.org> To: Helge Oldach <freebsd@oldach.net> Cc: void <void@f-m.fm>, freebsd-stable@freebsd.org Subject: Re: configuring the console on 14-stable with hdmi-attached screen Message-ID: <CAFDf7U%2B%2B9EFvrx83ZPX%2Bw-gNBtn0aKMrJ7E3NeGehv3GAUPgqA@mail.gmail.com> In-Reply-To: <202308260837.37Q8buP6088530@nuc.oldach.net> References: <ZOix5o6iKcDwnuP6@int21h> <202308260837.37Q8buP6088530@nuc.oldach.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] Hello, In my setup (15-CURRENT) resolution is set auto: VT(efifb): resolution 1920x1080 But fonts need to be adjusted otherwise screen becomes too big: /etc/boot.conf: screen.font=8x16 Helge Oldach <freebsd@oldach.net> escreveu no dia sábado, 26/08/2023 à(s) 09:38: > void wrote on Fri, 25 Aug 2023 15:51:34 +0200 (CEST): > > I can see there's "sc" and "vt" in the kernel but have never > successfully > > set a console screen font going by the handbook. In addition to the font > > being smaller, it'd be good to have it less blocky and for the usable > screen to > > go to the full extent of the (1920*1080) screen. Right now there's like > a > > 3cm unusable margin all round. The kernel is unmodified GENERIC > > stable/14-n265022 > > For historical reasons I'm using "sc". Enabled by > > | kern.vty="sc" > > in /boot/loader.conf. > > To select the proper resolution, in my case I've added > > | hint.sc.0.flags="0x180" > | hint.sc.0.vesa_mode="0x160" > > to /boot/device.hints. The correct VESA mode likely depends on your > graphics card. Mine is a VirtualBox VBoxSVGA on a 1920×1024 screen. > > | vidcontrol -i mode </dev/ttyv0 > > is your friend determining the proper resolution. > > Appropriate fonts I chose through: > > | font8x16="iso-thin-8x16" > | font8x14="iso-8x14" > | font8x8="iso-8x8" > > in /etc/rc.conf.d/syscons (/etc/rc.conf will do as well). > > Kind regards > Helge > > -- Nuno Teixeira FreeBSD Committer (ports) [-- Attachment #2 --] <div dir="ltr"><div>Hello,</div><div><br></div><div>In my setup (15-CURRENT) resolution is set auto:</div><br><div>VT(efifb): resolution 1920x1080<br></div><div><br></div><div>But fonts need to be adjusted otherwise screen becomes too big: </div><div><br></div><div>/etc/boot.conf:</div><div>screen.font=8x16<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Helge Oldach <<a href="mailto:freebsd@oldach.net">freebsd@oldach.net</a>> escreveu no dia sábado, 26/08/2023 à(s) 09:38:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">void wrote on Fri, 25 Aug 2023 15:51:34 +0200 (CEST):<br> > I can see there's "sc" and "vt" in the kernel but have never successfully <br> > set a console screen font going by the handbook. In addition to the font<br> > being smaller, it'd be good to have it less blocky and for the usable screen to<br> > go to the full extent of the (1920*1080) screen. Right now there's like a <br> > 3cm unusable margin all round. The kernel is unmodified GENERIC<br> > stable/14-n265022<br> <br> For historical reasons I'm using "sc". Enabled by<br> <br> | kern.vty="sc"<br> <br> in /boot/loader.conf.<br> <br> To select the proper resolution, in my case I've added<br> <br> | hint.sc.0.flags="0x180"<br> | hint.sc.0.vesa_mode="0x160"<br> <br> to /boot/device.hints. The correct VESA mode likely depends on your<br> graphics card. Mine is a VirtualBox VBoxSVGA on a 1920×1024 screen.<br> <br> | vidcontrol -i mode </dev/ttyv0<br> <br> is your friend determining the proper resolution.<br> <br> Appropriate fonts I chose through:<br> <br> | font8x16="iso-thin-8x16"<br> | font8x14="iso-8x14"<br> | font8x8="iso-8x8"<br> <br> in /etc/rc.conf.d/syscons (/etc/rc.conf will do as well).<br> <br> Kind regards<br> Helge<br> <br> </blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><span style="color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committer (ports)</span></div></div>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7U%2B%2B9EFvrx83ZPX%2Bw-gNBtn0aKMrJ7E3NeGehv3GAUPgqA>
