-
-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when attempting to open LV2 plugin's native UI #1319
Comments
Thanks, what are the offending plug-ins ? |
Tried something according to what I could read on the internets, if you can pull and try the above |
ah I can reproduce with the Calf plug-ins indeed... :| |
hmmm... I tried to check other hosts: Qtractor and LMMS but it seems that neither try to show the native UI for Calf plugs, so I'm wondering if there's a deeper incompatibility here ? I thought the suil library was used to make this work but maybe not... @rncbc any idea if that is just not a tractable problem ? (or did I just miss the open GUI button in Qtractor :x) |
qtractor does open both ways: a generic stock GUI (plugin > Properties...) and the plugin's native GUI if it has one (plugin > Edit...). only qtractor builds of yore Qt5 may use libSUIL; on Qt6, qtractor uses its own LV2UI wrappers to X11 and Gtk2 LV2 GUIs (nb. calf is the later kind); of course, qtractor has to be built with all the necessary support for Gtk2+ development libraries and headers, for it to work or show the Calf GUIs. |
okay, when trying here, Plugin > [Edit...] does not open anything so I guess it's my distro's build (which uses Qt6) which lacks the relevant things |
I think I got it @djiamnot ! To check that it was the same issue than you have, can you try to open the GUI while the score is playing and has reached the LV2 execution ? |
after a pull and rebuild, score seems to hang after displaying this in the terminal:
it does nothing after that, does not open its window, either. But for the record, the noted issue was with Calf and Gx (guitarix) plugins. Just before the pull I tried with some LSP plugins and Nekobi which appeared to work fine. |
hummm, could you try using a gtk2 theme like it says here ? |
hum, so after trying on an ubuntu VM, it turns out that just this code:
fails, because by default on Ubuntu the theme is qgtk3 which already calls gdk_init and calling it twice either hangs or crashes. -_- |
in the meantime @djiamnot what you can do is :
with that, it seems to work here on a 20.04 VM... |
That's so funny! I confirm that it works, however yesterday it was not. It may have been user error, I run fish as default shell and there may be some detail in handling environment variables interaction that escapes me. It now runs correctly in both bash and fish and I can open LV2 native interfaces, including Calf and Gx. Thank you for your patience and sorry for the noise. |
no worries, it's not noise, the problem still exists (but I don't see an easy way out of it right now..) |
(reported lv2/suil#16 on suil, maybe some answer will come out of it..) |
upstream LV2 / Suil has removed support for displaying GTK2 UIs altogether so this is no longer relevant |
Platform:
On a freshly compiled score from
master
(as of 2021-11-21), I can see a list of LV2 plugins and use them until I try to open the native interface. It segfaults. I observed the same behaviour on several plugins. Below you will find score's output:and a gdb stacktrace:
The text was updated successfully, but these errors were encountered: