Heli-x linux opengl crash

Installation and usage on Linux / Installation unter Linux
Post Reply
grusin
Posts: 1
Joined: 11 Jun 2008 08:05

Heli-x linux opengl crash

Post by grusin »

Hi guys,

I'm trying to run heli-x on my laptop (on pc it works great). Laptop has intel 940 card (running intel 810 driver). When starting I get following exception:

grusin@it-grusin:~/Desktop/HELI-X$ ./runHELI-X.sh
Application started
3D Environment created
Using openGLLayer JOGL_AWT
Found 2 display modes
Trying to open xml File files/Application/ViewSettings.xml
Using display mode 1024x768x?x60
Exception during event dispatch:
java.lang.Error: java.lang.reflect.InvocationTargetException
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:127)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:149)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:307)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:286)
at org.xith3d.render.Canvas3DPanel.<init>(Canvas3DPanel.java:372)
at ch.ntb.HeliX.simulation.Simulation.initCanvas(Simulation.java:188)
at ch.ntb.HeliX.simulation.Simulation.<init>(Simulation.java:123)
at ch.ntb.HeliX.application.Application.<init>(Application.java:146)
at ch.ntb.HeliX.application.Application$1.run(Application.java:757)
at java.awt.event.InvocationEvent.dispatch(libgcj.so.81)
at java.awt.EventQueue.dispatchEvent(libgcj.so.81)
at java.awt.EventDispatchThread.run(libgcj.so.81)
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
at org.xith3d.render.Canvas3DFactory.create(Canvas3DFactory.java:123)
...11 more
Caused by: java.lang.IllegalArgumentException: GLDrawableFactory.chooseGraphicsConfiguration() was not used when creating this Component
at com.sun.opengl.impl.x11.X11GLDrawableFactory.getGLDrawable(X11GLDrawableFactory.java:238)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:142)
at org.xith3d.render.jsr231.CanvasPeerImplAWT.<init>(CanvasPeerImplAWT.java:118)
at java.lang.reflect.Constructor.newInstance(libgcj.so.81)
...12 more

Any ideas how to get rid of it? ;-)

Regards,
Grzegorz
User avatar
Michael
Posts: 1825
Joined: 25 May 2008 16:11
Location: Germany
Contact:

Re: Heli-x linux opengl crash

Post by Michael »

Hi Grzegorz,

welcome at this forum. Some questions:
Does your PC-version run on Linux? Do you have a 32 or 64 bit linux on your Notebook? Try to get the newest drivers for your graphics adapter. Make sure, you use the right java version. Do you use the newest download? Two weeks ago I made an update with some libs.

Michael
Post Reply