You are not logged in.

#1 2009-06-18 16:21:09

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

PulseAudio & PolicyKit (PackageKit)

Hi Everybody. I started this thread just for two simple questions since I don't have enough time due to a project to research a little bit more, but I'm sure I will that's a promise.

I'm wondering what is all these new changes and when will they be possible in Arch. I know pulseaudio is a reality but I would like to know if someone knows the pos and the cons and maybe some possible problems related and If I should change alsa for pulseaudio.

And the other one is policykit that it's already installed and I've been using some little things like the synaptics and keyboard. I know some distros are working hard to have a frontend like PackageKit in their distros. My question or doubt here is if one day this frontend will be available for Arch to use as wrapper for pacman or yaourt neutral


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#2 2009-06-18 18:51:43

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: PulseAudio & PolicyKit (PackageKit)

I wrote an article about pulseaudio in gnome 2.26 2 months ago: http://www.nepherte.be/featuring-pulsea … nome-2-26/ Switching to pulseaudio is not necessary but I kinda like it.

Offline

#3 2009-06-18 23:18:06

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: PulseAudio & PolicyKit (PackageKit)

You don't change alsa to pulseaudio, alsa connects to the pulseaudio server.


neutral

Offline

#4 2009-06-19 07:23:29

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: PulseAudio & PolicyKit (PackageKit)

Pulse works excellent for me, so I can play things through my headphones and speakers at the same time, or switch a music/internet stream from my speakers to my headset and vice versa.  The only quirky thing is volume control, but I use my headset and speaker controls anyway.  The con is that there is no gui equalizer, but that can be applied to everything else.

Offline

#5 2009-06-19 11:31:20

robmaloy
Member
From: Germany
Registered: 2008-05-14
Posts: 263

Re: PulseAudio & PolicyKit (PackageKit)

Nepherte's article about pulse sounds really nice. i think i'm gonna give it a try

the worst thing about it and the whole FooKit programs is the use of uppercase letters in their names wink


without completion-ignore-case On, having stuff like /etc/ConsoleKit/ is a PITA imho

edit: XML configuration is not the best thing either neutral

Last edited by robmaloy (2009-06-19 11:33:21)


☃ Snowman ☃

Offline

#6 2009-06-19 12:36:12

sand_man
Member
From: Australia
Registered: 2008-06-10
Posts: 2,164

Re: PulseAudio & PolicyKit (PackageKit)

i have to agree with you there robmaloy, there is no reason to use caps. It's just annoying.


neutral

Offline

#7 2009-06-19 16:38:01

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: PulseAudio & PolicyKit (PackageKit)

Thanks to everybody, yes it seems that I don't need to replace alsa and thats goos. I will read your article Nepherte as soon as I finish something that is taking me a lot of time at work. I just read it a little bit an very quickly and looks very interesting, thanks to pointing me to that great resource of you. cool


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#8 2009-06-19 21:18:17

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: PulseAudio & PolicyKit (PackageKit)

AngryKoala wrote:

Pulse works excellent for me, so I can play things through my headphones and speakers at the same time, or switch a music/internet stream from my speakers to my headset and vice versa.  The only quirky thing is volume control, but I use my headset and speaker controls anyway.  The con is that there is no gui equalizer, but that can be applied to everything else.

You mean with pulse i can continue to listen music on my speakers even if i plug in the headphones in the front jack, or you have an usb headset ?


If it ain't broke, broke it then fix it.

Offline

#9 2009-06-19 22:30:46

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: PulseAudio & PolicyKit (PackageKit)

Maki wrote:
AngryKoala wrote:

Pulse works excellent for me, so I can play things through my headphones and speakers at the same time, or switch a music/internet stream from my speakers to my headset and vice versa.  The only quirky thing is volume control, but I use my headset and speaker controls anyway.  The con is that there is no gui equalizer, but that can be applied to everything else.

You mean with pulse i can continue to listen music on my speakers even if i plug in the headphones in the front jack, or you have an usb headset ?

I have a separate pci card dedicated to my headset.  My speakers I plug into my mobo.

Offline

#10 2009-06-19 22:43:43

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: PulseAudio & PolicyKit (PackageKit)

You can assign/transfer each audio stream to a specific device, not sure if you can assign a audio stream to a specific output of one single sound card.

Offline

#11 2009-06-19 22:57:52

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: PulseAudio & PolicyKit (PackageKit)

Nepherte wrote:

You can assign/transfer each audio stream to a specific device, not sure if you can assign a audio stream to a specific output of one single sound card.

Not at the same time, but certainly you can choose.

Offline

#12 2009-06-20 09:18:05

Maki
Member
From: Skopje, Macedonia
Registered: 2007-10-16
Posts: 353
Website

Re: PulseAudio & PolicyKit (PackageKit)

AngryKoala wrote:
Maki wrote:
AngryKoala wrote:

Pulse works excellent for me, so I can play things through my headphones and speakers at the same time, or switch a music/internet stream from my speakers to my headset and vice versa.  The only quirky thing is volume control, but I use my headset and speaker controls anyway.  The con is that there is no gui equalizer, but that can be applied to everything else.

You mean with pulse i can continue to listen music on my speakers even if i plug in the headphones in the front jack, or you have an usb headset ?

I have a separate pci card dedicated to my headset.  My speakers I plug into my mobo.

Must be cool having multiple soundcards around smile, i guess i should put one on my system.


If it ain't broke, broke it then fix it.

Offline

#13 2009-06-20 22:43:42

