Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  xserver-xgl incompatible with textRenderer?  (Read 690 times)
0 Members and 2 Guests are viewing this topic.
Offline gibe

Jr. Member
**

Posts: 68



« on: 2007-12-21 08:53:08 »

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.<init>(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

Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2007-12-29 02:51:06 »

Sounds like a bug in xgl which you should report. I assume they're doing some sort of interposition on the OpenGL functions which is not 100% correct / compatible.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.058 seconds with 18 queries.