Can't play VST2 (logs attached)

Hi, thanks for this great project!
I have compiled sushi for my arm64 SBC and successfully playing mda jx10 without issues.

I am trying to load Dexed that was picked up from GitHub - elk-community/dexed: DX7 FM multi plaform/multi format plugin
According to logs it starts loading and registering parameters but it fails without an obvious error message.
The only thing I see is a warning:

 [warning] [vst2] Failed to set a valid speaker arrangement

I would greatly appreciate any help!

Starting it with

root@arm-64: ./sushi -c config_files/play_vst2.json -j --log-level=debug -m4 --connect-ports
SUSHI - Copyright 2017-2022 Elk, Stockholm
SUSHI is licensed under the Affero GPL 3.0. Source code is available at github.com/elk-audio
Failed to load tracks from Json config file

config.json

{
    "host_config" : {
        "samplerate" : 48000
    },
    "tracks" : [
        {
            "name" : "main",
            "channels" : 2,
            "inputs" : [],
            "outputs" : [
                {
                    "engine_bus" : 0,
                    "track_bus" : 0
                }
            ],
            "plugins" : [
                {
                    "path" : "/root/VST2/Dexed.so",
                    "name" : "Dexed",
                    "type" : "vst2x"
                }
            ]
        }
    ],
    "midi" : {
        "track_connections" : [
            {
                "port" : 0,
                "channel" : "all",
                "track" : "main",
                "raw_midi" : false
            }
        ],
        "program_change_connections" : [
            {
                "port" : 0,
                "channel" : "all",
                "plugin" : "Dexed"
            }
        ]
    },
    "osc" : {
        "enable_all_processor_outputs" : true
    }
}

sushi.log

[2023-05-28 17:35:31.622] [warning] #############################
[2023-05-28 17:35:31.622] [warning]    Started Sushi Logger!
[2023-05-28 17:35:31.622] [warning] #############################
[2023-05-28 17:35:31.632] [info] [plugin_library] Setting base plugin path to: /root
[2023-05-28 17:35:31.634] [info] [jsonconfig] Setting engine sample rate to 48000.0
[2023-05-28 17:35:31.635] [info] [main] Setting up Jack audio frontend
[2023-05-28 17:35:31.751] [debug] [engine] Successfully registered processor main.
[2023-05-28 17:35:31.751] [info] [engine] Track main successfully added to engine
[2023-05-28 17:35:31.751] [debug] [jsonconfig] Successfully added track "main" to the engine
[2023-05-28 17:35:31.836] [debug] [vst2] PLUG> HostCallback (opcode 1)
 index = 0, value = 0x0, ptr = 0x0, opt = 0.0

[2023-05-28 17:35:31.839] [info] [vst2] Plugin supports soft bypass
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: Cutoff
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: Resonance
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: Output
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: MASTER TUNE ADJ
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: ALGORITHM
[2023-05-28 17:35:31.839] [debug] [vst2] PLUG> HostCallback (opcode 42)
 index = 0, value = 0x0, ptr = 0x0, opt = 0.0

