You are not logged in.

#1 2009-01-25 00:11:18

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Sound Issues (Only one app has sound at a time)

Well, I've been having a lot of sound issues since I reinstalled Arch (in retrospect, the reinstall was probably wasn't necesary).  Since then, I've been having audio issues with Skype.  I now have the issues with Skype corrected.  However, audio has stopped working in Second Life.  What do I do?

Last edited by Falcata (2009-02-21 13:48:00)

Offline

#2 2009-01-25 02:28:48

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

Okay, I've narrowed down the problem.  Apparently, my computer cannot handle sound for more than one application at a time.  And now, trying to run SecondLife steals the audio from Skype.

Does anybody have a solution to this?

Offline

#3 2009-01-25 02:33:58

sokuban
Member
Registered: 2006-11-11
Posts: 407

Re: Sound Issues (Only one app has sound at a time)

This is normal:

http://wiki.archlinux.org/index.php/All … nd_at_once

And this page would help too:

http://wiki.archlinux.org/index.php/Skype

Last edited by sokuban (2009-01-25 02:35:51)

Offline

#4 2009-01-25 02:38:39

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,540

Re: Sound Issues (Only one app has sound at a time)

EDIT: Got beaten to it, nearly word-for-word tongue Doing too much at once, took a while to respond.

Last edited by Ranguvar (2009-01-25 02:39:20)

Offline

#5 2009-01-25 14:52:24

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

Okay, still not working.  Here's what I get when I run that askype script from command line:

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skype
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skypein
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skypedsnoop
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL asymed
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skype
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skypein
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skypedsnoop
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL asymed
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skype
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skypein
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dsnoop.c:532:(snd_pcm_dsnoop_open) The dsnoop plugin supports only capture stream
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL skypedsnoop
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib control.c:909:(snd_ctl_open_noupdate) Invalid CTL asymed
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
ALSA lib pulse.c:272:(pulse_connect) PulseAudio: Unable to connect: Connection refused

ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave

Offline

#6 2009-01-27 15:11:30

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

I pulled this from my /var/log/errors.log file:

Jan 27 10:08:17 myhost pulseaudio[2771]: module-hal-detect.c: Unable to contact DBUS system bus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Jan 27 10:08:17 myhost pulseaudio[2771]: module.c: Failed to load  module "module-hal-detect" (argument: ""): initialization failed.
Jan 27 10:08:17 myhost pulseaudio[2771]: main.c: Module load failed.
Jan 27 10:08:17 myhost pulseaudio[2771]: main.c: Failed to initialize daemon.
Jan 27 10:08:17 myhost pulseaudio[2770]: main.c: Daemon startup failed.

EDIT: I ran /etc/rc.d/pulseaudio start as root, and when I did I noticed that it was trying to start up HAL, which was taking forever.  So, I suspect that there is a problem with HAL.  I'll try reinstalling it to see if that helps any.

Last edited by Falcata (2009-01-27 15:14:08)

Offline

#7 2009-01-27 15:44:45

lukrop
Member
From: /at/vienna
Registered: 2008-01-30
Posts: 27
Website

Re: Sound Issues (Only one app has sound at a time)

Did you try to use

$ aoss skype

to start Skype?

OSS is "teh evil", try to use ALSA where possible and the `aoss' wrapper for apps which use OSS.

Offline

#8 2009-01-27 15:45:28

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

Okay, I'm at a loss now.  I've got PulseAudio up and running now, so theoretically there should be no problem.  But I'm still getting audio in only one app at a time.  And I get zero audio in pidgin.

Offline

#9 2009-01-27 15:49:12

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

lukrop wrote:

Did you try to use

$ aoss skype

to start Skype?

OSS is "teh evil", try to use ALSA where possible and the `aoss' wrapper for apps which use OSS.

No effect.  Last I checked, Skype doesn't use OSS anymore.

Last edited by Falcata (2009-01-27 15:49:32)

Offline

#10 2009-01-27 17:41:51

Wintervenom
Member
Registered: 2008-08-20
Posts: 1,011

Re: Sound Issues (Only one app has sound at a time)

Post deleted.

Last edited by Wintervenom (2009-01-27 21:43:07)

Offline

#11 2009-01-27 19:22:24

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

Wintervenom, did you even read any of the posts in this thread?  Problems with pulseaudio were mentioned several times.

Offline

#12 2009-01-28 18:27:27

der_joachim
Member
From: the Netherlands
Registered: 2008-12-17
Posts: 143
Website

Re: Sound Issues (Only one app has sound at a time)

When I had a similar problem a few years ago on a debian box, I followed the instructions in the alsa wiki page linked below:

http://alsa.opensrc.org/AlsaSharing

There may be something in it that wasn't in the wiki pages linked earlier in this thread. Good luck.


Geek, runner, motorcyclist and professional know-it-all

Offline

#13 2009-01-30 22:46:11

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

I tried the solution in that page, der_joachim.  The instructions weren't entirely clear, and using the .asoundrc modifications indicated in it made the issues worse, so I had to reverse the changes.

Offline

#14 2009-01-30 23:49:26

ninjaprawn
Member
From: Manchester, UK
Registered: 2008-01-26
Posts: 485

Re: Sound Issues (Only one app has sound at a time)

for no sound in pidgin, the solution is in the wiki!

just set the method to command and use the following command;

aplay %s

2007 - Started using Arch Linux as my only/main OS
- Samsung Series 3, Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz - 8Gb DDR3 ram - 700Gb HDD
On board intel Graphics & Sound

Offline

#15 2009-02-04 21:41:55

Falcata
Member
From: Michiana
Registered: 2008-01-23
Posts: 501
Website

Re: Sound Issues (Only one app has sound at a time)

Okay, I've narrowed the problem down a bit.  It is SecondLife specifically that is causing the problems.  Any time it is running, all other apps don't have sound.  So, I'm going to look into this a bit.

Offline

#16 2009-02-21 14:16:02

test1000
Member
Registered: 2005-04-03
Posts: 834

Re: Sound Issues (Only one app has sound at a time)

like i'm pretty sure it says here:http://wiki.archlinux.org/index.php/Allow_multiple_programs_to_play_sound_at_once, all apps using mmap in oss steal the sound interface. you have some options to consider, and their all in that page. if it's really important to you to get sound also when using secondlife, you basically have to get yourself another soundcard. that's just how much alsa suck(still better than any oss..). now read that page for what kinda cheap soundcards you can get yourself. i think most would do(then just use one of the cards for mmap apps and one for all the alsa apps) just be sure it fits into your mb tongue

Last edited by test1000 (2009-02-21 14:16:37)


KISS = "It can scarcely be denied that the supreme goal of all theory is to make the irreducible basic elements as simple and as few as possible without having to surrender the adequate representation of a single datum of experience." - Albert Einstein

Offline

Board footer

Powered by FluxBB