[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] pygame.init() stalls...



Try a:

sudo modprobe snd-seq-oss

in the terminal. I had this problem earlier (though it didn't freeze),
but I have a SoundBlaster Live! LS card, so I don't know if it'll work
for you.

On 5/13/05, Troels Therkelsen <tt@xxxxxxxxxxxxxx> wrote:
>  Matt Bailey wrote: 
>  I have the same issue, it's SDL_mixer. Where does strace indicate it's
> hanging 
> at? Mine hangs when trying to open /dev/dsp. Other sound apps work fine,
> just 
> not SDL stuff. Weird!
> 
> What sound system are you using, and what kind of hardware?
> 
>  -Matt Bailey
> 
> On Thursday 12 May 2005 06:42, Troels Therkelsen set 1,000 monkies in front
> of 
> keyboards and came up with the following:
>  
>  
>  Thanks for the quick reply; you are right, it is the mixer device init
> which is hanging.
> 
> Knowing how snafu sound on Linux is, it will probably be very hard to
> trace this one down. Got any ideas how to do that?
> 
> Thanks,
> 
> Troels Therkelsen
>  
>  
>  Hangs at trying to open /dev/dsp0 in write-only mode like you.  I'm using
> ALSA and stuff like xmms works just fine.
>  
>  Card: Intel 82801DB-ICH4
>  Chip: SigmaTel STAC9750/51
>  
>  IOW, I'm using your average run-of-the-mill AC'97 compatible hardware which
> should be very, very common.
>  
>  I know I have some problems with other stuff, like the SoundScope plugin
> for gkrellm, so the SDL stall probably is due to a misconfiguration of my
> sound setup, but I just can't see what it is.
>  
>  Best regards,
>  
>  Troels Therkelsen
>  


-- 
~ Zain