[pulseaudio-discuss] Pulseaudio and Jack: getting timeouts
Folks, I'm running pulseaudio 0.9.21.1, jack 3.1.1 and jack-audio-connection-kit 0.109.2-r1, on a gentoo system: 2.6.31-gentoo-r10 #2 SMP PREEMPT Sun Apr 11 21:15:42 MDT 2010 x86_64 Intel(R) Core(TM)2 Quad CPU Q9300 @ 2.50GHz GenuineIntel GNU/Linux 8 gigs of ddr3 ram I can get pulseaudio feeding into jack with success. In gnome my pulseaudio volume control displays Jack Sink (PulseAudio JACK Sink) and i can route sound into ardour, so i know they are both working. However, it's not working as well as i would like. I much prefer the sound of the resample-method= src-sinc-best-quality setting over the default. However, when i select the src-sinc-best-quality method in /etc/pulse/daemon.conf jack times out (the output is below). I would like to have jack and pulse audio working with the best sync method. Anyone know where to start? Thanks for the help folks, Bearcat killall pulseaudio jackd -R -d alsa [1] 1323 bear...@clowder ~ $ jackd 0.109.2 Copyright 2001-2005 Paul Davis and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details JACK compiled with System V SHM support. loading driver .. creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-| 32bit control device hw:0 configuring for 48000Hz, period = 1024 frames (21.3 ms), buffer = 2 periods ALSA: final selected sample format for capture: 32bit little-endian ALSA: use 2 periods for capture ALSA: final selected sample format for playback: 32bit little-endian ALSA: use 2 periods for playback subgraph starting at PulseAudio JACK Source timed out (subgraph_wait_fd=12, status = 0, state = Running) jackd watchdog: timeout - killing jackd ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Switching resample_method on the fly?
On Fri, 2010-01-01 at 13:42 +0100, Lennart Poettering wrote: On Wed, 30.12.09 03:07, Bearcat M. Şandor (bear...@feline-soul.com) wrote: Using Pulseaudio 0.9.19 on gentoo amd64 Folks, I like to use resample-method=src-snc-best-quality for music (i upsample to 192k) and resample-method=src-snc-medium-quality for flash videos and videos. Until i figure out how to upsample gstreamer and flash to 192k (the latter of which is probably not possible) how can i switch back and forh forth from src-sinc-medium-quality to src-sinc-best-quality on the fly? As tanuk correctly pointed out the infrastructure for implementing something like this is already available in the PA core. What's missing though is a module actually making use of this, a protocol extension to allow client-side control of it and finally a UI for it. It should be relatively easy to simply extend m-s-r a little to cover this too, the same way it already controls the devices and volumes for particular streams. The only hard part would be to keep proper compat with older versions of the protocol and PA. But that should be feasible too. Patches welcome. Lennart Thanks folks! As soon as i'm good enough in C to do so i'll try writing a patch. That may be a while. Thanks for looking into it. If some ome beats me to it, no hard feelings :) -- Bearcat M. Şandor Cell: 406.210.3500 Jabber/xmpp/gtalk/email: bear...@feline-soul.net MSN: bearcatsan...@hotmail.com Yahoo: bearcatsandor AIM: bearcatmsandor ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Switching resample_method on the fly?
Well, after all that i upgraded libsample rate and now it's playing flash just fine even with the best-quality resampler. So cool. Thanks all. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Switching resample_method on the fly?
On Wed, 2009-12-30 at 21:24 +0800, Ng Oon-Ee wrote: On Wed, 2009-12-30 at 10:56 +, Colin Guthrie wrote: Hi, 'Twas brillig, and Bearcat M. Şandor at 30/12/09 10:07 did gyre and gimble: snip I've looked around for how to set up such profiles for a few days but i haven't found a way to do this. There is no way to do this right now. I don't know that bit of the code to be honest so don't know how much work would be needed here. If you do implement something I'd certainly limit it to the roles rather than making it more flexible as too much configuration can be a bad thing! I'm really not sure how much re-engineering ti would take to make this work, but it will certainly require some core changes. If the majority of the work could be kept within a module then this would certainly help keep the core as clean and tidy as possible for the majority of users. snip To clarify, are you (Bearcat) asking about changing the sample rate of the HW or simply the resampling method? The resampling method. I'd love to be able to change the rate based on what app was playing or change the rate on the fly, but given that a card locks, that's next to impossible. I think. Changing the method will do what i need. Thanks. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss -- Bearcat M. Şandor Cell: 406.210.3500 Jabber/xmpp/gtalk/email: bear...@feline-soul.net MSN: bearcatsan...@hotmail.com Yahoo: bearcatsandor AIM: bearcatmsandor ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Switching resample_method on the fly?
Using Pulseaudio 0.9.19 on gentoo amd64 Folks, I like to use resample-method=src-snc-best-quality for music (i upsample to 192k) and resample-method=src-snc-medium-quality for flash videos and videos. Until i figure out how to upsample gstreamer and flash to 192k (the latter of which is probably not possible) how can i switch back and forh forth from src-sinc-medium-quality to src-sinc-best-quality on the fly? Right now i'm changing the /etc/pulse/daemon.conf, ps aux to find the current pid and killing both pulseaudo and the gnome volume control each time. This is a pain. I've looked around for how to set up such profiles for a few days but i haven't found a way to do this. I'd rather not get into a discussion about *why* i want to upsample to 192k as such arguments among audiophiles are akin to emacs vs vi and kde vs gnome. Thanks for the help! ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
[pulseaudio-discuss] Switching resample_method on the fly?
Using Pulseaudio 0.9.19 on gentoo amd64 Folks, I like to use resample-method=src-snc-best-quality for music (i upsample to 192k) and resample-method=src-snc-medium-quality for flash videos and videos. Until i figure out how to upsample gstreamer and flash to 192k (the latter of which is probably not possible) how can i switch back and forh forth from src-sinc-medium-quality to src-sinc-best-quality on the fly? Right now i'm changing the /etc/pulse/daemon.conf, ps aux to find the current pid and killing both pulseaudo and the gnome volume control each time. This is a pain. I've looked around for how to set up such profiles for a few days but i haven't found a way to do this. I'd rather not get into a discussion about *why* i want to upsample to 192k as such arguments among audiophiles are akin to emacs vs vi and kde vs gnome. Thanks for the help! ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
Re: [pulseaudio-discuss] Switching resample_method on the fly?
On Wed, 2009-12-30 at 21:24 +0800, Ng Oon-Ee wrote: On Wed, 2009-12-30 at 10:56 +, Colin Guthrie wrote: Hi, 'Twas brillig, and Bearcat M. Şandor at 30/12/09 10:07 did gyre and gimble: snip I've looked around for how to set up such profiles for a few days but i haven't found a way to do this. There is no way to do this right now. I don't know that bit of the code to be honest so don't know how much work would be needed here. If you do implement something I'd certainly limit it to the roles rather than making it more flexible as too much configuration can be a bad thing! I'm really not sure how much re-engineering ti would take to make this work, but it will certainly require some core changes. If the majority of the work could be kept within a module then this would certainly help keep the core as clean and tidy as possible for the majority of users. snip To clarify, are you (Bearcat) asking about changing the sample rate of the HW or simply the resampling method? The resampling method. I'd love to be able to change the rate based on what app was playing or change the rate on the fly, but given that a card locks, that's next to impossible. I think. Changing the method will do what i need. Thanks. ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss -- Bearcat M. Şandor Cell: 406.210.3500 Jabber/xmpp/gtalk/email: bear...@feline-soul.net MSN: bearcatsan...@hotmail.com Yahoo: bearcatsandor AIM: bearcatmsandor ___ pulseaudio-discuss mailing list pulseaudio-discuss@mail.0pointer.de https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss