From owner-freebsd-current Fri May 15 13:21:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA27447 for freebsd-current-outgoing; Fri, 15 May 1998 13:21:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from dyson.iquest.net (dyson.iquest.net [198.70.144.127]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA27388; Fri, 15 May 1998 13:21:46 -0700 (PDT) (envelope-from toor@dyson.iquest.net) Received: (from root@localhost) by dyson.iquest.net (8.8.8/8.8.8) id PAA02838; Fri, 15 May 1998 15:19:49 -0500 (EST) (envelope-from toor) Message-Id: <199805152019.PAA02838@dyson.iquest.net> Subject: Re: People having problems with X windows? In-Reply-To: <2028.895222610@critter.freebsd.dk> from Poul-Henning Kamp at "May 15, 98 10:56:50 am" To: phk@critter.freebsd.dk (Poul-Henning Kamp) Date: Fri, 15 May 1998 15:19:48 -0500 (EST) Cc: dyson@FreeBSD.ORG, sos@FreeBSD.ORG, current@FreeBSD.ORG From: "John S. Dyson" Reply-To: dyson@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Poul-Henning Kamp said: > In message <199805150738.CAA03075@dyson.iquest.net>, "John S. Dyson" writes: > > >I just removed my WC "improvements", by adding the return to the > >subroutine in the pmap code. See if it is more friendly. The > >symptoms appear to be those associated with improper setting of > >WC mode for a display adaptor. I had to add a heuristic to make > >it work correctly on one of my cards, but I guess it was bad. > > > >The code is still in there, but I guess there is the need for more > >research into the issue. > > I would expect WC to break any and all accelerated adapters that > communicate with the graphics engine through the ram window... > > What is needed is to XFree86 to be able to madvise the true frame > buffer as "Write-combine" and leave the rest of the ram window > unaffected. > There are two forms of PCI RAM. One type is prefetchable and the other type isn't. The problem is that some adaptors might be specifying that some ram is prefechable when it isn't. My Matrox specifies them correctly, but my S3 Motion 771 doesn't. I added a heuristic so that the S3 could use the WC mode, but could have broken other adaptors. -- John | Never try to teach a pig to sing, dyson@freebsd.org | it just makes you look stupid, jdyson@nc.com | and it irritates the pig. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message