AngryKoala
Member
Registered: 2009-01-22
Posts: 197

Re: PulseAudio & PolicyKit (PackageKit)

Maki wrote:
AngryKoala wrote:
Maki wrote:

You mean with pulse i can continue to listen music on my speakers even if i plug in the headphones in the front jack, or you have an usb headset ?

I have a separate pci card dedicated to my headset.  My speakers I plug into my mobo.

Must be cool having multiple soundcards around smile, i guess i should put one on my system.

I used to game a lot and so it was a necessity to have a dedicated sound card so I can hear every little sound from any direction clearly.  Now, I just use it for music and movies smile

Offline

#14 2009-06-23 13:46:57

carlocci
Member
From: Padova - Italy
Registered: 2008-02-12
Posts: 368

Re: PulseAudio & PolicyKit (PackageKit)

Is this the wheel of reincarnation all over again?
Didn't we move to alsa in order not to have audio daemons?

Offline

#15 2009-06-23 15:15:03

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

Re: PulseAudio & PolicyKit (PackageKit)

No, "we" moved to ALSA because OSS3 was crusty and OSS4 was proprietary. Now it's not, but "we've" stuck with ALSA.

Offline

#16 2009-06-23 15:22:07

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: PulseAudio & PolicyKit (PackageKit)

Besides, pulseaudio ran as a user acts totally different from a daemon. For one, you don't need to specify it in your daemon list. Whenever an application wants to output sound, it is spawned.

Offline

#17 2009-06-23 15:59:47

z0phi3l
Member
From: Waterbury CT
Registered: 2007-11-26
Posts: 278

Re: PulseAudio & PolicyKit (PackageKit)

Maki wrote:
AngryKoala wrote:
Maki wrote:

You mean with pulse i can continue to listen music on my speakers even if i plug in the headphones in the front jack, or you have an usb headset ?

I have a separate pci card dedicated to my headset.  My speakers I plug into my mobo.

Must be cool having multiple soundcards around smile, i guess i should put one on my system.

My headset came with it's own USB soundcard, does help out a lot smile

Offline

#18 2009-06-23 22:34:45

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: PulseAudio & PolicyKit (PackageKit)

It seems very interesting, I will change to pulseaudio sooner, maybe with the next release of GNOME since according to Nepherte this one is hacked by the arch package mainterner.

Thanks a lot for the link to a great article Nepherte, now I understand PulseAudio and that's a change I'll like. BTW Programming with layers isn't bad, actually I consider one of the most important things in programming and design, since you can easily change a layer without many problems.

Thanks a lot to averyone for your comments.


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#19 2009-06-24 12:08:50

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: PulseAudio & PolicyKit (PackageKit)

Why wait? It's not that hard to reintegrate pulseaudio in gnome. Since a few people have already asked me how, here are some guidelines: http://www.nepherte.be/howto-add-pulsea … rch-linux/

Offline

#20 2009-06-25 00:38:32

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

Re: PulseAudio & PolicyKit (PackageKit)

AngryKoala wrote:
Nepherte wrote:

You can assign/transfer each audio stream to a specific device, not sure if you can assign a audio stream to a specific output of one single sound card.

Not at the same time, but certainly you can choose.

Actually, there is module-combine-streams (I think that's the name) which allows output to multiple sound cards (sinks) from the same source/sources (audio apps, mostly).


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

#21 2009-06-30 01:46:40

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: PulseAudio & PolicyKit (PackageKit)

Well, today I just installed PulseAudio and it's working fine, now I can control the volume per aplication, which in fact is a great feature.

Thanks Nepherte for your great guideline.


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#22 2009-06-30 22:56:20

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: PulseAudio & PolicyKit (PackageKit)

One Question more, Do you have any idea how to make pulse audio keeps working when changing to a tty. I'm not sure but I think that before this I was able to change to any tty and my banshee keeps working fine, not sure really if thats was previous behavior, maybe someone without pulseaudio could confirm this.

I seldom need to a tty but today that was the case and then I saw this behavior, just wondering if it is normal or maybe a bug, or something relate to the way in which Pulse Audio is started or I just missed installing something.

Thanks in advance. cool


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#23 2009-07-01 09:01:57

Nepherte
Member
From: Singapore
Registered: 2008-09-09
Posts: 427

Re: PulseAudio & PolicyKit (PackageKit)

It's because the pulseaudio process isn't running anymore, probably one of the only disadvantages of running pulseaudio on a per user base. Sometimes my music keeps running, sometimes not. I believe you shouldn't have this when running pulseaudio system-wide.

Offline

#24 2009-07-01 19:38:44

alienman
Member
From: Mexico
Registered: 2008-07-08
Posts: 106

Re: PulseAudio & PolicyKit (PackageKit)

Ok I will try by adding pulseaudio in the daemons array.

It worked fine smile. I supposed that was the reason, but I didn't tried till today.

Last edited by alienman (2009-07-01 19:46:04)


ISC - Ignacio Marmolejo
ArchLinux & GNOME User.

Offline

#25 2009-07-23 14:32:06

onestep_ua
Member
From: Luhansk, Ukraine
Registered: 2008-04-30
Posts: 13

Re: PulseAudio & PolicyKit (PackageKit)

alienman wrote:

I know some distros are working hard to have a frontend like PackageKit in their distros. My question or doubt here is if one day this frontend will be available for Arch to use as wrapper for pacman or yaourt neutral

pacman backend for PackageKit already exists for ~1.5 years. smile Please search for 'packagekit' in AUR.

Offline

Board footer

Powered by FluxBB