Can't add pedals to MODEP after starting a New Pedalboard

Problem with modep when adding a “New Pedalboard”. See video

also …

Please check the logs of MODEP services, there’s ought to be some errors printed there:

May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchSplitsType’
May 23 16:11:37 patchbox mod-host[968]: g_param_spec_enum: assertion ‘G_TYPE_IS_ENUM (enum_type)’ failed
May 23 16:11:37 patchbox mod-host[968]: ipatch_type_install_property: assertion ‘G_IS_PARAM_SPEC(prop_spec)’ failed
May 23 16:11:37 patchbox mod-host[968]: g_boxed_type_register_static: assertion ‘g_type_from_name (name) == 0’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchSF2GenType’
May 23 16:11:37 patchbox mod-host[968]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:11:37 patchbox mod-host[968]: file ./libinstpatch/IpatchSF2Gen.c: line 152 (_ipatch_sf2_gen_init): assertion `enum_class != NULL’ failed.
May 23 16:11:37 patchbox mod-host[968]: g_type_class_unref: assertion ‘g_class != NULL’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchSample’
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchItem’
May 23 16:11:37 patchbox mod-host[968]: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchSF2GenItem’
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchItem’
May 23 16:11:37 patchbox mod-host[968]: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchSF2ModItem’
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchItem’
May 23 16:11:37 patchbox mod-host[968]: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchSF2VoiceCache’
May 23 16:11:37 patchbox mod-host[968]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchItem’
May 23 16:11:37 patchbox mod-host[968]: g_type_register_static: assertion ‘parent_type > 0’ failed
May 23 16:11:37 patchbox mod-host[968]: g_type_register_static: assertion ‘parent_type > 0’ failed
May 23 16:11:37 patchbox mod-host[968]: g_once_init_leave: assertion ‘result != 0’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchItem’
May 23 16:11:37 patchbox mod-host[968]: g_type_register_static: assertion ‘parent_type > 0’ failed
May 23 16:11:37 patchbox mod-host[968]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:11:37 patchbox mod-host[968]: cannot register existing type ‘IpatchConverter’
May 23 16:11:37 patchbox mod-host[968]: cannot retrieve class for invalid (unclassed) type ‘’

mod-ui-service

May 23 16:19:10 patchbox authbind[1752]: INFO:tornado4.access:200 GET /snapshot/name?id=-1&=1653293919068 (192.168.1.7) 1.24ms
May 23 16:19:10 patchbox authbind[1752]: DEBUG:root:[host] popped from queue: connect system:capture_1 system:playback_1
May 23 16:19:10 patchbox authbind[1752]: DEBUG:root:[host] sending → connect system:capture_1 system:playback_1
May 23 16:19:10 patchbox authbind[1752]: DEBUG:root:[host] popped from queue: feature_enable processing 1
May 23 16:19:10 patchbox authbind[1752]: DEBUG:root:[host] sending → feature_enable processing 1
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /effect/get?uri=http%3A%2F%2Fkxstudio.linuxaudio.org%2Fplugins%2FFluidPlug_FluidSynthLeads (192.168.1.7) 3.21ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /effect/file/iconTemplate?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads&v=0_0_2_0&r=1601532263 (192.168.1.7) 2.73ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /effect/get_non_cached?uri=http%3A%2F%2Fkxstudio.linuxaudio.org%2Fplugins%2FFluidPlug_FluidSynthLeads&
=1653293919069 (192.168.1.7) 1.16ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /effect/file/stylesheet?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads&v=0_0_2_0&r=1601532263 (192.168.1.7) 4.06ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /resources/utils/dropdown-arrow-white.png?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads&v=0_0_2_0 (192.168.1.7) 4.16ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /resources/pedals/footswitch.png?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads&v=0_0_2_0 (192.168.1.7) 3.76ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /resources/pedals/boxy/lava.png?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads&v=0_0_2_0 (192.168.1.7) 8.50ms
May 23 16:19:12 patchbox authbind[1752]: INFO:tornado4.access:200 GET /resources/knobs/boxy/black.png?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads&v=0_0_2_0 (192.168.1.7) 37.28ms
May 23 16:19:13 patchbox authbind[1752]: DEBUG:root:[host] popped from queue: add http://kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads 0
May 23 16:19:13 patchbox authbind[1752]: DEBUG:root:[host] sending → add http://kxstudio.linuxaudio.org/plugins/FluidPlug_FluidSynthLeads 0
May 23 16:19:13 patchbox authbind[1752]: INFO:tornado4.access:200 GET /ping?=1653293919071 (192.168.1.7) 1.22ms
May 23 16:19:18 patchbox authbind[1752]: INFO:tornado4.access:200 GET /ping?
=1653293919072 (192.168.1.7) 1.21ms

Then it’s continuous ping replies …

After a reboot

May 23 16:26:35 patchbox authbind[802]: INFO:tornado4.access:200 GET /resources/knobs/boxy/aluminium.png?uri=http%3A//kxstudio.linuxaudio.org/plugins/FluidPlug_FluidChromPerc&v=0_0_2_0 (192.168.1.7) 36.42ms
May 23 16:26:36 patchbox authbind[802]: DEBUG:root:[host] popped from queue: add http://kxstudio.linuxaudio.org/plugins/FluidPlug_FluidChromPerc 0
May 23 16:26:36 patchbox authbind[802]: DEBUG:root:[host] sending → add http://kxstudio.linuxaudio.org/plugins/FluidPlug_FluidChromPerc 0
May 23 16:26:36 patchbox mod-host[801]: fluidsynth: warning: SDL2 not initialized, SDL2 audio driver won’t be usable
May 23 16:26:36 patchbox mod-host[801]: fluidsynth: error: Unknown integer parameter ‘synth.parallel-render’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchSplitsType’
May 23 16:26:36 patchbox mod-host[801]: g_param_spec_enum: assertion ‘G_TYPE_IS_ENUM (enum_type)’ failed
May 23 16:26:36 patchbox mod-host[801]: ipatch_type_install_property: assertion ‘G_IS_PARAM_SPEC(prop_spec)’ failed
May 23 16:26:36 patchbox mod-host[801]: g_boxed_type_register_static: assertion ‘g_type_from_name (name) == 0’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchSF2GenType’
May 23 16:26:36 patchbox mod-host[801]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:26:36 patchbox mod-host[801]: file ./libinstpatch/IpatchSF2Gen.c: line 152 (ipatch_sf2_gen_init): assertion `enum_class != NULL’ failed.
May 23 16:26:36 patchbox mod-host[801]: g_type_class_unref: assertion ‘g_class != NULL’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchSample’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchItem’
May 23 16:26:36 patchbox mod-host[801]: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchSF2GenItem’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchItem’
May 23 16:26:36 patchbox mod-host[801]: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchSF2ModItem’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchItem’
May 23 16:26:36 patchbox mod-host[801]: g_type_interface_add_prerequisite: assertion ‘G_TYPE_IS_INTERFACE (interface_type)’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchSF2VoiceCache’
May 23 16:26:36 patchbox mod-host[801]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchItem’
May 23 16:26:36 patchbox mod-host[801]: g_type_register_static: assertion ‘parent_type > 0’ failed
May 23 16:26:36 patchbox mod-host[801]: g_type_register_static: assertion ‘parent_type > 0’ failed
May 23 16:26:36 patchbox mod-host[801]: g_once_init_leave: assertion ‘result != 0’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchItem’
May 23 16:26:36 patchbox mod-host[801]: g_type_register_static: assertion ‘parent_type > 0’ failed
May 23 16:26:36 patchbox mod-host[801]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:26:36 patchbox mod-host[801]: cannot register existing type ‘IpatchConverter’
May 23 16:26:36 patchbox mod-host[801]: cannot retrieve class for invalid (unclassed) type ‘’
May 23 16:26:40 patchbox authbind[802]: INFO:tornado4.access:200 GET /ping?
=1653294356098 (192.168.1.7) 1.34ms
May 23 16:26:45 patchbox authbind[802]: INFO:tornado4.access:200 GET /ping?_=1653294356099 (192.168.1.7) 1.45ms

It might be that the plugins depend on libinstpatch, and now it’s some newer version that has some issue or incompatibility with software built for Debian buster.

It’s all of the generators that I’ve tested.

I’ll look into it a little more.

Hey, I’ve rebuilt MODEP based on bullseye dependencies, it seems to be working better. Try updating your packages:

sudo apt update && sudo apt upgrade

Still having the same problems. I’ll tinker a little more.

Try now:

sudo apt update && sudo apt upgrade && sudo apt install modep-fluidsynth

It looks like using systemwide fluidsynth library is causing some issues, I’ve changed MODEP to use its own libfluidsynth build.

That did the job!! … time for noodle.

1 Like