armhelp wantedopengl
Métricas do repositório
- Stars
- (6.431 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
Out of the P3D examples, fifteen currently fail with the open source Mesa driver for the Raspberry Pi.
The output (with Mesa debugging enabled) is always similar to this:
Framebuffer error (unknown error), rendering will probably not work as expected Read http://wiki.processing.org/w/OpenGL_Issues for help.
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
OpenGL error 1286 at bot beginDraw(): invalid framebuffer operation
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glBlitFramebuffer(incomplete draw/read buffers)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glBlitFramebuffer(incomplete draw/read buffers)
This is the stack trace of the first error that occurs with the Basics/Form/Primitives3D example:
Framebuffer error (unknown error), rendering will probably not work as expected Read http://wiki.processing.org/w/OpenGL_Issues for help.
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
com.jogamp.opengl.GLException: Thread[main-FPSAWTAnimator#00-Timer0,5,main] glGetError() returned the following error codes after a call to glClear(<int> 0x4500): Unknown glGetError() return value: ( 1286 0x506),
at com.jogamp.opengl.DebugGL4bc.writeGLError(DebugGL4bc.java:31803)
at com.jogamp.opengl.DebugGL4bc.glClear(DebugGL4bc.java:1251)
at processing.opengl.PJOGL.clear(PJOGL.java:1823)
at processing.opengl.PGL.createFBOLayer(PGL.java:975)
at processing.opengl.PGL.beginRender(PGL.java:727)
at processing.opengl.PGraphicsOpenGL.beginOnscreenDraw(PGraphicsOpenGL.java:6567)
at processing.opengl.PGraphicsOpenGL.beginDraw(PGraphicsOpenGL.java:1452)
at processing.core.PApplet.handleDraw(PApplet.java:2380)
at processing.opengl.PSurfaceJOGL$DrawListener.display(PSurfaceJOGL.java:907)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
@codeanticode @JakubValtar Do you guys perhaps have an idea what's going on, or what I could do to try to narrow this down? (Thanks in advance!)
Here is the output with TraceGL that shows all GL calls that happen. If you search for Mesa: you'll get the places in which the user errors, noted above, are supposed to be occurring.