-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VST instruments don't work in LMMS 1.1.2 #1757
Comments
I can't see any commits affecting VST code... Wierd, or I am missing something... |
Did we not have positive test results for 1.1.2 or was that just for effects? Please someone confirm and well revert the download link. |
Nope, it's weird. At first I didn't believe the guy. And I don't remember any VST code either. |
Confirmed. It seems there are problems with Edit: Upon further investigation, it seems a page fault is causing this which leads me to believe it is build related (such as mingw per ffe7e8b) and not necessarily code related. Here's the output from wine:
And the stack dump from wine:
-Tres |
I created a build of the lastest stable-1.1 branch which was still configured with the old mingw PPA and it loads a VST just fine suggesting this is related to Toby's latest mingw PPA from January. I've also emailed Toby to let him know. Below is a screenshot of 1.1.2 built locally for Windows 32-bit. It is running a VST instrument in Wine just fine. This same VST would crash with the Travis-built version downloaded from our site (details listed in the above stack dump). Assuming Toby can resolve this, we'll bump the version again and release. If not, we can build manually and upload. |
Nice find 👍 |
i can dl and install -if it make sense? just give me a peep |
cute peep 🐰 |
@tobydox any insight on this one? |
@lukas-w we're 5 days without word from Toby on this. Is this something you may be able to help narrow down? Should I just build from scratch against 14.04? |
I did not have a chance to test it but uploaded the latest version of GCC 4.9.x to the PPA. |
Thanks @tobydox will try it out. -Tres |
Ok... so I have a build problem. I tried to remove all of the mingw-x packages (because they simply wouldn't update to use the new ppa for me). I believe they were all removed and re-added successfully, but when building now I get the following:
It seems to be looking in LIB For now, I've copied the DLL over and the build succeeded. Will begin testing shortly. |
FLTK issue is fixed in stable-1.1 and master branch. I'll have a look at the VST issue tomorrow. |
👍 |
(Windows 32, possibly 64 but not tested) |
LMMS installer shouldn't be placing |
If you already have Qt4Core.dll in your System32 already (for whatever reason which doesn't concern LMMS) then the one in LMMS program file will cause problems, if you don't already have one then this shouldn't be an issue. I found I had the problem no matter what version I used (I started with 1.0.3 then moved on to 1.1.2, same problems. I then tried 1.1.0 and then figured out what to do. I assume this fix would have applied to the other versions too, but may be a different issue to the one discussed in this forum, just with the same error message) Anyway renaming the System32 one worked for me. |
Renaming system32??? Are you joking? |
@Sti2nd I think he meant the dll located at system32 folder |
Ok. In my System32 folder it is 3200 elements, probably 1000 of them are dll's |
|
Yeah, delete them all... 😆 (kidding... please don't!) |
:p i will stop reading that much |
@tobydox the 1.1 patch release is still waiting on the mingw stuff being fixed. :) |
I'm sorry but I don't have solution yet. GCC 4.9 is built like any other previous releases so if they changed something, I don't know what do do. One could start debugging where the exe crashes. Maybe a stack align issue? Try passing "-mstackrealign" to the compiler: SET_TARGET_PROPERTIES(RemoteVstPlugin .... -mstackrealign) Maybe replacing -O3 with -O2 also helps? |
I haven't tried the suggested recommendations yet... but have some errors through Dependency Walker (probably false positives). The first that I find interesting is the strange linkings I'm seeing here. Dependency Walker has some known limitations in this regard so it is difficult to figure out if these are legitimate problems or not... namely that I compared it to a working LMMS version and the same linking warnings occurs there... But Dependency Walker is having a hard time with Here's the output of Dependency Walker when trying to load a VST instrument in Windows 8 x64:
Detailed log can be found here (gist). |
I have tried the above to no avail. I will investigate further when i get time |
Ive been looking at this again. I am unable to make any progress. I was unable to locate the code that produces the dialog box shown in above post. |
The Error Reporting doesn't always display. This depends on OS version and the settings of whether or not to create error reports when a problem occurs. Are you able to reproduce the crash though? -Tres |
Not a crash as such, I do get to this dialog box then I can return and use lmms as normal, but the vst has not loaded. im doing this on win 7 in a vm. When i search our code base for the following string or part of, I cant find it. Ive checked the translations files as well
|
@curlymorphic You could not find it because it was removed in this commit: 85fb0ac I don't know why it was removed. |
I'm glad it was removed. There's not much reason for that dialog to tell people to contact us when the other error dialogs don't. I believe the error is derived from here: |
I think @tobydox was right... This crash is related to the optimization setting... Below is a VST running on 12.04 x64 with:
To be effective, the |
@tresf I have tested this using a fresh VM with 14.10 to build on. The Vsts work in both 32/64 bit version, on win 7 in a vm |
FYI: I updated the mingw-x-gcc package yesterday (latest version from Git (4.9 branch)) so the working plugins might be related to it as well. |
Yes, I saw that however the issue is still present with the latest version. Only after changing from I don't know the impact of changing this in our source or even exactly what the cause is, mostly due to my lack of understanding of what gcc versions are affected by this optimization bug versus which gcc version we're using when doing a wingcc compile versus which gcc version were used to make the mingw ppa packages. So I can switch the -Tres |
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html it seems like we are reverting to the default behaviour here. According to the above link this is what -O3 and -OO are -O3Optimize yet more. -O3 turns on all optimizations specified by -O2 and On Fri, Mar 6, 2015 at 6:05 PM, Tres Finocchiaro [email protected]
Jonathan Aquilina |
I don't think the problem is caused by the above mentioned bug (described in the bug reports) because it relates to building WINE and not building win32/win64 binary with mingw-gcc. Furthermore the bug is rather old so we would have been affected by mingw-x-gcc 4.8.x as well. |
Thanks for clarification. How do you recommend we proceed? Change to |
Yes O0 is far better than having nothing. Performance might be a bit impacted compared to previous versions but as the actual CPU intensive DSP code happens in the VST plugins itself, it shouldn't be a problem. Does O1 work? |
I believe I tried O1, O2, O3 to no avail. I'll commit the -Tres |
Closed per d14f451. Travis should have the 1.1.3 build uploaded to Github here shortly. Once that happens, our downloads page will reflect 1.1.3 as the beta version. It will show up as a pre-release until we have some testing. @Sti2nd @musikBear if you have time to test this version out with VSTs, that would be terrific. 👍 Once we're ready, we'll flag it as our stable release and I'll manually build and upload an OSX version. Once that is all out of the way, I'd like to focus our energy on some early beta releases of 1.2.0. 👍 |
I have tested VST-Instrument VST-Effects @tresf Other wise, this looks nice on xp (btw Three lmms instances is not! Something creates a conflict, and the computer has serious issues, up til ans including bsod, but that can be my system only) 1.1.3 👍 |
@tresf nice for sorting this :) |
Made an announcement on the Facebook page. @tresf make 1.1.3 a full release instead of pre-release? |
Done. :) |
Was just going to as well. Nice |
Steps to reproduce
It doesn't load, just pops the usual error message "The VST plugin NAME could not be loaded for some reason. If it runs with other VST-software under Linux, please contact a LMMS developer!"
LMMS 64 bit, Windows 8.1
Also reported on the forum
https://lmms.io/forum/viewtopic.php?f=7&t=1664
The text was updated successfully, but these errors were encountered: