From owner-freebsd-mobile Fri May 19 11:29:23 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by hub.freebsd.org (Postfix) with ESMTP id 1E79037B5BA for ; Fri, 19 May 2000 11:29:20 -0700 (PDT) (envelope-from darrylo@sr.hp.com) Received: from mina.sr.hp.com (mina.sr.hp.com [15.4.42.247]) by palrel1.hp.com (Postfix) with ESMTP id A385525D; Fri, 19 May 2000 11:27:31 -0700 (PDT) Received: from localhost (darrylo@localhost [127.0.0.1]) by mina.sr.hp.com (8.9.3 (PHNE_18979)/8.9.3 SMKit7.0) with ESMTP id LAA01670; Fri, 19 May 2000 11:27:30 -0700 (PDT) Message-Id: <200005191827.LAA01670@mina.sr.hp.com> To: Ted Faber Cc: Konstantin Chuguev , Lyndon Nerenberg , Tom Glover , freebsd-mobile@freebsd.org Subject: Re: Mach64 ATI Rage Mobility on Inspiron 5000-7000 [Re: apmd] Reply-To: Darryl Okahata In-reply-to: Your message of "Fri, 19 May 2000 10:30:56 PDT." <200005191730.KAA92229@ted.isi.edu> Mime-Version: 1.0 (generated by tm-edit 1.5) Content-Type: text/plain; charset=US-ASCII Date: Fri, 19 May 2000 11:27:17 PDT From: Darryl Okahata Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Ted Faber wrote: > Konstantin Chuguev wrote: > >Well, the message is both about accelerated X server and its APM behaviour. > > > >I don't remember the original location of the patch, but I have put it > >here: > >http://www.dante.net/staff/konstantin/XFree86-3.3.5-FreeBSD-3.3-Inspiron7500.tar.gz > > Thanks, but it didn't work for me. (The Xserver didn't produce > correct video, so I didn't try the shutdown behavior.) I wrote the above "patch", and can say the following about it: * It's for the Dell Inspiron 7500 -- that's why "Inspiron7500" is part of the file name, instead of something like "ATIRage". The patch may not work on other laptops, like a Fujitsu. If I recall correctly, the patch relies upon certain VESA modes in the BIOS (yes, the *BIOS*). If the Fujitsu BIOS doesn't support the right VESA mode (and it's quite possible that it doesn't), then the patch won't work. For the exact VESA mode, see the source for the included "xvtykludge" program. [ The patched X server works because "xvtykludge" places the display into a VESA mode that, AS A SIDE EFFECT, happens to magically set the magical registers that allows the X server to work. There's a good reason why the word "kludge" is in the program name. ;-) One may be able to get this working on a Fujitsu, if one can find the correct magic VESA mode for the Fujitsu, if one exists. ] * One possible reason why the patched X server "doesn't work", is because the included program ("xvtykludge") was not run BEFORE running the patched X server. * Another possible reason is that the included kernel patch was not applied (or failed to apply), or the kernel was not rebuilt with the patch, or the system was not rebooted with the new kernel. All of this has to happen before "xvtykludge" can be run successfully. That said, I can say that the XFree86 4.0 Mach64 server works fine under FreeBSD 4.0-STABLE. You don't need any of my patches or programs. The Mach64 server works with suspend/resume and closing/opening the lid. I also haven't gotten any of the nasty graphics corruption that I was getting with the patched server. You do, however, have to write your own XF86Config file, as the "XFree86 -configure" command doesn't work. -- Darryl Okahata darrylo@soco.agilent.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