mtytel/helm

Opening the Helm GUI from MusE sometimes freezes Helm

bluebear94 opened this issue · 8 comments

To reproduce: create new synth track, open native GUI. Doesn't always happen; might need several tries to reproduce. Might be related to #247 or #223.

  • OS: Linux (Manjaro; kernel version 5.8.6-1-MANJARO)
  • Helm version: 0.9.0 (LV2 version)
  • MusE version: 3.1.1

Have you opened any other instruments before opening Helm?

I noticed that if I open 2.0 version of OB-Xd (which uses 3d acceleration) before helm it crashes when trying to open the GUI and vice versa in Ardour and Carla.

It doesn't seem to freeze when I haven't opened any other synth GUIs earlier, although they don't necessarily have to be from a different instrument.

In my case not all instruments cause issues but I suspect that the JUCE Opengl does something weird in here.

Helm 0.9.0 has couple of years old version of JUCE and I'd wonder how huge task it would be to get it compiling on newer version.

Though even compiling the binaries again might shed some light into the situation or at least enable debugging if nothing else.

I found out that there is a LV2 port JUCE 5.4.7 available and managed to update the Helm 0.9.0 code base to run on it: No more crashes.

Nice, perhaps put a PR here? @mtytel doesn't seem to be very active nowadays, though.

I should probably do that but currently the local repository is a mess after trying various approaches to deal with JUCE after finally caving to just update it and leave all debug changes on.

Otherwise after refactoring needed places all over the source it complains without separate GCC patches but I haven't tested VST compilation yet.

Okay, pull requestion done: @bluebear94 it would be nice to hear if this fixes anything for you if you can / are willing to / have time to compile and test it.

I'm also getting crashes - not in MusE, in REAPER, though I think it may be the same cause as this bug.

Have you opened any other instruments before opening Helm?

I experience the crash when VST Helm and Sitala are opened in the same session. Seems you're right in your assessment - both probably have process-global state and clash when both loaded in the DAW process.

Fortunately REAPER lets you run specific plugins in separate processes, so I can just do that with Sitala and it works fine. If you're getting this issue, see if your DAW can do the same.