Xvfb no longer has the GLX extension on FreeBSD 11.0. Trying to run GLX programs on a headless machine fails. This makes the OpenSCAD test suite fail and many "headless OpenGL tutorials" on the web also fail. This used to work in older versions of FreeBSD. To reproduce: $ Xvfb :123 -screen 0 800x600x24 & $ DISPLAY=:123 glxgears Error: couldn't get an RGB, Double-buffered visual $ DISPLAY=:123 glxinfo name of display: :123 Error: couldn't find RGB GLX visual or fbconfig [don@noether ~/openscad/tests/bin]$ Xvfb +extension GLX [mi] Extension "GLX" is not recognized [mi] Only the following extensions can be run-time enabled: [mi] Generic Events [mi] Composite [mi] DAMAGE [mi] DOUBLE-BUFFER [mi] DPMS [mi] MIT-SHM [mi] RANDR [mi] RENDER [mi] X-Resource [mi] XFIXES [mi] XINERAMA [mi] XTEST [mi] XVideo Thanks for reading.
(In reply to don bright from comment #0) As a workaround, until Xvfb is fixed, you could try running standard X.org server with the "dummy" video driver. According to wikipedia it is an alternative to Xvfb: https://en.wikipedia.org/wiki/Xvfb Here are some pointers on how to configure a dummy X.org: http://xpra.org/trac/wiki/Xdummy Here is a very extensive configuration: http://xpra.org/xorg.conf That being said, I've not tried this configuration myself. But if the GLX extension is enabled by X.org even with the dummy video driver, things should work just fine.
Is this still relevant?
Feedback timeout