You are not logged in.

#1 2010-11-30 12:11:12

AugustePop
Member
Registered: 2010-04-27
Posts: 95

[SOLVED] Is alsa still required if I start using PulseAudio?

I am a bit confused. PulseAudio claims to be a daemon, but does not has to be listed in DAEMONS array in /etc/rc.conf and is run as a normal user. Should I remove alsa from DAEMONS array or leave it there?

EDIT: after a test run, the empirical answer is: alsa has to stay in rc.conf
EDIT: after test run, removing alsa from rc.conf is possible. However, I have to restore volume settings manually the first time boots without alsa deamon.

Last edited by AugustePop (2010-11-30 17:31:49)

Offline

#2 2010-11-30 12:22:36

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

There's only one way to find out Mark. smile


ᶘ ᵒᴥᵒᶅ

Offline

#3 2010-11-30 13:39:22

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

AugustePop wrote:

I am a bit confused. PulseAudio claims to be a daemon, but does not has to be listed in DAEMONS array in /etc/rc.conf and is run as a normal user.

If I understand the Wikipedia entry correctly, PulseAudio uses ALSA drivers. So, first, you completely setup ALSA as if you were using it by itself, then second, you setup PulseAudio to use ALSA.

By reading the Arch wiki, it appears that, yes, PulseAudio is a daemon, but no, there isn't an "/etc/rc.d" version to put in the DAEMONS array. Instead, you either start it by hand or the WM / DE you use starts it automatically.

Should I remove alsa from DAEMONS array or leave it there?

Wait, I have ALSA in my DAEMONS array? ...Oh, yeah, all that does is save and restore volume settings, right?

Offline

#4 2010-11-30 13:50:40

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

Thank you for your enlightenment, drcouzelis. I was not aware that the alsa daemon only saves and restores volume settings. However, removing alsa from DAEMONS array results in a system without sound.

Offline

#5 2010-11-30 14:02:13

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

Is it without sound? ...or is it just VEWY QWIET?

If you're interested in looking into it a bit more, you could try stopping the ALSA daemon with "/etc/rc.d/alsa stop" and then checking the volume with "alsamixer". Make sure it's not muted.

Unfortunately, I think that's about the extent of my "Linux audio" knowledge. sad

PulseAudio does look pretty interesting. I've kind of wanted to try out OSS and PulseAudio, but never really found the time or a reason to look into it more.

Offline

#6 2010-11-30 14:02:21

birdflesh
Member
From: Greece
Registered: 2010-08-04
Posts: 98

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

You probably need to unmute/level up something. I have sound without ever including alsa in rc.conf. I actually don't even have alsa-utils package installed. My volume settings are restored by kmix.

Offline

#7 2010-11-30 14:10:22

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

$ /usr/sbin/alsactl restore

ᶘ ᵒᴥᵒᶅ

Offline

#8 2010-11-30 14:30:16

AugustePop
Member
Registered: 2010-04-27
Posts: 95

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

Thank you, guys. I was wrong saying that alsa has to remain in rc.conf. All I have to do is to restore/re-set the volume settings manually the first time I boot the system without alsa in rc.conf. The sound was just muted. It's a shame that I thought the cross at the volume controls means error. ;-p

Offline

#9 2010-11-30 15:58:32

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,362

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

FYI, pulseaudio IS a daemon, but its meant to be run as a user daemon. The daemons in /etc/rc.d are system daemons.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#10 2010-11-30 16:10:15

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,967
Website

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

And last but not least: /etc/rc.d/alsa is no daemon. It just saves the current volume settings on shutdown and restores them on startup. And don't forget that PulseAudio just is another layer on top of alsa and does not replace it.

Offline

#11 2010-11-30 17:20:26

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: [SOLVED] Is alsa still required if I start using PulseAudio?

Moved to Multimedia.

AugustePop, if the issue is resolved for you, please mark it solved by prepending it to the title.


ᶘ ᵒᴥᵒᶅ

Offline

Board footer

Powered by FluxBB