DBraun / DawDreamer

Digital Audio Workstation with Python; VST instruments/effects, parameter automation, FAUST, JAX, Warp Markers, and JUCE processors
GNU General Public License v3.0
902 stars 66 forks source link

Can't get dawdreamer running in a docker container! #197

Open maxiedaniels opened 6 months ago

maxiedaniels commented 6 months ago

Anyone have this issue? I get an error about missing a .so.1 file. I'm on Mac m1 and I have to use -platform Linux/amd64 to get it built, and then I get that error when I try and run it. If I try to run it without the platform flag, I can't build because pip can't find dawdreamer.

The thing I don't understand is, my Mac m1 runs dawdreamer great locally, so I'm assuming my architecture (arm) is supported...

DBraun commented 5 months ago

Sorry for late response here. The issue is most likely related to Libfaust, which for a long time wasn't built on GitHub actions for Linux aarch64. I think that by specifying -platform Linux/amd64 you are building for Intel/x86_64, which is not ideal for your M1 mac. It probably finds the x86_64 libfaust for compilation, but then just doesn't work correctly. It would probably be better for me to finish making DawDreamer work with the relatively new Libfaust aarch64. Then you would use Docker without the platform flag, and everything might work fine.