Login  Register

got error when using GLJPanel on Linux by Export DISPLAY

Posted by cznlzq on Feb 28, 2014; 4:53pm
URL: https://forum.jogamp.org/got-error-when-using-GLJPanel-on-Linux-by-Export-DISPLAY-tp4031760.html

Hi guys,

I'm wondering have you guys met this before?

First of all, GLJPanel on linux itself works pretty good.

However, when I tried the Export DISPLAY=ipaddress:0.0 on another machine,
I got the error.

javax.media.opengl.GLException: FBObject Init.isFB GL Error 0x501 of FBO[name r/w 1/1, init false, bound false, size 365x429, samples 0/0, depth null, stencil null, color attachments: 0/1: [null], msaa-sink null, hasSamplesSink false, state NOT A FBO, obj 0x287df12d]
        at com.jogamp.opengl.FBObject.checkNoError(FBObject.java:1114)
        at com.jogamp.opengl.FBObject.init(FBObject.java:883)
        at com.jogamp.opengl.FBObject.reset(FBObject.java:945)
        at jogamp.opengl.GLFBODrawableImpl.initialize(GLFBODrawableImpl.java:142)
        at jogamp.opengl.GLFBODrawableImpl.associateContext(GLFBODrawableImpl.java:347)
        at jogamp.opengl.GLContextImpl.associateDrawable(GLContextImpl.java:727)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:616)
        at jogamp.opengl.GLContextImpl.makeCurrent(GLContextImpl.java:519)
        at javax.media.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1343)
        at javax.media.opengl.awt.GLJPanel.createAndInitializeBackend(GLJPanel.java:1052)
        at javax.media.opengl.awt.GLJPanel.paintComponent(GLJPanel.java:461)

Is it possible I can fix this and still use the Export DISPLAY to view my 3D stuff on another machine?

Thanks.