From nobody@FreeBSD.org  Fri Mar 24 07:01:33 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 1060116A423
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 Mar 2006 07:01:33 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BF2FC43D46
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 Mar 2006 07:01:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k2O71WXD059591
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 24 Mar 2006 07:01:32 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id k2O71Wk1059590;
	Fri, 24 Mar 2006 07:01:32 GMT
	(envelope-from nobody)
Message-Id: <200603240701.k2O71Wk1059590@www.freebsd.org>
Date: Fri, 24 Mar 2006 07:01:32 GMT
From: Andrei <hhc@tut.by>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Where support VESA Modes for AMD64 kernel ?
X-Send-Pr-Version: www-2.3

>Number:         94896
>Category:       amd64
>Synopsis:       Where support VESA Modes for AMD64 kernel ?
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-amd64
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Mar 24 07:10:13 GMT 2006
>Closed-Date:    Thu Jul 06 12:11:44 GMT 2006
>Last-Modified:  Thu Jul 06 12:11:44 GMT 2006
>Originator:     Andrei
>Release:        6.0-RELEASE AMD64
>Organization:
Goznak
>Environment:
>Description:
Where support VESA Modes for AMD64 kernel? Why "options VESA" not worked  for AMD64? How make videomode 1280x1024 or another? Why only one mode 80x25 available? You fix it in future or patch available now?
My hardware:
Athlon 3000 64, 1024M RAM, GeForce 6600GT PCIE, 2xHDD 250G Seagate SATA1
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:

From: Oliver Fromme <olli@lurza.secnetix.de>
To: hhc@tut.by
Cc: freebsd-amd64@FreeBSD.ORG, bug-followup@FreeBSD.ORG
Subject: Re: amd64/94896: Where support VESA Modes for AMD64 kernel ?
Date: Fri, 24 Mar 2006 08:42:03 +0100 (CET)

 Andrei <hhc@tut.by> wrote:
  > Where support VESA Modes for AMD64 kernel?
 
 It's not possible to support it.
 
  > Why "options VESA" not worked  for AMD64?
 
 Because FreeBSD/amd64 cannot perform calls to the VESA BIOS
 functions (which are 32bit i386 code, not amd64).
 
  > How make videomode 1280x1024 or another?
 
 I recommend you use Xorg for that.  Otherwise, if you
 absolutely need VESA modes, you have to install 32bit
 FreeBSD/i386.
 
  > Why only one mode 80x25 available?
 
 Actually I think 80x50 should be possible with vidcontrol(1),
 which is a standard mode that does not require VESA BIOS.
 
 Best regards
    Oliver
 
 -- 
 Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
 Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
 Any opinions expressed in this message may be personal to the author
 and may not necessarily reflect the opinions of secnetix in any way.
 
 "To this day, many C programmers believe that 'strong typing'
 just means pounding extra hard on the keyboard."
         -- Peter van der Linden

From: Michael Vince <mv@thebeastie.org>
To: Oliver Fromme <olli@lurza.secnetix.de>
Cc: hhc@tut.by,  bug-followup@FreeBSD.ORG,  freebsd-amd64@FreeBSD.ORG
Subject: Re: amd64/94896: Where support VESA Modes for AMD64 kernel ?
Date: Mon, 10 Apr 2006 00:21:53 +1000

 I don't want to sound like a complainer but there must still technically 
 be a console based hi-res mode for AMD64 because I saw such a high res 
 mode when I tried out Gentoo on my laptop.
 I decided I didn't like Gentoo but aside from that point it proves that 
 some how its possible for hi-res console even if no such code exists on 
 FreeBSD AMD64.
 
 Mike
 

From: Oliver Fromme <olli@lurza.secnetix.de>
To: mv@thebeastie.org (Michael Vince)
Cc: hhc@tut.by, bug-followup@FreeBSD.ORG, freebsd-amd64@FreeBSD.ORG
Subject: Re: amd64/94896: Where support VESA Modes for AMD64 kernel ?
Date: Sun, 9 Apr 2006 19:05:14 +0200 (CEST)

 I don't know what kind of "hi-res console mode" you have
 seen on Gentoo, and I don't know what Gentoo might be doing
 to enable such a thing.  Maybe they have implemented direct
 support for certain graphics hardware (like KGI), or maybe
 they switch to VESA mode before switching to amd64 mode.
 
 However, there is no way to call the x86 VESA BIOS in amd64
 ("long") mode, because amd64 has no vm86 mode.  It does not
 work, and Gentoo certainly doesn't do that either.
 
 So, "options VESA" in the kernel (which is what this PR is
 all about) does not make sense at all.
 
 Best regards
    Oliver
 
 -- 
 Oliver Fromme,  secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing
 Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd
 Any opinions expressed in this message may be personal to the author
 and may not necessarily reflect the opinions of secnetix in any way.
 
 "What is this talk of 'release'?  We do not make software 'releases'.
 Our software 'escapes', leaving a bloody trail of designers and quality
 assurance people in its wake."

From: Andrew Reilly <andrew-freebsd@areilly.bpc-users.org>
To: Oliver Fromme <olli@lurza.secnetix.de>
Cc: Michael Vince <mv@thebeastie.org>, freebsd-amd64@FreeBSD.ORG,
  bug-followup@FreeBSD.ORG, hhc@tut.by
Subject: Re: amd64/94896: Where support VESA Modes for AMD64 kernel ?
Date: Mon, 10 Apr 2006 20:37:52 +1000

 On Sun, Apr 09, 2006 at 07:05:14PM +0200, Oliver Fromme wrote:
 > I don't know what kind of "hi-res console mode" you have
 > seen on Gentoo, and I don't know what Gentoo might be doing
 > to enable such a thing.  Maybe they have implemented direct
 > support for certain graphics hardware (like KGI), or maybe
 > they switch to VESA mode before switching to amd64 mode.
 > 
 > However, there is no way to call the x86 VESA BIOS in amd64
 > ("long") mode, because amd64 has no vm86 mode.  It does not
 > work, and Gentoo certainly doesn't do that either.
 
 I don't know how Gentoo does it either, but I was thinking
 about this the other day, and wondered how possible it might be
 to write simple (non-fast) real-mode x86 emulator/interpreter
 (which could perhaps be unloaded when finished), just for this
 sort of thing.  It wouldn't need to emulate hardware, which is
 what takes up a lot of complexity in systems like bochs, because
 you want the emulated code to frob the real hardware: that's the
 point.
 
 I have a vague recollection that Sun (and Apple?, and DEC?) had
 to do this sort of thing for their Sparc and PowerPC systems
 when they started building PCI systems around their non-x86
 processors.
 
 Might even make ia32 systems neater, because you wouldn't need
 to muck about with vm86 mode to get those jobs done.
 
 -- 
 Andrew
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Thu Jul 6 12:11:13 UTC 2006 
State-Changed-Why:  
questions should go to the relevant Mailinglist. 

The Question has been answered by Oliver. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=94896 
>Unformatted:
