LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
7.84k stars 991 forks source link

ABLM2 VST plugin can't connect to second plugin instance #5992

Open akimaze opened 3 years ago

akimaze commented 3 years ago

Bug Summary

ABLM2 VST plugin can't connect to second instance. I tested 32 and 64 bit version. Demo can be downloaded from: https://www.tbproaudio.de/products/ablm It's working in FL Studio Demo even on linux (wine 6.6 - needs core fonts from winetricks).

Steps to reproduce

  1. Add ABLM2 effect
  2. Add second instance of ABLM2
  3. Change mode in second instance to Receive
  4. -> See not connected in first instance

Expected behavior

ABLM2 should connect to first plugin instance.

Actual behavior

ABLM2 VST plugin can't connect.

Screenshot

image

Affected LMMS versions

Tested on stable 1.2 (windows) and current 1.3 master branch (linux).

Logs

Logs from linux machine
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Starting detached.
unique ID: TB55
RemotePlugin::DebugMessage: inputs: 2  output: 2
RemotePlugin::DebugMessage: creating editor
RemotePlugin::DebugMessage: editor successfully created
0108:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0108:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0110:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
Starting detached.
unique ID: TB55
RemotePlugin::DebugMessage: inputs: 2  output: 2
RemotePlugin::DebugMessage: creating editor
RemotePlugin::DebugMessage: editor successfully created
DomClark commented 3 years ago

LMMS runs each VST plugin in its own process (known as "bridging"), which may be causing issues for ABLM2. Since you managed to make it work in FL, can you try it again in FL, but set one of the instances to be bridged (Settings -> Processing -> Make bridged)? If it behaves the same as in LMMS, that should point to bridging as the issue.

akimaze commented 3 years ago

@DomClark Yes, you are right. When I set one plugin to bridged in FL Studio Demo ABLM2 also can't connect.

DomClark commented 3 years ago

In that case, this is not something we can fix soon. We need to support either hosting multiple VST plugins in a single bridge process, or hosting VST plugins within the LMMS process itself.