Skip to content

Add EGL context for headless offscreen rendering without xvfb #102

Description

@filidorwiese

Hi! I'm trying to get headless-gl working on a Amazon p2 instance with Ubuntu Server 16.04. When using xvfb without the appropriate nvidia drivers I can only get MAX_VIEWPORT_DIMS of 8192x8192. After proper installation of the nvidia drivers (as described here) xvfb fails with:

xvfb-run -s "-ac -screen 0 1024x768x24" glxinfo
name of display: :99
Xlib:  extension "GLX" missing on display ":99".
Error: couldn't find RGB GLX visual or fbconfig

Getting xvfb to recognize the GPU has been a pain. According to this article it's currently no longer necessary to have a X11 server for OpenGL visualization when using an EGL context.

Is this something that currently is or could be supported by headless-gl?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions