JOGL + Vista = performance problems?

I’m having performance problems and it seems to be related to Vista.

I have 3 computers I’m testing my simple “4 rotating, texture mapped cubes” on.

  1. crusty old system
    Window XP
    single core amd xp 4000+
    Radeon 9600
    Smooth, clean animation
    FPS: 700

  2. Gaming computer
    Dual boot Vista 32/64
    amd Phenom
    GeForce gt 8800 gtx
    FPS Vista 32: 50
    FPS Vista 64: 40

  3. Alienware Laptop
    Vista 32
    video amd 1800
    intel dual core
    Animation has an odd twitchy behavior
    FPS: 40

My crusty old XP machine is getting 700 fps and my two gaming rigs barely make it out of 50 fps. I reinstalled the drivers on my Vista 64 machine and it cleared up some twitching but the fps didn’t change. The only thing consistent with the bad performance seems to be Vista.

Any ideas? Is there known issues with JOGL and Vista?

Have you tried to disable vsync on the vista systems? This can be done with setSwapInterval(0) on your GL object. Another issue is if Aero is playing havoc with opengl. I would try disabling that if you haven’t already to see if it improves performance (assuming that vsync wasn’t the issue).

That was it! Thanks you!

I wasn’t calling “setSwapInterval()” in my code. Not making this call had some rather disturbing effects.

So now…

Vista 64 FPS: 2100
Vista 32 FPS: 3100