Date: Thu, 3 Dec 2009 14:50:22 -0500 From: Jung-uk Kim <jkim@FreeBSD.org> To: freebsd-x11@FreeBSD.org Cc: Mark Atkinson <atkin901@gmail.com> Subject: Re: kwin composite w/ opengl on r600? Message-ID: <200912031450.37922.jkim@FreeBSD.org> In-Reply-To: <1259864054.2315.206.camel@balrog.2hip.net> References: <hf8snq$epi$1@ger.gmane.org> <1259864054.2315.206.camel@balrog.2hip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912031450.37922.jkim>
