Guitarix lv2 Plugin doesn't open GUI

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

Since I updated to Ardour 6.0 my Guitarix lv2 plugin doesn't work properly anymore.
The sound is scratchy and when trying to open it out of ardour the gui doesn't open.
I already tried to delete and to rebuild the plugin - didn't help.
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

You need to update guitarix to version 0.40.0, or even better to the version from git repository.
https://github.com/brummer10/guitarix

the version in git master support now NSM which could be used by carla to control guitarix. Your experience will be much better with that, but, you must do a fresh export from carla and enable NSM support for the export to use it.
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

tramp wrote: Sun Jul 05, 2020 5:53 pm You need to update guitarix to version 0.40.0, or even better to the version from git repository.
https://github.com/brummer10/guitarix
I already have installed version 0.40.0 from git:

Code: Select all

git clone https://git.code.sf.net/p/guitarix/git guitarix-git
tramp wrote: Sun Jul 05, 2020 5:53 pmYour experience will be much better with that, but, you must do a fresh export from carla and enable NSM support for the export to use it.
You suggested to use the option -D -E:
viewtopic.php?p=113626#p113626
But that doesn't work with NSM:
NSM.png
NSM.png (61.34 KiB) Viewed 1900 times
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

hdr wrote: Mon Jul 06, 2020 11:15 am I already have installed version 0.40.0 from git:
Ah, that is a good choice.
hdr wrote: Mon Jul 06, 2020 11:15 am You suggested to use the option -D -E:
viewtopic.php?p=113626#p113626
But that doesn't work with NSM:
You didn't need to set this options when using under NSM. Guitarix will setup itself properly then.
You didn't need "Use previos client output as input fir next client" then, as guitarix act under NSM as single client.
Guitarix has just one Audio input, didn't know if adding a second one will make things bad? But some hosts may require a equal in output match.
Guitarix has as well a midi in/output, but when you didn't need it you could leave it as zero.

PS: when you start guitarix under NSM you'll loose all your presets. But you could import them by drag n' drop them from your file-manager into the preset-bank view.
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

tramp wrote: Mon Jul 06, 2020 11:36 amGuitarix has just one Audio input, didn't know if adding a second one will make things bad? But some hosts may require a equal in output match.
I made this setting due to your description :wink:
viewtopic.php?p=91013#p91013
tramp wrote: Mon Jul 06, 2020 11:36 am PS: when you start guitarix under NSM you'll loose all your presets. But you could import them by drag n' drop them from your file-manager into the preset-bank view.
I didn't lose my presets - but they all seem to be changed in some way. The sound is way too loud and the master volume has almost no effect. If I put it to 0 it's still too loud and with a painful overdrive.
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

hdr wrote: Mon Jul 06, 2020 5:48 pm I made this setting due to your description :wink:
viewtopic.php?p=91013#p91013
Those are outdated now.
hdr wrote: Mon Jul 06, 2020 5:48 pm I didn't lose my presets - but they all seem to be changed in some way.
Then guitarix isn't controlled by NSM via carla.
When NSM is in use, the the windows title is like this: "Guitarix: Guitarix.z3Qdf", not like this "Guitarix: gx_head". The part behind the dot is a unique ID and indicate the NSM control.
When first start it will open like as if it is fresh installed on a fresh system. (only the amp visible)
As soon you manage to have guitarix appear as such, you could import your presets and they will sound as they should.
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

I did it now with these settings:
newsettings.png
newsettings.png (55.95 KiB) Viewed 1883 times
After that it looks like this:
newsettings2.png
newsettings2.png (223.36 KiB) Viewed 1883 times
So the window shows Guitarix: gx_head
What did I do wrong?
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

It seems your guitarix build is without NSM support.
So go to your guitarix source directory and run

Code: Select all

sudo ./waf uninstall
to remove your current installed version.
Then run

Code: Select all

./waf distclean
to clean up the source directory.
Then do a update of your checkout.

Code: Select all

git pull
Now you could start a rebuild by configure the sources:

