From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 20 23:40:14 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41EF416D2B7 for ; Tue, 20 Feb 2007 23:40:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2A50813C441 for ; Tue, 20 Feb 2007 23:40:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1KNeELU096406 for ; Tue, 20 Feb 2007 23:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1KNeENs096405; Tue, 20 Feb 2007 23:40:14 GMT (envelope-from gnats) Date: Tue, 20 Feb 2007 23:40:14 GMT Message-Id: <200702202340.l1KNeENs096405@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Chris Billington" Cc: Subject: Re: kern/108582: [agp] White square cursor i915 DRI Xorg 6.9.0 AGP X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Chris Billington List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Feb 2007 23:40:14 -0000 The following reply was made to PR kern/108582; it has been noted by GNATS. From: "Chris Billington" To: bug-followup@freebsd.org, billington.chris@gmail.com Cc: Subject: Re: kern/108582: [agp] White square cursor i915 DRI Xorg 6.9.0 AGP Date: Wed, 21 Feb 2007 00:39:32 +0100 Chasing these errors: %grep ALLOC /var/log/Xorg.0.log (WW) ****INVALID MEM ALLOCATION**** b: 0xffe80000 e: 0xffefffff correcti= ng (WW) ****INVALID MEM ALLOCATION**** b: 0xffe40000 e: 0xffe7ffff correcti= ng A slightly dirty hack has fixed this problem. I followed the suggestion at = http://leaf.dragonflybsd.org/mailarchive/users/2006-12/msg00109.html By removing the new lines in the RemoveOverlaps code since version 1.3 o= f = xorg 6.9.0 xf86.c, that is reverting to the old 6.8.2 version of the = overlap removal code: http://webcvs.freedesktop.org/xorg/xc/programs/Xserver/hw/xfree86/common= /xf86Bus.c?r1=3D1.3&r2=3D1.8 Then recompile and reinstall Xorg 6.9.0 from ports After enabling DRI and HWCursor, accelerated Xorg works. glxgears gives 1150 fps and video/dvd etc plays very smoothly with xvide= o = acceleration and xorg.conf VideoRam parameter set to 65536 (the default)= . It therefore appears this error was caused by a bug in the PCI bus = scanning in Xorg 6.9.0 rather than the AGP attach code. I could have downgraded the port to xorg-server 6.8.2 but shied away fro= m = recompiling loads of dependencies. I hope this is useful to someone and the fix makes it into the new drive= r = in modular Xorg.