Re: puseaudio in Debian - is it ready?

2008-10-16 Thread Aioanei Rares
On Thu, Oct 16, 2008 at 12:04 AM, H.S. <[EMAIL PROTECTED]> wrote:

> Jesse Sheidlower wrote:
> > On Tue, Oct 14, 2008 at 12:00:20PM -0400, H.S. wrote:
> >> Hello,
> >>
> >> Is anybody using pulseaudio in Debian? I am interested to know what is
> >> its status in Debian Sid and Lenny. If somebody has been successful in
> >> installing and running it, could you share your experience.
> >
> > I tried it some time ago and gave up in frustration, but
> > recently gave it another try. I was specifically trying to
> > solve the problem of USB audio: different apps seemed to have
> > different ways of dealing with this, so I couldn't just plug
> > in USB speakers and go, I had to do one thing for the system
> > as a whole, then a different thing in one sound program, then
> > another thing for blah blah blah.
> >
> > The PA installation and setup was a bit of a drag, though I
> > followed detailed instructions online. And now that it's
> > working, it's perfect; everything Just Works. There are a few
> > minor problems I'm having but on the whole I'm glad I did it.
> >
> > Jesse Sheidlower
> >
> >
>
>
> Having read what people posted, it appears that pulseaudio is on the
> right track. In this thread, only Paul has discouraged its use and
> Preston is having trouble (appears to be a hardware problem), and two
> others are having a ball of a time with pa.
>
> So if it works, it is wonderful. If it doesn't, it is a pain to get
> working. Moreover, it has networked sound. So I can play a movie on my
> media PC in my home lan over at my laptop -- if I understand pa correctly.
>
> Now if somebody can describe the steps which are fairly reliable to get
> it to work on a Debian machine, I might give it another shot in the not
> too distant future when I get some time.
>
> Regards.
>
>
> --
>
> Please reply to this list only. I read this list on its corresponding
> newsgroup on gmane.org. Replies sent to my email address are just
> filtered to a folder in my mailbox and get periodically deleted without
> ever having been read.
>
>
> --
>  To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>
Well, count me in for having problems with PA...using F8 on my laptop (not
cheap HW at
all) with PA gave me problems with flash, skype, and one day after soem
update all my sound just died...all i had to do was yum remove pulseaudio
and now all's ok :) On F9 and rawhide the problems disappeared
partially...but I agree totally with the fact that if your hardware is ok,
ALSA works with multiple streams just fine.


Re: puseaudio in Debian - is it ready?

2008-10-16 Thread Andrei Popescu
On Wed,15.Oct.08, 17:04:27, H.S. wrote:
 
> Having read what people posted, it appears that pulseaudio is on the
> right track. In this thread, only Paul has discouraged its use and
> Preston is having trouble (appears to be a hardware problem), and two
> others are having a ball of a time with pa.
 
I've had issues with sound on the machine using pa but I have reason to 
believe it's rather the hardware/sound drivers. I don't use it for local 
sound. Even if it would probably work, it is an additional level of 
complexity I don't really need, since all my apps work fine with 
alsa+dmix.

> So if it works, it is wonderful. If it doesn't, it is a pain to get
> working. Moreover, it has networked sound. So I can play a movie on my
> media PC in my home lan over at my laptop -- if I understand pa correctly.

> Now if somebody can describe the steps which are fairly reliable to 
> get
> it to work on a Debian machine, I might give it another shot in the not
> too distant future when I get some time.

As usual, you should start by reading 
/usr/share/doc/pulseaudio/README.Debian, but here is a quick setup:

on the server machine uncomment the line

load-module module-native-protocol-tcp

in /etc/pulse/default.pa

and run 'pulseaudio --daemonize' as a user who is a member of the 
'pulse-rt' group. On the client machine copy the file .pulse-cookie to 
the home of the user(s) needing network sound and create a 
.pulse/clientrc with:

default-server=tcp:192.168.xx.xx

(the IP of the server of course). Then you'll have to configure each app 
to use pulse.

AIUI there are ways to share the cookie using X (avoid the 'copy cookie' 
step needed each time you restart pulseaudio on the server machine) and 
to create a pseudo-alsa-device to reroute the sound to pulse (avoid 
configuring each client app, should also work with clients that don't 
support pulse).

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: puseaudio in Debian - is it ready?

