first draft at glx headless rendering

[skip ci]