Take the 2-minute tour ×

Has anyone any experience with Guitarix ? I have Jack set up and working well with Rakarrak but it wont work with Guitarix It tells me "could not allocate memory" dont understand why.

Am I missing something ?

Please help...

ulimit -a

core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 47217
max locked memory       (kbytes, -l) unlimited
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 95
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 47217
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
share|improve this question
Can you add the full error? –  Anders F. U. Kiær Dec 13 '13 at 20:23
Can you add the output of ulimit -a –  Anders F. U. Kiær Dec 13 '13 at 20:37
Unfortunately I could not recreate the error message but the is still no input of output from the amp –  mark kirby Dec 15 '13 at 10:30
For the memory issue, could it be that you did try to run it on another user that had limitations? (a user that did not reside in a privileged audio group?) –  Anders F. U. Kiær Dec 15 '13 at 20:58
When you started Guitarix, did it show up in jackd? Did you connect its sink to a source? and its output to anything? –  Anders F. U. Kiær Dec 15 '13 at 22:21
show 2 more comments

2 Answers

This error seems to du to pulseaudio and jackd running at the same time.

Suspend pulseaudio while Jackd is running with for example pasuspender -- jackd or pulseaudio -k.

For the explanation and available solutions read this webpage.

Also there is a safer and cleaner way to configure it in your case :

  1. sudo dpkg-reconfigure -p high jackd2 -- Then choose yes, you want to lock down memory and have rtprio scheduling privilege. This will add those lines automatically to config files.
  2. sudo usermod -a -G audio yourusername or sudo adduser yourusername audio -- Add yourself to the audio usergroup

You can either :

  1. Route PulseAudio to Jack while Jack is running
  2. Suspend PulseAudio while Jack is running
  3. Use two different sound cards
  4. Do not use pulseaudio while Jack's running (solution provided in this answer).
share|improve this answer
add comment

Most likely this is a bug with either guitarix or with your hardware.


pulseaudio -k
jackd -d alsa & guitarix

After you have finished with guitarx, kill jackd

killall jackd
share|improve this answer
add comment

Your Answer


