From owner-freebsd-ports@FreeBSD.ORG Tue Dec 22 17:13:23 2009 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2B6DA1065693; Tue, 22 Dec 2009 17:13:23 +0000 (UTC) (envelope-from rnoland@FreeBSD.org) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id CB27A8FC17; Tue, 22 Dec 2009 17:13:22 +0000 (UTC) Received: from [192.168.1.4] (adsl-156-16-112.bna.bellsouth.net [70.156.16.112]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id nBMHDKh7068992 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 22 Dec 2009 12:13:20 -0500 (EST) (envelope-from rnoland@FreeBSD.org) From: Robert Noland To: Norikatsu Shigemura In-Reply-To: <20091223020315.890e2ee0.nork@FreeBSD.org> References: <20091205104243.f66171bb.nork@FreeBSD.org> <20091221003422.f13f9cbd.nork@ninth-nine.com> <20091221045848.9ffc345d.nork@FreeBSD.org> <1261463198.9743.39.camel@balrog.2hip.net> <20091223020315.890e2ee0.nork@FreeBSD.org> Content-Type: text/plain Organization: FreeBSD Date: Tue, 22 Dec 2009 11:13:14 -0600 Message-Id: <1261501994.2304.12.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RDNS_DYNAMIC, SPF_SOFTFAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: ports@FreeBSD.org, x11@FreeBSD.org Subject: Re: [HEADS UP] Experimental 3D HW accel support for Radeon HD 2xxx, 3xxx and 4xxx, 2nd! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Dec 2009 17:13:23 -0000 On Wed, 2009-12-23 at 02:03 +0900, Norikatsu Shigemura wrote: > Hi rnoland. > > On Tue, 22 Dec 2009 00:26:38 -0600 > Robert Noland wrote: > > As much as I don't want to, I need to request a repo copy of libdrm in > > order to keep nouveau working... The bits needed for r600 were added > > just after 2.4.12 and the bits that broke nouveau were just before > > 2.4.13... > > Ah, I just see! ABI breakage is building issue, I confirmed: > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > $ cd /usr/ports/x11-drivers/xf86-video-nouveau > $ make > : > nv_driver.c: In function 'NVPreInitDRM': > nv_driver.c:676: error: 'struct nouveau_device_priv' has no member named 'mm_enabled' > nv_driver.c: In function 'NVMapMemSW': > nv_driver.c:1146: warning: implicit declaration of function 'nouveau_bo_fake' > *** Error code 1 > 2 errors > *** Error code 1 > 1 error > *** Error code 2 > 1 error > *** Error code 1 > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - > > I think simple-fully xf86-video-nouveau updating at the same > time. Please see also attached patch. I confirmed that > compile is OK. But I don't have any GeForce video cards. > So I don't know any problems of updating it in real. > > And do you have any recommendation of GeForce? e.g. 9800GTX, > GT260, ... I'll get one and test. I'm interested in Cuda > and nvidia binary driver, too. The problem is that updating nouveau will mean that drm support will be lost. The fake buffer object bits were removed only leaving full TTM support. We don't have TTM support in the kernel yet and my kernel patch relies on the fake buffer object code to function. > P.S. libdrm was update to 2.4.17, so I'll update... That is the issue, if we update libdrm then we lose drm support for nouveau. The only immediate option that I see is to repo-copy libdrm to keep 2.4.12 for nouveau, but that leads to dependency nightmares... robert. -- Robert Noland FreeBSD