Login  Register

Re: display() called repeatedly, yet screen not updated?

Posted by charlie on May 30, 2011; 8:04pm
URL: https://forum.jogamp.org/display-called-repeatedly-yet-screen-not-updated-tp2979558p3003181.html

Hi,
I seem to be experiencing a similar problem that seems to be related, though not identical to the issue described.

My code is pretty basic - adds a GLEventListener to a NEWT window, which just draws a shaded, rotated square. I've tried looping through {window.display()/println("Tick")}, and using an FPSAnimator, but in both situations the animation will run for a few hundred frames then freeze completely, until I wave the mouse or press a key. It appears that the window.display() routine is delaying - I don't see the "Tick" message until after moving the mouse . Adding a glFlush() to the end of the draw code has no effect.

I can't see anything obviously wrong with my code, it's pretty much verbatim from a demo, and works perfectly whilst a key is held down or the mouse is waved.

Running on Ubuntu 11.04/x86, NVidia drivers/GO 6800 (NOT GMA950 as first stated), latest JDK, Eclipse, JOGL/NEWT built from GIT a couple of days ago. Will try on Win7/x64 or WinXP/x86 some point in the near future.


EDIT 4th July:

Not a GMA950, sorry - it's a Go 6800.

I tested the same code (except for the JOGL version - using the signed release) on my Win64 machine and no such issue existed. Does anyone have an idea what might be causing this issue?