Re: [PD] JACK on macOS (was Re: [PD-announce] Pd version 0.52-0test3 released)

2021-12-13 Thread IOhannes m zmölnig

On 12/13/21 21:20, William Brent wrote:

No problem - just posted a comment with all of my info there.
Unfortunately, no luck with the iem-ci build on my system either...



thanks.

this info in the issue was incredibly helpful:
> JACK protocol mismatch 8

afaict it tries to tell us that Pd and jackd speak different (and 
obviously incompatible) protocols.


i'm currently trying to create a new binary on our CI that finally uses 
the pre-built binaries from jackaudio.org (as dan always suggested).


hopefully this will get the protocol version right.


once it finished building, the dmg will be available on 


could you please be so kind and test with that version as well?

gfmdsf
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] JACK on macOS (was Re: [PD-announce] Pd version 0.52-0test3 released)

2021-12-13 Thread William Brent
No problem - just posted a comment with all of my info there.
Unfortunately, no luck with the iem-ci build on my system either...

On Mon, Dec 13, 2021 at 10:03 AM IOhannes m zmoelnig 
wrote:

>
> On 12/13/21 14:56, William Brent wrote:
> >
> > If I then start Dan's most recent build of test3
> > (Pd-0.52-0test3-x86_64-jack.app) from this email thread, choosing "jack"
> > from the Media menu results in no error and "pure_data" shows up in the
> > JACK connection graph.
>
> thanks for the info.
>
> i'm having a bit trouble finding the relevant infos in this growing
> thread (getting old, i guess), so i've started a ticket on github to
> collect all this information.
>
> https://github.com/pure-data/pure-data/issues/1512
>
> it would be supercool if you could add your info as well.
> (there's no need to test with JackOSX like I did - i only did this
> because Jack-1.9.19 was not really working on ElCapitan)
>
> > Thanks and let me know if I can test other attempts to fix this. I'll
> keep
> > an eye on this thread.
>
>
> could you also try the "iem-ci" build that is linked in the ticket? (it
> links to a disk image, that should be signed and notarized)
> that would be great.
>
> gfmadsr
> IOhannes
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] JACK on macOS (was Re: [PD-announce] Pd version 0.52-0test3 released)

2021-12-13 Thread IOhannes m zmoelnig


On 12/13/21 14:56, William Brent wrote:


If I then start Dan's most recent build of test3
(Pd-0.52-0test3-x86_64-jack.app) from this email thread, choosing "jack"
from the Media menu results in no error and "pure_data" shows up in the
JACK connection graph.


thanks for the info.

i'm having a bit trouble finding the relevant infos in this growing 
thread (getting old, i guess), so i've started a ticket on github to 
collect all this information.


https://github.com/pure-data/pure-data/issues/1512

it would be supercool if you could add your info as well.
(there's no need to test with JackOSX like I did - i only did this 
because Jack-1.9.19 was not really working on ElCapitan)



Thanks and let me know if I can test other attempts to fix this. I'll keep
an eye on this thread.



could you also try the "iem-ci" build that is linked in the ticket? (it 
links to a disk image, that should be signed and notarized)

that would be great.

gfmadsr
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-13 Thread William Brent
Hi, here are the steps I've carried out in my test:

I'm using macOS Big Sur 11.6.1 on an Intel 64bit machine. I've already got
JACK 1.9.19 installed from https://jackaudio.org/downloads/. I went with
the Intel 64bit installer as opposed to the universal installer. My version
of Pd 0.52-0 test3 is the one "compiled for Macintosh OS 10 or later" from
Miller's page.

When I open Pd-0.52-0test3.app and choose "jack" as the audio backend, I
get an error in the Pd console saying "JACK: couldn't connect to server, is
JACK running?"

I then quit Pd entirely and start QjackCtl (also obtained from the
https://jackaudio.org/downloads/ install package). I can successfully start
the JACK server through QjackCtl and engage with other apps like Ardour.
When I start Pd again and choose "jack" as the audio backend, I still
receive the "JACK: couldn't connect to server, is JACK running?" error and
"pure_data" does not show up in the JACK connection graph.

If I then start Dan's most recent build of test3
(Pd-0.52-0test3-x86_64-jack.app) from this email thread, choosing "jack"
from the Media menu results in no error and "pure_data" shows up in the
JACK connection graph.

Thanks and let me know if I can test other attempts to fix this. I'll keep
an eye on this thread.




On Mon, Dec 13, 2021 at 4:29 AM IOhannes m zmölnig  wrote:

> On 12/13/21 03:42, Miller Puckette via Pd-list wrote:
> >>
> >> As explained in previous emails, I don't use jack from Homebrew for my
> builds. I use the distribution from jack.org <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__jack.org_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=xZhKQcor-5nubxwqw4EU2QFekoO3jau_fkGQI5knM1g=
> > which is equivalent to the old JackOSX distribution:
> >>
> >>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__jackaudio.org_downloads_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=bfa_OxtCOIyvpdlj2NL0nPmVqj505twR0xAxEXWncog=
> <
> https://urldefense.proofpoint.com/v2/url?u=https-3A__jackaudio.org_downloads_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=bfa_OxtCOIyvpdlj2NL0nPmVqj505twR0xAxEXWncog=
> >
> >>
> >> You just need to download and run the installer on the build machine,
> which could also be automated via a script. People needing to use jack
> installed via Homebrew should build Pd themselves as the those libs doesn't
> seem to enable weak linking like the ones in the installer AFAICT.
> >>
> >> Dan Wilcox
> >>
> >
> > Right ho - Iohannes - I'm hoping this is something you can fix in the CI
> > builds
> >
>
> yes of course.
>
> i'd still like to understand the problem first though.
>
> my setup is: macOS X Sierra (10.7) in a VM
>
> if i install the dmg file from my CI-scripts (now that they use a
> non-broken Tcl/Tk) Pd opens up just fine.
> going to the media menu, i see two options for the audio backend:
> - standard (portaudio)
> - jack
>
> selecting "jack" i get an error on the Pd-console, saying:
>  > Can't open Jack (it seems not to be installed)
>
> this is expected, as i haven't installed jack.
>
> i then download JACK-1.9.19 from https://jackaudio.org/downloads/,
> extract it, and run the jack2.pkg found withing.
> this should install JACK.
>
> i *restart* Pd and select "jack" again, and now i get an error
>  > JACK: couldn't connect to server, is JACK running?
>
> again, tihs is expected, as i haven't started JACK.
>
> so i open up qJackCtl (also found in the download from jackaudio.org),
> and start the JACK server (i use the *dummy* audio backend, as the VM
> has no soundcard).
>
> back in Pd, i again select "jack" as the backend, and - tada - no more
> warnings *and* Pd shows up in the qjackctl graph.
>
> the binary i'm using is this one (Tcl/Tk is universal; but Pd itself is
> only amd64; this is built with JACK from homebrew):
> https://git.iem.at/pd/pure-data/-/jobs/33751/artifacts/download
>
>
> william: could you tell me where our paths deviate?
>
> gfmdsa
> IOhannes
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-13 Thread IOhannes m zmoelnig


On 12/13/21 11:25, IOhannes m zmoelnig wrote:


hmm, which dmg?

my plan was:
- download the .tgz



ah.
re-reading your emails i see:

On 12/12/21 23:01, Dan Wilcox wrote:
> I use the distribution from http://jack.org which is
> equivalent to the old JackOSX distribution:
> https://jackaudio.org/downloads/


now i downloaded from https://jackaudio.org/downloads/.
where *should* I download from instead?
http://jack.org seems to be very wrong - health related rather than 
audio related...


gmasdr
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-13 Thread IOhannes m zmoelnig


On 12/13/21 10:53, Dan Wilcox wrote:

FYI IOhannes:

For a project at work which uses JACK, I set up the build system to download 
the prebuilt JACK dmg and extract it to a local build directory. This seems to 
work fine for both building *and* distribution as user systems which have 
(non-homebrew) JACK installed are able to run the program with JACK.


hmm, which dmg?

my plan was:
- download the .tgz
- extract the .pkg from the .tgz
- run `installer -pkg ./*.pkg -target /`

afaict, there's no way to tell `installer` to extract to a specific 
directory (as opposed to (disk) volume).


but anyhow: for somewhat unrelated reasons i like this more that 
installing "jack" via homebrew (given that with homebrew you quickly end 
up rebuilding your entire system if you are not running the very latest 
macOS - something that is rather detrimental to the idea of a CI)




I have a feeling that, like JackOSX before it, the JACK distribution builds do some extra 
step which makes this "magic" work (weak linking?) while the Homebrew builds do 
not (linked applications expect same lib path). As to why exactly, I don't know, maybe 
changing the dylib path? In any case, I think it's easier for most people to run an 
installer rather than ask them to copy/paste and run command line incantations to use 
JACK via Homebrew. :)


but isn't this what i'm seeing (as described in my previous mail): JACK 
being "somehow" weekly linked.


i somehow have the feeling i'm looking at the wrong places for the issue 
you seem to be having.


how can i quickly test whether my builds work as expected?

gf,msdrt
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-13 Thread Dan Wilcox
FYI IOhannes:

For a project at work which uses JACK, I set up the build system to download 
the prebuilt JACK dmg and extract it to a local build directory. This seems to 
work fine for both building *and* distribution as user systems which have 
(non-homebrew) JACK installed are able to run the program with JACK.

I have a feeling that, like JackOSX before it, the JACK distribution builds do 
some extra step which makes this "magic" work (weak linking?) while the 
Homebrew builds do not (linked applications expect same lib path). As to why 
exactly, I don't know, maybe changing the dylib path? In any case, I think it's 
easier for most people to run an installer rather than ask them to copy/paste 
and run command line incantations to use JACK via Homebrew. :)

> On Dec 13, 2021, at 10:29 AM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 3
> Date: Mon, 13 Dec 2021 10:29:55 +0100
> From: IOhannes m zm?lnig mailto:zmoel...@iem.at>>
> To: pd-list@lists.iem.at , William Brent 
> mailto:william.br...@gmail.com>>
> Subject: Re: [PD] [PD-announce] Pd version 0.52-0test3 released
> Message-ID:  >
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
> 
> On 12/13/21 03:42, Miller Puckette via Pd-list wrote:
>>> 
>>> As explained in previous emails, I don't use jack from Homebrew for my 
>>> builds. I use the distribution from jack.org  
>>> >>  
>>> 
>>>  > which is equivalent to the old JackOSX distribution:
>>> 
>>> https://urldefense.proofpoint.com/v2/url?u=https-3A__jackaudio.org_downloads_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=bfa_OxtCOIyvpdlj2NL0nPmVqj505twR0xAxEXWncog=
>>>  
>>> 
>>>  
>>> >>  
>>> 
>>>  >
>>> 
>>> You just need to download and run the installer on the build machine, which 
>>> could also be automated via a script. People needing to use jack installed 
>>> via Homebrew should build Pd themselves as the those libs doesn't seem to 
>>> enable weak linking like the ones in the installer AFAICT.
>>> 
>>> Dan Wilcox
>>> 
>> 
>> Right ho - Iohannes - I'm hoping this is something you can fix in the CI
>> builds 
>> 
> 
> yes of course.
> 
> i'd still like to understand the problem first though.
> 
> my setup is: macOS X Sierra (10.7) in a VM
> 
> if i install the dmg file from my CI-scripts (now that they use a 
> non-broken Tcl/Tk) Pd opens up just fine.
> going to the media menu, i see two options for the audio backend:
> - standard (portaudio)
> - jack
> 
> selecting "jack" i get an error on the Pd-console, saying:
>> Can't open Jack (it seems not to be installed)
> 
> this is expected, as i haven't installed jack.
> 
> i then download JACK-1.9.19 from https://jackaudio.org/downloads/ 
> , 
> extract it, and run the jack2.pkg found withing.
> this should install JACK.
> 
> i *restart* Pd and select "jack" again, and now i get an error
>> JACK: couldn't connect to server, is JACK running?
> 
> again, tihs is expected, as i haven't started JACK.
> 
> so i open up qJackCtl (also found in the download from jackaudio.org 
> ), 
> and start the JACK server (i use the *dummy* audio backend, as the VM 
> has no soundcard).
> 
> back in Pd, i again select "jack" as the backend, and - tada - no more 
> warnings *and* Pd shows up in the qjackctl graph.
> 
> the binary i'm using is this one (Tcl/Tk is universal; but Pd itself is 
> only amd64; this is built with JACK from homebrew):
> https://git.iem.at/pd/pure-data/-/jobs/33751/artifacts/download 
> 
> 
> 
> william: could you tell me where our paths deviate?
> 
> gfmdsa
> IOhannes


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-13 Thread IOhannes m zmölnig

On 12/13/21 03:42, Miller Puckette via Pd-list wrote:


As explained in previous emails, I don't use jack from Homebrew for my builds. I use the distribution from 
jack.org 
 which is equivalent to the old JackOSX distribution:

https://urldefense.proofpoint.com/v2/url?u=https-3A__jackaudio.org_downloads_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=bfa_OxtCOIyvpdlj2NL0nPmVqj505twR0xAxEXWncog=
  


You just need to download and run the installer on the build machine, which 
could also be automated via a script. People needing to use jack installed via 
Homebrew should build Pd themselves as the those libs doesn't seem to enable 
weak linking like the ones in the installer AFAICT.

Dan Wilcox



Right ho - Iohannes - I'm hoping this is something you can fix in the CI
builds 



yes of course.

i'd still like to understand the problem first though.

my setup is: macOS X Sierra (10.7) in a VM

if i install the dmg file from my CI-scripts (now that they use a 
non-broken Tcl/Tk) Pd opens up just fine.

going to the media menu, i see two options for the audio backend:
- standard (portaudio)
- jack

selecting "jack" i get an error on the Pd-console, saying:
> Can't open Jack (it seems not to be installed)

this is expected, as i haven't installed jack.

i then download JACK-1.9.19 from https://jackaudio.org/downloads/, 
extract it, and run the jack2.pkg found withing.

this should install JACK.

i *restart* Pd and select "jack" again, and now i get an error
> JACK: couldn't connect to server, is JACK running?

again, tihs is expected, as i haven't started JACK.

so i open up qJackCtl (also found in the download from jackaudio.org), 
and start the JACK server (i use the *dummy* audio backend, as the VM 
has no soundcard).


back in Pd, i again select "jack" as the backend, and - tada - no more 
warnings *and* Pd shows up in the qjackctl graph.


the binary i'm using is this one (Tcl/Tk is universal; but Pd itself is 
only amd64; this is built with JACK from homebrew):

https://git.iem.at/pd/pure-data/-/jobs/33751/artifacts/download


william: could you tell me where our paths deviate?

gfmdsa
IOhannes


OpenPGP_signature
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list