From nobody Sat Aug 26 13:02:57 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RXxnn6sfLz4rjS1 for ; Sat, 26 Aug 2023 13:03:09 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RXxnn6MR6z3CRB for ; Sat, 26 Aug 2023 13:03:09 +0000 (UTC) (envelope-from eduardo@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693054989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sp67utXgHjwOZQAf8vJbfNpz2YD70rvD1eLxhHgz1oI=; b=CtSMBFEO4ON2a2BNk0VmU0A6sgTkewct8BYwU4E6EMb6rV2+W7OqKvSxv8ZO8jHPbFlTDs Te184owAI1MyhoURGR25KjBN2A56UfzbgBK50s5h+N/uRPWyznfm0M+rrXA4hoeuPA4j/W 5ZyYxKjpWL2CJln/5bbUyLRLGRwy8fh7wVJjnKLsHVt7fMsK5/Tf+TYs5wXBEFNhn2wB4Y wNeyU5BaXwl0Mo8J86AU6JtazmVukYhz/C42iKvDu6RgJttg1Du/pJZoUTcWQ1exRbduw4 RL8T7uUiYiFcS5xv8ZqJDl0sdWlBhTj9ztEVbJ8gNE3HhUI8EoEViA8m5jVMWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693054989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sp67utXgHjwOZQAf8vJbfNpz2YD70rvD1eLxhHgz1oI=; b=Qj5qDgM+uqi4UDYQpJmtJ9qj8s9iZdHrU43Z0M25P5gEsTHnLZnMZds80DY4mWOxxDrg7L kLXgIBSHCQCbOgfD9Si77WyOYvl8+dDmKsQje/2ivsHURmYKGPfGd4XCDjrLNiNaOlHDbJ NoucbfU/MOQHdMNSgRepjQGHhRgHNp1VMiTWgfsL1Y2f4HiSXhyeOwej88ZcTIjNHwdhXZ o9Xf70i6wp3MXIz0Th9IhddC24npaSKwLxLFmpIorj+ygzcMAOvFM0uu4luJh3rvvQttHK WO70eoZKQ9CmILoNUuJz3nHnwfqKpI5+YvpnBh1/sdLGCs5HPl43PJSrMMoofQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693054989; a=rsa-sha256; cv=none; b=PIiRQn88KSV/g9H2CkHaT7ccLYllkARoVaFHwHl2JoHPkThQeo/0ooXE9IC654mUA+wMbx MaJmQORJ/HTPfnXOpS1as5JD9Plp26i6T2PUi/ZjlcYqUU7LRCuSc0DldHebApFZnmefmP CTD9smc/fQfjSDufD1d7i7+CqqQyY1VpjaBRZyUfVLuWH4jKV5hkgi34O05ztXnQ3v9nVc oXPHKHlogk1R/7rSQ8eVU2C/sud/whQF+et8RCaAgNga3oHCEcTLJGwypHyjgCeKS3Fity WBbAKZVBxmOD/i1VwVUz0C6xzjfSO72ciy3XZkg9sVN6KOdy9+SNMyFzg1A/ZQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: eduardo) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RXxnn5BpzzvD1 for ; Sat, 26 Aug 2023 13:03:09 +0000 (UTC) (envelope-from eduardo@freebsd.org) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-76ef653af2eso107337385a.0 for ; Sat, 26 Aug 2023 06:03:09 -0700 (PDT) X-Gm-Message-State: AOJu0YytTBgZhwapeL+MlMZq3I9FIe0Vgscl0KzRq6n8P04hJI7fbzsw cZSTQkHH5iHz8HpDtGQedKOtCChGLjmEPvtzN5Y= X-Google-Smtp-Source: AGHT+IG4S4l69GoqDnd7TKe/RwuONs5+Sb8it0vt0hMpL5QFnUeKpfn+IZX7xTqtp03lmcST3uY37AH5Y6yBcdaNTMI= X-Received: by 2002:a05:622a:1820:b0:410:97af:cf7a with SMTP id t32-20020a05622a182000b0041097afcf7amr20579271qtc.41.1693054989006; Sat, 26 Aug 2023 06:03:09 -0700 (PDT) List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 References: <202308260837.37Q8buP6088530@nuc.oldach.net> In-Reply-To: <202308260837.37Q8buP6088530@nuc.oldach.net> From: Nuno Teixeira Date: Sat, 26 Aug 2023 14:02:57 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: configuring the console on 14-stable with hdmi-attached screen To: Helge Oldach Cc: void , freebsd-stable@freebsd.org Content-Type: multipart/alternative; boundary="000000000000349ab10603d31504" --000000000000349ab10603d31504 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=3D8x16 Helge Oldach escreveu no dia s=C3=A1bado, 26/08/2023 = =C3=A0(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 fon= t > > 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=3D"sc" > > in /boot/loader.conf. > > To select the proper resolution, in my case I've added > > | hint.sc.0.flags=3D"0x180" > | hint.sc.0.vesa_mode=3D"0x160" > > to /boot/device.hints. The correct VESA mode likely depends on your > graphics card. Mine is a VirtualBox VBoxSVGA on a 1920=C3=971024 screen. > > | vidcontrol -i mode > is your friend determining the proper resolution. > > Appropriate fonts I chose through: > > | font8x16=3D"iso-thin-8x16" > | font8x14=3D"iso-8x14" > | font8x8=3D"iso-8x8" > > in /etc/rc.conf.d/syscons (/etc/rc.conf will do as well). > > Kind regards > Helge > > --=20 Nuno Teixeira FreeBSD Committer (ports) --000000000000349ab10603d31504 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

In my setup (15-CURRE= NT) resolution is set auto:

VT(efifb): resolution 1920x1080

But fonts need to be adjusted otherwise screen = becomes too big:=C2=A0

/etc/boot.conf:
s= creen.font=3D8x16

Helge Oldach <freebsd@oldach.net> escreveu no dia s=C3=A1bado, 26/08/2023 = =C3=A0(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 fo= nt
> being smaller, it'd be good to have it less blocky and for the usa= ble 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=3D"sc"

in /boot/loader.conf.

To select the proper resolution, in my case I've added

| hint.sc.0.flags=3D"0x180"
| hint.sc.0.vesa_mode=3D"0x160"

to /boot/device.hints. The correct VESA mode likely depends on your
graphics card. Mine is a VirtualBox VBoxSVGA on a 1920=C3=971024 screen.
| vidcontrol -i mode </dev/ttyv0

is your friend determining the proper resolution.

Appropriate fonts I chose through:

| font8x16=3D"iso-thin-8x16"
| font8x14=3D"iso-8x14"
| font8x8=3D"iso-8x8"

in /etc/rc.conf.d/syscons (/etc/rc.conf will do as well).

Kind regards
Helge



--
Nuno Teixeira
Free= BSD Committer (ports)
--000000000000349ab10603d31504--