HISE Logo Forum
    • Categories
    • Register
    • Login

    Exported plugin fails to load (Windows ARM)

    Scheduled Pinned Locked Moved General Questions
    51 Posts 3 Posters 244 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.
    • P
      paper_lung @d.healey
      last edited by

      @d-healey INot yet, but there's literally hundreds of commits since my last plugin exports which worked successfully. Do you know of any recent commits which may have affected Windows Arm plugins? I can't see anything other than the AVX changes, but I've disabled AVX anyway.

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @paper_lung
        last edited by d.healey

        @paper_lung said in Exported plugin fails to load (Windows ARM):

        but there's literally hundreds of commits

        You don't need to test them all.

        Go back 6 months, test a commit from then, if it works then you jump forward 3 months, try a commit, if that doesn't work you go back 1.5 months, etc. You can quickly narrow down which commit caused the issue.

        It's a Binary Search: https://en.wikipedia.org/wiki/Binary_search

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        P 2 Replies Last reply Reply Quote 0
        • P
          paper_lung @d.healey
          last edited by

          @d-healey Ok thanks for the tip. I'll have to give this another try next week.

          1 Reply Last reply Reply Quote 0
          • P
            paper_lung @d.healey
            last edited by

            @d-healey This commit is the last that exports a working windows VST3 on my virtual machine for me: https://github.com/christophhart/HISE/commit/b31195dcc43d84b17cd5de80ae3575a5c5e0c65e

            There seems to be a lot of commits for IPP and adding the AVX flag immediately after this commit, so I wonder if something has happened there? None of my plugins that export after this commit work on my VM and instantly fail pluginval

            d.healeyD 1 Reply Last reply Reply Quote 0
            • d.healeyD
              d.healey @paper_lung
              last edited by

              @paper_lung Do all your projects use scriptnode?

              Free HISE Bootcamp Full Course for beginners.
              YouTube Channel - Public HISE tutorials
              My Patreon - HISE tutorials

              P 1 Reply Last reply Reply Quote 0
              • P
                paper_lung @d.healey
                last edited by

                @d-healey No they don't

                d.healeyD P 2 Replies Last reply Reply Quote 0
                • d.healeyD
                  d.healey @paper_lung
                  last edited by

                  @paper_lung That commit looks like it should only affect scriptnode stuff.

                  Free HISE Bootcamp Full Course for beginners.
                  YouTube Channel - Public HISE tutorials
                  My Patreon - HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • P
                    paper_lung @paper_lung
                    last edited by paper_lung

                    Just to reiterate, the plugins load fine on my Windows PC. It's only on my virtual machine on my Arm Mac where they instantly fail/don't load after this commit (the commit itself is fine, it's the ones after)

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      paper_lung @paper_lung
                      last edited by

                      This is where stuff begins to break for me: https://github.com/christophhart/HISE/commit/d7b5a121a825bf9a3fb6153d5e81d3f6a5242420

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @paper_lung
                        last edited by

                        @paper_lung Ah ok so it is the AVX commit that breaks, sorry I thought it was the other one.

                        Ok can you make a video showing the export process where you disable AVX so I can follow the exact steps?

                        Free HISE Bootcamp Full Course for beginners.
                        YouTube Channel - Public HISE tutorials
                        My Patreon - HISE tutorials

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          paper_lung @d.healey
                          last edited by

                          @d-healey All I'm doing is removing the /arch:AVX flag in the Projucer extra compiler flags. Everything else I'm leaving as-is, but I have also tried changing the 'Use IPP Library' from 'Use Static Library' to 'no'.

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • bendursoB
                            bendurso
                            last edited by

                            Plugins exported with Hise don't work on Windows ARM, as far as I know. Only on x64. Or am I wrong?

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              paper_lung @bendurso
                              last edited by

                              @bendurso they used to - I have a few plugins from last year which worked no problem

                              1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @paper_lung
                                last edited by

                                @paper_lung said in Exported plugin fails to load (Windows ARM):

                                All I'm doing is removing the /arch:AVX flag in the Projucer extra compiler flags

                                So you remove that. Then you click save and open in IDE? Is that right?

                                Free HISE Bootcamp Full Course for beginners.
                                YouTube Channel - Public HISE tutorials
                                My Patreon - HISE tutorials

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  paper_lung @d.healey
                                  last edited by paper_lung

                                  @d-healey yeah, then build solution as normal

                                  d.healeyD 1 Reply Last reply Reply Quote 0
                                  • d.healeyD
                                    d.healey @paper_lung
                                    last edited by

                                    @paper_lung Ok so we can rule out AVX being the issue, and you've disabled IPP so that's not the problem either.

                                    Free HISE Bootcamp Full Course for beginners.
                                    YouTube Channel - Public HISE tutorials
                                    My Patreon - HISE tutorials

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @d.healey
                                      last edited by

                                      @paper_lung Have you tried an empty test project?

                                      Free HISE Bootcamp Full Course for beginners.
                                      YouTube Channel - Public HISE tutorials
                                      My Patreon - HISE tutorials

                                      P 1 Reply Last reply Reply Quote 0
                                      • P
                                        paper_lung @d.healey
                                        last edited by

                                        @d-healey No, I'll give that a try tomorrow

                                        1 Reply Last reply Reply Quote 1
                                        • P
                                          paper_lung
                                          last edited by paper_lung

                                          @d-healey I've tried compiling an empty test project but it's just exporting a 'shared code' folder, any idea why that would happen?

                                          P d.healeyD 2 Replies Last reply Reply Quote 0
                                          • P
                                            paper_lung @paper_lung
                                            last edited by

                                            I also thought I'd throw one of my broken VST3 files into chatgpt to see if it can detect anything. Here's what it says (obviously to be taken with a pinch of salt):

                                            Architecture: x64 (Machine = 0x8664) ✔️
                                            VST3 entry: The binary contains GetPluginFactory ✔️
                                            Runtime linkage: No MSVC CRT DLLs are imported → looks statically linked (/MT) ✔️
                                            Side libs: No IPP/OpenMP/FFTW/etc. DLLs imported ✔️
                                            AVX/VEX footprint: The code section shows a high density of VEX prefixes (0xC4/0xC5), which strongly indicates AVX/AVX2 instructions are present. ❌

                                            I've disabled AVX via the Projucer like I've mentioned, and seeing as Hise commits previous to the AVX implementation compile working VST3's, I wonder if something is amiss with AVX?

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

                                            26

                                            Online

                                            2.0k

                                            Users

                                            12.8k

                                            Topics

                                            110.7k

                                            Posts