Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EGL context for headless offscreen rendering without xvfb #102

Open
filidorwiese opened this issue Jan 19, 2017 · 1 comment
Open

Add EGL context for headless offscreen rendering without xvfb #102

filidorwiese opened this issue Jan 19, 2017 · 1 comment

Comments

@filidorwiese
Copy link

filidorwiese commented Jan 19, 2017

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?

@fursund
Copy link

fursund commented Jan 25, 2017

This would be really useful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants