[Lunar-commits] <moonbase> mesa-lib: VMware 2D/3D acceleration enabled

Drew Kelling akelling at gmail.com
Mon May 16 20:42:44 CEST 2011


Thanks Dveatch!

mesa-lib would not build for me till I did this fix and I also had to relin
libdrm on my system in order for it to be happy.

I am also not running VMWARE.

On Mon, May 16, 2011 at 4:20 AM, Dennis Veatch
<dennisveatch at bellsouth.net>wrote:

> On Sunday, May 15, 2011 7:30:14 PM Dennis Veatch wrote:
> > On Monday, May 09, 2011 6:07:55 PM Zbigniew Luszpinski wrote:
> > > commit 322477ee509558bf99c554dea25f8542a46ced17
> > > Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
> > > Date:   Tue May 10 00:07:55 2011 +0200
> > >
> > >     mesa-lib: VMware 2D/3D acceleration enabled
> > >
> > > ---
> > >
> > >  xorg7/mesa-lib/BUILD |   14 +++++++++-----
> > >  1 files changed, 9 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/xorg7/mesa-lib/BUILD b/xorg7/mesa-lib/BUILD
> > > index 5a434fa..ac4ffc4 100644
> > > --- a/xorg7/mesa-lib/BUILD
> > > +++ b/xorg7/mesa-lib/BUILD
> > > @@ -1,5 +1,9 @@
> > >
> > >  (
> > >
> > > +  # mesa merges cflags and ldflags then complains that ldflags are
> > > unknown to gcc +  # turn off linker till solution will be found
> > > +  bad_flags linker &&
> > > +
> > >
> > >    if [[ -n $MESADRIVER ]] ; then
> > >
> > >      # Build selected drivers only, rather than the default of all of
> > >      them # Ensure that swrast is included, as a fall-back
> > >
> > > @@ -23,11 +27,11 @@
> > >
> > >      fi
> > >
> > >    fi  &&
> > >
> > > -#  # Detect VMware VGA virtual 3D card and add driver for it
> > > -#  lspci | grep 'VGA.*VMware.*SVGA.*' &&
> > > -#  if [ $? -eq 0 ];then
> > > -#      OPTS+="--enable-gallium-svga "
> > > -#  fi &&
> > > +  # Detect VMware VGA virtual 3D card and add driver for it
> > > +  VGA=`lspci | grep 'VGA.*VMware.*SVGA.*'` &&
> > > +  if [[ $VGA == *VMware* ]];then
> > > +     OPTS+="--enable-gallium-svga "
> > > +  fi &&
> > >
> > >    # Don't overlap with freeglut
> > >    OPTS+=" --disable-glut"  &&
> > >
> > > _______________________________________________
> > > Lunar-commits mailing list
> > > Lunar-commits at lunar-linux.org
> > > http://foo-projects.org/mailman/listinfo/lunar-commits
> >
> > Hmmm. When OPTS+=" is used I think there should be a space between the "
> > and the option. Made that correction locally and still ended up with
> this;
> >
> > Building mesa-lib version 7.10.2
> > + running "default_pre_build"
> > + validating "/usr/src/Mesa-7.10.2"
> > + creating building dir "/usr/src/Mesa-7.10.2"
> > + Removing old source directory first!
> > + Unpacking "/var/spool/lunar/MesaLib-7.10.2.tar.bz2" in "/usr/src"
> > + Unpacking "/var/spool/lunar/MesaGLUT-7.10.2.tar.bz2" in "/usr/src"
> > + building "mesa-lib" version "7.10.2" in /usr/src/Mesa-7.10.2
> > + CC_EXT="ccache "
> > + CXX_EXT="ccache "
> > + CC="gcc"
> > + CXX="g++"
> > + CPP="cpp"
> > + CFLAGS=" -O2 -march=native -pipe"
> > + CXXFLAGS=" -O2 -march=native -pipe"
> > + CPPFLAGS=""
> > + LDFLAGS=" -s"
> > + Enabled wrapper script usage
> > Creating /var/log/lunar/compile/mesa-lib-7.10.2.bz2
> > ! Problem detected during BUILD
> >
> > lin -d did not reveal anything useful.
>
> Commented this out and no problem;
>   VGA=`lspci | grep 'VGA.*VMware.*SVGA.*'` &&
>  if [[ $VGA == *VMware* ]];then
>     OPTS+="--enable-gallium-svga "
>  fi &&
>
> I don't have vmware/gallium anything around so don't know about its
> correctness.
>
> --
> Dennis
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://foo-projects.org/pipermail/lunar-dev/attachments/20110516/efa66759/attachment.html>


More information about the Lunar-dev mailing list