From owner-freebsd-questions@freebsd.org Wed Nov 25 07:23:53 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 439D14793A2 for ; Wed, 25 Nov 2020 07:23:53 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from new4-smtp.messagingengine.com (new4-smtp.messagingengine.com [66.111.4.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cgsnh25tKz4gtk for ; Wed, 25 Nov 2020 07:23:52 +0000 (UTC) (envelope-from yuripv@yuripv.dev) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id 5D6635805A8; Wed, 25 Nov 2020 02:23:51 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 25 Nov 2020 02:23:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.dev; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=u ipllDilhHsNFMx0cFZdYq/PJoDaPjIgSWwno6Q7Lyg=; b=AoZzbo9Hr6GoPHnI2 1pzx+eyQutzT9aKu20ZzKqpk7gdpj8q/MPnXk9NP3cM5ddly6sHCzUgM+wcktDom Ee4acL+cMPtZpJgD+Ot6zI31WEnGX597+LuA0gYPp2FjhaYV/V8DtbczDwcpdoqE U8y73TTBwD8BnX8oTti0iLiZeEw3l0VPG8BznymUSiqEHQdLi9/w4J8Aea1w3ysk L2DbK8MNQEvwWssGC4Is8Khm0cL+O7ad/GbYHRnslltHxnoJW0FZskwjNk98PWGn ps8Wv62EAzyx8LG8LkvVeUUdyRE8/xe8RpFbZ0QZLoXU7kurWUO6NZhtlu82Vdgt gnWwg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=uipllDilhHsNFMx0cFZdYq/PJoDaPjIgSWwno6Q7L yg=; b=TJAE9K7rBayBo3W5VWtUaNyAsi/By6mkfRMFe5Bt0rrzKZ9kKHFWiYvaP xuWMOmuV27q1xTMUIrSj9LvbvG2dWhMz81oRrJ1m/ZKsQFWPF+mCt1zpCigjSdxq vfcGJxYUApybuPoiUiZGQcbLM5+7Z7nd6HekcLoNll+SXYsYqev+xi9s7yGf6nqV tpUJwtPwdGyizdDmup7h8H9TcOhiU+6vn3ZlVKVEQ78iZr3Fn4Jfv4GVd8zcGUQu fxHHi4Kwue10KIc4wDI8OPwfWniNOyaYapaDDys1q7rFM8gMj3obTErGS2mZrD+w oXSlcwSF8kd0+cPKPMpeiXjh6mtqg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudegledguddtjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpegjuhhr ihcurfgrnhhkohhvuceohihurhhiphhvseihuhhrihhpvhdruggvvheqnecuggftrfgrth htvghrnhepfefhkeefteegfeekudevgeffveetgfettddtvdejhfdvheelhefhfeegieej leegnecuffhomhgrihhnpeektddtgieitddtrdhinhenucfkphepledurddvgedtrdduvd egrdduheejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhho mhephihurhhiphhvseihuhhrihhpvhdruggvvh X-ME-Proxy: Received: from [192.168.1.6] (unknown [91.240.124.157]) by mail.messagingengine.com (Postfix) with ESMTPA id 7746A3064AAF; Wed, 25 Nov 2020 02:23:50 -0500 (EST) Subject: Re: Console resolution/font size To: Janos Dohanics , FreeBSD Questions References: <20201125020318.30f5921d6fee3e267945a243@3dresearch.com> From: Yuri Pankov Message-ID: Date: Wed, 25 Nov 2020 10:23:49 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 MIME-Version: 1.0 In-Reply-To: <20201125020318.30f5921d6fee3e267945a243@3dresearch.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Cgsnh25tKz4gtk X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=yuripv.dev header.s=fm1 header.b=AoZzbo9H; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=TJAE9K7r; dmarc=none; spf=pass (mx1.freebsd.org: domain of yuripv@yuripv.dev designates 66.111.4.230 as permitted sender) smtp.mailfrom=yuripv@yuripv.dev X-Spamd-Result: default: False [-3.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yuripv.dev:s=fm1,messagingengine.com:s=fm1]; FREEFALL_USER(0.00)[yuripv]; FROM_HAS_DN(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[66.111.4.230:from]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.230]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[yuripv.dev]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SPAMHAUS_ZRD(0.00)[66.111.4.230:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[yuripv.dev:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_IN_DNSWL_LOW(-0.10)[66.111.4.230:from] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Nov 2020 07:23:53 -0000 Janos Dohanics wrote: > Hello, > > I have a newly installed FreeBSD 13.0-CURRENT Thinkpad T480: > > FreeBSD 13.0-CURRENT #0 2ed50808d2b-c254384(main): Thu Nov 12 07:29:09 UTC 2020 > root@releng1.nyi.freebsd.org:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 > FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) > WARNING: WITNESS option enabled, expect reduced performance. > VT(efifb): resolution 1920x1080 > CPU: Intel(R) Core(TM) i5-8350U CPU @ 1.70GHz (1896.08-MHz K8-class CPU) > [...] > > The screen is hardly readable at the resolution 1920x1080. > > At boot time I escaped to loader prompt and selected "mode 3" which > gave the screen resolution 800x600. > > In /boot/loader.conf I added: > > hw.vga.textmode=1 > kern.vt.fb.default_mode="800x600" These 2 seem to be mutually exclusive, if you switch to text mode, you only have the default 640x480 resolution. > But after reboot, I'm back to the nearly unusable resolution of > 1920x1080. After the system is fully booted, or during the entire boot process? Do you load kms drivers via rc.conf that take over and switch the console back to 1920x1080? > How can I make a specific console resolution presistent across reboots? > And how would I set a resolution between 800x600 and 1920x1080? Why is > the setting in /boot/loader.conf ignored?