FPSAnimator CPU Issues

Hello all,

I am making an isometric game to familiarize myself with OpenGL, Java, and data structures. My game is using the FPSAnimator class, and I am drawing some tiles on the screen. When I set the FPS to 50 or below, the program uses between 3 and 10 percent of my CPU power, when I set it to 60 or above it takes 100% CPU. If I set the FPS higher than 60, 80 or 100 for example, the FPS is still 60 (checking in display method). I thought it might be something I did somewhere else in my program, so I tried it with the netbeans opengl pack demos and it does the same thing. Is this a common issue, or could it be my computer somehow? It is not really a problem, it just kinda bugs me because I don’t know why it’s doing this. ???

Try to use only an Animator instead and activate the v-sync, you will get better and more predictible behavior.

Also, if you are displaying on an LCD your fps is limited to the LCD settings…typically 60

very interresting threat and hello to all,

i work with jogl since about april 08 and i also fall over the
strange problem with the framerates and the CPU issues.

My application runs on Mobile Pentium (1,6ghz and shared ATI Graphics) with framerate 20-32
(FPSAnimator set to 60) , on an PC Athlon X2 (2x 2,0Ghz gamer pc) the same .
But both get the Problem of the 100% CPU … after changing the FPSAnimator down to
30 the CPU usages sinks to a normal level(max 15% CPU).

i Work with Netbeans (6.1 and now with 6.5) and there i got the problem that after 5-8minutes
of using my program when i do nothing (no mousemove or something)
the complete hardware freezes for minutes.

did anybody have some help or ideas?

Which ATI graphics card do you have? ATI Xpress 200M? Something like this? Do you have the latest driver for it? I had this bug when I tried to fix some problems in the TextRenderer class, everything got frozen after a minute. As I said, try to use only an instance of the class Animator and activate the v-sync and tell me if it solves your problem. Do you use vertex arrays and/or VBO?

Its the same on PC’S with:

ATI Xpress 200M , Notebook XP
Geforce GO 7300 , Notebook XP
Geforce 8000er series ,PC Vista

(all with latest drivers)

Yes i use vertex arrays and FramebufferObjects.
i do not use any shaders

i will change the fpsanimator to animator later and tell you

much thx