JOGL using mesa driver and xvfb
Posted by
sranger on
Dec 13, 2012; 9:05pm
URL: https://forum.jogamp.org/JOGL-using-mesa-driver-and-xvfb-tp4027504.html
I'm trying to get jogl to render offscreen using the mesa software driver and xvfb on a headless server in a VM. I keep getting the errors below. Any ideas?
$ glxinfo
name of display: localhost:1.1
Error: couldn't find RGB GLX visual or fbconfig
java -jar MyJar.jar
Unable to initialize shared context using PBuffer, falling back to displayable context creation.javax.media.opengl.GLException: Profile GL2GL3 is not available on null, but: []
at javax.media.opengl.GLProfile.get(GLProfile.java:818)
at javax.media.opengl.GLProfile.get(GLProfile.java:831)
Caused by: javax.media.opengl.GLException: Profile GL2GL3 is not available on X11GraphicsDevice[type X11, connection localhost:1.1, unitID 0, handle 0x0], but: []
at javax.media.opengl.GLProfile.get(GLProfile.java:818)
at javax.media.opengl.GLProfile.get(GLProfile.java:831)
- Stephen