VST Plugin crash

Having trouble with LMMS? Ask about it here.
Hi, I'm currently using 64 bit ubuntu 13.10 and found that the official lmms package does not offer official support for VST pluggins. I found the ppa here: https://launchpad.net/~irie/+archive/lmms But I still had trouble with some VST files such as CVPiano.

I tried building lmms from source but found that my 32bit wine version was preventing the VST plugin from building.

So I built a bi architecture wine installation following the instructions here: http://wiki.winehq.org/BuildingBiarchWineOnUbuntu and using the latest wine version 1.7.11

Now I can build lmms (0.4.15 from git stable-0.4 branch), and everything seems fine, but when I try to load any VST plugin, It looks like it's launching fine, and then the following error pops up and the plugin crashes:

Code: Select all

X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  3 (X_GetWindowAttributes)
  Resource id in failed request:  0x0
  Serial number of failed request:  161
  Current serial number in output stream:  162
remote plugin died! invalidating now.
I've tracked the error to occuring during the RemoteVstPlugin::guiEventLoop function located in this file: plugins/vst_base/RemoteVstPlugin.cpp

Does anybody have any idea about this particular issue? Is it the wine version I'm using? If so is there a last known working version of wine? Is it the lmms version I'm using? If so is there a last known working version of lmms?

Thanks for any help!
Please report your findings to the Github issue tracker.

Also note: Contrary to the name, the stable-0.4 branch is actually the development branch now (yeah, it's a bit confusing, but the entire development process is kind of in a transition right now). So if you want the actual latest stable version, ie. the 0.4.15 proper, you need to track it down in the git commit history, it should be marked as "released 0.4.15" or something to that effect. That might be a bit more stable than the current head of the stable-0.4 branch.
So,
It seems the issue is in wine and not lmms.

The last release which works for me is 1.7.6. I'm going to try to find the commit in wine which broke the VST plugins. Should I still open an issue on the lmms github? Since I'm pretty sure the issue isn't in lmms.
I think you should open an issue. The developers need to know about Wine issues too as parts of LMMS is dependent upon it.
Ok...I figured it out at last! An error message kept coming up every time I tried to load a VST in Vestige. However, I think I found the solution. Please let me know if it works for all of you too. Thanks!

P.S: Do this to the original exe application file of lmms, not the shortcut as I have done (you could make shortcut after). Please read steps...

LMMS 0.4.9 and 0.4.15 do have Vestige (but don't get 0.4.15, get 0.4.9). The only way to get Vestige (VSTs) working is...

1. Right clicking on 'lmms' before you open, then go to 'Properties'.

2. Go to 'Compatibility', and tick 'Run this program in compatibility for:' It should say 'Windows XP (Service Pack 3)'. Also, tick 'Run As Administrator' and press okay.

3. Make sure it's '32-bit installer' of lmms, not 64-bit as that didn't work for me.


LMMS 0.4.9 is the version I have and works best.
http://sourceforge.net/projects/lmms/files/lmms/

Or download here to get exactly the correct version:
http://www.2shared.com/file/r0dooa-c/lm ... win32.html?

P.S: Click on smaller blue download button