GLJPanel in JInternalFrame crashes X server (SuSE Pro 9.1)

G’day,

I have a very annoying bug in my Swing/JOGL app.

I am using JOGL in a JInternalFrame - works fine with WinXP and Linux (over an X terminal connected by telnet).

When I use the app on an actual Linux machine (SuSE 9.1 Pro) though, the initialisation of the GLJPanel in the JInternalFrame crashes X - causing the X session to end completely, and the X server to restart.

I cannot find a way to get any information about the crash. I have tried redirecting the output from java into a file but the file is empty. I tried setting a few different java runtime startup flags, but the output was still empty.

I have downloaded the lastest JRE and nightly JOGL - same problem exists.

I have tested the application on Redhat Workstation 4 and it works fine there, which leads me to believe it might be more of a hardware/driver issue on the SuSE machine.

Any suggestions would be very welcome.

Cheers,

Pinky

The issue is definitely related to your graphics drivers. You didn’t mention the vendor of your graphics card. You should see whether they have a more recent driver available, and if not you should report this problem to them. I don’t know where the X server’s log files go – somewhere under /var/log ? Look around for them as they should have more information about why the X server crashed.

Thank you Ken, you are absolutely right. I had tried to resolve this problem by updating the driver previously - SuSE reported that I had an ATi RV280 which I found to be a Radeon 9200 - when in fact it seems to be a 9250, since that driver is now installed and working beautifully.

Problem solved. I had this one for a couple of weeks too :wink:

I picked up a great hint along the way - If you have XFree86, run glxgears and wait for the FPS output. Then install new gfx driver, run glxgears again and compare the output. Mine was 150fps original, then 1200fps after install (on a crappy gfx card). Good tip.

Cheers,

Pinky