From owner-freebsd-x11@FreeBSD.ORG Thu Dec 10 19:50:33 2009 Return-Path: Delivered-To: freebsd-x11@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B89C3106566C for ; Thu, 10 Dec 2009 19:50:33 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 84EC28FC1A for ; Thu, 10 Dec 2009 19:50:33 +0000 (UTC) Received: from [192.168.1.4] (adsl-156-16-112.bna.bellsouth.net [70.156.16.112]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nBAJoTsP042635 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 10 Dec 2009 14:50:30 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Steve Polyack In-Reply-To: <4B213D8F.6080906@comcast.net> References: <4B213D8F.6080906@comcast.net> Content-Type: text/plain Organization: FreeBSD Date: Thu, 10 Dec 2009 13:50:23 -0600 Message-Id: <1260474623.2281.8.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11 Subject: Re: PCI Radeon 9250 - DRI/DRM in 8.0-RELEASE X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Dec 2009 19:50:33 -0000 On Thu, 2009-12-10 at 13:27 -0500, Steve Polyack wrote: > (II) RADEON(0): [pci] 8192 kB allocated with handle 0xe9b02000 > (II) RADEON(0): [pci] ring handle = 0xe9b02000 > (II) RADEON(0): [pci] Ring mapped at 0x28a7d000 > (II) RADEON(0): [pci] Ring contents 0x00eeeeec > (II) RADEON(0): [pci] ring read ptr handle = 0xe9c03000 > (II) RADEON(0): [pci] Ring read ptr mapped at 0x286ff000 > (II) RADEON(0): [pci] Ring read ptr contents 0x00ffffff > (II) RADEON(0): [pci] vertex/indirect buffers handle = 0xe9c04000 > (II) RADEON(0): [pci] Vertex/indirect buffers mapped at 0x30c00000 > (II) RADEON(0): [pci] Vertex/indirect buffers contents 0x00ffffff > (II) RADEON(0): [pci] GART texture map handle = 0xe9e04000 > (II) RADEON(0): [pci] GART Texture map mapped at 0x30e00000 > (II) RADEON(0): [drm] register handle = 0xfe5d0000 The corruption is due to the ring not being zeroed as it should be. This seems to only occur on i386 builds and even then, only sometimes. I'm trying to look into this issue again and I've previously eliminated everything except libdrm and the kernel from this issue by testing with a small sample program that directly interacts with drm without X running. All of the pointers seem to be correct and valid, but the contents during startup should always be 0. Can you do a "sysctl hw.busdma" while X is up with drm enabled? robert. -- Robert Noland FreeBSD