brummer10 / guitarix

guitarix virtual versatile amplification for Jack/Linux
236 stars 24 forks source link

Trunk head: certain plugins don't load in Ardour #95

Closed saabeilin closed 4 months ago

saabeilin commented 2 years ago

Linux liberty 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.3 LTS"

build commandline: dpkg-buildpackage -rfakeroot -b --no-sign

Ardour v.6.9.0

2021-11-22T23:34:13 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX 2021-11-22T23:34:25 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX 2021-11-22T23:35:58 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_cabinet#CABINET 2021-11-22T23:37:29 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_cabinet#CABINET 2021-11-22T23:37:31 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_amp_stereo#GUITARIX_ST 2021-11-22T23:37:32 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_amp#GUITARIX 2021-11-22T23:37:32 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_cabinet#CABINET 2021-11-22T23:37:33 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gxmetal_amp#metal_amp 2021-11-22T23:37:34 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gxmetal_head#metal_head 2021-11-22T23:37:35 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_redeye#bigchump 2021-11-22T23:37:36 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_redeye#chump 2021-11-22T23:37:37 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_redeye#vibrochump 2021-11-22T23:37:39 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gxtuner#tuner 2021-11-22T23:37:41 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_jcm800pre_#_jcm800pre_ 2021-11-22T23:37:42 [ERROR]: LV2: Failed to instantiate plugin http://guitarix.sourceforge.net/plugins/gx_jcm800pre_st#_jcm800pre_st

saabeilin commented 2 years ago

Update: starting Ardour from CLI sheds some light:

lilv_lib_open(): error: Failed to open library /usr/lib/lv2/gx_amp.lv2/gx_amp.so (/lib/x86_64-linux-gnu/librsvg-2.so.2: undefined symbol: g_settings_schema_list_keys)
hfiguiere commented 2 years ago

this is probably due to conflicting symbols from glib.

Do you use the official Ardour builds?

saabeilin commented 2 years ago

Right, that's the official Ardour build. I'm too lazy to build myself and happy to support Ardour development :)

hfiguiere commented 2 years ago

that would explain. it ships with it's own build of glib and the plugin tries to use via librsvg (from the message) a different version...

at least that's what I am guessing.

saabeilin commented 2 years ago

Hmm. At lease the glib/glibmm are formally the same versions (min.maj) system-wide and those shipped with Ardour.

saabeilin commented 2 years ago

I built Ardour 6.9.0 from sources and the plugins load successfully, though the plugin own UI is not available (but that's another story)

hfiguiere commented 2 years ago

this just confirm what I said. Thanks!

brummer10 commented 2 years ago

Hi I've removed the glibmm dependency from several LV2 plugs now, still didn't know if I've oversee one. If you stumble over one, let me know and I'll investigate. regards hermann

hfiguiere commented 2 years ago

this one appear to be glib, dragged in by librsvg.

brummer10 commented 2 years ago

we didn't use librsvg at all. It may be that Ubuntu ships cairo libs build against librsvg, I don't know, at least on debian that is not the case, and here, I cant see any linking against librsvg nor glib in a LV2 plug