[Mesa-dev] libGL without X

Kenneth Graunke kenneth at whitecape.org
Mon Oct 21 20:56:33 CEST 2013


On 10/21/2013 07:05 AM, Chris Healy wrote:
> I have a headless platform I need OpenGL to work on that does not have
> X.  It is x86 with Intel HD 4000 graphics.
> 
> Ultimately, I'm just wanting to use OpenGL to render to memory for
> encoding to H.264 and streaming.
> 
> I'm trying to build Mesa for this platform without X and cannot get it
> to build libGL.so.
> 
> What am I missing here?  Is it not possible to use OpenGL without X?  I
> was hoping I could use OpenGL with EGL for testing purposes.

Unfortunately, libGL.so contains both the OpenGL and GLX interfaces, so
I don't think it's possible today.  People are working on a new ABI,
libOpenGL.so, which doesn't include GLX.  So eventually, it should be
possible.

You can definitely use EGL + OpenGL ES 3.0 (libGLESv2.so) today.

--Ken


More information about the mesa-dev mailing list