[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: FEEDBACK
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OSC KEY SYNC
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: LFO SPEED
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: LFO DELAY
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: LFO PM DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: LFO AM DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: LFO KEY SYNC
[2023-05-28 17:35:31.839] [debug] [vst2] PLUG> HostCallback (opcode 13)
 index = 0, value = 0x0, ptr = 0x0, opt = 0.0

[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: LFO WAVE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: MIDDLE C
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: P MODE SENS.
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG RATE 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG RATE 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG RATE 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG RATE 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG LEVEL 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG LEVEL 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG LEVEL 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: PITCH EG LEVEL 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG RATE 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG RATE 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG RATE 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG RATE 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG LEVEL 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG LEVEL 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG LEVEL 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 EG LEVEL 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 OUTPUT LEVEL
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 MODE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 F COARSE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 F FINE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 OSC DETUNE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 BREAK POINT
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 L SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 R SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 L KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 R KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 RATE SCALING
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 A MOD SENS.
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 KEY VELOCITY
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP1 SWITCH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG RATE 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG RATE 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG RATE 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG RATE 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG LEVEL 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG LEVEL 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG LEVEL 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 EG LEVEL 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 OUTPUT LEVEL
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 MODE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 F COARSE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 F FINE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 OSC DETUNE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 BREAK POINT
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 L SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 R SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 L KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 R KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 RATE SCALING
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 A MOD SENS.
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 KEY VELOCITY
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP2 SWITCH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG RATE 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG RATE 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG RATE 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG RATE 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG LEVEL 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG LEVEL 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG LEVEL 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 EG LEVEL 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 OUTPUT LEVEL
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 MODE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 F COARSE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 F FINE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 OSC DETUNE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 BREAK POINT
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 L SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 R SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 L KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 R KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 RATE SCALING
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 A MOD SENS.
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 KEY VELOCITY
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP3 SWITCH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG RATE 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG RATE 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG RATE 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG RATE 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG LEVEL 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG LEVEL 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG LEVEL 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 EG LEVEL 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 OUTPUT LEVEL
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 MODE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 F COARSE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 F FINE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 OSC DETUNE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 BREAK POINT
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 L SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 R SCALE DEPTH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 L KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 R KEY SCALE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 RATE SCALING
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 A MOD SENS.
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 KEY VELOCITY
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP4 SWITCH
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG RATE 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG RATE 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG RATE 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG RATE 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG LEVEL 1
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG LEVEL 2
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG LEVEL 3
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 EG LEVEL 4
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 OUTPUT LEVEL
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 MODE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 F COARSE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 F FINE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 OSC DETUNE
[2023-05-28 17:35:31.839] [debug] [vst2] Plugin: Dexed, registered param: OP5 BREAK POINT
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 L SCALE DEPTH
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 R SCALE DEPTH
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 L KEY SCALE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 R KEY SCALE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 RATE SCALING
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 A MOD SENS.
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 KEY VELOCITY
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP5 SWITCH
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG RATE 1
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG RATE 2
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG RATE 3
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG RATE 4
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG LEVEL 1
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG LEVEL 2
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG LEVEL 3
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 EG LEVEL 4
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 OUTPUT LEVEL
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 MODE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 F COARSE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 F FINE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 OSC DETUNE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 BREAK POINT
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 L SCALE DEPTH
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 R SCALE DEPTH
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 L KEY SCALE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 R KEY SCALE
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 RATE SCALING
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 A MOD SENS.
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 KEY VELOCITY
[2023-05-28 17:35:31.840] [debug] [vst2] Plugin: Dexed, registered param: OP6 SWITCH
[2023-05-28 17:35:31.840] [debug] [engine] Successfully registered processor Dexed.
[2023-05-28 17:35:31.840] [debug] [vst2] PLUG> HostCallback (opcode 23)
 index = 0, value = 0x0, ptr = 0x0, opt = 0.0

[2023-05-28 17:35:31.840] [debug] [vst2] PLUG> HostCallback (opcode 6)
 index = 0, value = 0x1, ptr = 0x0, opt = 0.0

[2023-05-28 17:35:31.840] [warning] [vst2] Failed to set a valid speaker arrangement
[2023-05-28 17:35:31.840] [debug] [jsonconfig] Successfully added Plugin "Dexed" to track: "main"
[2023-05-28 17:35:31.840] [debug] [jsonconfig] Successfully added  Track main to the engine
[2023-05-28 17:35:31.841] [info] [jsonconfig] Config file does not have any "pre_track" definitions
[2023-05-28 17:35:31.842] [info] [jsonconfig] Config file does not have any "post_track" definitions
[2023-05-28 17:35:31.843] [info] [midi dispatcher] Connected MIDI port "0" to track ID "0"
[2023-05-28 17:35:31.843] [info] [midi dispatcher] Connected program changes from MIDI port "0" to processor id"1"

Hi thx and welcome to the forums. Could you show more of the logs? As these lines seem to indicate that the Dexed plugin is indeed loaded and added to the track

[2023-05-28 17:35:31.840] [debug] [jsonconfig] Successfully added Plugin “Dexed” to track: “main”
[2023-05-28 17:35:31.840] [debug] [jsonconfig] Successfully added Track main to the engine

Hi Gustav,
thanks for the quick response,

It turns out I had a cc_mappings object inside the config.json (with some mappings), when I removed it, Dexed ran successfully!
The same applies to Obxd.

The other thing is I would like to have CC mappings to control VST2 from the midi keyboard.
Any thoughts why it works like that?

p.s. no issues with MDA JX10 VST3 and CC mappings.

Also, there no more logs, I provided the complete output. Please let me know if I could help with debugging

Best regards

@Gustav
Looks like the reason was an incorrect parameter name in cc_mappings. When I changed to existing parameter names (VCF Cutoff → Cutoff) it started working without failure.

So looks like a lack of logging or so :slight_smile:
Anyway, thanks for the amazing project , the issue is resolved now

1 Like

Great that you got it working! But you’re absolutely right, there should def be a log warning for that kind of error. I’ll file a bug for it so that future users don’t run into the same issue. Thank you for reporting.

1 Like