no sound on Mageia Linux 64 bits

Post your technical problems here.
saletam
Cadet
Posts: 3
Joined: Sat Feb 16, 2013 5:53 pm

no sound on Mageia Linux 64 bits

Unread postby saletam » Sat Feb 16, 2013 6:10 pm

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.

User avatar
Tomislav Uzelac
2x2 Games
Posts: 2211
Joined: Mon Apr 04, 2011 11:24 pm
Location: Zagreb, Croatia

Re: no sound on Mageia Linux 64 bits

Unread postby Tomislav Uzelac » Sun Feb 17, 2013 5:56 pm

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...

saletam
Cadet
Posts: 3
Joined: Sat Feb 16, 2013 5:53 pm

Re: no sound on Mageia Linux 64 bits

Unread postby saletam » Sun Feb 24, 2013 2:41 pm

Thanks for answering.

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

saletam
Cadet
Posts: 3
Joined: Sat Feb 16, 2013 5:53 pm

Re: no sound on Mageia Linux 64 bits

Unread postby saletam » Sat Apr 06, 2013 4:56 pm

I still have that error.
Some other people too : http://steamcommunity.com/app/218090/di ... 177856756/.

Artran
Newcomer
Posts: 1
Joined: Sat Apr 27, 2013 5:45 am

Re: no sound on Mageia Linux 64 bits

Unread postby Artran » Sat Apr 27, 2013 6:12 am

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.

pixelplatypus
Newcomer
Posts: 1
Joined: Tue May 28, 2013 12:56 pm

Re: no sound on Mageia Linux 64 bits

Unread postby pixelplatypus » Tue May 28, 2013 1:02 pm

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.

User avatar
Bucic
Cadet
Posts: 4
Joined: Thu Jul 18, 2013 6:01 pm
Location: Poland

Re: no sound on Mageia Linux 64 bits

Unread postby Bucic » Thu Jul 18, 2013 6:37 pm

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

User avatar
Bucic
Cadet
Posts: 4
Joined: Thu Jul 18, 2013 6:01 pm
Location: Poland

Re: no sound on Mageia Linux 64 bits

Unread postby Bucic » Fri Jul 19, 2013 1:27 pm

Anyone? :/ The weekend is coming and I'd really like to play the game. Even some hints are fine. Something to try...

karryall
Newcomer
Posts: 1
Joined: Mon Jul 22, 2013 9:29 am

Re: no sound on Mageia Linux 64 bits

Unread postby karryall » Mon Jul 22, 2013 9:40 am

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

User avatar
Bucic
Cadet
Posts: 4
Joined: Thu Jul 18, 2013 6:01 pm
Location: Poland

Re: no sound on Mageia Linux 64 bits

Unread postby Bucic » Fri Jul 26, 2013 8:12 pm

Thank you for registering just to post the solution! :) It works!