From owner-freebsd-x11@FreeBSD.ORG Sat Sep 26 21:47:12 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 127AF1065676 for ; Sat, 26 Sep 2009 21:47:12 +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 B2FF08FC12 for ; Sat, 26 Sep 2009 21:47:11 +0000 (UTC) Received: from [192.168.1.4] (adsl-241-169-177.bna.bellsouth.net [74.241.169.177]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id n8QLl7Bo034957 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 26 Sep 2009 17:47:09 -0400 (EDT) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Richard Kolkovich In-Reply-To: <20090926194802.GA67832@divination.portal.sigil.org> References: <20090924181427.GD2539@magus.portal.sigil.org> <20090925143910.GD61689@divination.portal.sigil.org> <1253897144.2065.150.camel@balrog.2hip.net> <20090925173416.GF61689@divination.portal.sigil.org> <1253915723.2145.53.camel@balrog.2hip.net> <20090926001158.GA42914@divination.portal.sigil.org> <1253925689.2065.81.camel@balrog.2hip.net> <20090926045706.GB42914@divination.portal.sigil.org> <1253977337.2048.17.camel@balrog.2hip.net> <1253993801.2048.295.camel@balrog.2hip.net> <20090926194802.GA67832@divination.portal.sigil.org> Content-Type: text/plain Organization: FreeBSD Date: Sat, 26 Sep 2009 16:47:01 -0500 Message-Id: <1254001621.2048.431.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.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, 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@freebsd.org Subject: Re: HD4550 DRI issues 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: Sat, 26 Sep 2009 21:47:12 -0000 On Sat, 2009-09-26 at 14:48 -0500, Richard Kolkovich wrote: > On Sat, Sep 26, 2009 at 02:36:41PM -0500, Robert Noland wrote: > > > Ok, attached is a really simple client that will allocate 32MB of > > > scatter-gather memory and map a 1MB ring buffer out of that. The > > > "contents" values should always be 0. Build the client with: > > > > > > gcc -O2 -pipe -I/usr/local/include -I/usr/local/include/drm > > > -L/usr/local/lib -ldrm -o drm-test drm-test.c > > > > > > To perform the test, you will need to boot up in console. (No X) > > > Manually kldload the radeon driver and then as root execute drm-test. > > > > Since nothing that we are doing here is actually device specific, I > > loaded this up on the VIA VX800 board, which is an i386 build. > > Everything works fine. Sample *good* output: > > > > gopher% gcc -O2 -pipe -I/usr/local/include -I/usr/local/include/drm > > -L/usr/local/lib -ldrm -o drm-test drm-test.c > > gopher% sudo ./drm-test > > Allocated 32MB with handle=0x00000000e82b8000 > > Added 1024KB map for ring buffer with handle=0x00000000e82b8000 > > ring=0x00000028300000, contents=0x0000000000000000 > > > > Here's my output: > > +% sudo ./drm-test > Allocated 32MB with handle=0x00000000dc595000 > Added 1024KB map for ring buffer with handle=0x00000000dc595000 > ring=0x00000028300000, contents=0x000000003c66c369 > > I guess those are the expected results of the test given what we've seen previously... > > I'm running on an Intel x58 board, i7 processor. This is on the UP i386 -CURRENT kernel I built. Ok, that eliminates everything to do with the card and X. Let me talk to some folks and see if we can figure out where to go from here... I'm wondering if this might be BIOS or CPU related now... robert. -- Robert Noland FreeBSD