project-navigation
Personal tools

Author Topic: ufo alien invasion: no sound  (Read 7894 times)

Offline gbezerra

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
ufo alien invasion: no sound
« on: May 11, 2010, 05:47:08 am »
Hi everyone,

I just installed ufoai on ubuntu 10.04, but the game runs with no sound. I believe I have all the libraries installed but I might be missing something. I get the following message when I start the game:

------- sound initialization -------
SDL_mixer version: 1.2.8
Unable to open audio
SND_Init failed

Any help?

Thanks!

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: ufo alien invasion: no sound
« Reply #1 on: May 11, 2010, 08:06:51 am »
try to deactivate pulse audio

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: ufo alien invasion: no sound
« Reply #2 on: May 11, 2010, 10:35:25 pm »
SOmething i dont understand, is the problem come from
linux, sdl, or the game?

Offline gbezerra

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: ufo alien invasion: no sound
« Reply #3 on: May 12, 2010, 04:00:43 am »
I disabled pulseaudio (boy that was hard, this thing just sticks itself to the system!)

Nothing happened, though. I still get exactly the same message and the sound doesn't work. What else could it be?

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: ufo alien invasion: no sound
« Reply #4 on: May 12, 2010, 08:47:10 am »
you can try to change the sound rate in the option menu

Offline gbezerra

  • Cannon Fodder
  • **
  • Posts: 3
    • View Profile
Re: ufo alien invasion: no sound
« Reply #5 on: May 12, 2010, 05:55:29 pm »
I've already tried that too. Change the frequency and restart the sound, with and without pulseaudio. Still no sound...

Offline greenif

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: ufo alien invasion: no sound
« Reply #6 on: June 13, 2010, 09:34:29 pm »
I have the same problem on my notebook Dell Studio 1749, on stationary PC everything work fine.
OS gentoo
log: http://dpaste.com/206820/

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: ufo alien invasion: no sound
« Reply #7 on: June 13, 2010, 10:17:23 pm »
Quote
S_Init: No available audio device

are other sdl games working with sounds?

Offline greenif

  • Cannon Fodder
  • **
  • Posts: 9
    • View Profile
Re: ufo alien invasion: no sound
« Reply #8 on: June 22, 2010, 09:51:31 pm »
are other sdl games working with sounds?

I do not know any other SDL game. For example?

Sound work perfectly and package media-libs/sdl-sound-1.0.3 installed.

Offline Gram

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: ufo alien invasion: no sound
« Reply #9 on: September 03, 2010, 04:22:27 am »
I got sound working by running this to launch the game:

cd /usr/local/games/ufoai
esddsp --mmap ./ufo.x86_64
« Last Edit: September 03, 2010, 05:28:28 am by Gram »

Offline OnTarget

  • Cannon Fodder
  • **
  • Posts: 1
    • View Profile
Re: ufo alien invasion: no sound
« Reply #10 on: August 22, 2011, 06:32:57 am »
I had the same problem with Linux Mint 11.

The solution was to install

libsdl1.2debian-alsa

I hope that helps anybody else who has this issue.