Incredible low performance with JOGL/win32

Hi there,

I’ve been experimenting with JOGL for some time now, under WinXP, and I have a big problem with performance. Perhaps you can help me out.

Let me first state that my machine is a dual-Xeon 2.8 with 2GB ram and a Radeon 9600 Pro and that I’ve got all the latest drivers installed.

That said, I’m getting 20fps in windowed mode, and 10fps in fullscreen mode, when all I render is a skybox without any texture on it (just color) and two colored cubes at the viewport center. That’s not the way it’s ment to be, I suppose. ;D

What I could think of is that the setting for the device is wrong. When I downloaded the sources for, e.g., the gears sample, I’ve realized the code does selection of rendering device by simply passing a new instance of glCapabilities. On my system, this does not work, however, watching the samples through WebStart does work.

I can only make my device work by explicitly setting up the glCapabilities. There of course, I specify hardware accelleration and the like. Still, as mentioned, 20/10fps :’(

I would appreciate any help, thanks in advance!

Wolfgang Kienreich

Stupid me, seems that I have to use the GLCanvas, not the GLJPanel. Now I’ve got framerates in the hundreds :smiley:

Wolfgang