From owner-freebsd-mobile Tue Nov 30 12:14:42 1999 Delivered-To: freebsd-mobile@freebsd.org Received: from palrel3.hp.com (palrel3.hp.com [156.153.255.226]) by hub.freebsd.org (Postfix) with ESMTP id 7ADFD155B6; Tue, 30 Nov 1999 12:14:38 -0800 (PST) (envelope-from darrylo@sr.hp.com) Received: from postal.sr.hp.com (root@postal.sr.hp.com [15.4.46.173]) by palrel3.hp.com (8.8.6 (PHNE_17135)/8.8.5tis) with ESMTP id MAA28159; Tue, 30 Nov 1999 12:14:32 -0800 (PST) Received: from mina.sr.hp.com (root@mina.sr.hp.com [15.4.42.247]) by postal.sr.hp.com with ESMTP (8.8.6 (PHNE_17190)/8.7.3 TIS 5.0) id MAA02699; Tue, 30 Nov 1999 12:14:46 -0800 (PST) Received: from localhost (darrylo@mina.sr.hp.com [15.4.42.247]) by mina.sr.hp.com with ESMTP (8.8.6 (PHNE_17135)/8.7.3 TIS 5.0) id MAA06416; Tue, 30 Nov 1999 12:14:26 -0800 (PST) Message-Id: <199911302014.MAA06416@mina.sr.hp.com> To: "Jose M. Alcaide" Cc: freebsd-mobile@FreeBSD.ORG, yokota@FreeBSD.ORG, Mike Smith , Jeff Subject: Re: ATI Mobility Reply-To: Darryl Okahata In-reply-to: Your message of "Tue, 30 Nov 1999 17:38:08 +0100." <3843FD70.E074E5F@we.lc.ehu.es> Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: Tue, 30 Nov 1999 12:14:26 -0800 From: Darryl Okahata Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org "Jose M. Alcaide" wrote: > However, the Linux kernel *can* set that VESA video mode. How? > Obviously, what I am trying to do is the same trick that the Linux > people uses, but as a small wrapper for the XF86_Mach64 server that > could set the 0x117 VESA mode, start the X server, and restore the old > video mode on exit. There's more to the problem than this. I just got a 7500, and I think that we may just have to wait for XFree86 to support the Mobility-P (or buy the commercial server, which I may do). In order for the VESA ioctl() to "work", you've got to disable the code in sys/i386/isa/vesa.c that checks for "supported VESA modes". Until you do that, none of the VESA modes are accessible ("vidcontrol -i mode" shows no VESA modes). The BIOS on the Inspiron reports that all VESA modes have the "V_MODENONVGA" mode attribute bit set, and FreeBSD normally rejects any mode with this bit set. If you do this, and force the VESA mode using the ioctl(...,SW_VESA_64K_1024,...) trick on /dev/ttyv8, you can get 1024x768 to work on an Inspiron 7500, but the display is fuzzy (due to the automatic screen "stretching"). The default cross-hatched background is particularly ugly, with faint moire-like patterns due to aliasing/stretching. You do have to compile up an XFree86 3.3.5 Mach64 server with Jay Kuri's patches, though; the FreeBSD one referenced in the linux page won't work. Unfortunately, I've been unable to get 1400x1050 to work. X11 starts (and can be seen), but the graphics are corrupted. Foo. So close. I may hack on this a bit more. -- Darryl Okahata darrylo@sr.hp.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message