Optimal PC Configuration for JOGL

Hi,

I downloaded the latest jogl and demo and ran on my computer. The Infinite Shadow Volumes demo was not very responsive and the lag time was quite noticeable. I also downloaded the original source code from NVidia that the demo was based on for comparison. It was quite responsive and I didn’t get the lag time as I did from the jogl demo.

So I was wondering, what is the optimal PC configuration for running jogl programs so that I wouldn’t experience any lag time and blank white screens?

Thanks.

There are no really optimal configuration needed for running games using jogl… Maybe the java demo you’ve run wasn’t optimized. You should try it in fullscreen mode, it’ll be faster.

But if you want an optimal speed using Java and OpenGL, you should take a look at LWJGL. It’s a little bit different than jogl (especially because it use NIO buffers for arrays), it can’t be used with AWT or Swing (only SWT at the moment) but it’s incredibly faster…

What are you going to do with Jogl ? A game ? An editor ? Choosing between Jogl and LWJGL depends of what kind of application you’re targeting…

Chman

I didn’t realize LWJGL was actually faster than Jogl. Do you perhaps have some links showing which operations are faster and by how much? Numbers are always nice…

[quote]I didn’t realize LWJGL was actually faster than Jogl. Do you perhaps have some links showing which operations are faster and by how much? Numbers are always nice…
[/quote]
Sorry for my lake of clues, it was a global deduction because I use JoGL and LWJGL. If I’ve got time I’ll post a benchmark and a little game into the performance forum !

Cheers
Chman

Hi,

I have no target in mind. I am trying to see what I can do with it. I am disappointed at the slowness of the demo and was wondering what kind of pc configuration does one need to have in order to run jogl programs. I have an old computer and was wondering what upgrades I should have .

Thanks.

On my second cpu (800Mhz, 384SDRam, GeForce2MX) I’ve run the jogl nVidia vertexArrayRange demo and it runs very well in 1024x768 windowed mode…

What cpu do you have ? And what graphic card ?

Chman

“Incredibly faster”? Thats a very strong claim. Care to back that up at all?

[quote]On my second cpu (800Mhz, 384SDRam, GeForce2MX) I’ve run the jogl nVidia vertexArrayRange demo and it runs very well in 1024x768 windowed mode…

What cpu do you have ? And what graphic card ?

Chman
[/quote]
I have problem running a lot of demos. It tells me my graphic card doesn’t support ARB_vertext_program. I am new. I don’t know what it is. Anyway, of the demos that I can run, InfiniteShadowVolumes is the slowest. I can’t move the figure with my mouse. I had to wait for it to refresh. I didn’t have problem with the original code that the InfiniteShadowVolumes demo was based on. Downloaded the exe from Nvidia and was able to move the figure without any wait time.

My cpu is 1Ghz, 512 MB, GeForce2MX 32MB.

If you run the Gears demo and show your java console, it should report what OpenGL driver you’re loading. For example:

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: RAGE 128 Pro Ultra x86/SSE2
GL_VERSION: 1.2.1716 WinXP Release

If yours report Microsoft, then you’re not getting a lot of hardware acceleration or all the extensions supported by the card. Basically, you’re loading the wrong driver. Since this isn’t something you set directly yourself, you should let the jogl developers know.

[quote]If you run the Gears demo and show your java console, it should report what OpenGL driver you’re loading. For example:

GL_VENDOR: ATI Technologies Inc.
GL_RENDERER: RAGE 128 Pro Ultra x86/SSE2
GL_VERSION: 1.2.1716 WinXP Release

If yours report Microsoft, then you’re not getting a lot of hardware acceleration or all the extensions supported by the card. Basically, you’re loading the wrong driver. Since this isn’t something you set directly yourself, you should let the jogl developers know.
[/quote]
I ran the Gears Demo. The output:

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce2 MX/AGP/SSE
GL_VERSION: 1.2.1

glLoadTransposeMatrixfARB() supported: true

I tried to run demos.vertexProgRefract.VertexProgRefract and demos.vertexProgWarp.VertexProgWarp and I got the following error:

java.lang.RuntimeException: OpenGL extension “GL_ARB_vertex_program” not available

I don’t know if it is the problem with my graphic card or what.

It seems that your card doesn’t support the extensions needed to run these demos. :-/

Acutally I get the same problem with a card that does support those extensions. Looks like it is a security exception.