Huge Jogl/Linux Problems...

Hello!

Because I want to develop a racing game based on Java/Jogl I’ve tried out Jogl on my two linux boxes, but both behave equal.

Some samples work fine, but others start with a black window. Wowever I can’t kill the jvm with “killall java” or “kill -9 pid” and the jvm is creats more and more new threads till the system is so slow, that I only can press the power button.

This happens on both of my two machines, the first is a P4 1.6 with SuSE Linux 8.2 and a ATI Mobility Radeon M6, DRI opengl hw accerlated. The second is running suse Linux 9.0 with a Geforce 460 Go and the NVidia drivers 1.0-53??(the latest ones).
All 3d-applications installed on these machines work fine, especally on the GF4-GO laptop.

I recently tried the openmind game engine and the sad thing is that none of the examples worked, they all showed the same problem as some of the demos distributed with jogl with the black window and the jvm producing new theads.

Any ideas whats wrong? Please help me…

lg Clemens

PS: If it helps I can mail you the output of strace -f (all system calls), because adding of files in this forum is not possible…

Does this work? If it does work, then we know it’s not the configuration of your machine, but a problem inside JOGL.

Cas :slight_smile:

It works for me under Redhat 9 and 2.4.x kernel.

I’ve got a question for u Cas, do u change the screen resolution with java code or do u detect that linux is the os and so run some native code to change the screen using jni?

Thanks

Hello,

I fixed the problem by compiling jogl from the CVS-sources and removing all old jogl jars and libjogl.so/libjogl_cg.so from my machine.
Before that, the jogl-examples that worked showed the Mesa Renderer instead of the hardware ATI one, so maybe you have to compile jogl with your particular hardware-driver. Don’t know…
Well, I hope this approach works for you too.

Jan

All our screen res changing code is native on all platforms, as we can’t be dependent on AWT in LWJGL. It’s also 100% reliable fullscreen unlike the older 1.4.x incarnations…

Cas :slight_smile: