Coder Social home page Coder Social logo

Comments (4)

jatinchowdhury18 avatar jatinchowdhury18 commented on August 27, 2024

Interesting, yes I think the CPU being limited to SSE2 is likely the cause of the crash. Probably the simplest way to know for sure would be to check if the crash still occurs when building the plugin locally.

No compiler flags related to SIMD instructions have been changed since the previous version, however we have switched from using JUCE's SIMDRegister to the SIMD intrinsics provided by the XSIMD library.

What's strange to me is that I had thought the previous versions of the plugin would have required SSE4.1 or higher, so I'm puzzled as to why the previous versions did work on your machine. My best guess is that even though I was compiling with the compiler flags for SSE4.1, the subset of JUCE's SIMD methods that I was using weren't actually calling any instructions that required higher than SSE2.

Anyway, in that case the question I need to figure out is: do we drop support for CPUs that don't have SSE4.1, or change the compiler flags to support SSE2, even though that could have a performance impact for users with newer CPUs? By the way when I say "drop support", all I mean is that we wouldn't provide pre-built binaries in the official releases, just like we don't provide pre-built binaries for Windows or Linux ARM devices, or 32-bit Linux devices. Just like with those other platforms, folks with pre-SSE4.1 CPUs would be more than welcome to build from source.

from analogtapemodel.

kiwijam avatar kiwijam commented on August 27, 2024

Great success! I followed the build instructions and compiled a binary with Visual Studio. That one also crashed Reaper. I then went into the solution file and changed all toolchains to LLVM-clang instead of Visual Studio's compiler. That plugin appears to be working fine. I would not know what to change to get a working binary out of Visual Studio's own toolchain though.

from analogtapemodel.

jatinchowdhury18 avatar jatinchowdhury18 commented on August 27, 2024

Oh interesting... I can't think how switching from VS to llvm would change the SIMD instructions being used. I wonder if there might be some shared library or something that the VS runtime is looking for and can't find on your machine. And then the llvm build is working since it bundles the library in the executable? Definitely a bit of a mystery... in any case, glad to hear the plugin is now working on your machine!

from analogtapemodel.

Moth-Tolias avatar Moth-Tolias commented on August 27, 2024

i think i might be encountering this in wine with openMPT - it crashes the whole application when trying to open [my memory is poor but i think i saw an illegal instruction message in the terminal]. happens with BYOD too.

from analogtapemodel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.