Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-30 Thread IOhannes m zmölnig
Am 30. April 2022 20:33:48 MESZ schrieb Roman Haefeli : > >tl;dr: Pd and Deken seem to do everything correctly on M1 Macs.  > thanks a lot for checking so thoroughly mfg.sfg.jfd IOhannes ___ Pd-dev mailing list Pd-dev@lists.iem.at

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-30 Thread Roman Haefeli
I finally had the chance run Pd [1] on an M1-Mac with Monterey. Here's what I found: When starting Pd normally, two processes (Pd and pd) are running in native mode. Deken shows only arm64 externals. When installing an external, it can be loaded afterwards. When 'Open with Rosetta' is checked in

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread IOhannes m zmölnig
Am 27. April 2022 19:34:01 MESZ schrieb Jakob Skouborg : > >Iemlib:- Seems like objects does not work. Like init, filter~, >vcf_filter~, aspeedlim, etc. neither with or without You have to both *load* iemlib, and add it's *path*. Typically you would add this to your patches

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread Jakob Skouborg
Hey again :) I tried adding the arch -x86_64 to line 846 and I am running PD in Rosetta mode and most seems to be working now. I have installed these externals, via Deken, with the arch -x86_64 and my experience is: Cyclone - Works with arch -x86_64 but not without. Else

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread IOhannes m zmölnig
On 4/27/22 14:15, Christof Ressi wrote: When you start Pd through Rosetta (by right-clicking the app-icon and selectign "Open using Rosetta"), you instruct the OS to launch the Pd-GUI through rosetta. The Pd-GUI then starts the Pd-core, and doesn't care a bit about your rosetta-settings, which

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread Christof Ressi
When you start Pd through Rosetta (by right-clicking the app-icon and selectign "Open using Rosetta"), you instruct the OS to launch the Pd-GUI through rosetta. The Pd-GUI then starts the Pd-core, and doesn't care a bit about your rosetta-settings, which means that the Pd-core is started in

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread IOhannes m zmoelnig
On 4/27/22 09:01, Roman Haefeli wrote: That's valuable to know. Thanks, IOHannes. I still have two questions regarding this matter: 1. How does Deken detect current platform/arch? Does it something like `uname -m` or does it check what arch Pd has, or something else? at compile time, Pd

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread Denis Połeć
Hey, I am on a M1 Max machine, when I am opening pd-0.52-2 in rosetta mode, I don’t face any problems to load „old“ - x86 externals. Old because I load them in the past with deken! It means with an pd intel version… like pd-0.51-4 It seems that deken doesn’t show x86 versions when you run pd

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread Jakob
Hey  I am off to work atm, but I will just make a short comment and get back to it this afternoon. When I open Pd in Rosetta mode, it does show up as an Intel app in activity monitor, it says Intel next to it, where native arm apps just say Apple. Dunno if it means anything, if some of Pd is

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread Roman Haefeli
On Wed, 2022-04-27 at 08:42 +0200, IOhannes m zmoelnig wrote: > so here's a better solution (also untested). > instead if *everything* i wrote above do this: > > 1. find the file Pd.app/Content/Resources/tcl/pd-gui.tcl > 2. open it in an editor > 3. locate the line (somewhere around line:846)

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread IOhannes m zmoelnig
On 4/27/22 08:27, IOhannes m zmoelnig wrote: On 4/27/22 08:25, IOhannes m zmoelnig wrote: something like this should do the trick (in the terminal): ``` cd /Applications/Pd-0.52.2.app/Content/Resources/bin/ mv pd pd.fat lipo pd.fat -thin x86_64 -output pd ``` i forgot: this will most likely

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread IOhannes m zmoelnig
On 4/27/22 08:25, IOhannes m zmoelnig wrote: something like this should do the trick (in the terminal): ``` cd /Applications/Pd-0.52.2.app/Content/Resources/bin/ mv pd pd.fat lipo pd.fat -thin x86_64 -output pd ``` i forgot: this will most likely invalidate any signature of the pd binary.

Re: [PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-27 Thread IOhannes m zmoelnig
On 4/26/22 21:12, Jakob Skouborg wrote: I checked Dekens platform settings and it is set to Darwin-arm64-32. Does that mean Deken will download "arm specific" externals, even though I am running Pd in Rosetta mode? yes. Would it make any difference changing Dekens platform settings to

[PD-dev] Externals in Pd.52.2(Rosetta Mode) on Mac M1!

2022-04-26 Thread Jakob Skouborg
Hello :) I’ve got a M1 MacBook(OSX 11.6.5) and I am trying to get externals to work in Pd-0.52.2. Since there are not a lot of externals that are M1 native yet, I am running PD in Rosetta mode(Intel). But when I download externals via Deken, they won’t load, even after adding them as a