Code: Select all

./waf configure --prefix=/usr  --includeresampler --includeconvolver
check the output form configure for this line:

Code: Select all

Checking for 'liblo'                     : yes
and

Code: Select all

Build with NSM support                   : yes
in case you get 'no' for liblo, run

Code: Select all

sudo apt install liblo-dev
and run the configure line again.
Now, when you see liblo : 'yes' you could run

Code: Select all

./waf build
when finished do install

Code: Select all

sudo ./waf install
To avoid confusion, you may want to remove your previous exported guitarix lv2 plugin, go to ~/.lv2 (hidden folder in your home) and delete all folders with guitarix in its names (should only be one, usually)
Now do a fresh export with carla. You should have now the window tittle with the unique ID.
You could import your old presets by going to ~/config/guitarix/banks and drag n' drop your preset banks into the preset-bank view window.
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

Now I have a unique ID, but ardour crashes after loading and trying to use the guitarix plugin:

Code: Select all

$ /opt/Ardour-6.0.0/bin/ardour6
Ardour6.0.0 (built using 6.0 and GCC version 6.3.0 20170516)
Ardour: [INFO]: Your system is configured to limit Ardour to 1048576 open files
Ardour: [INFO]: Loading system configuration file /opt/Ardour-6.0.0/etc/system_config
Ardour: [INFO]: Loading user configuration file /home/hdr/.config/ardour6/config
Ardour: [INFO]: CPU vendor: GenuineIntel
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: CPU brand:       Intel(R) Core(TM) i7-3740QM CPU @ 2.70GHz
Ardour: [INFO]: Using SSE optimized routines
Ardour: [INFO]: Loading plugin meta data file /opt/Ardour-6.0.0/share/plugin_metadata/plugin_tags
Cannot xinstall SIGPIPE error handler
Ardour: [INFO]: Loading default ui configuration file /opt/Ardour-6.0.0/etc/default_ui_config
Ardour: [INFO]: Loading 6 MIDI patches from /home/hdr/.config/ardour6/patchfiles
Ardour: [INFO]: Loading user ui configuration file /home/hdr/.config/ardour6/ui_config
Ardour: [INFO]: Loading 449 MIDI patches from /opt/Ardour-6.0.0/share/patchfiles
Ardour: [INFO]: Loading color file /opt/Ardour-6.0.0/share/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /opt/Ardour-6.0.0/etc/clearlooks.rc
Ardour: [INFO]: Loading bindings from /opt/Ardour-6.0.0/etc/ardour.keys
Loading ui configuration file /opt/Ardour-6.0.0/etc/clearlooks.rc
Found nothing along /home/hdr/.config/ardour6/templates:/opt/Ardour-6.0.0/share/templates
Scanning folders for bundled LV2s: /opt/Ardour-6.0.0/lib/LV2
Set cursor set to default
 loading from /home/hdr/Recording/Ardour/Jamsession as Jamsession templ  is_new 0 bp 0
