From owner-freebsd-questions@FreeBSD.ORG Mon Dec 15 09:36:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 04BCE15D for ; Mon, 15 Dec 2014 09:36:23 +0000 (UTC) Received: from mail-wi0-x231.google.com (mail-wi0-x231.google.com [IPv6:2a00:1450:400c:c05::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 87180FC8 for ; Mon, 15 Dec 2014 09:36:22 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id l15so8345009wiw.4 for ; Mon, 15 Dec 2014 01:36:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Z+mfJKBVLJvMUGDICeJZ+wzEIADc+2AdSNqgT7Z/BeY=; b=NPDHqAt2X+Xgzbw3h90OoxFjifC658BJOJSpNYVe5bmjMW7eScN46wMTkcM0famYj0 48yneltrRj/qIKo7NZFZVwzFlvBxko9a3rmUHOZiGZunGSJo8tY2wIDC6Mu4XIniLuSI /rohueKI2J2wfCG+DFFR9znwSSdy0rE0PHPBiGgLKTFvh8ojqIDiKEtqRFnRTPYSRr7M D6ALyR0Uyy0ahQbhx80on/wv72bfrao6/nu7diWoP97tinq5WY10oNHOp8BxGOtn4BAn atSR1FrZtsa8TeQKS+U5WrxQUzSPzyVyJpZ+M1Ya1Nty2A36KroDzlkC36FuZ4RfZdFb pn0g== X-Received: by 10.180.96.10 with SMTP id do10mr30104534wib.16.1418636180596; Mon, 15 Dec 2014 01:36:20 -0800 (PST) Received: from kontrol.kode5.net (host86-153-214-89.range86-153.btcentralplus.com. [86.153.214.89]) by mx.google.com with ESMTPSA id ex9sm12421457wib.14.2014.12.15.01.36.19 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 15 Dec 2014 01:36:19 -0800 (PST) Message-ID: <548EAB93.8030802@gmail.com> Date: Mon, 15 Dec 2014 09:36:19 +0000 From: James Griffin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: configuring kernel for vt console driver Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Dec 2014 09:36:23 -0000 Hi everyone I'm tinkering with vt(4) tunables in loader.conf to get a console I like for use with my machine. My monitor is 1440x900 dimensions so I've set the tunable kern.vt.fb.default_mode=1440x900. I would like the i915 kms driver to be loaded as early on in the boot process as possible so I can get the nice resolution early on too. Currently, I have got the hw.vga.textmode=1 tunable set so it does start out in text mode, then switches over to the kms driver (i915kms). What i'd like to know is: if I take out the hw.vga.textmode=1 tunable 'should' this start my console in fb mode straight away or, will the resolution switch over to fb mode from a not so desirable resolution still - similar to what is happening now? so, is hw.vga.textmode=1 needed/recommended and; If I put the corresponding kernel config options in the kernel config file and recompile my kernel will it speed it all up significantly? I'm gunna change the default colors so compiling and installing a custom kernel is something i'm going to do anyway. and finally; The settings i've described so far, is that the correct way to achieve the resolution 1440x900 in fb mode using the i915 driver as soon as possible in the boot process or, should I be doing it differently? Here are the vt settings i've got in /boot/loader.conf: i915kms_load="YES" kern.vty=vt hw.vga.textmode=1 kern.vt.fb.default_mode="1440x900" Thanks for reading and thanks in advance for any feedback you might provide. Cheers, Jamie