[xserver] building xserver with glx but without DRI/DRM

Rob Currey robc at graphon.com
Mon Apr 13 17:32:18 PDT 2009


thanks dan ...

what about non-linuxen? (e.g. solaris-sparc, hp-parisc, hp-ia64, etc)

perhaps I don;t understand DRI enough, but I thought it was platform 
specific (aka either x86* or linux-only). (also likely I have it confused 
with something else).

rob

----- Original Message ----- 
From: "Dan Nicholson" <dbn.lists at gmail.com>
To: "Rob Currey" <robc at graphon.com>
Cc: <xorg at lists.freedesktop.org>
Sent: Monday, April 13, 2009 4:43 PM
Subject: Re: [xserver] building xserver with glx but without DRI/DRM


> On Mon, Apr 13, 2009 at 1:13 PM, Rob Currey <robc at graphon.com> wrote:
>>
>> First I've got the latest git source for lib/proto/util/xcb/data built
>>
>> I then build a minimal bit of app (mkfontdir, mkfontscale, xinit, 
>> xkbcomp)
>>
>> I'm building Mesa 7.4 using:
>> tar xvzf MesaLib-7.4.tar.gz ; tar xvzf MesaGLUT-7.4.tar.gz ; tar xvzf
>> MesaDemos-7.4.tar.gz ; cd Mesa-7.4 ;
>> ./configure --prefix=${PREFIX} --enable-static --disable-driglx-direct --with-driver=xlib;
>> gmake; make install
>>
>> (this is building fine)
>>
>> NOTE: --disable-driglx-direct --with-driver=xlib
>>
>> I then try xserver using this config:
>> ./autogen.sh --prefix=${PREFIX} \
>> --enable-maintainer-mode \
>> --enable-static=yes \
>> --enable-shared=no \
>> --disable-werror \
>> --disable-debug \
>> --disable-aiglx \
>> --disable-composite \
>> --disable-xv \
>> --disable-xvmc \
>> --disable-dga \
>> --disable-dri \
>> --disable-dri2 \
>> --disable-xf86vidmode \
>> --disable-xselinux \
>> --disable-xcalibrate \
>> --disable-tslib \
>> --disable-dpms \
>> --disable-config-hal \
>> --disable-xorg \
>> --disable-dmx \
>> --disable-xvfb \
>> --enable-xnest \
>> --disable-xquartz
>
> I believe GLX requires DRI. If you really want only software
> rendering, build mesa with only the swrast dri driver. Something like
> --with-driver=dri (should happen automatically on linux if that's what
> you're using) --with-dri-drivers=swrast. That should then give you a
> single dri driver swrast_dri.so.
>
> --
> Dan
> 





More information about the xorg mailing list