A6 - Heavy CPU usage with Linux and Surge LV2


When I add the Surge LV2 in Ardour everything looks ok.


But when I open the plugin GUI the CPU usage goes high and my computer start to heat up.


And, if I use the same plugin, LV2 version, through Carla Rack the CPU usage looks ok again.

Is this a Ardour or Surge LV2 problem?

Using KDE Neon. Ardour 6.0 official build. Surge .deb package downloaded from the official site.

If other LV2 plugins do not have this issue it’s more likely a surge issue.


A shot in the dark: It could be an event-loop bug: the plugin constantly processes events or redraws, perhaps due to animations, instead of using lv2 idle calls.

Carla completely separates the LV2 plugin GUIs in a dedicated process. – Ardour doesn’t. So the plugin shares resources (X11) with the Ardour and other plugins. Does the issue exist in other hosts like jalv.gtk (that behaves like Ardour for the most part)?

It’s surge LV2. The same problem with jalv.gtk. Thank you Robin, I had never heard of jalv.gtk before, but it’s very useful.

Just as a footnote, I’ve seen similar behaviour in commercial, proprietary plugins using both AU and VST formats. The plugins are written incorrectly (as was acknowledged by the plugin devs in the two cases I saw).