Hi, Here is a patch to make X11 optional on linux: https://github.com/rawoul/apitrace/commit/6c296d5d1e0cc82a3bfd1a2932eb5e94e3c655ff This is pretty straightforward, everything that depends on X11 is not compiled. On a target with EGL but no x11, only the egltrace wrapper will be compiled, not the retracer. -- Arnaud Vrac