Ardour freezes every few seconds but recovers after a short wait

I’m running Ardour 9.2 from flathub on Fedora 43. This is a fresh installation. The only config change I made is to give the flatpak permission to read the entire file system for compatibility with certain plugins.

I haven’t had enough time yet to look for other ways to trigger this issue, but so far, when using LV2 plugins, the entire GUI will freeze every ~20 seconds of input (ranging from moving the mouse to clicking keys on the MIDI keyboard). The DSP usage is not very high, and if I open the system monitor during these freezes, I don’t see any system resources being exhausted. CPU usage does not appear to meaningfully change before/after the freeze. I have tried this with both ACE Fluid Synth and Cardinal Synth. It did seem to happen more quickly with Cardinal, so perhaps it is related to usage somehow.

How can I go about finding the root cause of this issue? The only suspicious thing I noticed during setup was the warning about ulimit which I have not yet addressed, but that limit seems to be set high enough that I would not expect an issue, and memory usage is not high.

1 Like

First step is always to try an official build from Download Ardour | Ardour Community The free/demo copy can be installed in parallel with the one you got from Fedora.

1 Like

Note that the OP is using the flatpak which does not come from fedora. There is a build of ardour in the fedora repository which the op could try by installing using DNF. That is similar to the official build but linked with system libraries rather than the ardour project library stack.

I’m able to reproduce the issue in the free/demo build from the Ardour website as well as the Fedora RPM package.

Sounds like you lack a lot of tuning required for proper realtime audio.

Short of using a dedicated Linux-Audio distro (AVLinux, Ubuntu Studio, etc), perhaps investigate with

Then again you presumably use XWayland on Fedora, which is known to have various issues.

That is good to know, and I’ll investigate that soon, but I’m not sure why my audio setup would cause the GUI to freeze for several seconds at a time, even when not playing audio.

I am running Fedora 43 and Ardour runs without issues with the GUI or the Desktop. However it should be noted that I build my Ardour install from source. I also run the Mate DE spin which still uses Xorg.