Menu

#69 Tuner doesn't start: mlockall failed: failed to lock memory: Cannot allocate memory

closed
brummer
None
v1.0_(example)
1
2018-10-01
2018-09-26
Anonymous
No

Getting this on startup, everthing works afterwards but tuner (and I really miss the tuner...)

[16:38:25]  system init  ***  mlockall failed:
[16:38:25]  system init  ***  failed to lock memory: Cannot allocate memory
[16:38:25]  Jack init  ***  The jack sample rate is 96000/sec
[16:38:25]  Jack init  ***  The jack buffer size is 512/frames ... 
[16:38:25]  PitchTracker  ***  error creating realtime thread - tuner not started

Discussion

  • brummer

    brummer - 2018-09-26

    To use the tuner you need to run jackd with realtime privileges. If you run a debian based system you could run
    sudo dpkg-reconfigure jackd or sudo dpkg-reconfigure jackd2
    depending on your used jack version, and select 'yes' to enable realtime privileges.

     
  • brummer

    brummer - 2018-09-26
    • assigned_to: brummer
     
  • Anonymous

    Anonymous - 2018-09-26

    Hi,
    I am running jack in real time, see the attached screenshot...

     
  • brummer

    brummer - 2018-09-27

    The message usually indicate that you ain't use realtime and ain't has the right to use mlock. Could you run guitarix and post the output of the command:
    ps -eLo pid,rtprio,cmd | grep guitarix

     
  • Anonymous

    Anonymous - 2018-09-30

    OK apparently to be able to use realtime Arch people now need to add themselves to realtime group. Now I get no more errors on startup - but still tuner doesn't work... But after deleting my ~/.config/guitarix (stupid me deleted instead of backing up my configs...) and figuring out tuner doesn't work but I also hear nothing I realized that tuner didn't work because the volume was too low (the set of plugins I used was amplifying it too much so I could hear it)...
    Anyway thanks for help I'm back on track now!

     
  • brummer

    brummer - 2018-10-01
    • status: open --> closed
     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB