DISCLAIMER: I’m not reporting a problem with Ardour. Rather I’m seeking help to diagnose an issue loading plugins in Ardour…
I’ve developed a plugin framework based around Csound, that has worked, problem free, with Ardour for as long as I can recall. However, users are now telling me the latest plugins are exhibiting problems. So after some experiments it seems that if I place say 5 different plugins (built with JUCE) in my VST dir, Ardour only lists one. Even stranger, if I add a plugin on a track, save the session, close Ardour, remove that plugin from the VST dir and reopen Ardour, it will put another one of the plugins in its place, although the plugin window still gives the name of the first plugin. It’s as if Ardour thinks the plugin .so’s are all identical?
The plugins binaries are very similar, but they are not the same. Any ideas on what might be going on here? Or how I might go about debugging this? I can try building Ardour myself here in order to step through the debugger, but I’m hoping that won’t be necessary.
Most common case here is that the is dynamically linked and also uses plugin uses gtk3 (that conflicts with Ardour’s use of gtk2).
Can you check if ldd /path/to/your/plugin.so lsts libgtk-3 and libwebkit2gtk etc? If so, try recompiling the plugin with <JUCEOPTIONS JUCE_WEB_BROWSER="0" />.
In Ardour check Menu > Window > Log and in Preferences > Plugins > VST clear cache, and re-scan.
Could it be that the VST ID is not unique?
With a debug build of Ardour (e.g. nightly.ardour.org – demo is fine). Start Ardour6 -D Pluginmanager that adds debug-trace messages. You can also try with a self-build as long as it’s not optimized.
You can also try a manual scan (adjust paths as needed):