From owner-freebsd-questions@freebsd.org Tue Sep 5 21:21:24 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D447E1FC40 for ; Tue, 5 Sep 2017 21:21:24 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 962766C207 for ; Tue, 5 Sep 2017 21:21:23 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: by mail-io0-x230.google.com with SMTP id b142so1280334ioe.1 for ; Tue, 05 Sep 2017 14:21:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Gt35j0shYzfyliHo3Xg7kIDe6P7t0aX5R83T6M3OFmI=; b=FvBl8jYasueIb4uBPIDunyhe/ijQXNVB9MWDspVelC/TZMvdElbtcl2e68y0HXboE2 me4CKUwXiaunyy4/dlMqvzi1c0iJHekIkS0gFZUseCl2I8QItjU2So5lqqu6R7NKLd96 nttBEjMk3mOi1ivARVjE+VHeDVzKmboV/4z+UYxJD/zlKqBv3dORvr3mhWhy3+iH7eob MqeJB2DusgCDvL15zcH/D+Rg1rCvzWDKrIkQ+gOp9FTLhtlzjrOPsr+t51EbyM+h0UB1 67o5uDc/tbQNL3AfQ2wup4hhsMYCaqUF2muLFcr/NQooG+lysz50sveT2p1IVebbb6DH 9eOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Gt35j0shYzfyliHo3Xg7kIDe6P7t0aX5R83T6M3OFmI=; b=i1XK9AUapZspMPtO7Y/Xrq3LAWMTvfHB3CrLjxPp/0Qsp83fQvOAx+B1z0/DJ1Fk1g XtJ8dUCE0hmNCKsM5msoLKfinUa4lj5npg26LvISOTngzoQZTaXvjIZjF2PYX1ImRtbA WLENkf3i6BpLuW6L5EwCUOt7hqJeMTR3JlMmMJZIfS95OQ2GSHOsJ13WDMbQfYGhh6jm 6VtdQY2obnmceZKGY3RBASChK9tvJRlfTcGEW+vqCkgYaR8aPchkWXmpu4L6zHVp6434 S8wGBbFJGzyaW7rzUFFDWA8ekIUsDHXJihCr09dPjpt+enGy1qUldCSj+MW1y7IvCXHU 0ejA== X-Gm-Message-State: AHPjjUjQ4O1ssf2x9f+IuNrPih/YE6E6gYn1OmZ4QhiNy2ttaDROTKBd xR5VDGamNbCtyjoByPhc6Zv/8t5v38pM X-Google-Smtp-Source: ADKCNb7JdqIVegiGWJYrNHrCPbwc1/c7pg+PlKa/vBDWeTwQ0pHzoCn8kE3pDwHI+Kwa9g3YontCWxaxxZfMrBKFVP0= X-Received: by 10.107.129.85 with SMTP id c82mr451110iod.17.1504646482739; Tue, 05 Sep 2017 14:21:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.2.145.141 with HTTP; Tue, 5 Sep 2017 14:21:22 -0700 (PDT) In-Reply-To: <20170905230625.7a282985.freebsd@edvax.de> References: <20170905151245.f592508c.freebsd@edvax.de> <59AEAD20.8050006@gmail.com> <20170905201840.ae6b53ee.freebsd@edvax.de> <20170905204920.2b709f7a.freebsd@edvax.de> <20170905225237.0276255a.freebsd@edvax.de> <20170905230625.7a282985.freebsd@edvax.de> From: Adam Vande More Date: Tue, 5 Sep 2017 16:21:22 -0500 Message-ID: Subject: Re: Restoring sc console look and feel with vt To: Polytropon Cc: FreeBSD Questions , Ernie Luzar Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Sep 2017 21:21:24 -0000 On Tue, Sep 5, 2017 at 4:06 PM, Polytropon wrote: > 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 wrote: > > > > > > > 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 settin= g > > > > > 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... > > > > > > > > > > Does your video hw requite kms? > > > > Which one doesn't? ;-) > > > > > > > > > If so, when is it loaded? It should > > > loaded from loader.conf, not later. > > > > Yes, I have those entries in /boot/loader.conf: > > > > kern.vty=3Dvt > > hw.vga.textmode=3D1 > > i915kms_load=3D"YES" > > > > 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... > > > > But as I said, without vt + KMS, X doesn't work anymore. We seem > > to live in modern times. ;-) > > > > > > > > > You may need to explicitly define: > > > > > > hw.vga.textmode=3D0 > > > > > > You can load fonts with: > > > > > > vidcontrol -f > > > > > > Fonts should be located in: > > > > > > /usr/share/vt/fonts/ > > > > 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 =C3=B6 =C3=A4 =C3=BC =C3=96 =C3=84 =C3=9C and =C3=9F anymore... > > Any further ideas what to try? > What does this output: vidcontrol -i mode You can drop in your own font perhaps with huge letters. There are some instruction on the FreeBSD newcons wiki, but I've never tried them. You could also try lowering the resolution: kern.vt.fb.default_mode=3D"640x480" There is also the option of using the accelerated VESA mode: https://forums.freebsd.org/threads/46723/ That would allow you to continue to use sc, but may also sacrifice so video flexibility. --=20 Adam