locate took 163 usecs for 2 tracks = 82 per track
Reading player:Guitar MIDI took 973 microseconds, final size = 3168
locate took 74 usecs for 2 tracks = 37 per track
lv2_descriptor(0) has URI 'file:///home/hdr/.lv2/guitarix.lv2/guitarix.ttl'
lv2_instantiate(0x7f14411ef3e0, 48000, /home/hdr/.lv2/guitarix.lv2/, 0x559a1c00e420)
CarlaEngineNative::init("LV2-Export")
engineCallback(35:ENGINE_CALLBACK_CANCELABLE_ACTION, 0, 1, 0, 0,000000, (null))
CarlaThread setup with realtime priority successful
Carla Jack Client Ready!
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 16, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 32, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 64, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 128, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 256, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 512, 1, 0,000000, (null))
engineCallback(1:ENGINE_CALLBACK_PLUGIN_ADDED, 0, 0, 0, 0,000000, (null))
engineCallback(36:ENGINE_CALLBACK_PROJECT_LOAD_FINISHED, 0, 0, 0, 0,000000, (null))
engineCallback(35:ENGINE_CALLBACK_CANCELABLE_ACTION, 0, 0, 0, 0,000000, (null))
lv2_descriptor(0) has URI 'file:///home/hdr/.lv2/guitarix.lv2/guitarix.ttl'
lv2_instantiate(0x7f14411ef3e0, 48000, /home/hdr/.lv2/guitarix.lv2/, 0x559a0e3be2b0)
CarlaEngineNative::init("LV2-Export")
engineCallback(35:ENGINE_CALLBACK_CANCELABLE_ACTION, 0, 1, 0, 0,000000, (null))
carla_shm_create_temp(/crlbrdg_shm_ap_toC66B) - file exists, retrying
CarlaThread setup with realtime priority successful
Carla Jack Client Ready!
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 16, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 32, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 64, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 128, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 256, 1, 0,000000, (null))
engineCallback(9:ENGINE_CALLBACK_OPTION_CHANGED, 0, 512, 1, 0,000000, (null))
engineCallback(1:ENGINE_CALLBACK_PLUGIN_ADDED, 0, 0, 0, 0,000000, (null))
engineCallback(36:ENGINE_CALLBACK_PROJECT_LOAD_FINISHED, 0, 0, 0, 0,000000, (null))
engineCallback(35:ENGINE_CALLBACK_CANCELABLE_ACTION, 0, 0, 0, 0,000000, (null))
lv2ui_descriptor(0) has URI 'file:///home/hdr/.lv2/guitarix.lv2/ext-ui'
Carla assertion failure: "index < getParameterCount()" in file ../backend/plugin/CarlaPlugin.cpp, line 2463
CarlaPluginJackThread::_broadcast_handler(/nsm/server/announce, sssiii, 0x7f1428001b80, 6)
Sending open signal /home/hdr/.lv2/guitarix.lv2/guitarix.d2D2H guitarix Guitarix.d2D2H
NSM: Successfully registered. NSM says: Howdy, what took you so long?
CarlaPluginJackThread::_broadcast_handler(/reply, ss, 0x7f1428002030, 2)
Got reply of '/nsm/client/open' as 'OK'
Sending 'Session is loaded' to Guitarix
JACK application window found and captured
NOTICE: XMapWindow now showing previous window
JACK application window found and captured
CarlaPluginJackThread::_broadcast_handler(/nsm/server/announce, sssiii, 0x7f14200015b0, 6)
Sending open signal /home/hdr/.lv2/guitarix.lv2/guitarix.d2D2H guitarix Guitarix.d2D2H
NSM: Successfully registered. NSM says: Howdy, what took you so long?
CarlaPluginJackThread::_broadcast_handler(/reply, ss, 0x7f1420001a60, 2)
Got reply of '/nsm/client/open' as 'OK'
Sending 'Session is loaded' to Guitarix
JACK application window found and captured
NOTICE: XMapWindow now showing previous window
JACK application window found and captured
NOTICE: now hiding previous window
NOTICE: now hiding previous window
JACK application window found and captured
JACK application window found and captured
jack_set_xrun_callback(0x555fd1088220, 0x555fcf5007d0, 0x7ffe40beacb0)
jack_set_port_registration_callback(0x555fd1088220, 0x555fcf500780, 0x7ffe40beacb0)
jack_set_port_connect_callback(0x555fd1088220, 0x555fcf500b80, 0x7ffe40beacb0)
jack_set_session_callback(0x555fd1088220, 0x555fcf500aa0, 0x7ffe40beacb0)
jack_set_xrun_callback(0x556048c91820, 0x556047a2c7d0, 0x7ffc2505f1e0)
jack_set_port_registration_callback(0x556048c91820, 0x556047a2c780, 0x7ffc2505f1e0)
jack_set_port_connect_callback(0x556048c91820, 0x556047a2cb80, 0x7ffc2505f1e0)
jack_set_session_callback(0x556048c91820, 0x556047a2caa0, 0x7ffc2505f1e0)
CarlaPluginJackThread::_broadcast_handler(/nsm/client/gui_is_hidden, , (nil), 0)
CarlaPluginJackThread::_broadcast_handler(/nsm/client/gui_is_hidden, , (nil), 0)
lv2ui_descriptor(0) has URI 'file:///home/hdr/.lv2/guitarix.lv2/ext-ui'
Carla assertion failure: "index < getParameterCount()" in file ../backend/plugin/CarlaPlugin.cpp, line 2463
CarlaPluginJackThread::_broadcast_handler(/nsm/client/gui_is_shown, , (nil), 0)
lv2ui_descriptor(0) has URI 'file:///home/hdr/.lv2/guitarix.lv2/ext-ui'
Carla assertion failure: "index < getParameterCount()" in file ../backend/plugin/CarlaPlugin.cpp, line 2463
CarlaPluginJackThread::_broadcast_handler(/nsm/client/gui_is_shown, , (nil), 0)
engineCallback(2:ENGINE_CALLBACK_PLUGIN_REMOVED, 0, 0, 0, 0,000000, (null))
engineCallback(30:ENGINE_CALLBACK_ENGINE_STOPPED, 0, 0, 0, 0,000000, (null))
locate took 232 usecs for 2 tracks = 116 per track
Invalid lv2 frame value
Carla assertion failure: "frames == fServer.bufferSize" in file libjack.cpp, line 675, v1 501, v2 512
Invalid lv2 frame value
Carla assertion failure: "frames == fServer.bufferSize" in file libjack.cpp, line 675, v1 11, v2 512
Invalid lv2 frame value
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

