Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2022 23:54:30 +0200
From:      Toomas Soome <tsoome@me.com>
To:        Michael Schuster <michaelsprivate@gmail.com>
Cc:        FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: "vidcontrol -i mode" shows no output except header (in search of smaller console font)
Message-ID:  <DFFA5303-2A77-4FE7-B70E-0B8A4F185A23@me.com>
In-Reply-To: <CADqw_gJbZDHLf41t4%2BbgS2BZesWrovOUnoW_iV-wYdk%2Bpmm%2BiA@mail.gmail.com>
References:  <CADqw_gJbZDHLf41t4%2BbgS2BZesWrovOUnoW_iV-wYdk%2Bpmm%2BiA@mail.gmail.com>

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

--Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On 27. Feb 2022, at 23:36, Michael Schuster =
<michaelsprivate@gmail.com> wrote:
>=20
> Hi all,
>=20
> I'm trying to get a smaller font in my text-consoles (using vt) on my =
Ryzen 4700 and Vega10 Renoir - based laptop with a fresh install of =
FreeBSD CURRENT from last week.=20
>=20
> My research led me to believe that using vidcontrol would help me =
here, but however I do try, "vidcontrol -i mode" prints nothing except =
the header line, and other "vidcontrol" subcommands give me =
"Inappropriate ioctl for device".
>=20
> I tried a few things
> - switched to sc via setting "kern.vty=3Dsc" in /boot/loader.conf, =
this caused a hang on reboot
> - setting "hw.vga.textmode" to 1
> - "kldload vesa"
> ... and probably a few other things I now forget, all to no effect - I =
still get nothing.
>=20
> I then performed an update from a freshly 'git pulled' source today =
(kernel, world, drm-devel-kmod), a simple "vidcontrol" test still shows =
the same.
>=20
> I know it can work because I had a smaller font before I re-installed =
over the previous installation (which originally came from ghostbsd in =
Aug 2020), so - I assume - it can't be rocket science :-)
> I'd appreciate further hints/pointers/RTFMs (though I've tried quite a =
few of those).
>=20

UEFI or BIOS setup? With UEFI, sc and hw.vga.textmode has no effect. =
With UEFI or BIOS+hw.vga.textmode=3D0, you can set screen.font variable =
(empty value will cause the values list to be printed), or use loadfont =
command with your custom font file (created with vtfontcvt).

rgds,
toomas


--Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 27. Feb 2022, at 23:36, Michael Schuster &lt;<a =
href=3D"mailto:michaelsprivate@gmail.com" =
class=3D"">michaelsprivate@gmail.com</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">Hi =
all,</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br =
class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">I'm =
trying to get a smaller font in my text-consoles (using vt) on my Ryzen =
4700 and Vega10 Renoir - based laptop with a fresh install of FreeBSD =
CURRENT from last week. <br class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br =
class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">My =
research led me to believe that using vidcontrol would help me here, but =
however I do try, "vidcontrol -i mode" prints nothing except the header =
line, and other "vidcontrol" subcommands give me "Inappropriate ioctl =
for device".</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"></div><di=
v class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br =
class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">I tried =
a few things</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">- =
switched to sc via setting "kern.vty=3Dsc" in /boot/loader.conf, this =
caused a hang on reboot</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">- =
setting "hw.vga.textmode" to 1</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">- =
"kldload vesa"</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">... and =
probably a few other things I now forget, all to no effect - I still get =
nothing.<br class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br =
class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">I then =
performed an update from a freshly 'git pulled' source today (kernel, =
world, drm-devel-kmod), a simple "vidcontrol" test still shows the =
same.<br class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br =
class=3D""></div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">I know =
it can work because I had a smaller font before I re-installed over the =
previous installation (which originally came from ghostbsd in Aug 2020), =
so - I assume - it can't be rocket science :-)</div><div =
class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small">I'd =
appreciate further hints/pointers/RTFMs (though I've tried quite a few =
of those).</div><div class=3D"gmail_default" =
style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br =
class=3D""></div></div></div></blockquote><br class=3D""></div><div>UEFI =
or BIOS setup? With UEFI, sc and hw.vga.textmode has no effect. With =
UEFI or BIOS+hw.vga.textmode=3D0, you can set screen.font variable =
(empty value will cause the values list to be printed), or use loadfont =
command with your custom font file (created with =
vtfontcvt).</div><div><br =
class=3D""></div><div>rgds,</div><div>toomas</div><br =
class=3D""></body></html>=

--Apple-Mail=_2E6F6973-124B-48A2-9BEE-D30FA2D48D3F--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DFFA5303-2A77-4FE7-B70E-0B8A4F185A23>