From owner-freebsd-amd64@FreeBSD.ORG Wed Sep 15 21:29:38 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6183E16A4CF for ; Wed, 15 Sep 2004 21:29:38 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02C4D43D2F for ; Wed, 15 Sep 2004 21:29:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 28270 invoked from network); 15 Sep 2004 21:29:37 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 15 Sep 2004 21:29:37 -0000 Received: from [10.50.40.210] (gw1.twc.weather.com [216.133.140.1]) (authenticated bits=0) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i8FLTXCP060045; Wed, 15 Sep 2004 17:29:33 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-amd64@FreeBSD.org, Adam Gregoire Date: Wed, 15 Sep 2004 17:24:09 -0400 User-Agent: KMail/1.6.2 References: <200409142153.i8ELrPXB050489@S01060080c83f4fb0.su.shawcable.net> In-Reply-To: <200409142153.i8ELrPXB050489@S01060080c83f4fb0.su.shawcable.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200409151724.09501.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: anholt@FreeBSD.org cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: amd64/71753: DRI loads but fails to render on Radeon 9200se(RV280). X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Sep 2004 21:29:38 -0000 On Tuesday 14 September 2004 05:53 pm, Adam Gregoire wrote: > >Number: 71753 > >Category: amd64 > >Synopsis: DRI loads but fails to render on Radeon 9200se(RV280). > >Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-amd64 > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Wed Sep 15 07:10:13 GMT 2004 > >Closed-Date: > >Last-Modified: > >Originator: Adam Gregoire > >Release: FreeBSD 5.3-BETA4 amd64 > >Organization: > > N/A > > >Environment: > > System: FreeBSD S01060080c83f4fb0 5.3-BETA4 FreeBSD 5.3-BETA4 #3: Mon Sep > 13 03:39:47 EDT 2004 root@S01060080c83f4fb0:/usr/obj/usr/src/sys/OPTMZD > amd64 > > $ pkg_info | grep 'dri-' > dri-5.0.2,1 OpenGL hardware acceleration drivers for the DRI > > $pkg_info | grep 'xorg-' > xorg-clients-6.7.0_4 X client programs and related files from X.Org > xorg-fonts-encodings-6.7.0 X.Org font encoding files > xorg-fonts-miscbitmaps-6.7.0 X.Org miscellaneous bitmap fonts > xorg-fonts-truetype-6.7.0 X.Org TrueType fonts > xorg-libraries-6.7.0_1 X11 libraries and headers from X.Org > xorg-server-6.7.0_7 X.Org X server and related programs > > >Description: > > $ dmesg | grep agp > agp0: mem 0xf8000000-0xfbffffff at device 0.0 > on pci0 > > $ dmesg | grep drm > drm0: port 0xa000-0xa0ff mem > 0xfd400000-0xfd40ffff,0xe8000000-0xefffffff irq 16 at device 0.0 on pci1 > info: [drm] AGP at 0xf8000000 64MB > info: [drm] Initialized radeon 1.11.0 20020828 on minor 0 > info: [drm] Loading R200 Microcode > > $ glxinfo | grep rendering > direct rendering: Yes > > $ glxgears > drmCommandWrite: -22 > drmRadeonCmdBuffer: -22 (exiting) > > and the following gets written to syslog: > error: [drm:pid5296:radeon_cp_cmdbuf] *ERROR* bad cmd_type 0 at 0x561e10 > > >How-To-Repeat: > > Load DRI on amd64(others) on the radeon 9200se (RV280) chipset. > > Running glxgears produces: > drmCommandWrite: -22 > drmRadeonCmdBuffer: -22 (exiting) > > >Fix: > > N/A > > >Release-Note: > >Audit-Trail: > >Unformatted: Do you have any errors in Xorg.0.log? Also, did you add an 'AGPSize' option to your Xorg config file to tell it you have a 64MB aperture? X seems to assume a default size of 8MB unless you explicitly tell it you have more. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org