From owner-freebsd-current@FreeBSD.ORG Mon Sep 15 17:53:23 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 6CA38106567C for ; Mon, 15 Sep 2008 17:53:23 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id D96C98FC35 for ; Mon, 15 Sep 2008 17:53:22 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id m8FHr92i083628; Mon, 15 Sep 2008 19:53:10 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id m8FHr9Gi083627; Mon, 15 Sep 2008 19:53:09 +0200 (CEST) (envelope-from olli) Date: Mon, 15 Sep 2008 19:53:09 +0200 (CEST) Message-Id: <200809151753.m8FHr9Gi083627@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, unixmania@gmail.com, delphij@delphij.net In-Reply-To: X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Mon, 15 Sep 2008 19:53:10 +0200 (CEST) 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 Reply-To: freebsd-current@FreeBSD.ORG, unixmania@gmail.com, delphij@delphij.net 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 17:53:23 -0000 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? Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "IRIX is about as stable as a one-legged drunk with hypothermia in a four-hundred mile per hour wind, balancing on a banana peel on a greased cookie sheet -- when someone throws him an elephant with bad breath and a worse temper." -- Ralf Hildebrandt