Ardour 8 on Ubuntu 24.04 – Set memory unlimited and real-time priority.

Install Ardour 8 from Flathub or build it yourself. Flatpak is not installed on Ubuntu 24.04 so you will need to set it up.

This should also work for Renoise if it uses Pipewire. The limits file will not work.

When you run Ardour you will likely receive the following warning:

Your system has a limit for maximum amount of locked memory. This might cause Ardour to run out of memory before your system runs out of memory.

The fix is easy.

Edit the following files.

sudo nano /etc/security/limits.d/25-pw-rlimits.conf (your file may or may not be the same name)

Change the values to those below, or whatever suits your needs:

@pipewire – rtprio 99
@pipewire – nice -19
@pipewire – memlock unlimited

Save the file with Ctrl + o then enter. Ctrl + x will exit nano.

@pipewire is a group so you need to edit one more file.

sudo nano /etc/group

Add your username to the @pipewire group, i.e., pipewire:x:118:your_user_name (your_user_name should be your actual user name).

Save the file then reboot.