Arm AudioUnit not recognised (VST is fine)

DSP, Plug-in and Host development discussion.
KVRist
326 posts since 26 Jun, 2010

Post Sat Jul 24, 2021 2:51 am

Have now compiled a Universal Binary standalone and VST (VST confirmed working in Reaper-Arm).
The AU also builds fine and the lipo command line tool verifies it has both architectures. But... neither Logic nor Reaper-Arm load the Arm version, they just bridge to the Intel one.

Any one have any idea whats going on here? As in, are there some additional steps im unaware of (different entry point or something) for Arm AU?
James Walker-Hall
www.newsonicarts.com

KVRist

Topic Starter

326 posts since 26 Jun, 2010

Post Sat Jul 24, 2021 11:02 pm

In case anyone else runs into a similar issues with this...

The main problem was that apparently AUs using the old AU1 method (entry point published via the .r rez file) just don't work on Arm, presumably that has been dropped at OS level as its affects Reaper ARM as well as Logic. Updating to the new method (entry point in plist) solves that.

In addition another weird issue cost me several hours trying to figure WTF was going on. Specifically, the XCode Copy phase (which I was using for testing to the components folder) was stripping the codesignature *only* on the Arm part of the Universal Binary (eventually tracked down that issue with the codesign tool). Checking 'Sign on Copy' fixes that
James Walker-Hall
www.newsonicarts.com

User avatar
KVRian
1019 posts since 25 Sep, 2014 from Specific Northwest

Post Mon Jul 26, 2021 11:33 am

Rez files are from Carbon days and should've been dropped ages ago. I'm not surprised anything Carbon and possibly anything OpenGL is gone from OS 11.

KVRAF
6462 posts since 12 Feb, 2006 from Helsinki, Finland

Post Mon Jul 26, 2021 4:49 pm

syntonica wrote:
Mon Jul 26, 2021 11:33 am
Rez files are from Carbon days and should've been dropped ages ago. I'm not surprised anything Carbon and possibly anything OpenGL is gone from OS 11.
OpenGL still works fine on macOS 11, even though it's "deprecated" and stuck on 4.1 which means it's missing many modern things... but other than that I believe it's supposed to work on M1 too (although I don't have one so can't test).
Preferred pronouns would be "it/it" because according to this country, I'm a piece of human trash.

User avatar
KVRian
1019 posts since 25 Sep, 2014 from Specific Northwest

Post Mon Jul 26, 2021 6:00 pm

mystran wrote:
Mon Jul 26, 2021 4:49 pm
syntonica wrote:
Mon Jul 26, 2021 11:33 am
Rez files are from Carbon days and should've been dropped ages ago. I'm not surprised anything Carbon and possibly anything OpenGL is gone from OS 11.
OpenGL still works fine on macOS 11, even though it's "deprecated" and stuck on 4.1 which means it's missing many modern things... but other than that I believe it's supposed to work on M1 too (although I don't have one so can't test).
Hazarding a huge guess here, but maybe it's there just to support Rosetta and when Rosetta gets removed in the next OS or two (as did the original with Lion, iirc), any OpenGL support will go with it, since Apple is writing the drivers to support their video chips.

I dread the day they might drop ObjC/ObjC++ and I have to shoehorn Swift in there, although for now, it looks like Swift just sits on top.

KVRist

Topic Starter

326 posts since 26 Jun, 2010

Post Mon Jul 26, 2021 9:02 pm

For now at least, OpenGL works on M1, Rosetta and natively
James Walker-Hall
www.newsonicarts.com

KVRist

Topic Starter

326 posts since 26 Jun, 2010

Post Mon Jul 26, 2021 9:24 pm

syntonica wrote:
Mon Jul 26, 2021 6:00 pm
I dread the day they might drop ObjC/ObjC++ and I have to shoehorn Swift in there, although for now, it looks like Swift just sits on top.
I dread the day they invent another pointless language, and replace the existing pointless languages with that.
James Walker-Hall
www.newsonicarts.com

User avatar
KVRian
1019 posts since 25 Sep, 2014 from Specific Northwest

Post Mon Jul 26, 2021 9:39 pm

newsonicarts wrote:
Mon Jul 26, 2021 9:24 pm
syntonica wrote:
Mon Jul 26, 2021 6:00 pm
I dread the day they might drop ObjC/ObjC++ and I have to shoehorn Swift in there, although for now, it looks like Swift just sits on top.
I dread the day they invent another pointless language, and replace the existing pointless languages with that.
:lol:

My biggest wish is that they'd let me stick a method in my struct in C. Then it would be the only language I'd ever need or use.

KVRAF
6462 posts since 12 Feb, 2006 from Helsinki, Finland

Post Tue Jul 27, 2021 4:07 am

syntonica wrote:
Mon Jul 26, 2021 9:39 pm
My biggest wish is that they'd let me stick a method in my struct in C. Then it would be the only language I'd ever need or use.
Last I checked you can do that in C++ (and also Objective-C++).
Preferred pronouns would be "it/it" because according to this country, I'm a piece of human trash.

User avatar
KVRian
1019 posts since 25 Sep, 2014 from Specific Northwest

Post Tue Jul 27, 2021 4:29 am

mystran wrote:
Tue Jul 27, 2021 4:07 am
syntonica wrote:
Mon Jul 26, 2021 9:39 pm
My biggest wish is that they'd let me stick a method in my struct in C. Then it would be the only language I'd ever need or use.
Last I checked you can do that in C++ (and also Objective-C++).
I can and I do, but all that other junk just has to go! :D Allowing for a very simple class that way eliminates the huge number of ugly and obfuscating syntactic contortions needed to handle objects in C. Despite objections, objects do solve some-but-not-all thorny programming issues and are a very useful tool to have in my toolbox.

My big problem with C++ And all its libraries is that they're written by somebody else, are horribly over-engineered and rarely work in a logical way (for my brain.) I like to roll my own libraries that can be easily and quickly modified to purpose for each project. And since there's a basic C ABI to do the necessary ObjC functions, ObjC++ isn't necessary, which is pretty much a deal with the devil anyway.

Anyway, enough said on the wrong thread on this topic. Sorry, OP! :oops:

Return to “DSP and Plug-in Development”