[PD] Freezes with Pd-Extended and Jack

Esteban Viveros emviveros at gmail.com
Sun Nov 25 01:32:55 CET 2012


Ivica,

 Yes, the latency only affects midi.. :/  But  checking, I saw I'm with
jackd 1.9.9..

Now I'll try with jack 1.9.8

I send notices.. ;)


2012/11/24 Ivica Bukvic <ico at vt.edu>

> This has to do likely with your audio latency settings. Try the pd-l2ork
> shortcut in the unity menu. For best results run jack first then run the
> said shortcut. The shortcut provides aggressive 5ms audio latency which
> runs perfectly fine on our L2Ork atom netbooks with lowlatency kernel. If
> the lag is on midi side, that needs to be investigated further.
> On Nov 24, 2012 11:57 AM, "Esteban Viveros" <emviveros at gmail.com> wrote:
>
>> Yep... Now DSP issue is solved.
>>
>> Now I have a new problem.. I will write a new mail to this... :/
>>
>> Pd-l2Ork have a considerable lag between audio and midi response..
>>
>>
>> 2012/11/24 Ivica Bukvic <ico at vt.edu>
>>
>>> With 1.9.8 and pd-l2ork all your problems will be solved except for the
>>> one caused by jack which in your case should not be a problem unless you
>>> physically disconnect (accidentally our otherwise) your audio hardware
>>> while jack is running.
>>>  On Nov 24, 2012 7:44 AM, "Esteban Viveros" <emviveros at gmail.com> wrote:
>>>
>>>> HUm... Ok... I will try!
>>>>
>>>> But what the better? Jack 1.9.8 or 1.9.9?
>>>>
>>>>
>>>> 2012/11/24 Ivica Bukvic <ico at vt.edu>
>>>>
>>>>> That is the regression I spoke of in pd 0.43 branch. Try pd-l2ork...
>>>>> On Nov 23, 2012 9:27 PM, "Esteban Viveros" <emviveros at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Ops...  I did a better test, and doing first open Pd and then I open
>>>>>> Jack. Now The DSP function work well, but I don't have sound...
>>>>>>
>>>>>> On messages box I have:
>>>>>>
>>>>>> 00:18:26.321 Patchbay deactivated.
>>>>>>
>>>>>> 00:18:26.373 Statistics reset.
>>>>>>
>>>>>> 00:18:26.388 ALSA connection change.
>>>>>>
>>>>>> 00:18:26.440 JACK connection change.
>>>>>>
>>>>>> 00:18:26.467 Client activated.
>>>>>>
>>>>>> 00:18:52.992 JACK connection graph change.
>>>>>>
>>>>>> 00:18:53.134 JACK connection change.
>>>>>>
>>>>>> 00:19:38.102 Client deactivated.
>>>>>>
>>>>>> 00:19:38.103 Post-shutdown script...
>>>>>>
>>>>>> 00:19:38.103 dreamstudio-restart-pulseaudio
>>>>>>
>>>>>> # making sure pulseaudio will restart if it crashes
>>>>>>
>>>>>> # starting pulseaudio
>>>>>>
>>>>>> # connecting pulseaudio to JACK
>>>>>>
>>>>>> Falha: A inicialização do módulo falhou
>>>>>>
>>>>>> Falha: A inicialização do módulo falhou
>>>>>>
>>>>>> 00:19:41.798 Post-shutdown script terminated with exit status=256.
>>>>>>
>>>>>> 00:19:44.297 JACK connection change.
>>>>>>
>>>>>> 00:19:44.311 Client activated.
>>>>>>
>>>>>> 00:20:38.543 JACK connection graph change.
>>>>>>
>>>>>> 00:20:38.693 JACK connection change.
>>>>>>
>>>>>> 00:20:42.648 ALSA connection graph change.
>>>>>>
>>>>>> 00:20:42.708 ALSA connection change.
>>>>>>
>>>>>> 00:20:42.709 ALSA connection graph change.
>>>>>>
>>>>>> 00:20:42.910 ALSA connection change.
>>>>>>
>>>>>> 00:20:45.334 JACK connection graph change.
>>>>>>
>>>>>> 00:20:45.514 JACK connection change.
>>>>>>
>>>>>> 00:20:52.993 JACK connection graph change.
>>>>>>
>>>>>> 00:20:53.014 Buffer size change (64).
>>>>>>
>>>>>>
>>>>>> What can I do now?
>>>>>>
>>>>>>
>>>>>> 2012/11/23 Esteban Viveros <emviveros at gmail.com>
>>>>>>
>>>>>>> Hmmm... I can understand now...
>>>>>>>
>>>>>>> Well.. I tried now the version of Jack on kxstudio testing ppa<https://launchpad.net/~kxstudio-team/+archive/testing>and the problem is the same... :(
>>>>>>>
>>>>>>> This ppa was install jack2, jackd and jackdfirewire packages on
>>>>>>> version 1.9.9  but the package libjack-jack2.0 is mantained on version 1.9.8
>>>>>>>
>>>>>>> The next step will be to compile jack packages on version 1.9.9
>>>>>>>
>>>>>>> Ivica, or anyone, you have some information how can I compile that?
>>>>>>> For that I need some help.
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>>
>>>>>>> 2012/11/23 Ivica Ico Bukvic <ico at vt.edu>
>>>>>>>
>>>>>>>> See below (from the linux-audio-user list):****
>>>>>>>>
>>>>>>>> ** **
>>>>>>>>
>>>>>>>> Re: [LAU] question about jackdmp's ability to detect its soundcard
>>>>>>>> has disconnected****
>>>>>>>>
>>>>>>>> Could this be the difference between 1.9.8 and git version?****
>>>>>>>>
>>>>>>>> On Oct 29, 2012 12:10 PM, "Robin Gareus" <robin at gareus.org> wrote:*
>>>>>>>> ***
>>>>>>>>
>>>>>>>> On 10/29/2012 03:55 PM, Ivica Ico Bukvic wrote:
>>>>>>>> > All,
>>>>>>>> >
>>>>>>>> > I noticed since upgrading to Ubuntu 12.04 that the default Jack
>>>>>>>> server is
>>>>>>>> > jackdmp (v.1.9.8). Please correct me if I am wrong but my
>>>>>>>> understanding this
>>>>>>>> > is the smp-enabled version 2 that is being developed in parallel
>>>>>>>> with 1.x
>>>>>>>> > series of regular jack.
>>>>>>>>
>>>>>>>> correct. They are also API and ABI compatible.
>>>>>>>>
>>>>>>>> > Either way, one of my concerns is that while in the old jack when
>>>>>>>> one
>>>>>>>> > accidentally pulled the soundcard jack was trying to talk to
>>>>>>>> (e.g. a USB
>>>>>>>> > soundcard), the jack would gracefully stop.
>>>>>>>>
>>>>>>>> In my experience it stopped but never gracefully (ie it crashed).
>>>>>>>> but
>>>>>>>> it's been a while since I used jack1.
>>>>>>>>
>>>>>>>> > The new version (and this could
>>>>>>>> > be Ubuntu quirk) instead of stopping is pegged in some kind of a
>>>>>>>> spinlock
>>>>>>>> > that often times locks up the machine (this may be in part since
>>>>>>>> I am
>>>>>>>> > running a lowlatency kernel with audio group given priority) and
>>>>>>>> at times
>>>>>>>> > keeps it operational while hogging the cpu and making the
>>>>>>>> computer barely
>>>>>>>> > responsive until jackd is killed. Apps connected to jack that I
>>>>>>>> tested so
>>>>>>>> > far are also stuck in a loop waiting for a response from jack
>>>>>>>> (although this
>>>>>>>> > could be the app's shortcoming)--jack never broadcasts a signal
>>>>>>>> that it has
>>>>>>>> > lost the soundcard (AFAICT). FWIW I am running jackdmp through
>>>>>>>> qjackctl...
>>>>>>>> > Any thoughts on this matter would be most appreciated.
>>>>>>>> >
>>>>>>>>
>>>>>>>> I can't reproduce this. jack2 stops the backend when the device is
>>>>>>>> disconnected. You can switch to a new backend using jack_control
>>>>>>>> (sending some Dbus messages to jackd) without re-starting jackd. No
>>>>>>>> CPU
>>>>>>>> hogging here. - I'm running jack2 - aka 1.9.9.4 from git.
>>>>>>>>
>>>>>>>> robin****
>>>>>>>>
>>>>>>>> ** **
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>>
>>>>>>> Esteban Viveros
>>>>>>>
>>>>>>> (27) 8815 7170
>>>>>>> (27) 3066 0359
>>>>>>> (11) 95761 4125
>>>>>>> (11) 2738 7868
>>>>>>>
>>>>>>> www.bandpage.com/estebanviveros<http://soundcloud.com/estebanviveros>
>>>>>>>
>>>>>>> https://www.facebook.com/estebanviveros.art
>>>>>>>
>>>>>>> http://www.papodecompositor-es.blogspot.com.br/
>>>>>>>
>>>>>>> http://expurgacao.art.br/
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>>
>>>>>> Esteban Viveros
>>>>>>
>>>>>> (27) 8815 7170
>>>>>> (27) 3066 0359
>>>>>> (11) 95761 4125
>>>>>> (11) 2738 7868
>>>>>>
>>>>>> www.bandpage.com/estebanviveros<http://soundcloud.com/estebanviveros>
>>>>>>
>>>>>> https://www.facebook.com/estebanviveros.art
>>>>>>
>>>>>> http://www.papodecompositor-es.blogspot.com.br/
>>>>>>
>>>>>> http://expurgacao.art.br/
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pd-list at iem.at mailing list
>>>>>> UNSUBSCRIBE and account-management ->
>>>>>> http://lists.puredata.info/listinfo/pd-list
>>>>>>
>>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Esteban Viveros
>>>>
>>>> (27) 8815 7170
>>>> (27) 3066 0359
>>>> (11) 95761 4125
>>>> (11) 2738 7868
>>>>
>>>> www.bandpage.com/estebanviveros <http://soundcloud.com/estebanviveros>
>>>>
>>>> https://www.facebook.com/estebanviveros.art
>>>>
>>>> http://www.papodecompositor-es.blogspot.com.br/
>>>>
>>>> http://expurgacao.art.br/
>>>>
>>>>
>>>> _______________________________________________
>>>> Pd-list at iem.at mailing list
>>>> UNSUBSCRIBE and account-management ->
>>>> http://lists.puredata.info/listinfo/pd-list
>>>>
>>>>
>>
>>
>> --
>>
>> Esteban Viveros
>>
>> (27) 8815 7170
>> (27) 3066 0359
>> (11) 95761 4125
>> (11) 2738 7868
>>
>> www.bandpage.com/estebanviveros <http://soundcloud.com/estebanviveros>
>>
>> https://www.facebook.com/estebanviveros.art
>>
>> http://www.papodecompositor-es.blogspot.com.br/
>>
>> http://expurgacao.art.br/
>>
>>


-- 

Esteban Viveros

(27) 8815 7170
(27) 3066 0359
(11) 95761 4125
(11) 2738 7868

www.bandpage.com/estebanviveros <http://soundcloud.com/estebanviveros>

https://www.facebook.com/estebanviveros.art

http://www.papodecompositor-es.blogspot.com.br/

http://expurgacao.art.br/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20121124/83dbc9bd/attachment-0001.htm>


More information about the Pd-list mailing list