From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 6 04:20:11 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 04E1640F; Tue, 6 Nov 2012 04:20:11 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id BEB2D8FC0A; Tue, 6 Nov 2012 04:20:10 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so16350pad.13 for ; Mon, 05 Nov 2012 20:20:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=CndljjysssRMGmVpxK0vltf/o5OhZa/S0zq+SmlI1uQ=; b=vFVrvttANfAJJp/KxbKT5NjLJ4w9CcHegSBj+Ke3fpJKkfrhu9RoaBeB2hHtkpF3x5 O2tq3Z/IRVj8XOsbG+9oSh/h0E+LvtX0g1BY+/MCqlWIbtVMZCocbPVPvN7fBMPKmt8P O+jnvshxN3rvF37JbDU1t1+4EEDSGNguAw6/itDZeEJXH9xrGFxGxceq6vyjRaTV3buB /yNJYSbi2t4wZIjYGsMwkBj9kHHKd4jiSkBVbsS233aukuSiSEwc0JkKo6M1S/igbqVn VJQO91PSbrdxlul6SrW/vKImYHmvYaGf6WHG1OqD+Ond5Qa7fex1y7REiVRRRH1aK5KD TwhA== Received: by 10.68.209.230 with SMTP id mp6mr36540808pbc.8.1352175610376; Mon, 05 Nov 2012 20:20:10 -0800 (PST) Received: from flatline.local (70-36-223-239.dsl.dynamic.sonic.net. [70.36.223.239]) by mx.google.com with ESMTPS id i4sm11743685pav.20.2012.11.05.20.20.07 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2012 20:20:09 -0800 (PST) Message-ID: <50988FE0.9030806@gmail.com> Date: Mon, 05 Nov 2012 20:19:44 -0800 From: matt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: Andreas Tobler Subject: Re: PPC DRM graphics testing References: <50972E9E.3010101@gmail.com> <50974ECD.5010702@fgznet.ch> In-Reply-To: <50974ECD.5010702@fgznet.ch> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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: Tue, 06 Nov 2012 04:20:11 -0000 On 11/04/12 21:29, Andreas Tobler wrote: > On 05.11.12 04:12, matt wrote: >> So I've been plagued by issues on my rv250...the gpu is locking up at >> times and resulting in a backtrace that seems to indicate the card is no >> longer responding (drmCommandNone hangs on drmIoctl hangs on ioctl). At >> this point, I'm not sure if I have bad hardware, something is wrong with >> mesa for rv250, or something is wrong with drm. I unfortunately only >> have one PowerPC machine with a radeon card, so I'd love to see if >> anyone else has had any luck with similar configs (G4 tower with radeon >> AGP card). >> >> If anyone has a working radeon with DRM on powerpc, could you post >> glxinfo | fgrep 'render' (if you can get mesa-demos to compile...it's a >> chore). And/or results trying to run a 3d app like minetest, glxgears, >> whatever uses DRI would be really helpful in ruling out both my hardware >> and the drm code. I don't want to dig into the mesa mess unless I'm sure >> that's where the problem lies.¨ > Both on a G5 in 32-bit mode. And mesa-demos are 'working'. > > Radeon 9600: > direct rendering: Yes > OpenGL renderer string: Mesa DRI R300 (RV350 4152) 20090101 TCL > > > Radeon 9800: > direct rendering: Yes > OpenGL renderer string: Mesa DRI R300 (R350 4E48) 20090101 TCL > > Andreas > Thanks, it makes me think AGP is fine on powerpc, and that it's probably my hardware or a mesa bug...I have seen a lot of historical discussion of the locking scheme in the r200 drivers, and it makes me wonder if that and/or smp are to blame. Apparently drmCommandNone is one of the few times drm actually waits for the card, so many different bugs that crash the gpu will appear with a similar back trace ending in drmCommandNone calling ioctl. Matt