Open daveriedstra opened 2 years ago
Calf uses gtk2 which only supports X11, not Wayland. So you might need to run Carla with X11. I think there is some Qt related env var for this
Interesting. I'd been using Carla with Calf plugins on wayland for a few years now (it must have been using xwayland), and only in the past 3ish months has this been happening. Additionally, I was able to reproduce the crashes after starting Carla with GDK_BACKEND=x11 QT_QPA_PLATFORM=xcb carla
which I think are the vars you're thinking of (per the arch wiki).
I'm going to go check this out in an x session... I was able to reproduce the crash in an X11 Gnome session on the same system.
I was mostly assuming it was related, seems like it is not. You disable the "prefer ui bridges by default" I guess, as otherwise these UIs wouldnt run in the same process. You lose the fancy graphs but in turn no crashes.
In any case, it is best to leave calf alone while it still uses gtk as UI library. Try to find replacements. Gtk2 wont be with us forever...
You disable the "prefer ui bridges by default"
Yes, "Use UI bridges instead of direct handling" was disabled, but I was able to repro the crash with it enabled (after restarting Carla of course).
It would be a shame to give up Calf, those are my go-to for a bunch of stuff. But if the lack of movement on https://github.com/calf-studio-gear/calf/issues/248 is any indication, you're right about leaving Calf due to GTK2.
Thanks for the help (& all your work in general), I'll let you choose whether or not to close this (in case you think it points to an issue with the UI bridges or something).
Calf plugins seem to crash Carla when closing their GUIs. Other plugins (LSP, Panagement) work fine in Carla, and the Calf plugin host works fine on its own. The crash doesn't happen 100% of the time, but usually within a handful of tries.
Repro:
When run from the terminal, this is the output:
Here's as much of the Carla internal logs as I was able to grab before the crash (ie, right before hitting the close button):
My system details (tl;dr: Pop!_OS on swaywm wayland):
Please let me know if I can do anything to help chase this down. If this would be more appropriate on the Calf repo, I can move it there.