WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: jack with realtime  (Read 2686 times)

Offline amuctued

  • Newbie
  • *
  • Posts: 26
jack with realtime
« on: December 19, 2021, 10:03:43 AM »
User tc starts jack but Cannot lock down {number removed} byte memory area (Cannot allocate memory), Cannot use real-time scheduling and Operation not permitted

User root starts jack with realtime enabled

Tells me it's a permission issue. Then I read this https://jackaudio.org/faq/linux_rt_config.html where it mentions audio group and setting limits for it

I find this file on my system /etc/security/limits.d/audio.conf.disabled:
Code: [Select]
# Provided by the jackd package.                                                                                                                                                                                     
#                                                                                                                                                                                                                   
# Changes to this file will be preserved.                                                                                                                                                                           
#                                                                                                                                                                                                                   
# If you want to enable/disable realtime permissions, run                                                                                                                                                           
#                                                                                                                                                                                                                   
#    dpkg-reconfigure -p high jackd                                                                                                                                                                                 
                                                                                                                                                                                                                     
@audio   -  rtprio     95                                                                                                                                                                                           
@audio   -  memlock    unlimited                                                                                                                                                                                     
#@audio   -  nice      -19

According to the link above I make a copy of it to /etc/security/limits.d/audio.conf but realtime still won't work for tc (is in the audio group). Do I have to make this file available at boot? Are dpkg* commands supposed to work on dcore?
« Last Edit: December 19, 2021, 10:06:06 AM by amuctued »

Offline amuctued

  • Newbie
  • *
  • Posts: 26
Re: jack with realtime
« Reply #1 on: December 21, 2021, 12:56:48 PM »
I've set up a quick devuan vm to test this. In devuan jack did start with realtime under a non root but only with the audio.conf AND after a reboot.

I then tried to make the audio.conf available at boot in dcore, rebooted but no go.

I then tried including alsa-utils and jackd2 at boot, rebooted: no go.

What else can I be missing?