From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 7 21:16:30 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A14F73A; Wed, 7 Nov 2012 21:16:30 +0000 (UTC) (envelope-from andreast-list@fgznet.ch) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) by mx1.freebsd.org (Postfix) with ESMTP id F42088FC08; Wed, 7 Nov 2012 21:16:29 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id qA7LGRFZ027815; Wed, 7 Nov 2012 22:16:27 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <509ACFAA.8050802@fgznet.ch> Date: Wed, 07 Nov 2012 22:16:26 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: matt Subject: Re: PPC DRM graphics testing References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> <50988FE0.9030806@gmail.com> <50989EA0.5020509@fgznet.ch> <5098CA4F.7020306@gmail.com> <509A8B3D.8030703@fgznet.ch> <509A9D11.6010605@gmail.com> <509A9FD4.4050403@fgznet.ch> In-Reply-To: <509A9FD4.4050403@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: x11@freebsd.org, freebsd-ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2012 21:16:30 -0000 On 07.11.12 18:52, Andreas Tobler wrote: > On 07.11.12 18:40, matt wrote: >> On 11/07/12 08:24, Andreas Tobler wrote: >>> Just a short notice from my side. I finally managed to get the pci >>> radeon 9200 work, means I can startx. >>> I had some issues until I found out how to make Xorg recognize the pci >>> card which is not in the primary pci domain. >>> >>> I needed this string in the xorg.conf, under the section "Device" >>> >>> BusID "PCI:1@1:2:0" >>> >>> Important is ":domain@bus:". >>> >>> Regarding drm, I get hardlocks as soon as I start glxgears or other >>> samples. No more info yet. >>> >>> Here the render string: >>> --- >>> direct rendering: Yes >>> OpenGL renderer string: Mesa DRI R200 (RV280 5961) 20090101 TCL >>> --- >>> >>> Chipset: "ATI Radeon 9200 5961 (AGP)" (ChipID = 0x5961) >>> Mapped VideoRAM: 131072 kByte (128 bit DDR SDRAM) >>> >>> Note, it is a PCI card, not an AGP one. >>> >>> Also, I do run old Xorg (X.Org X Server 1.7.7 and the 6.14.3 ati pkg.). >>> >>> I'll continue playing a bit. >>> >>> Andreas >>> >>> >> So it sounds like something wrong with the r200 driver, the radeon >> specific mesa parts, or the radeon specific drm for this model. I have >> yet to try disabling one cpu in OF, as many r200 systems (both mac and >> pc) were single processor perhaps it has issues. The problem is >> obviously model specific, with my luck it's the only model I have :). I >> foolishly have WITNESS off, so I may enable that and check for stuff >> like LORs. > > Yeah, a try worth. Here I run the r200 on a UP G5 PowerMac9,1. The AGP's > run on dual G5. > >> I might be able to test a quad g5 with the x1900, assuming the stars >> align and it's functional and the liquid cooler hasn't given up yet. > > :) > > As long as the UP G5 does not work properly, I do not try it on my quad. > I start investigating now with different ati pkg's. So. Newer ati packages did not improve. I then decided to start from a clean base, no debug Xorg, no debug radeon driver etc. I cleaned, deinstalled and reinstalled first the xorg-server then the dri and afterwards the same for the xf86-video-ati. The order of dri and ati does not matter I think. Having done this, I was able to run the 3D-demos.... yeah! The kernel has WITTNES and friends commented, also DRM_DEBUG is off. Here the excerpts from the Xorg.log: X.Org X Server 1.7.7 Module radeon: compiled for 1.7.7, module version = 6.14.3 Andreas