HISE Logo Forum
    • Categories
    • Register
    • Login

    ARM/Intel Universal Binary... how?

    Scheduled Pinned Locked Moved Bug Reports
    36 Posts 8 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • FortuneF
      Fortune @Dan Korneff
      last edited by

      @Christoph-Hart Can you please clearify this situation?

      • A couple of months ago you've declared that Hise can export M1 plugins but is Hise compatible?
      • If yes, which macOS version do you suggest?
      • Which XCode version do you suggest?
      • How can we build universal binaries with IPP?

      A lot of people is struggling with this but we haven't seen any directions from you about this.

      Please help, or fix it. I think this is much more an emergency "to do" thing rather than "new layout".

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @Fortune
        last edited by

        A couple of months ago you've declared that Hise can export M1 plugins but is Hise compatible?

        Exported plugins are native M1 compatible, but HISE isn't. The SNEX JIT compiler requires to be run under Rossetta and I will only start working on an native ARM JIT compiler when Apple announces the end of Rossetta and not a single day earlier.

        If yes, which macOS version do you suggest?

        I'm compiling on my MacBook Air M1 with Big Sur and Xcode 12.4.

        How can we build universal binaries with IPP?

        I think I will remove IPP from macOS builds altogether in the foreseeable future. The performance difference to Apples VDSP framework is negligible, so just disable IPP when you build universal binaries.

        FortuneF 1 Reply Last reply Reply Quote 2
        • FortuneF
          Fortune @Christoph Hart
          last edited by Fortune

          @christoph-hart said in ARM/Intel Universal Binary... how?:

          Thank you for clearifying.

          I think I will remove IPP from macOS builds altogether in the foreseeable future. The performance difference to Apples VDSP framework is negligible, so just disable IPP when you build universal binaries.

          True for M1 systems but IPP is very important for intel systems. I think universal binary support would be needed at least 4-5 years more.

          So for now we can't make universal binaries right? Must be individual for intel and M1? Can you add this feature please?

          1 Reply Last reply Reply Quote 1
          • ?
            A Former User @Dan Korneff
            last edited by A Former User

            @dustbro said in ARM/Intel Universal Binary... how?:

            @Christoph-Hart said in ARM/Intel Universal Binary... how?:

            the apple stuff is fast enough

            Maybe not? Checking out the ARM compiled plugin with a convolution plugin is giving me warnings in debug mode.

            ### PerformanceWarning
            -Time: **0.70**   /CallbackIndex: **60**
            -Location: 'Convolution::ConvolutionRendering'
            -Voice Amount: **0**
            -Limit: '10.0%'  Avg: '2.07%', Peak: '11.0%'
            

            Guys how can we see these debug reports?
            I enabled debug mode before plugin compilation, but after building I can't see anything.

            Dan KorneffD 1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff @A Former User
              last edited by

              @steve-mohican said in ARM/Intel Universal Binary... how?:

              after building I can't see anything

              There is a button available in the Custom Settings Floating Tile to turn Debug Mode on and off.
              Add that to your project.

              Dan Korneff - Producer / Mixer / Audio Nerd

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @Dan Korneff
                last edited by

                @dustbro Ok, now understood. Thank you!

                1 Reply Last reply Reply Quote 0
                • FortuneF
                  Fortune @Dan Korneff
                  last edited by Fortune

                  @dustbro said in ARM/Intel Universal Binary... how?:

                  I've got my M1 mac mini up and running with:
                  HISE - New layout
                  Xcode 13
                  IPP 2021.4.0

                  I am trying to comple Hise on M1 Mac Mini, but:

                  • I am getting JUCE path is incorrect warning in Projucer. When I manually locate it still fails to compile. Do we need something for this?
                  • Did you enable IPP while compiling Hise in Projucer?
                  • Selected Mac (Rosetta) while compiling in XCode?
                  • or any hint for this please?

                  What I use is:

                  HISE - New layout (from 25 October)
                  XCode 12.4 (@Christoph-Hart config)
                  IPP 2020.3

                  Dan KorneffD 1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @Fortune
                    last edited by

                    @fortune said in ARM/Intel Universal Binary... how?:

                    I am getting JUCE path is incorrect warning in Projucer. When I manually locate it still fails to compile. Do we need something for this?

                    What version of JUCE are you using?

                    Did you enable IPP while compiling Hise in Projucer?

                    IPP must be disabled

                    Selected Mac (Rosetta) while compiling in XCode?

                    Yes. HISE requires Rosetta to run on M1

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    FortuneF 1 Reply Last reply Reply Quote 1
                    • FortuneF
                      Fortune @Dan Korneff
                      last edited by

                      @dustbro said in ARM/Intel Universal Binary... how?:

                      What version of JUCE are you using?

                      @dustbro I am using the projucer in the Hise package. Version 6.

                      Thanks for the info, I will try to compile Hise without IPP again.

                      Dan KorneffD 1 Reply Last reply Reply Quote 1
                      • Dan KorneffD
                        Dan Korneff @Fortune
                        last edited by

                        @fortune Any luck?

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        FortuneF 1 Reply Last reply Reply Quote 0
                        • FortuneF
                          Fortune @Dan Korneff
                          last edited by Fortune

                          @dustbro I swapped the ipp folder and it worked.

                          Even I disable ipp, I think somehow ipp folders are needed. After ipp folder swap it worked.

                          For the Juce path error, I just ignored.

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          38

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          102.2k

                          Posts