From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 7 16:24:40 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 635C9F16; Wed, 7 Nov 2012 16:24:40 +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 E03458FC08; Wed, 7 Nov 2012 16:24:39 +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 qA7GOT4N013088; Wed, 7 Nov 2012 17:24:31 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <509A8B3D.8030703@fgznet.ch> Date: Wed, 07 Nov 2012 17:24:29 +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> In-Reply-To: <5098CA4F.7020306@gmail.com> Content-Type: text/plain; charset=UTF-8 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 16:24:40 -0000 On 06.11.12 09:29, matt wrote: > On 11/05/12 21:22, Andreas Tobler wrote: >> Hm, I can try to bring the Radeon 9200 PCI up and see how it behaves. >> It'll take a few moments. But at least we have another config to compare. >> >> Oh, and one thing to note, my config works with built-in (not a kernel >> module) drm/radeondrm. Have you tried this too? >> >> Kernel config: >> # Direct Rendering modules for 3D acceleration. >> device drm # DRM core module required by DRM drivers >> device radeondrm # ATI Radeon >> >> >> Attached the patch to make it compile. >> >> Andreas >> >> >> > A good idea, but it didn't help. Backtrace was slightly different, but > nothing decisive. exaCopyDirty() seems to be involved quite often. > > I also found 7.7 will not work, because although they left in r200, they > stripped out UMS. > > So it's back to the drawing board, or at least poking at sources and/or > gdb for a while :) 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