Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

There are several solutions:

  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).

To test this, you can suspend pulseaudio while Jackd is running with pasuspender -- jackd or pulseaudio -k.

For a permanent solution we can give jackd real time permissions, by executing the following two commands verbatim:

  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 $USER or sudo adduser $USER audio -- Add yourself to the audio usergroup
  3. Finally, activate the new group by restarting your PC or user session (you can also do it in a single shell with su $USER -c guitarix).
share|improve this answer

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.