[Mesa-dev] libGL without X

Erik Faye-Lund kusmabite at gmail.com
Tue Oct 22 03:52:56 CEST 2013


On Tue, Oct 22, 2013 at 2:58 AM, Chris Healy <cphealy at gmail.com> wrote:
> On Mon, Oct 21, 2013 at 2:03 PM, Erik Faye-Lund <kusmabite at gmail.com> wrote:
>> On Mon, Oct 21, 2013 at 4:05 PM, Chris Healy <cphealy at gmail.com> 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.
>>
>> If you build mesa with GBM support, you should be able to render without
>> X.
>
> I would still need to build Mesa with X so that libGL is built though,
> correct?
>

Probably, yeah. But you can run the resulting binary without an
x-server running. Dunno if that's sufficient for you or not.


More information about the mesa-dev mailing list