[PD] Freezes with Pd-Extended and Jack

Hans-Christoph Steiner hans at at.or.at
Sun Nov 25 02:50:44 CET 2012


If someone can point me to the commit that fixes this, I'm happy to include it in Pd-extended 0.43.  I just never use Jack, so I don't know what's what.  Things work in my basic tests.

I know that Miller changed this stuff in pure-data.git.

.hc

On Nov 24, 2012, at 5:58 PM, Gerhard Lang wrote:

> Tx Ivica and Esteban,
> as similarly afflicted user encouraged by this thread I followed this  recommendation, replaced pd and pd-extended with pd-l2ork.
> Works flawlessly together with jack 1.9.9-test5 from kx-studio ppa, dsp is switchable, some other bugs are gone, my patches run :D
> You made my day and now I'm going to learn more about L2ork.
> Gerhard
> 
> Am 24.11.2012 17:35, schrieb Ivica Bukvic:
>> 
>> 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 <mailto: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 <mailto: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 <mailto: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
>>            <mailto:emviveros at gmail.com>>
>> 
>>                Hmmm... I can understand now...
>> 
>>                Well.. I tried now the version of Jack on kxstudio
>>                testing ppa
>>                <https://launchpad.net/%7Ekxstudio-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
>>                <mailto: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 <mailto: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 <mailto: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 <mailto:Pd-list at iem.at> mailing list
>>    UNSUBSCRIBE and account-management ->
>>    http://lists.puredata.info/listinfo/pd-list
>> 
>> 
>> 
>> _______________________________________________
>> Pd-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




More information about the Pd-list mailing list