Page 1 of 2

no sound on Mageia Linux 64 bits

Posted: Sat Feb 16, 2013 6:10 pm
by saletam
Hi all.

I just purchased Unity of Command on Steam store for Linux.
Running bin/uoc quite well but sound is disabled.

Code: Select all

ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/lib/i386-linux-gnu/alsa-lib/libasound_module_pcm_pulse.so


Symlinking to the proper directory /usr/lib/alsa-lib/ didn't fix this issue (connection refused).

I run Mageia 3 64 bits with KDE.

I can play others Linux Steam games like Trine 2 or Amnesia with sound working fine.

Re: no sound on Mageia Linux 64 bits

Posted: Sun Feb 17, 2013 5:56 pm
by Tomislav Uzelac
I put this on our todo list, but it may take time to figure out the proper solution (ref: the ongoing saga with linux fonts).

You may try setting SDL_AUDIODRIVER to "dsp" to see if that helps. It's a long shot, but who knows...

Re: no sound on Mageia Linux 64 bits

Posted: Sun Feb 24, 2013 2:41 pm
by saletam
Thanks for answering.

export SDL_AUDIODRIVER=dsp didn't help unfortunately, i don't get any error anymore, but no sound as well.

Re: no sound on Mageia Linux 64 bits

Posted: Sat Apr 06, 2013 4:56 pm
by saletam
I still have that error.
Some other people too : http://steamcommunity.com/app/218090/di ... 177856756/.

Re: no sound on Mageia Linux 64 bits

Posted: Sat Apr 27, 2013 6:12 am
by Artran
Hi,

I have version 1.04 from Gamers Gate and I have the same issue. No sound on OpenSUSE 12.3 32bit with KDE 4.10.

Re: no sound on Mageia Linux 64 bits

Posted: Tue May 28, 2013 1:02 pm
by pixelplatypus
You may need to install the 32bit libraries as Pygame is 32bit and uses the 32bit SDL libraries.
If you google 32 bit libasound you should be able to find the appropriate package to install.

Re: no sound on Mageia Linux 64 bits

Posted: Thu Jul 18, 2013 6:37 pm
by Bucic
pixelplatypus wrote:You may need to install the 32bit libraries as Pygame is 32bit and uses the 32bit SDL libraries.
If you google 32 bit libasound you should be able to find the appropriate package to install.

Code: Select all

 sudo yum install SDL.i686
.
.
.
Package SDL-1.2.15-9.fc19.i686 already installed and latest version
Nothing to do

So, what now? :)

/Fedora 19 x86_64

Re: no sound on Mageia Linux 64 bits

Posted: Fri Jul 19, 2013 1:27 pm
by Bucic
Anyone? :/ The weekend is coming and I'd really like to play the game. Even some hints are fine. Something to try...

Re: no sound on Mageia Linux 64 bits

Posted: Mon Jul 22, 2013 9:40 am
by karryall
Try disabling the alsa config file that sets the Pulseaudio plugin as the default alsa device:

Code: Select all

mv /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf /usr/share/alsa/alsa.conf.d/99-pulseaudio-default.conf.bak


That way uoc will directly use the sound card device for the sound output.
It won't work if pulseaudio is currently using the card (ie if some other program is currently using pulseaudio to play some sound), and while uoc is running this will prevent pulseaudio from playing any sound as well.

HTH

Re: no sound on Mageia Linux 64 bits

Posted: Fri Jul 26, 2013 8:12 pm
by Bucic
Thank you for registering just to post the solution! :) It works!