From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 16 00:05:19 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 E1BC7E37; Fri, 16 Nov 2012 00:05:18 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9F5D48FC12; Fri, 16 Nov 2012 00:05:18 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id wz12so1639079pbc.13 for ; Thu, 15 Nov 2012 16:05:18 -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:x-enigmail-version:content-type :content-transfer-encoding; bh=HpWva6aUhSfiuAjDQJ63+vNONKa6yh5WCDjaP62ic/g=; b=Hhw5VQfgSCreJmIpSJNhCx7VMdXx3gmSLsHG2/7ObAd9sp/X8apb/8oj5GvmrTmbkx j5RlrCZdRtKoN0B7JqPqxgZ3F4l8Lt/qbrh47dhqFAU+gM9+COv+6nbabVJ75JfNyc15 t/uOMT3nAfHzNYJnYaAdsB2Ew7ocza6m9sFdANIdBEze9co7aQIRN57k1/JCNl1VN0XV XoOo4saszoi5gXH+ySkmqjjZGht3sm9/j1eWK3gETy2rTRWaRMz9hB8uTfV0z9ox7/MU eNEnaI0I0eSqzQcueV6iWiK73YYijllQz3ArqKmmVFQmVt+JHs+pxq0LD28uSnuoox71 gc1A== Received: by 10.69.1.37 with SMTP id bd5mr9694541pbd.77.1353024318275; Thu, 15 Nov 2012 16:05:18 -0800 (PST) Received: from bakeneko.local (108-213-216-134.lightspeed.sntcca.sbcglobal.net. [108.213.216.134]) by mx.google.com with ESMTPS id mt15sm171749pbc.49.2012.11.15.16.05.16 (version=SSLv3 cipher=OTHER); Thu, 15 Nov 2012 16:05:17 -0800 (PST) Message-ID: <50A58331.9060305@gmail.com> Date: Thu, 15 Nov 2012 16:05:05 -0800 From: matt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121106 Thunderbird/10.0.10 MIME-Version: 1.0 To: Michael Copeland 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> <509ACFAA.8050802@fgznet.ch> <509CA2FF.7070902@gmail.com> <509D7BC5.1020301@fgznet.ch> <50A008D5.2060003@fgznet.ch> <50A1CA6D.40907@gmail.com> <20121114165618.18affd74@narn.knownspace> <50A56177.9060601@gmail.com> In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: x11@freebsd.org, Justin Hibbits , 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: Fri, 16 Nov 2012 00:05:19 -0000 On 11/15/12 14:34, Michael Copeland wrote: > Nouveau is definitely broken because TTM is missing entirely. The X driver > for the radoen, or DDX requires the TTM and I don't think there has been a > single bit of real work to get this implemented. DRM and Mesa both require > ttm in the kernel drivers to even begin to work. If we could find someone > willing to actually do the work of integrating these into the kernel, we > could have nouveau. Nouveau works great under linux on my G5, enough so > that I can watch movies fullscreen with no tearing, and if I use gallum3D, > I can actually play some fairly "recent" 3D games. As far as copying the > atombios out of the os x driver, that's a possibilty. Now what the nouveau > guys did was initiate the card with the nvidia blob and look at the cards > states before and after in order to make a working driver. You could > probably do the same thing using linux as the foundation for getting the > radeon to work properly on the G5. Perhaps you could just load up linux on > there to get the bios from memory. Oh TTM...are there any docs for this "thing"? Or is the problem we need to blackbox/cleanroom it out of Linux? Regarding the X1900 driver, I think it's also broken on Linux (no google results of it working, anyway...). I have a big amd64 board with a couple x16 slots, so I may boot it up and try to see what I can snag with Linux or GPU-Z (or whatever windows gamer tools their are for flashing radeons). It's also worth looking at what the driver actually needs the bios for and like you mention hardcode defaults based on the running card or it's pc equivalent. That's another project... :) Matt