From owner-freebsd-current@FreeBSD.ORG Mon Sep 15 18:22:57 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11FBF106567B for ; Mon, 15 Sep 2008 18:22:57 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: from mail-gx0-f17.google.com (mail-gx0-f17.google.com [209.85.217.17]) by mx1.freebsd.org (Postfix) with ESMTP id A5CA98FC17 for ; Mon, 15 Sep 2008 18:22:56 +0000 (UTC) (envelope-from unixmania@gmail.com) Received: by gxk10 with SMTP id 10so24062714gxk.19 for ; Mon, 15 Sep 2008 11:22:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=DDUoZdOZMKVr/7F57xKypNndCRN7mOBYRqmstYUpjCQ=; b=j+nbVhUEhwhKZCQaYLLYeFX+mFyt5a2BqGAS2QCxGZX7mxtbbK9oejyi30QFmfC7Ij zwHfF3K/42pdL0itHKWbz5XS9SXoP8hgqaMoLRcZREvhSDCyEMWSBv5sSsKMs+UZpHwx feP95sqAPPJssU1qGgQNgpOiZkqtGkhnfB4X4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=PcTNEj2LYSeDp58Zh1ApQlj8L4DXgvoCDuLAyT6xsESC1FhgcAYoflzyO6ciB2/2Q7 BwlbdMlnVvoD+0ZIaf9f6pzW6KrKIATShuXg4Y/sRq9RQAGCU5Xrh74B3QQ66wiNO2Js UdiDtd6pgwT4Z/O/o0ZBSy+udiqDCH6SR+og8= Received: by 10.103.215.4 with SMTP id s4mr5775164muq.13.1221502973899; Mon, 15 Sep 2008 11:22:53 -0700 (PDT) Received: by 10.103.231.14 with HTTP; Mon, 15 Sep 2008 11:22:53 -0700 (PDT) Message-ID: Date: Mon, 15 Sep 2008 15:22:53 -0300 From: "Carlos A. M. dos Santos" To: freebsd-current@freebsd.org, unixmania@gmail.com, delphij@delphij.net In-Reply-To: <200809151753.m8FHr9Gi083627@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200809151753.m8FHr9Gi083627@lurza.secnetix.de> Cc: Subject: Re: Why VESA and DPMS are available only for i386? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Mon, 15 Sep 2008 18:22:57 -0000 On Mon, Sep 15, 2008 at 2:53 PM, Oliver Fromme wrote: > Carlos A. M. dos Santos wrote: > > Oliver Fromme wrote: > > > There's a third way, and I think this is the easiest one. > > > This is what the Linux VESA framebuffer driver does. > > > Let the boot loader (which executes in 32bit mode) switch > > > to the desired video mode, enable a linear frame buffer > > > (which is supported since VBE 2.0) and pass the address > > > of the frame buffer to the 64bit kernel. Then the kernel > > > would not need to call any VESA functions at all, thus > > > eliminating all of the above problems. The drawback is > > > that you can't change the console video mode anymore once > > > the kernel is booted, i.e. you have to reboot if you want > > > a different mode. > > > > This can also lead to a situation where the kernel can not restore the > > video controller to a known mode if the X server crashes or when the > > user attempts to switch from X to the "text mode" console. > > Why would you need to use VESA modes for syscons if you > install and run Xorg anyway? Sorry, I was not clear enough in my previous message. I'm not proposing to use VESA modes for syscons. I was talking about a problem I see in the Linux console. On the other hand, suppose that I want to play games/digger. This would require the ability to switch from text to graphics mode and vice-versa even if I don't run the X server. -- cd /usr/ports/sysutils/life make clean