From owner-freebsd-questions@freebsd.org Wed May 13 14:15:11 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 CDABC2F769D for ; Wed, 13 May 2020 14:15:11 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 49McBl0g1Zz46Hm for ; Wed, 13 May 2020 14:15:10 +0000 (UTC) (envelope-from ypankov@fastmail.com) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id EE4837C4; Wed, 13 May 2020 10:15:08 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Wed, 13 May 2020 10:15:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=c f45sogYp7UVB5bffTsEa3UR6qNkrLZWArUgxzYn6Pk=; b=YnyAA4fkuBrmWwrSb +8XRAoS63ddGPvHWCzDX77HmXSoCFg6EpWIrYhm4iBkxBBH2vGncGV9MPFh4BYAH MdQeAGV/XncOOxNrtSsrEd+iy7wKHXkAV8zHYUJlEnmOZU31jhL/xU3BlB6kYmzA WopaCA8M9Ry1oDawDDH7NraWWMLptHQfhu8G2uC166dgG7ku03AlJxL0knPL3TIB tLpKC4UXwaPZpkYL9pTK3DhIpTBAKPtIJAv0mucmoI85+ArFYI6Zhaqnu06NFDUZ 0WgzjrnAHXtDlVdzBIjNHJgyFWc2Qk6SzV6CGRDguxUe2AVahT9bTS6A9CX1OSR4 tSMxQ== 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=fm2; bh=cf45sogYp7UVB5bffTsEa3UR6qNkrLZWArUgxzYn6 Pk=; b=1iNnVXQHye1PiKM8bS6bLBNOxP9vCq191viSYfyAoFY5Q9YDJrMwqm/tS nmClrbqYWi0FLoHpf38LHHrMX+H6by6+4KpZjUwyqv9Y3Gr/j75NFhpC5P7ev4Yq a0NhaneMnahpqjspLNFalSdDFnFo9oTKD0LCI9gii1iyyNiDLLkKndmIuZL6kHIn uY3lq22EPk5j+JIpfboC+i+CpqhoLOmtu6YKJjtFP8Rw7YHU1qLohzQ9q/tDpq/1 uVsSyyz8Xlm2Cac/cZ70e2MKuhnHAKkSsy1B2hKRmFjbu0vAxbdMaMPNCztjQLb4 5vOJpNFtctMrvHeHl7vUJiPIY5ArQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrleeggdejgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomhepjghurhhiucfrrghnkhhovhcuoeihphgrnhhkohhvsehfrghs thhmrghilhdrtghomheqnecuggftrfgrthhtvghrnhepveetieelgffhffegffetfeeitd dtgfduteeguddvtdfggfeuffdtieetlefhgeetnecukfhppedujeekrdefgedruddtfedr udehudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe ihphgrnhhkohhvsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: from [192.168.1.6] (unknown [178.34.103.151]) by mail.messagingengine.com (Postfix) with ESMTPA id DCB7E3280060; Wed, 13 May 2020 10:15:07 -0400 (EDT) Subject: Re: Viewing loader tunables in console To: Ekalavya , freebsd-questions@freebsd.org References: From: Yuri Pankov Message-ID: <397eb294-7fc1-ac8d-6dca-76f1153ad2d4@fastmail.com> Date: Wed, 13 May 2020 17:15:06 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49McBl0g1Zz46Hm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm2 header.b=YnyAA4fk; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=1iNnVXQH; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of ypankov@fastmail.com designates 64.147.123.25 as permitted sender) smtp.mailfrom=ypankov@fastmail.com X-Spamd-Result: default: False [-3.10 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:64.147.123.25]; FREEMAIL_FROM(0.00)[fastmail.com]; RCVD_COUNT_THREE(0.00)[4]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(0.00)[ip: (-9.84), ipnet: 64.147.123.0/24(-4.92), asn: 11403(-2.69), country: US(-0.05)]; RCVD_IN_DNSWL_LOW(-0.10)[25.123.147.64.list.dnswl.org : 127.0.5.1]; ASN(0.00)[asn:11403, ipnet:64.147.123.0/24, country:US]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[25.123.147.64.rep.mailspike.net : 127.0.0.19] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2020 14:15:11 -0000 Ekalavya wrote: > I know that sysctl tunables are viewable using the sysctl command, but I > am having trouble viewing loader tunables like kern.vt.fb.default_mode. > I need to know this before I start setting values for them in my > loader.conf file. How do I do this? There's no default value, most likely, and according to man page, the default_mode one is only used with KMS video driver, are you using one? Looking at the older drm code that is still in tree (sys/dev/drm2/drm_fb_helper.c), all it does is reading per-output setting, and if none, using the default_mode one. Most likely the newer in ports does the same; I didn't check and don't have access to anything using drm drivers at the moment.