[xserver] building xserver with glx but without DRI/DRM
Dan Nicholson
dbn.lists at gmail.com
Mon Apr 13 16:43:12 PDT 2009
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