From owner-freebsd-x11@FreeBSD.ORG Thu Dec 3 19:50:51 2009 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id DF1071065693; Thu, 3 Dec 2009 19:50:50 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-x11@FreeBSD.org Date: Thu, 3 Dec 2009 14:50:22 -0500 User-Agent: KMail/1.6.2 References: <1259864054.2315.206.camel@balrog.2hip.net> In-Reply-To: <1259864054.2315.206.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200912031450.37922.jkim@FreeBSD.org> Cc: Mark Atkinson Subject: Re: kwin composite w/ opengl on r600? X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Dec 2009 19:50:51 -0000 On Thursday 03 December 2009 01:14 pm, Robert Noland wrote: > On Thu, 2009-12-03 at 09:32 -0800, Mark Atkinson wrote: > > Hi, > > > > I've been trying to get some of the window effects to work under > > kwin/kde4.x, however I think I'm being stymied by the dri mesa > > build from ports not supporting the r600. > > > > e.g. it only loads/enables the software rasterizer below. > > > > Any hints on getting this working? Can I build the git head for > > r600/mesa and have it works with the ports? > > right now, you need to update libdrm and mesa. For libdrm, you can > just bump the version in the port to 2.4.15 and it should be fine. > For mesa, you need to install from git until 7.6.1 is released. > 7.6 has r600 support, but there were a few bugs that didn't get > addressed prior to release, which make it very annoying to use in > compiz/kde4. > > My normal process is: > > Clone the mesa/mesa repo. > > Use the following to autogen/configure. > CPPFLAGS="${CPPFLAGS} -I/usr/local/include" LDFLAGS="${LDFLAGS} > -L/usr/local/lib" ./autogen.sh --enable-xcb > > gmake > > sudo cp lib/lib* /usr/local/lib > sudo cp lib/*_dri.so /usr/local/lib/dri JFYI, I just made temporary ports for your convenience: http://people.freebsd.org/~jkim/ports-mesa-7.6.1rc2.tar.bz2 This tarball has libdrm 2.4.16 and Mesa3D 7.6.1-rc2. > That should have things working pretty well. Note that you need > xf86-video-ati 6.12.4, which I just updated the other day. Thanks! Jung-uk Kim