MegaGlest Forum

Archives (read only) => Vanilla Glest => Linux and other ports => Topic started by: skaterik on 4 November 2008, 18:55:53

Title: Problem running Glest on Linux
Post by: skaterik on 4 November 2008, 18:55:53
Hi;

I have a problem with Glest. When I type "glest" in a console I get this message:

ln: creating symbolic link `./configuration.xml': File exists
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
void Shared::Platform::Window::setStyle(Shared::Platform::WindowStyle) not implemented.
ALSA lib pcm_dmix.c:874:(snd_pcm_dmix_open) unable to open slave
open /dev/[sound/]dsp: Device or resource busy
OpenAL Vendor: Exception: Couldn't open audio device.

I Know that is a problem related with sound, but I don't know how fix it.
Title: Re: Problem running Glest on Linux
Post by: titi on 4 November 2008, 23:18:15
Which installation do you use?
Your own? Then you probably use the windows glest.ini file instead of the linux one .

And for alsa, you need a soundcard with alsa support, otherwise you have no sound ( but it should work without sound)
If you are not shur whats wrong, try this installation it should work( linux 32 bit ):
http://www.liflg.org/?what=dl&catid=7&g ... nguage.run (http://www.liflg.org/?what=dl&catid=7&gameid=58&filename=glest_3.1.2-multilanguage.run)
Title: Re: Problem running Glest on Linux
Post by: hailstone on 5 November 2008, 08:15:17
Quote
but it should work without sound
It's not possible to run Glest without a sound device unless you put in my NoSound device code. You probably won't need to anyway. The problem is that ALSA has a problem with more than one program using the device at a time. You could try turning off everything that is using sound and then run Glest. There is some information on the Glest Wikia FAQ (http://http://glest.wikia.com/wiki/FAQ).
Title: Re: Problem running Glest on Linux
Post by: jrepan on 5 November 2008, 14:14:24
You probably must configure software mixer(dmix)
What Linux distribution you have?
Title: Re: Problem running Glest on Linux
Post by: wciow on 17 November 2008, 13:16:29
I had the exact same problem. If you are running Ubuntu, especially 8.10 intrepid ibex try disabling pulse-audio.
See this thread: viewtopic.php?f=10&t=3940 (http://glest.org/glest_board/viewtopic.php?f=10&t=3940)