Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]no sound in uplink and smac
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
john_who
n00b
n00b


Joined: 14 Sep 2004
Posts: 28

PostPosted: Thu Sep 22, 2005 12:21 pm    Post subject: [SOLVED]no sound in uplink and smac Reply with quote

Hello,

I get no sound in Uplink and Sid Meier Alpha Centauri.
Sound works ok for wesnoth, ET, quake3, amarok...
I'm running 2.6.9 with alsa. My sound card is a VIA 82xx (integrated mobo).

lsmod output is:
Code:

snd_pcm_oss            47848  0
snd_mixer_oss          17344  1 snd_pcm_oss
snd_seq_oss            34048  0
snd_seq_midi_event      6144  1 snd_seq_oss
snd_seq                50256  4 snd_seq_oss,snd_seq_midi_event
snd_via82xx            22844  0
snd_ac97_codec         74040  1 snd_via82xx
snd_pcm                82788  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21444  2 snd_seq,snd_pcm
snd_page_alloc          7560  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6400  1 snd_via82xx
snd_rawmidi            20416  1 snd_mpu401_uart
snd_seq_device          7052  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    48356  11 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device


The only hint i got is this line in ~/.uplink/debug.log :
Code:
Mix_OpenAudio: No available audio device

It looks like some other program is using the soundcard, but i don't run any sound server like arts or esd...

Also:
Code:
$ echo $SDL_AUDIODRIVER
alsa


I'm lost :(
Thank you for any help.


Last edited by john_who on Sat Oct 15, 2005 10:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
john_who
n00b
n00b


Joined: 14 Sep 2004
Posts: 28

PostPosted: Sat Oct 15, 2005 9:09 pm    Post subject: Reply with quote

I finally solved the uplink problem using the dynamic binary provided in the latest patch of uplink.
I tried reinstalling smac using the ebuild but sound is not working yet. :(
Oss support in alsa looks ok from lsmod output and other oss applications have no problems...
Code:
$ lsmod
Module                  Size  Used by
snd_pcm_oss            48168  0
snd_mixer_oss          17600  1 snd_pcm_oss
snd_seq_oss            34496  0
snd_seq_midi_event      5824  1 snd_seq_oss
snd_seq                50256  4 snd_seq_oss,snd_seq_midi_event
snd_via82xx            23036  1
snd_ac97_codec         81532  1 snd_via82xx
snd_pcm                82084  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              21764  2 snd_seq,snd_pcm
snd_page_alloc          7560  2 snd_via82xx,snd_pcm
snd_mpu401_uart         6336  1 snd_via82xx
snd_rawmidi            21056  1 snd_mpu401_uart
snd_seq_device          7052  3 snd_seq_oss,snd_seq,snd_rawmidi
snd                    47716  13 snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_via82xx,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device

Any idea?
Back to top
View user's profile Send private message
john_who
n00b
n00b


Joined: 14 Sep 2004
Posts: 28

PostPosted: Sat Oct 15, 2005 10:40 pm    Post subject: Reply with quote

Ok this is finally solved thanks to http://gentoo-wiki.com/HOWTO_Running_Old_Loki_Games

Setting the LD_PRELOAD to the right library did the trick.
Code:
$ LD_PRELOAD=/path/Loki_Compat/libsmpeg-0.4.so.0 /opt/smac/smacx.dynamic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum