Building Ardour 2.0 with VST support
This section applies only to people building Ardour 2.0 (not 0.99.X) and only for Linux/x86 platforms. At this time, you cannot run VST plugins in Ardour on OS X or Linux x86_64 platforms. Note that if you use your x86_64 system in 32 bit mode, that counts as x86, and things will work as expected.
Please note that it is illegal to build Ardour 2.0 with VST support and then distribute the binary to anyone else. This is because Steinberg continues to refuse to allow redistribution of the otherwise freely available VST SDK. It is therefore not possible for you to comply with the terms of the GPL (i.e. you cannot provide the person you distribute the binary to with all the source code required to build the binary). We hope that one day Steinberg/Yamaha will change the licensing to allow redistribution of the SDK, and then this silly restriction will go away.
Building Ardour 2.0 with VST support involves a few extra steps before the usual scons-based build.
- Download the VST 2.3 SDK from Steinberg. At this time, we cannot provide you with any advice on where to get this from. Steinberg seems to regularly change the URL required to get the SDK. We recommend that you use google to search for it. Do not download the 2.4 or upcoming 3.0 SDK packages, since Ardour cannot currently use them.
- put the VST SDK zip archive into
libs/fst - make sure you have the Wine “development” package installed (typically called “wine-devel”)
- run scons VST=1
After a successful build, run scons install.
Running it
The command name for this version of Ardour is ardourvst, not ardour2 which is the non-VST supporting version. In all other ways, it should behave identically.
Where to install VST plugins
Ardour looks for VST plugins in the location(s) indicated by your environment variable VST_PLUGINS. If that is not set, it will use VST_PATH. If neither are set it will look in /usr/local/lib/vst and /usr/lib/vst (on x86_64 and OS X, some additional directories will be searched, following conventions on thos platforms).
You should also use the wine-config program to ensure that the Z: drive under Wine points to the root (’/’) of your filesystem. This is critical if you install plugins somewhere outside of your home directory, and is recommended.
It crashes!
You may find that ardourvst crashes when started up if you have VST plugins already installed. This is sometimes caused by issues doing an initial assessment of each plugin. Try running it several times, and it may miraculously stop having issues. We suspect this is because of various plugins inadvertently interfering with each other during the initial “identify and index plugins” step. If in doubt, you can check the vst plugin directory whether new .fst files appear on each restart.
If ardourvst continues to crash, you should move the entire contents of your VST plugins directory to a new location and then add the plugins back one by one. Various plugins will not only not run on Linux, but they will crash Ardour (and in a few cases, lock up your entire system). We are working on a blacklisting scheme to prevent such plugins from having this effect more than once.
If ardourvst crashes with no VST plugins installed, you have different issues, probably with the version, build or configuration of Wine. There is little advice to offer in such cases, alas.
The GUI/editor for the plugin doesn’t appear!
When you go to edit the plugin parameters, you may see just a blank gray window, or two windows (one gray, one with the plugin editor in it), or one window looking the way you would expect. This behaviour is controlled by Wine’s “managed windows” settings, and unfortunately there is no single correct value for this. Which setting you want depends on the window manager you are using, so if you see this gray window/no window issue, run wine-config. Go to the “Graphics” tab and change the curent setting of “Allow the window manager to create managed windows”. Then restart Ardour and try again. This appears to fix the issue for almost everyone.




