Author Topic: Problem running Glest on Linux  (Read 3645 times)

skaterik

  • Guest
Problem running Glest on Linux
« 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.

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,239
    • View Profile
    • http://www.titusgames.de
Re: Problem running Glest on Linux
« Reply #1 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
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

hailstone

  • GAE Team
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: Problem running Glest on Linux
« Reply #2 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.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

jrepan

  • Guest
Re: Problem running Glest on Linux
« Reply #3 on: 5 November 2008, 14:14:24 »
You probably must configure software mixer(dmix)
What Linux distribution you have?

wciow

  • Behemoth
  • *******
  • Posts: 968
    • View Profile
Re: Problem running Glest on Linux
« Reply #4 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
Check out my new Goblin faction - https://forum.megaglest.org/index.php?topic=9658.0

 

anything