Do you use latest carla from git as well? Here is what I get.

Image
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

tramp wrote: Tue Jul 07, 2020 6:39 pm Do you use latest carla from git as well? Here is what I get.
No, I have Carla from KXStudio Repositories. It's version 2.2.0-beta1
How do I install the latest version from git?
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

First you need to uninstall the version from KxStudio.
Then go to
https://github.com/falkTX/Carla
for more information.
Open your terminal , cd to your preferred directory were you store source-code and run

Code: Select all

git clone https://github.com/falkTX/Carla.git

Code: Select all

cd carla

Code: Select all

make

Code: Select all

make install
maybe make will fail the one or the other try because of missing dependency's, check the output and install the missing packages from your package manager. Remember you need always the packages with the dev extension. Only python packages didn't have this .dev extension, for those you just install the package you find by name. When you've solved that, you may be able to build nearly any free audio project out there.
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

right now I have installed the following carla packages from KXStudio:

Code: Select all

carla-bridge-linux32  
carla-bridge-wine32   
carla-lv2
carla-bridge-linux64
carla-bridge-wine64   
carla-vst
carla-bridge-win32
carla-git
carla-vst-wine
carla-bridge-win64
carla-git-data
Do I need to uninstall them all? What if they are needed by other software or packages?
OS: Debian 10 DAW: Ardour 6.2
tramp
Established Member
Posts: 2335
Joined: Mon Jul 01, 2013 8:13 am
Has thanked: 9 times
Been thanked: 454 times

Re: Guitarix lv2 Plugin doesn't open GUI

Post by tramp »

I see you've already carla-git.
I don't know how often falktx update the git package in the repository, but maybe worse to simply check there for a update.
I've implemented NSM in guitarix last week, and falktx does some fixes in carla after some tests. So when you get a update for carla, it may work without the need to build carla itself.
On the road again.
hdr
Established Member
Posts: 138
Joined: Sun Feb 03, 2019 1:47 pm
Has thanked: 1 time

Re: Guitarix lv2 Plugin doesn't open GUI

Post by hdr »

Carla updates appear quite often, so I wait for the next one.

But I installed carla-git via:

Code: Select all

$ apt-get install carla-git carla-git-data
after enabling the repositories:
https://kx.studio/Repositories
I didn't do it the way you described.
OS: Debian 10 DAW: Ardour 6.2
Post Reply