Plugins crash upon opening gui in Ardour 6

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
GLRM
Posts: 2
Joined: Wed Jun 01, 2022 6:42 pm

Plugins crash upon opening gui in Ardour 6

Post by GLRM »

I'm pretty new to linux and DAWs in general so not very knowledgeable in neither but I've been trying to find what's the issue causing the Zyn plugin to open a blank window and then crash after a few seconds when opening the gui.
I don't know if it's related but I've been getting a visual glitch with the Vital plugin, it works correctly when opening the first time in the session but if I close the gui and then open it again various segments of the gui are blank though they work. But sometimes I get a crash with Vital too if I open and close the gui too often.

I uninstalled Ardour and got the following warning:

Warning: carla optionally requires lv2-host: for the LV2 plugin
Warning: carla optionally requires vst-host: for the VST plugin
Warning: rubberband optionally requires ladspa-host: for LADSPA plugin
Warning: zynaddsubfx optionally requires lv2-host: for using the LV2 plugin
Warning: zynaddsubfx optionally requires vst-host: for using the VST plugin

I searched around but don't know how I'm supposed to implement these hosts.

I tried launching the plugins with Carla and got the same results as with Ardour (Zyn not launching and Vital launching correctly on first try but with artifacts on subsequent launches + eventual crash) so the issue is not Ardour but something with my machine and the plugins. Probably having to do with the lv2/vst/ladspa hosts?


Below is the log from the terminal when opening a new empty session in Ardour and lanching Zyn gui (LV2).
The distro I'm using is Manjaro KDE.

Ardour6.9.0 (built using 6.9 and GCC version 11.2.0)
Ardour: [INFO]: Your system is configured to limit Ardour to 524288 open files
Ardour: [INFO]: Loading system configuration file /etc/ardour6/system_config
Ardour: [INFO]: Loading user configuration file /home/gianluca/.config/ardour6/config
Ardour: [INFO]: CPU vendor: AuthenticAMD
Ardour: [INFO]: AVX-capable processor
Ardour: [INFO]: AVX with FMA capable processor
Ardour: [INFO]: CPU brand: AMD Ryzen 5 3500X 6-Core Processor
Ardour: [INFO]: Using AVX and FMA optimized routines
Ardour: [INFO]: Loading plugin meta data file /usr/share/ardour6/plugin_metadata/plugin_tags
Ardour: [INFO]: Loading plugin statistics file /home/gianluca/.config/ardour6/plugin_metadata/plugin_stats
Ardour: [INFO]: Loading default ui configuration file /etc/ardour6/default_ui_config
Ardour: [INFO]: Loading user ui configuration file /home/gianluca/.config/ardour6/ui_config
Ardour: [INFO]: Loading 452 MIDI patches from /usr/share/ardour6/patchfiles
Ardour: [INFO]: Loading color file /usr/share/ardour6/themes/dark-ardour.colors
Ardour: [INFO]: Loading ui configuration file /etc/ardour6/clearlooks.rc
Ardour: [INFO]: Loading bindings from /etc/ardour6/ardour.keys
Loading ui configuration file /etc/ardour6/clearlooks.rc
Found nothing along /home/gianluca/.config/ardour6/templates:/usr/share/ardour6/templates
Scanning folders for bundled LV2s: /usr/lib/ardour6/LV2
Set cursor set to default
Reading player:ZynAddSubFX took 1 microseconds, final size = 0
lo server running on 17010
[INFO] Opened the zynaddsubfx UI...
[INFO] Ready to run
[INFO:Zyn] zest_open()
[INFO:Zyn] zest_open(osc.udp://127.0.0.1:17010)
[INFO:Zyn] Found Assets at /usr/lib/zynaddsubfx/
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the development of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
zsh: segmentation fault (core dumped) ardour6
   ~  watched PID no longer exists - releasing device.


I tried debugging with gdb but wasn't able to, I installed the program and tried running Ardour with it using the command:
/opt/ardour/bin/ardour6 --gdb
but turns out there is no Ardour directory in /opt.

Thanks in advance for any help
User avatar
LAM
Established Member
Posts: 992
Joined: Thu Oct 08, 2020 3:16 pm
Has thanked: 140 times
Been thanked: 348 times

Re: Plugins crash upon opening gui in Ardour 6

Post by LAM »

Hi @GLRM,

in cases like this is usually faster to get it sorted out if you ask on #ardour IRC channel (on libera.chat) or on the Ardour's forum ( https://discourse.ardour.org/ ).

in mix, nobody can hear your screen

GLRM
Posts: 2
Joined: Wed Jun 01, 2022 6:42 pm

Re: Plugins crash upon opening gui in Ardour 6

Post by GLRM »

Hi LAM,
I posted this also on Ardour's forum and Kvraudio, got some replies but haven't found a solution yet.
I'll try the IRC channel eventually.
12strings2hands
Established Member
Posts: 29
Joined: Tue Jan 10, 2017 5:28 pm
Has thanked: 4 times
Been thanked: 4 times

Re: Plugins crash upon opening gui in Ardour 6

Post by 12strings2hands »

Are you using the Ardour from your distro, or did you download the one at Ardour https://community.ardour.org/download?
Distro versions sometimes don't work. My understanding is that the official Ardour bundles in operating system libs so they don't run into operating system problems like you seem to be having.
Post Reply