qjackctl + jackd problem

Notimeproductions
Posts: 3
Joined: 2007-11-15

so i get the jack server not running error when i try to start ardour. then when i try to run jackcontrol it says that it could not conect to the jack served either.

this is what it gives me

21:58:49.642 Startup script...
21:58:49.642 artsshell -q terminate
JACK tmpdir identified as [/dev/shm]
sh: artsshell: not found
21:58:49.846 Startup script terminated with exit status=32512.
21:58:49.846 JACK is starting...
21:58:49.846 /usr/bin/jackd -R -dalsa -dhw:0 -r44100 -p1024 -n2
21:58:49.847 JACK was started with PID=12759 (0x31d7).
jackd 0.103.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
cannot use real-time scheduling (FIFO at priority 10) [for thread -1210770752, from thread -1210770752] (1: Operation not permitted)
cannot create engine
21:58:49.853 JACK was stopped successfully.
21:58:49.853 Post-shutdown script...
21:58:49.853 killall jackd
jackd: no process killed
21:58:50.057 Post-shutdown script terminated with exit status=256.
21:58:51.953 Could not connect to JACK server as client. Please check the messages window for more info.
JACK tmpdir identified as [/dev/shm]

oh yea im running ubuntu 7.10


L1nX
Posts: 19
Joined: 2006-04-18
Do you have a realtime

Do you have a realtime kernel and have you setup your /etc/security/limits.conf file correctly?

Gutsy has a realtime kernel in the multiverse ubuntu apt repository, you can install it by running: “apt-get install linux-rt” and restarting after everything has been downloaded and installed.

Your /etc/security/limits.conf file should have something similar to this:

@audio - rtprio 99
@audio - memlock 500000
@audio - nice -10

Then make sure that the user you are running jack with is a member of the audio group. I’ve been running JACK realtime under Gutsy since it was released and it’s been very stable for me so far :)


Notimeproductions
Posts: 3
Joined: 2007-11-15
im sorry ive just started

im sorry ive just started getting into linux.

i installed the linux-rt however my limits.conf file doesn’t have anything like what you posted

in order to get jack control to work i have to run it from the terminal as root (sudo qjackctl) i cant figure out how to run ardour as root, would that allow it to run?

thank you for the help


L1nX
Posts: 19
Joined: 2006-04-18
You can run all your jack

You can run all your jack applications as root but it is a much better idea to run jack and all other applications as your normal user.

You can do something like this:

sudo gedit /etc/security/limits.conf

and add:
USERNAME - rtprio 99
USERNAME - memlock 500000
USERNAME - nice -10

And just replace “USERNAME” with your username. Save that. I think you may have to restart and everything should run okay without having to run qjackctl as root.


Notimeproductions
Posts: 3
Joined: 2007-11-15
well that worked, thanks.

well that worked, thanks.

im running a usb M-audio mobilepre, i can select it as an input in jack but i cant record from ardour. any ideas?


freezing pete
Posts: 7
Joined: 2007-11-25
I’m also new to Linux and

I’m also new to Linux and Ardour and after spending many hours (days) reading and trying things out, hopefully these may help you;

Check your Qjackctl Connections? There should be Capture & Playback entries relating to your M-audio mobilepre Input\Output. If not then you’ve got some other problem, probably hardware related.

Ensure the track you are recording to is ’armed’ via the Record icon button - not just the one at the top of the screen. I was bashing my head against the desk for quite a while trying to work out why one minute I was recording, then shortly after I couldn’t - believed I stuffed the Connections up and try a million different combinations - what a waste of time, all I had to do was hit that little record button!!!


carricre
Posts: 1
Joined: 2008-04-13
Though not directly a

Though not directly a problem with ardour, this forum seems the only place with answers for folks running ubuntu/xubuntu 7.10

I do in fact have the linux-rt kernel and the realtime-lsm stuff installed, but I’m having a curious problem.

I can run jackd in realtime fro the commandline no trouble with this command:

jackd -R -p128 -dalsa -dhw:0 -r96000 -p1024 -n2

and it runs loads fine, sort of. I mean it runs but gives me no errors even though nothing can connect to it.

Running qjackctl with the same command for starting jack spits out this error:

12:12:41.245 Patchbay deactivated.
12:12:41.287 Statistics reset.
12:12:41.342 MIDI connection graph change.
JACK tmpdir identified as [/dev/shm]
12:12:41.507 MIDI connection change.
12:12:42.558 Startup script...
12:12:42.558 artsshell -q terminate
JACK tmpdir identified as [/dev/shm]
sh: artsshell: not found
12:12:42.761 Startup script terminated with exit status=32512.
12:12:42.762 JACK is starting...
12:12:42.762 jackd -R -p128 -m -dalsa -dhw:0 -r96000 -p1024 -n2
12:12:42.770 JACK was started with PID=19118 (0x4aae).
jackd 0.103.0
Copyright 2001-2005 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
JACK compiled with System V SHM support.
loading driver ..
Enhanced3DNow! detected
SSE2 detected
apparent rate = 96000
creating alsa driver ... hw:0|hw:0|1024|2|96000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 96000Hz, period = 1024 frames, buffer = 2 periods
ALSA: final selected sample format for capture: 32bit little-endian
ALSA: use 2 periods for capture
ALSA: final selected sample format for playback: 32bit little-endian
ALSA: use 2 periods for playback
12:12:44.933 Could not connect to JACK server as client. Please check the messages window for more info.
JACK tmpdir identified as [/dev/shm]

Trying to figure out what gives, the limits.conf stuff I added for both the audio group and my regular user name. Still nada.

The card is an M-Audio Audiophile 2496.

And ideas?

Oh yes, and I checked, /dev/shm is mod 777 and all the /dev/snd stuff is owned by root:audio.

I’m at a loss.