Re: configuring the console on 14-stable with hdmi-attached screen
- In reply to: deleted: "deleted (X-No-Archive)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 26 Aug 2023 13:02:57 UTC
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)