Xorg server on video-less NAS

Random notes while trying to compile Xorg (X-Windows) on a ARM NAS. Following recipe at:

Beyond Linux From Scratch (Version 2014-11-19)

The NAS box has no video harware; so I want a software rasterizer (swrast).

Step MesaLib-10.3.3 :

No video hardware won’t allow the default configure to work. Tried:

./autogen.sh CFLAGS="-O2" CXXFLAGS="-O2" --prefix=$XORG_PREFIX \
--sysconfdir=/etc --enable-texture-float --enable-gbm \
--enable-glx-tls --with-egl-platforms="x11" \
--with-gallium-drivers="swrast,svga" --enable-sysfs \
--with-dri-drivers=swrast --enable-osmesa --enable-xa \
--enable-gbm

I think I also had to go in a remove all i815, i865 referenced in configure.ac. This was done to avoid dependency on intel_drm which wouldn’t compile or be installed on my box.

Step Xorg-Server-1.16.2 :

Default configure options wouldn’t allow the server to compile. Complained about package ‘gl’ and ‘dri’ missing… likely because of the Mesa lib hoops I had to jump thru. The following allows ./configure to pass… make is in progress:

./configure $XORG_CONFIG --with-xkb-output=/var/lib/xkb \
--enable-dmx --enable-suid-wrapper --enable-install-setuid \
--disable-glx  --enable-xvfb --disable-dri

Had to patch os/log.c as my NAS’ GCC was too old.

End goal is to boot a minimal windows manager so I can run google Chrome browser and Google Cloudprint. Also as a learning for doing this on an Intel Edison board which also lacks video.

EOL