From owner-freebsd-current@freebsd.org Tue May 21 13:59:04 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D66E15AE95D for ; Tue, 21 May 2019 13:59:04 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from sonic306-20.consmr.mail.gq1.yahoo.com (sonic306-20.consmr.mail.gq1.yahoo.com [98.137.68.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 608CA8EBC4 for ; Tue, 21 May 2019 13:59:02 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) X-YMail-OSG: Teu7bicVM1n_IvIK.UfUNbtqgeVNzhtiyhlh5fVPZDGVkuDFQt.ZZC7Wc4IUyzg Bfx_e1dQqK8A9RBIVD.5SJPGhwwnxmdCHhrNr3OSLwn2S3NA7FhtkFTWk8_El5Z48tjHmknnZGsT chCKLK2ERlwu1lf.L7ambQR.fMHgvNwbbgiLudD7k5SRH33ZEM6RRFpC8JIBGBLGiFo0.PG2_4Vk qWPeWeycW.IGu98PqGcAhICFNZApIPAdev53eYQT268sMqicq8nIadHOJLHajbfYPEc_lRVPjzLt VYV78WOvIzHb_DNzLWOP9K7HjBpQ7X1VqXJ2g2bCAFnTRcQsTKohR1E43diqv.C7Dc_keNoduxMc ZMVrlW6H4ho72Btr.ChAUWOV5iCwkxmCh4welks1nLUHi8CmWSmqas.1xHqsXlwLjJyWx3K.Xdf7 JsIKOYR1mZpf72I_IW8.iDwJFoQ9ORYMEc9omNze7isMltIJ5ZrL4JefweiN0SPLpfkIzNBas7vr rzPB54nSQCY4kKg1jh_jaGS_qUayNlAJtFV1LA4FpOGyMTXRftDMCuXCAeA7DSEmcYY_L1NgWuYO V.RZ9Pz2KhZKOo8fb8LmbB3DQIsIOobcgf7YkhzsOot2ynLaIfdtNxRX8LRRInBIRsNbUbjBe_zI LCiPNVfMZqGKOKyS7nskV7NFwEYmYXInEzQLMLV9td8nWu2rAs2eAS1f30mCBFeZE9fM8Ea0DM5X g5nDUCnc5cqPm4LSfgpzLRrHNGdpIhHCnxjjvH6RL3Qf_J9.EcxtDSIA8sUPZqYZ.UktPewtL42f NPRYNMJRFTuQYBqQkP0.4p41.pByIoMJm8If1uBYlJoUTlJdwESAGTG6mDkq0PSLK2m9_bUdOPB1 rPHivfxdHPhn.kfjdMF13zFO._MUco.jQcCOKeT6E8Ibf4Pjq9mH5ga3gyPtp5xoBpXa20pjj1WW Bm8xwb9C2MELi0Uhia45rpgPcBYXcNgJfggjNsSq_Zcy.onbSLMciWQ9SG24kILJLTkD5C_y2ho7 kgQzbNA5DANcT4ObSwOvAaLA_uiAWv99Y0Md8gtkvmsQZYfolSMLp2jWQ7pBox6_vmAhDwIJ0QrI YbaA0Y15_8DzaGt848RxZTD8VnXC3ZRhOoFsIRshiWEF_UtMterPYDSTFlHdWv.i1V4OuwR77HoY 0vxz44gbxLZMdqRAahs9DMBrTDsO.sDBGoq5a8iR7i3WO4DauN2Gke9qIOKD6fGX017m17TfO2G4 - Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.gq1.yahoo.com with HTTP; Tue, 21 May 2019 13:58:54 +0000 Received: from 172.58.4.62 (EHLO [192.168.43.2]) ([172.58.4.62]) by smtp410.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 9df74f2df1097978bf4b5f4c7f0d8784; Tue, 21 May 2019 13:48:43 +0000 (UTC) Subject: Re: Using loader.conf(5) 'exec' directive to set video mode To: Vladimir Kondratyev , freebsd-current@freebsd.org References: <56e5e4a3-529c-bd41-c52c-2815e5374ca4@yahoo.com> From: Anthony Jenkins Message-ID: <3322a09b-d800-85f6-8023-1b1eee03add9@yahoo.com> Date: Tue, 21 May 2019 09:48:12 -0400 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 608CA8EBC4 X-Spamd-Bar: / X-Spamd-Result: default: False [-0.73 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.20)[-0.198,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.36)[0.362,0]; NEURAL_HAM_LONG(-0.96)[-0.962,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.07)[ip: (3.63), ipnet: 98.137.64.0/21(1.00), asn: 36647(0.80), country: US(-0.06)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[83.68.137.98.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2019 13:59:04 -0000 On 2019-05-21 07:06, Vladimir Kondratyev wrote: > On 20.05.2019 16:23, Anthony Jenkins wrote: >> I'm running (a somewhat dated) FreeBSD 13.0-CURRENT (git commit >> 68c8581f7, Tue. Feb 12 13:01:55 2019) on a UEFI laptop with an Intel >> UHD display, booting a ZFS root filesystem (gptzfsboot(8)). I'm trying >> to get the console into a lower resolution than the native UHD when >> the kernel is booted. > It is possible to increase size of font compiled into kernel. See the > attached patch. > > AFAIR  I made it through conversion of x11-fonts/terminus-font to > C-source file with one of /usr/src/tools/tools/vt/ tools Excellent... I think that will do just nicely! Thanks! >>   I can manually do this by breaking into the loader prompt at boot >> and entering 'mode 1', then 'boot'. loader.conf(5) says I can run this >> command automatically with the 'exec' directive, but the video mode >> doesn't change. >> >> $ sudo cat /boot/loader.conf >> Password: >> autoboot_delay="3" >> #boot_single="YES" >> boot_verbose="YES" >> kern.timecounter.hardware="HPET" >> hw.psm.synaptics_support="1" >> kern.vty="vt" >> hw.vga.textmode="1" >> efi_max_resolution="1920x1080" >> exec="mode 1" >> >> I've also tried using directive 'efi_max_resolution' - same result. >> Does 'exec' work on my configuration (UEFI boot, ZFS root), or am I >> not using it right?  I've tried putting other loader commands in >> 'exec' with no effect. Same question for efi_max_resolution. > exec="mode N" works at least for me (UEFI boot, ZFS root, NVidia GTS > 250, no KMS) Bah... trying to avoid debugging it on my end, but looks like I'll have to if I'm the only one experiencing it. Anthony > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"