[Mesa-dev] libGL without X
cphealy at gmail.com
Mon Oct 21 21:41:20 CEST 2013
Actually, I think I found the answer to the minimal amount of X libs
I got rid of --disable-glx from my build config and ran into the following
when running configure:
checking for XF86VIDMODE... no
checking for DRIGL... no
configure: error: Package requirements (x11 xext xdamage xfixes x11-xcb
xcb-glx >= 1.8.1 xcb-dri2 >= 1.8) were not met:
No package 'x11' found
No package 'xext' found
No package 'xdamage' found
No package 'xfixes' found
No package 'x11-xcb' found
No package 'xcb-glx' found
No package 'xcb-dri2' found
Is there a way around needing all of these just to build libGL if I just
want to run OpenGL with EGL and write to memory?
On Mon, Oct 21, 2013 at 12:03 PM, Chris Healy <cphealy at gmail.com> wrote:
> I assume the new ABI for libOpenGL.so is not far enough along to be usable
> in production, correct?
> Our application is quite big and already written against OpenGL so moving
> to GLESv2 or 3.0 would be a considerable effort so this is not an option.
> Do you know the minimal amount of X libs necessary to support building
> On Mon, Oct 21, 2013 at 11:56 AM, Kenneth Graunke <kenneth at whitecape.org>wrote:
>> 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
>> You can definitely use EGL + OpenGL ES 3.0 (libGLESv2.so) today.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mesa-dev