I'm trying to run Binvox (http://www.cs.princeton.edu/~min/binvox/) via web server, on an Amazon EC2 server with Nvidia GRID K520 GPU and running Ubuntu 14.04. I'm using the system(binvox, $ret)
function call in my PHP script. However, Binvox uses an X11 window to display its processing, and thus fails to run.
According to the documentation, the -pb
option should make it work on a headless server, however, that did not work for me. I tried using Xvfb
to run it but I get the following error:
Xlib: extension "GLX" missing on display ":99". freeglut (./binvox): OpenGL GLX extension not supported by display ':99'
Note that applications like firefox
and xclock
work fine with Xvfb
, but I get a similar error with glxinfo
. I tried the suggestions/solutions given here on stackoverflow and here on askubuntu, but it did not work for me. I'm not sure where should I start looking to fix it.
-pb
option?Xlib: extension "GLX" missing on display ":99". freeglut (./binvox): OpenGL GLX extension not supported by display ':99'
. I get a similar error with glxinfo, so it's probably some error in my setup; I am trying to find it and fix it first.Xvfb
doen not work for you - otherwisw it would be a duplicate.