2008-10-15 Thread Jesse Sheidlower
On Wed, Oct 15, 2008 at 05:04:27PM -0400, H.S. wrote:
> Jesse Sheidlower wrote:
> > On Tue, Oct 14, 2008 at 12:00:20PM -0400, H.S. wrote:
> >> Hello,
> >>
> >> Is anybody using pulseaudio in Debian? I am interested to know what is
> >> its status in Debian Sid and Lenny. If somebody has been successful in
> >> installing and running it, could you share your experience.
> > 
> > I tried it some time ago and gave up in frustration, but
> > recently gave it another try. I was specifically trying to
> > solve the problem of USB audio: different apps seemed to have
> > different ways of dealing with this, so I couldn't just plug
> > in USB speakers and go, I had to do one thing for the system
> > as a whole, then a different thing in one sound program, then
> > another thing for blah blah blah.
> > 
> > The PA installation and setup was a bit of a drag, though I
> > followed detailed instructions online. And now that it's
> > working, it's perfect; everything Just Works. There are a few
> > minor problems I'm having but on the whole I'm glad I did it.
> > 
> > Jesse Sheidlower
> 
> Having read what people posted, it appears that pulseaudio is on the
> right track. In this thread, only Paul has discouraged its use and
> Preston is having trouble (appears to be a hardware problem), and two
> others are having a ball of a time with pa.
> 
> So if it works, it is wonderful. If it doesn't, it is a pain to get
> working. Moreover, it has networked sound. So I can play a movie on my
> media PC in my home lan over at my laptop -- if I understand pa correctly.
> 
> Now if somebody can describe the steps which are fairly reliable to get
> it to work on a Debian machine, I might give it another shot in the not
> too distant future when I get some time.

The two documents I found to be exceptionally helpful (used
in combination) were an extensive Debian how-to at

http://forums.debian.net/viewtopic.php?t=12497

and PA's own docs at

http://pulseaudio.org/wiki/PerfectSetup

Jesse Sheidlower


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-15 Thread H.S.
Jesse Sheidlower wrote:
> On Tue, Oct 14, 2008 at 12:00:20PM -0400, H.S. wrote:
>> Hello,
>>
>> Is anybody using pulseaudio in Debian? I am interested to know what is
>> its status in Debian Sid and Lenny. If somebody has been successful in
>> installing and running it, could you share your experience.
> 
> I tried it some time ago and gave up in frustration, but
> recently gave it another try. I was specifically trying to
> solve the problem of USB audio: different apps seemed to have
> different ways of dealing with this, so I couldn't just plug
> in USB speakers and go, I had to do one thing for the system
> as a whole, then a different thing in one sound program, then
> another thing for blah blah blah.
> 
> The PA installation and setup was a bit of a drag, though I
> followed detailed instructions online. And now that it's
> working, it's perfect; everything Just Works. There are a few
> minor problems I'm having but on the whole I'm glad I did it.
> 
> Jesse Sheidlower
> 
> 


Having read what people posted, it appears that pulseaudio is on the
right track. In this thread, only Paul has discouraged its use and
Preston is having trouble (appears to be a hardware problem), and two
others are having a ball of a time with pa.

So if it works, it is wonderful. If it doesn't, it is a pain to get
working. Moreover, it has networked sound. So I can play a movie on my
media PC in my home lan over at my laptop -- if I understand pa correctly.

Now if somebody can describe the steps which are fairly reliable to get
it to work on a Debian machine, I might give it another shot in the not
too distant future when I get some time.

Regards.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-15 Thread Paul Johnson
Preston Boyington wrote:
> H.S. wrote:
>   
>> Paul Johnson wrote:
>>
>> 
   
 
>>> Right up until it doesn't.  And when it doesn't, it's a severe pain to fix.
>>>   
>> I noticed that in FC9, the sound was working quite smoothly even when
>> the processor was quite busy (updating and installing stuff using yum).
>> This was a surprise to me. With as busy processor in Debian, I usually
>> get some sort an interruption in the sound. That prompted me to try out
>> pulseaudio in Debian too. Soon discovered it is pretty cumbersome to
>> install though.
>>
>> 
>
> i'm dealing with this issue now.  i REALLY want to have my system set up
>   so that multiple sound streams can play.
Then PulseAudio is the wrong way to fix the problem.  The right way is
to get hardware that can do this.  Playing multiple streams isn't
exactly anything new, all but the very cheapest of the cheap supports
playing multiple streams these days.  This problem is most easily and
reliably fixed in hardware, not software.
> so how do i setup my system to play multiple streams with ALSA?  i'm
> sure it is being done by someone, but i couldn't find a simple guide to
> do so before i started this Pulseaudio adventure.
>   
If your hardware is capable of it, ALSA will do it right out of the
box.  Your problem using bare ALSA is that the hardware isn't capable in
this case.




signature.asc
Description: OpenPGP digital signature


Re: puseaudio in Debian - is it ready?

2008-10-15 Thread Florian Kulzer
On Wed, Oct 15, 2008 at 08:07:55 -0500, Preston Boyington wrote:

[...]

> so how do i setup my system to play multiple streams with ALSA?  i'm
> sure it is being done by someone, but i couldn't find a simple guide to
> do so before i started this Pulseaudio adventure.

