From owner-freebsd-amd64@FreeBSD.ORG Fri Jun 30 15:11:54 2006 Return-Path: X-Original-To: freebsd-amd64@freebsd.org Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F83216A415 for ; Fri, 30 Jun 2006 15:11:54 +0000 (UTC) (envelope-from joel@FreeBSD.org) Received: from av12-2-sn2.hy.skanova.net (av12-2-sn2.hy.skanova.net [81.228.8.186]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0225D43D68 for ; Fri, 30 Jun 2006 15:11:48 +0000 (GMT) (envelope-from joel@FreeBSD.org) Received: by av12-2-sn2.hy.skanova.net (Postfix, from userid 502) id 03A5537FEB; Fri, 30 Jun 2006 17:11:46 +0200 (CEST) Received: from smtp4-2-sn2.hy.skanova.net (smtp4-2-sn2.hy.skanova.net [81.228.8.93]) by av12-2-sn2.hy.skanova.net (Postfix) with ESMTP id E8E5F37F9E; Fri, 30 Jun 2006 17:11:46 +0200 (CEST) Received: from 81-235-161-82-no21.tbcn.telia.com (81-235-161-82-no21.tbcn.telia.com [81.235.161.82]) by smtp4-2-sn2.hy.skanova.net (Postfix) with ESMTP id B75CC37E42; Fri, 30 Jun 2006 17:11:45 +0200 (CEST) From: Joel Dahl To: Peter Wemm In-Reply-To: <200606271242.50222.peter@wemm.org> References: <463aea570606240729u6b696c05vc1de0b1e03afae0f@mail.gmail.com> <20060624222706.GE747@turion.vk2pj.dyndns.org> <200606271242.50222.peter@wemm.org> Content-Type: text/plain Date: Fri, 30 Jun 2006 17:11:46 +0200 Message-Id: <1151680306.687.5.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@freebsd.org, Gobbledegeek Subject: Re: console in 1024x768 mode? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2006 15:11:54 -0000 On Tue, 2006-06-27 at 12:42 -0700, Peter Wemm wrote: > On Saturday 24 June 2006 03:27 pm, Peter Jeremy wrote: > > On Sat, 2006-Jun-24 19:59:39 +0530, Gobbledegeek wrote: > > >I tried putting "options VESA" in kernel but buildkernel said > > >unsupported option. > > > > VESA relies on the kernel being able to call BIOS functions. The > > bios is i386 so this isn't possible in native amd64. > > > > Running non-standard console resolution means something like KGI. > > This was being worked on some years ago but seems to have died. > > The other option, which many amd64 linux's do, is to have the loader set > up the VESA modes and pass the information through to the console > driver. We could do that too because our loader runs in 32 bit mode. > > The other possibility is to do what the X servers do. They have a > simple emulator for 8088 real mode instructions (see their "int10" > module). They execute the bios code interpretively to do things like > mode changes etc. We could do that too. It shouldn't be hard to write > something like a userland tool that can change the mode and tell the > kernel what the new display settings are. It could even be done as a > kernel module, but I'm not sure I'd want a software vm86 emulator in > the default kernel as it tends to be a bit big. > > Volunteers, anyone? This looks like a perfect project for the ideas list[*]. Can someone with the right knowledge write (just follow the existing layout on the ideas list) a short text about this subject and send it to me? Don't worry about SGML or stuff like that, just give me some text and I'll mark it up and commit it to the list. [*] http://www.freebsd.org/projects/ideas/ -- Joel