Hello,
I’m Scilab vizualisation module developper. I use a lot textRenderer to display texts and labels in plots.
This work fine, however we used to have a computer running on Ubuntu which was not able to render text.
Each time it used to throw the exception:
javax.media.opengl.GLException: Error: no OpenGL buffer object appears to be bound to target 0x8892
at com.sun.opengl.impl.GLBufferSizeTracker.setBufferSize(GLBufferSizeTracker.java:118)
at com.sun.opengl.impl.GLImpl.glBufferData(GLImpl.java:786)
at com.sun.opengl.util.j2d.TextRenderer$Pipelined_QuadRenderer.(TextRenderer.java:1397)
at com.sun.opengl.util.j2d.TextRenderer.drawGlyphs(TextRenderer.java:1516)
at com.sun.opengl.util.j2d.TextRenderer.internal_draw3D(TextRenderer.java:1119)
at com.sun.opengl.util.j2d.TextRenderer.draw3D(TextRenderer.java:682)
at org.scilab.modules.renderer.textDrawing.SciTextRenderer.draw3D(Unknown Source)
at org.scilab.modules.renderer.textDrawing.CenteredAlignedTextGL.drawTextContent(Unknown Source) – my code
We tried to investigate this error but we didn’t find why it happened.
The same behaviour appeared with the NASA World Wind software, text could not be rendered.
Recently he found that package xserver-xgl (GL-based X server) was installed on his computer on top of NVIDIA drivers.
He uninstalled the package (and then use NVIDIA frivers) and now the excpetion disappears and everything works fine.
My questions is then: is this a bug or an incompatibility? Were you already aware of this behaviour?
Jean-Baptiste