http://alsa.opensrc.org/index.php/FAQ#Can_I_use_several_applications_at_once_without_the_second_one_blocking.3F
http://alsa.opensrc.org/index.php/FAQ#I_configured_dmix_but_still_get_unable_to_open_slave_or_Device_or_resource_busy
http://alsa.opensrc.org/index.php/Dmix

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-15 Thread Florian Kulzer
On Tue, Oct 14, 2008 at 23:37:21 -0400, H.S. wrote:

[...]

> I noticed that in FC9, the sound was working quite smoothly even when
> the processor was quite busy (updating and installing stuff using yum).
> This was a surprise to me. With as busy processor in Debian, I usually
> get some sort an interruption in the sound. That prompted me to try out
> pulseaudio in Debian too. Soon discovered it is pretty cumbersome to
> install though.

Keep in mind that such differences in latency can also be caused by the
kernel, specifically the I/O scheduler, the timer frequency and the
preemption model. It is possible that the FC9 kernels are more
aggressively optimized for low-latency desktops and multimedia
applications.

$ grep -E 'PREEMPT|_HZ|DEFAULT_IOSCHED'  /boot/config-$(uname -r)
CONFIG_DEFAULT_IOSCHED="cfq"
CONFIG_PREEMPT_NOTIFIERS=y
CONFIG_NO_HZ=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
# CONFIG_PREEMPT_RCU is not set
# CONFIG_HZ_100 is not set
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
CONFIG_HZ_1000=y
CONFIG_HZ=1000
CONFIG_DEBUG_PREEMPT=y

In my experience, CONFIG_DEFAULT_IOSCHED="cfq", CONFIG_PREEMPT=y, and
CONFIG_HZ=1000 help to decrease latency. The Debian stock kernels have
CONFIG_PREEMPT_NONE=y and CONFIG_HZ=250, which is why I compile my own
kernels for desktop systems.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-15 Thread Jesse Sheidlower
On Tue, Oct 14, 2008 at 12:00:20PM -0400, H.S. wrote:
> Hello,
> 
> Is anybody using pulseaudio in Debian? I am interested to know what is
> its status in Debian Sid and Lenny. If somebody has been successful in
> installing and running it, could you share your experience.

I tried it some time ago and gave up in frustration, but
recently gave it another try. I was specifically trying to
solve the problem of USB audio: different apps seemed to have
different ways of dealing with this, so I couldn't just plug
in USB speakers and go, I had to do one thing for the system
as a whole, then a different thing in one sound program, then
another thing for blah blah blah.

The PA installation and setup was a bit of a drag, though I
followed detailed instructions online. And now that it's
working, it's perfect; everything Just Works. There are a few
minor problems I'm having but on the whole I'm glad I did it.

Jesse Sheidlower


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-15 Thread Preston Boyington
H.S. wrote:
> Paul Johnson wrote:
> 
>>>   
>> Right up until it doesn't.  And when it doesn't, it's a severe pain to fix.
> 
> I noticed that in FC9, the sound was working quite smoothly even when
> the processor was quite busy (updating and installing stuff using yum).
> This was a surprise to me. With as busy processor in Debian, I usually
> get some sort an interruption in the sound. That prompted me to try out
> pulseaudio in Debian too. Soon discovered it is pretty cumbersome to
> install though.
> 

i'm dealing with this issue now.  i REALLY want to have my system set up
  so that multiple sound streams can play.  currently my base ALSA setup
doesn't allow that and it's annoying to have to kill one program to hear
another's sound.  now that i have some more time i am planning on
getting serious about finding a good solution.

keep in mind that i wasn't concerned about sound initially so i was
lumbering under the idea that Pulseaudio would be my saving grace...
which has not happened.

so how do i setup my system to play multiple streams with ALSA?  i'm
sure it is being done by someone, but i couldn't find a simple guide to
do so before i started this Pulseaudio adventure.

-- 
Arrant Drivel - really, it's just trash...
http://www.arrantdrivel.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-14 Thread H.S.
Paul Johnson wrote:

>>   
> Right up until it doesn't.  And when it doesn't, it's a severe pain to fix.

I noticed that in FC9, the sound was working quite smoothly even when
the processor was quite busy (updating and installing stuff using yum).
This was a surprise to me. With as busy processor in Debian, I usually
get some sort an interruption in the sound. That prompted me to try out
pulseaudio in Debian too. Soon discovered it is pretty cumbersome to
install though.

