osxmidi / LinVst

Linux Windows vst wrapper/bridge
GNU General Public License v3.0
682 stars 41 forks source link

LinVst 2.66 many Xruns #108

Closed clusterx closed 5 years ago

clusterx commented 5 years ago

Hi osxmidi, I see man xruns in reaper when opening a VST plugin w/ LinVst 2.66, also everything works maybe a little slower as before also while reaper starts.

keybreak commented 5 years ago

Good one!

Tested some of plugins on Renoise as well - i agree, some (but not all) plugins have periodic xruns on 2.66, and 2.65 doesn't.

osxmidi commented 5 years ago

LinVst 2.66 is basically the same as LinVst 2.65, the only difference is some name routines which have nothing to do with xruns.

keybreak commented 5 years ago

But that's verifiable fact, on some plugs (i can try to find those again to demo) - i've tested both with pre-compiled Debian-Stretch.zip.

Maybe some compile-time error creeped?

P.S. Testing with wine-staging 4.15 on Manjaro Deepin / Kernel 5.2.11-1

clusterx commented 5 years ago

Thanks for your review! I am using wine-staging 4.15 bionic on KDE Neon 5.16 (4.18.0-25-lowlatency) maybe it's due to the wine version? I see this issue w/ all WIN VSTs, the xruns shown in cadence increase each time when using another one. wine details (screenshot)

Screenshot_20190913_095657

keybreak commented 5 years ago

@osxmidi Maybe it have to do with those changes?

remotepluginserver.cpp image

remotepluginclient.cpp image

Oh wait, is this version?


Also i'm no expert in C++ by no means (as far as i understood it's not the type of language where indent matters), but lately your commits seems to have spaces / tabs a little off.

image

clusterx commented 5 years ago

sorry I forgot to mention a few details, I'm using the LinVst-2.66-Debian-Stretch.zip package w/o the *.cpp files inside. I did the installation as follows `cp lin-vst-servertrack.exe /usr/bin

cp lin-vst-servertrack.exe.so /usr/bin

cp lin-vst-servertrack32.exe /usr/bin

cp lin-vst-servertrack32.exe.so /usr/bin

chmod +x /usr/bin/lin-vst-servertrack.exe

chmod +x /usr/bin/lin-vst-servertrack32.exe`

osxmidi commented 5 years ago

That's the version number.

I don't care what the indentation looks like.

osxmidi commented 5 years ago

As I've said, there is really not much difference between 2.66 and 2.65, only some name display things.

keybreak commented 5 years ago

I don't care what the indentation looks like.

lol me too, just mentioned it because i know there are some programming languages that do care about indentation to the point of it causes errors... So thought maybe it's the cause.

As I've said, there is really not much difference between 2.66 and 2.65, only some name display things.

I know...But there must be something that caused it, doubt it's this display stuff

clusterx commented 5 years ago

what would be the lowest version number of linVST which I can use for KDE neon 5.16 (ubuntu 4.18.0-25-lowlatency)?

clusterx commented 5 years ago

hmm, strange ... seems this happens only w/ reaper ... when using the same VSTs in audacity, no xruns occur or shown in cadence.