From owner-freebsd-desktop@freebsd.org Tue Sep 24 08:45:13 2019 Return-Path: Delivered-To: freebsd-desktop@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 01319FDBD6 for ; Tue, 24 Sep 2019 08:45:13 +0000 (UTC) (envelope-from jau789@gmail.com) Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46cvs3725rz4CQ1 for ; Tue, 24 Sep 2019 08:45:11 +0000 (UTC) (envelope-from jau789@gmail.com) Received: by mail-lf1-x136.google.com with SMTP id u28so763253lfc.5 for ; Tue, 24 Sep 2019 01:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:date:subject:message-id :to; bh=BmSihxHrGDjhTtCtpGpngA5YFV5Ki2oKLUr7MQ/Hvpw=; b=byXnuQWhBMLWsBxF25BOxEo2lR5SH/S6xwd6Lvu8WxWwM7k1rfiGSJdXN4c96JhoM2 TRWiETIjXEhvV9RNTYuiq6rRYbmiL98hCVOC8MFjP85IG31PGjjZeIQv3G8p/J9WqniA AGf51B1Wu1s+QbqZpiRlE/UNqaJDWQugGBorvL47yg0DOUsOMjJo1TgqMkffSyG4DEXR Oumk3738rc+80SKRG3EwoHNelrHo3+yQxgAAvta+Z0Y4ZhwKupPuignogtqesCMlomEJ XVJZ3sF64IzGqogBgZGwjKd4xEw1WXkCuEIZcgGD1Ov+EGyoz5a8Ia/xACsfEYtJy4xX wa8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version:date :subject:message-id:to; bh=BmSihxHrGDjhTtCtpGpngA5YFV5Ki2oKLUr7MQ/Hvpw=; b=YRSC9EZJRKAT98nrWmT0BQ7QDxZa2QKeGEOV0TfO3klRmFfoMTTjzMfccOnUS9ZOwi 4fDKMUXvc1+KisjfF6z/y6Vv1d754isoKkcxk9ytg9aRiPck8BaLPWgnncpUPzxoWVY6 VJ1kowyINybj8agE10jfzQuxaQf8ZKVpoEABBlGH2jGFAd12j8whT8/FJLvv91yoFMu6 34ktHNvor8oz/4hr1G9iwCU41ngm/u+tppBrzsSWH3yzCuHmfynVhyOzSxIni+KrWUta B3+a4DY5sm31QwkoTJW4KYZCRuYMHjQC/EFw3FO59io8LPefVHISEbdr+7KXPwPRWS5f vtMQ== X-Gm-Message-State: APjAAAX72IECSlRL5rrXSv0j8De+DVaEEDG42vRVMbSphGhKy7+vQMz5 FrYRFqOgEpgpYQWnfnjRjjMjX9EF X-Google-Smtp-Source: APXvYqwuPyinAfrn1ApP7vqvLm3Vjo/W/AfHrQRppHHd9Em4ZEKNvfqB+Dn7VHOyM1GCXYbHkkHEjA== X-Received: by 2002:a19:2d19:: with SMTP id k25mr1259954lfj.76.1569314709019; Tue, 24 Sep 2019 01:45:09 -0700 (PDT) Received: from [192.168.1.194] (dsl-hkibng21-54f87c-13.dhcp.inet.fi. [84.248.124.13]) by smtp.gmail.com with ESMTPSA id i17sm274969ljd.2.2019.09.24.01.45.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Sep 2019 01:45:08 -0700 (PDT) From: Jukka Ukkonen Mime-Version: 1.0 (1.0) Date: Tue, 24 Sep 2019 11:45:05 +0300 Subject: Question: Setting display dimensions Message-Id: <20E27B10-1A2B-4635-A8C6-7CF784599031@gmail.com> To: freebsd-desktop@freebsd.org X-Mailer: iPad Mail (16G102) X-Rspamd-Queue-Id: 46cvs3725rz4CQ1 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=byXnuQWh; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of jau789@gmail.com designates 2a00:1450:4864:20::136 as permitted sender) smtp.mailfrom=jau789@gmail.com X-Spamd-Result: default: False [-2.50 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RECEIVED_SPAMHAUS_PBL(0.00)[13.124.248.84.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-desktop@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.00)[ip: (-9.64), ipnet: 2a00:1450::/32(-2.91), asn: 15169(-2.20), country: US(-0.05)]; RCVD_IN_DNSWL_NONE(0.00)[6.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-desktop@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Using and improving FreeBSD on the desktop List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Sep 2019 08:45:13 -0000 Hello all, Recently I bought a small HDMI connected 1024x600 pixels TFT display. It seems that 11-stable does not find the correct dimensions automatically. The kernel apparently assumes the display to be far larger than it actually is and a lot of text simply disappears below the lower edge of the screen. So, I assumed there might be some method to tell the kernel the default dimensions to use when it fails to confirm the actual values from the display device itself. Now I would like to check whether I am interpreting things correctly. Apparently there is kernel MIB variable for this purpose on 12.x series (kern.vt.fb.default_mode) but not on 11.x. If this is true, I would like to understand why is the feature not available on 11-stable as well? Have I understood the meaning of the default_mode variable correctly for 12.x and will it work properly for a 1024x600 display? Moving over to 12-stable will not be a big issue on a new system, if that is necessary, but I would like to avoid taking the effort of upgrade unless I can be relatively sure it will solve my problem. --jau