Regards.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-14 Thread Paul Johnson
H.S. wrote:
> Paul Johnson wrote:
>   
>> A good way to needlessly complicate your audio setup especially if
>> everything is working fine using the traditional ALSA approach.
>> Pulseaudio also breaks voice and sometimes all sound support in Second
>> Life despite claiming ESD compatibility.  Pulse is not without major
>> show stopping drawbacks that make it unsuitable for desktop use, and
>> there doesn't seem to be any serious effort on part of pulse partisans
>> to fix the situation anytime soon.  Pulseaudio is unsuitable for the
>> 
>
> Yes, I noticed that too with all the config files editing a user has to
> go through to even attempt to see if it has started to work.
>
>   
>> desktop, and I hope it doesn't ever make it into the default desktop
>> install until there's damn good reason for it to be there.
>> 
>
> Man, you really dislike pa! :)
>
>   
I dislike all sound daemons used without good need.  There's nothing so
showstoppingly wrong that you can't just use ALSA unless you have
software that actually needs the functionality provided by a sound
daemon.  Save for that usage case, there's really not a point to use any
of them.  Pulseaudio is a particularly thorny issue for me because too
often I hear people complaining about sound in Linux. Frequently, after
a little investigation, it turns out that their distribution installed
Pulse by default.  And Pulse has broken sound for whatever program
they're having problem's with.  Good example:  Second Life.  The problem
is still present, but less pronounced in the Debianized version,
omvviewer[1], likely because vivox is non-free and thus voice support is
not included (and anything vivox based seems to be it's own little joy
to make work in it's own right in Linux).
> I guess I will leave it for now. Though FC9 has it and it seems to work
>   
Right up until it doesn't.  And when it doesn't, it's a severe pain to fix.

[1] There's trademark issues involved with this package, a-la the
Iceweasel situation.



signature.asc
Description: OpenPGP digital signature


Re: puseaudio in Debian - is it ready?

2008-10-14 Thread Kelly Clowers
On Tue, Oct 14, 2008 at 9:00 AM, H.S. <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Is anybody using pulseaudio in Debian? I am interested to know what is
> its status in Debian Sid and Lenny. If somebody has been successful in
> installing and running it, could you share your experience.
>
> By the way, Fedora uses pulseaudio (FC8 and FC9). It looks like it works
> very well there. Would love to try it out on my Debian Unstable and
> Testing machines.

I am using Sid, and have been using PA for months now. At first some
things didn't work with it, but now everything is fine, from music and
media players (xmms2, Amarok 1.x and 2, mplayer, xine and vlc) to
flash (I am using v10), to games, including Quake 3 and Wine games.

Before PA I sometimes had issues with sound, especially flash, either
alone or even more if flash started to play while something else played
sound. I haven't had those issues since I started using PA.


Cheers,
Kelly Clowers


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-14 Thread H.S.
Paul Johnson wrote:
> A good way to needlessly complicate your audio setup especially if
> everything is working fine using the traditional ALSA approach.
> Pulseaudio also breaks voice and sometimes all sound support in Second
> Life despite claiming ESD compatibility.  Pulse is not without major
> show stopping drawbacks that make it unsuitable for desktop use, and
> there doesn't seem to be any serious effort on part of pulse partisans
> to fix the situation anytime soon.  Pulseaudio is unsuitable for the

Yes, I noticed that too with all the config files editing a user has to
go through to even attempt to see if it has started to work.

> desktop, and I hope it doesn't ever make it into the default desktop
> install until there's damn good reason for it to be there.

Man, you really dislike pa! :)

I guess I will leave it for now. Though FC9 has it and it seems to work
pretty impressively there.

Regards.


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: puseaudio in Debian - is it ready?

2008-10-14 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
H.S. wrote:
> Is anybody using pulseaudio in Debian? I am interested to know what
> is its status in Debian Sid and Lenny. If somebody has been
> successful in installing and running it, could you share your
> experience.
>
> By the way, Fedora uses pulseaudio (FC8 and FC9). It looks like it
> works very well there. Would love to try it out on my Debian
> Unstable and Testing machines.
A good way to needlessly complicate your audio setup especially if
everything is working fine using the traditional ALSA approach.
Pulseaudio also breaks voice and sometimes all sound support in Second
Life despite claiming ESD compatibility.  Pulse is not without major
show stopping drawbacks that make it unsuitable for desktop use, and
there doesn't seem to be any serious effort on part of pulse partisans
to fix the situation anytime soon.  Pulseaudio is unsuitable for the
desktop, and I hope it doesn't ever make it into the default desktop
install until there's damn good reason for it to be there.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iEYEARECAAYFAkj1F0QACgkQy7028xM7y6itEACfUwH6i3qidhSLBglEeuxNIYGW
+GEAn2lxXDKVb2XZ7ofOC8dUkq5nGG9s
=EzfX
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



puseaudio in Debian - is it ready?

2008-10-14 Thread H.S.
Hello,

Is anybody using pulseaudio in Debian? I am interested to know what is
its status in Debian Sid and Lenny. If somebody has been successful in
installing and running it, could you share your experience.

By the way, Fedora uses pulseaudio (FC8 and FC9). It looks like it works
very well there. Would love to try it out on my Debian Unstable and
Testing machines.

Regards.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]