Problem with OpenAL

Hi



I recently got a problem with my project: When I try to start my game, I first get this message:

30.12.2008 00:19:05 com.jme.input.joystick.DummyJoystickInput <init>
INFO: Joystick support is disabled
30.12.2008 00:19:05 com.jme.system.lwjgl.LWJGLDisplaySystem <init>
INFO: LWJGL Display System created.
30.12.2008 00:19:07 com.jme.renderer.lwjgl.LWJGLRenderer <init>
INFO: LWJGLRenderer created. W:  800H: 600
30.12.2008 00:19:07 com.jme.renderer.AbstractCamera <init>
INFO: Camera created.
30.12.2008 00:19:07 class com.jmex.audio.openal.OpenALSystem OpenALSystem()
SCHWERWIEGEND: Exception
org.lwjgl.openal.OpenALException: ALC_INVALID_DEVICE
   at org.lwjgl.openal.Util.checkALCError(Util.java:55)
   at org.lwjgl.openal.ALC10.alcGetInteger(ALC10.java:184)
   at org.lwjgl.openal.ALC11.initialize(ALC11.java:172)
   at org.lwjgl.openal.AL.init(AL.java:180)
   at org.lwjgl.openal.AL.create(AL.java:140)
   at org.lwjgl.openal.AL.create(AL.java:104)
   at org.lwjgl.openal.AL.create(AL.java:191)
   at com.jmex.audio.openal.OpenALSystem.<init>(OpenALSystem.java:77)
   at com.jmex.audio.AudioSystem.getSystem(AudioSystem.java:63)
   at com.jmex.game.StandardGame.initSound(StandardGame.java:338)
   at com.jmex.game.StandardGame.initSystem(StandardGame.java:320)
   at com.jmex.game.StandardGame.run(StandardGame.java:210)
   at java.lang.Thread.run(Thread.java:619)
30.12.2008 00:19:07 com.jmex.game.state.GameStateManager create
INFO: Created GameStateManager
30.12.2008 00:19:07 com.jme.util.lwjgl.LWJGLTimer <init>
INFO: Timer resolution: 1000 ticks per second
30.12.2008 00:19:07 com.jme.scene.Node <init>
INFO: Node created.



And then I get many of these messages:

30.12.2008 00:19:07 class com.jmex.audio.openal.OpenALSystem update()
SCHWERWIEGEND: Exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
   at java.util.LinkedList.entry(LinkedList.java:365)
   at java.util.LinkedList.get(LinkedList.java:315)
   at com.jmex.audio.openal.OpenALSystem.update(OpenALSystem.java:117)
   at com.jmex.game.StandardGame.update(StandardGame.java:387)
   at com.jmex.game.StandardGame.run(StandardGame.java:250)
   at java.lang.Thread.run(Thread.java:619)



I'm trying this on my PC at Ubuntu Linux 8.10 and this problem does not occure on
my notebook, either on Ubuntu 8.10 nor on Win XP SP3. I really don't know how to
handle that, but obviously it's something about my soundsystem that cannot be
found.
I hope someone has an idea about that :)

EDIT: I just testet it on the same PC at Win XP and this error didn't occur. So it's
a thing in Ubuntu Linux... I don't know what is wrong, because sound does work
at this PC at Ubuntu...

Appears as though your Ubuntu drivers for your sound card don't play well with OpenAL. Can you try to find updated audio drivers for linux? I'm just guessing here.