LSP Plugins 1.2.24 released!

On my system, when I open LSP plugin UI, the time graphs are frozen and sometimes, even the ardour graphics will no longer update. The sound is just fine and keeps running, with processing from LSP. Is this a bug or a configuration issue?
Other plugins, such as ZL EQ (Juce?), work just fine.
Edit: The same LSP VST3 Plugin works just fine in renoise. But renoise seems to be dropping some frames, as the UI in the background begins to stutter. Again, ZLEQ works just fine.

This never worked on my system, I just had no time to look deeper into this, up to now.
LSP 1.2.25 release.

What could I do to get this going?

Any help appreciated.

Some, hopefully helpful, information about my system:

Ardour 8.12.0
$ uname -a
Linux gengen-ThinkPad-P1 6.17.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Sat Oct 18 10:10:29 UTC 2025 x86_64 GNU/Linux
$ gnome-shell --version
GNOME Shell 49.0

Powermode is set to “Performance”

This may be an OpenGL issue on your system.
Please consider looking this topic:

You also can try to launch UI using Cairo backend, not OpenGL, to ensure that is is an OpenGL problem.

1 Like

Edit2: Forgot my manners! Thanks for the quick reply!!! And thanks for all the hard work going into LSP!

Cairo shows a similar behaviour. I started a new ardour session from a terminal after setting the environment variable you mentioned here:

Created a single track with an audio file from the ardour content clips.
Instantiate LSP Dynamics Processor Stereo VST3
GUI opens, curves are updating but slightly choppy, in an irregular way (no rythm in the drop outs, so does not look like any framerate subdivision).
About dialog shows UI Graphics: Cairo

Closing the ui, ardour still responsible.
Opening ui again. Same LSP behaviour, ardour in the background freezing.
All the time, audio is running just fine.
I was able to close the LSP GUI window. So window stuff seems still responsive?

I then switched window focus a few times, without any change.
Then I switched to firefox, to write this post. Switched back and the Ardour UI is responsible again.

It looks like one of those issues, where a queue of commands needs to finish their thing. Like when you put UI and some other task on the same thread. Not an expert here, but I once tried adding a progressbar somewhere :stuck_out_tongue:

Edit: Some further observations.

  • moving the plugin window around, freezes the graphics inside immediately
  • Opening closing the window will leave ardour in the frozen UI state everytime, after closing it.
  • Ardour UI will always wake up again after waiting for a while. BUT FASTER, IF PLAYBACK IS STOPPED!
  • While frozen, Ardour does still respond to commands such as space bar play stop or L for loop playback

Have you tried to switch PreferencesGUIClosing a plugin GUI Window to destroys the GUI instance, releasing the resources? This also may be related because LSP plugins may still perform regular window handling (including redraws) even if Ardour hides the plugin window.

1 Like

Thanks again, looks like I had this enabled all the time. It did not make a difference for the gl version, but during tonights attempt to reproduce this, the cairo version, while still choppy, did not cause a freeze after closing the window. Maybe I have to stress the system a little bit more to get there again.

Looks like all those issues come down to bad drivers in the end. Updated from nvidia 570 to 580, now I can comfortably open up to 2 lsp plug-ins with their beautiful analyzers.
All this in a full fledged gnome shell under wayland.

It is a little bit smoother if I nail Ardour to the discrete GPU with prime-select on-demand and these environment variables in the rays session settings:
__NV_PRIME_RENDER_OFFLOAD=1 __VK_LAYER_NV_optimus=NVIDIA_only __GLX_VENDOR_LIBRARY_NAME=nvidia DRI_PRIME=1

Edit: this sounds like an easy fix, but getting there required a lot of combination testing between wayland vs xorg, internal and discrete gfx.

I also found that xorg with ardour nailed to the nvidia gpu was even smoother. But I also somehow destroyed my xfce4 in the process, so I will confirm this once that is fixed.

@GenGen have you tried to build plugins from the devel branch? I recently added OpenGL rendering via the separate thread. Maybe this will boost your experience with LSP + Ardour.

1 Like

Thanks for the hint, will try that if time allows. Right now I am just happy that I can finally explore your great plugin collection and listen to their magic. Btw, you are suspended on liberapay, tried to send you some money. Fucking politics. I hate seeing decent guys like you ground up in the games of powerful assholes. At the moment, I am not going near crypto, but honestly, it is the first time I feel that, this shit actually has a moraly sound use case.

1 Like

You can donate Boris via PayPal. He currently needs financial support much more than I.

3 Likes