Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Sep 2017 23:06:25 +0200
From:      Polytropon <freebsd@edvax.de>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Cc:        Adam Vande More <amvandemore@gmail.com>, Ernie Luzar <luzar722@gmail.com>
Subject:   Re: Restoring sc console look and feel with vt
Message-ID:  <20170905230625.7a282985.freebsd@edvax.de>
In-Reply-To: <20170905225237.0276255a.freebsd@edvax.de>
References:  <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <CA%2BtpaK2jMnej28pzdnz7=VKoj9uv7M4rfE%2Brf_d70hLfkduvkg@mail.gmail.com> <20170905204920.2b709f7a.freebsd@edvax.de> <CA%2BtpaK2p4ThWBOLvVxU%2B3hjR-ssdg4a9J5KPqBcE2Nu2G5egQg@mail.gmail.com> <20170905225237.0276255a.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Sep 2017 22:52:37 +0200, Polytropon wrote:
> On Tue, 5 Sep 2017 14:13:04 -0500, Adam Vande More wrote:
> > On Tue, Sep 5, 2017 at 1:49 PM, Polytropon <freebsd@edvax.de> wrote:
> >=20
> > > I'll try to express better:
> > >
> > > When the system boots, the screen uses 80x25 characters. The
> > > character size depends on the screen size of course. With sc,
> > > I get "big letters" on a 21" CRT, as intended.
> > >
> > > When booting with vt, the system starts booting with the 80x25
> > > mode, then switches to a font where I'd say the screen has
> > > 160x100 characters (just a guess, I didn't count them actually).
> > > Those are "small letters", even on a 21" CRT, too small for me
> > > to be read conveniently.
> > >
> > > So what I need is a way to tell vt to display 80x25 characters
> > > that "scale up", and generally make them look like the regular
> > > sc text mode.
> > >
> > >
> > >
> > > > For the former, removing the previous advice from loader.conf would=
 be
> > > the
> > > > first step.  Then you should be able to find an acceptable setting
> > > > experimenting with vidcontrol eg resolution/fonts.
> > >
> > > With vidcontrol, I only get error messages. I think it ie tied
> > > to sc? I also have no idea what font names to try...
> > >
> >=20
> >  Does your video hw requite kms?=20
>=20
> Which one doesn't? ;-)
>=20
>=20
>=20
> > If so, when is it loaded?  It should
> > loaded from loader.conf, not later.
>=20
> Yes, I have those entries in /boot/loader.conf:
>=20
> 	kern.vty=3Dvt
> 	hw.vga.textmode=3D1
> 	i915kms_load=3D"YES"
>=20
> The system has an on-board Intel GPU. The system boots with the
> normal ("native") 80x25, then clears the screen upon kernel load,
> continues for a short while in that mode, still 80x25, then lets
> the screen flicker, and finally run at 133x52 (counted "manually")
> which isn't sufficiently readable for me anymore. The mouse cursor
> is even harder to spot...
>=20
> But as I said, without vt + KMS, X doesn't work anymore. We seem
> to live in modern times. ;-)
>=20
>=20
>=20
> > You may need to explicitly define:
> >=20
> > hw.vga.textmode=3D0
> >=20
> > You can load fonts with:
> >=20
> > vidcontrol -f <font_name>
> >=20
> > Fonts should be located in:
> >=20
> > /usr/share/vt/fonts/
>=20
> Thanks for the pointer, I will try this now and report back about
> the results.

The results:

With the configuration change, I can now select the fonts.
While "gallant" seems to be the default font (no change if
selected after system boots), the vgarom-* fonts are even
worse. They seem to be made for ants. :-)

I cannot get a "smaller" screen than 132x54 (now verified).
I don't care if the letters aren't "pixel-perfect", but they
need to be bigger. Is there an option to tell the system
to "scale up" the font (so only 80x25 will fit)?

The normal 80x25 text mode is something I'm really going
to miss, and the change sc -> vt is causing me pain. In my
eyes. I'd like to change everything back to sc, but that
doesn't seem to be a possible way (causes X to stop working).
And I haven't started yet to complain that I cannot use
german =F6 =E4 =FC =D6 =C4 =DC and =DF anymore...

Any further ideas what to try?



--=20
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170905230625.7a282985.freebsd>