I tried to run HelloIntersection from tutorials, but I'm getting an error :
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
AL lib: alsa.c:344: Could not open playback device 'default': P
Please make sure your audio drivers are correctly installed and current.
Similar problem has been brought up on the lwjgl forum. Please see this thread for details. There is also a link to another thread on the same issue in the first post of that thread.
to quote duenez from the thread you linked to: Have you tried running the WebStart demos in the page? if those work, then we could be on track of better addressing this issue…
Hi, i get the same error using Ubuntu 8.10 64bit.
What I did:
- downloaded the openal-soft
- "makec"
- "make"
- "sudo make install"
Even after restarting my notebook, the same error still appear while working with the jME-StandardGame. However, extending from the SimpleGame-class works fine while running a StandardGame (game.start()) gives this error. My Audio driver are installed correctly, so there shouldn't be any trouble from that side.
Any idea what to do?
My code is following (quite simple and a built jME from repository used):
1.) first i have to build & install openal-soft ? (that's what i've already done)
2.) download LWJGL source (done as well - from sourceforge)
3.) somehow change it so that it will use openal-soft ???
4.) somehow build it ??? (found no documentation how to build it on sourceforge or anywhere else)
5.) somehow install it ??? (just replace the LWJGL-files used in my jME-Project with the new ones?)
Sorry, i'm not that smart … or whatever misterious forces are needed … Is there any discription on a homepage? Seems to me that other people had the same problem but obviously solved it.