[solved] Qjackctl, Ardour, no realtime permission error, pipewire

Started by Sidpiet, 2026/03/11, 16:05:26

Previous topic - Next topic

Sidpiet

Dear Forum,

if I tried to start Ardour by using jack2 I got an error "No realtime", the log of Qjackctl shows the message as well, with the hint "no permission" or similar.

The file  /etc/security/limits.d/audio.conf should be fine:


@audio   -  rtprio     95
@audio   -  memlock    unlimited


My user is member of the group "audio".

After a long search I found a solution, which helps other users hopefully:


sudo sysctl -w kernel.sched_rt_runtime_us=-1


My question is how to make it permanent?

Thank you!

Sidpiet

ro_sid

Quote from: Sidpiet on 2026/03/11, 16:05:26
Dear Forum,
[...]
After a long search I found a solution, which helps other users hopefully:


sudo sysctl -w kernel.sched_rt_runtime_us=-1


My question is how to make it permanent?

Thank you!

Sidpiet
Make a file with a name to your liking ending in .conf (e.g. ardour.conf or 99-ardour.conf) and put it into the /etc/sysctl.d directory.
Write "your" kernel.sched_rt_runtime_us=-1 into it and it will (or should  :) ) be executed automatically on the next boot.

Sidpiet

Hi ro_sid,

Quote
Make a file with a name to your liking ending in .conf (e.g. ardour.conf or 99-ardour.conf) and put it into the /etc/sysctl.d directory.

works! I put it in the /etc/sysctl.conf before, which not did the trick!

Thank you!


Kind regard

Sidpiet

ro_sid

Quote from: Sidpiet on 2026/03/12, 20:39:35
Hi ro_sid,
Quote
Make a file with a name to your liking ending in .conf (e.g. ardour.conf or 99-ardour.conf) and put it into the /etc/sysctl.d directory.
works! I put it in the /etc/sysctl.conf before, which not did the trick!
Systemds(!) sysctl does not evaluate /etc/sysctl.conf :(.
Quote
Thank you!

Kind regard

Sidpiet
You are very welcome.