[PlanetCCRMA] Newbie: can't get jackd to work

Jeroen Baten jbaten@i2rs.nl
Fri Sep 30 13:10:02 2005


Op vrijdag 30 september 2005 20:15, schreef Mark Knecht:
> You might enable realtime in QJC and then post back the first part of
> the message window where Jack is starting, just so we could get a look
> at what's going on.

00:06:50.364 Patchbay activated.
00:06:50.691 Statistics reset.
00:06:50.765 MIDI connection graph change.
00:06:50.896 MIDI active patchbay scan...
00:06:50.897 p2: 62:0 Midi Through -> 62:0 Midi Through checked.
00:06:50.897 MIDI connection change.
00:06:51.098 MIDI active patchbay scan...
00:06:51.098 p2: 62:0 Midi Through -> 62:0 Midi Through checked.
00:06:52.251 Startup script...
00:06:52.251 artsshell -q terminate
00:06:52.466 Startup script terminated with exit status=256.
00:06:52.466 JACK is starting...
00:06:52.466 /usr/bin/jackd -v -R -dalsa -dhw:0 -r48000 -p1024 -n2
00:06:52.470 JACK was started with PID=5824 (0x16c0).
cannot write to jackstart sync pipe 4 (Bad file descriptor)
jackd: wait for startup process exit failed
getting driver descriptor from /usr/lib/jack/jack_dummy.so
getting driver descriptor from /usr/lib/jack/jack_oss.so
getting driver descriptor from /usr/lib/jack/jack_alsa.so
jackd 0.99.36
Copyright 2001-2003 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.
server `default' registered
loading driver ..
apparent rate = 48000
creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit
control device hw:0
configuring for 48000Hz, period = 1024 frames, buffer = 2 periods
Couldn't open hw:0 for 32bit samples trying 24bit instead
Couldn't open hw:0 for 24bit samples trying 16bit instead
nperiods = 2 for capture
nperiods = 2 for playback
5824 waiting for signals
00:06:54.514 Server configuration saved to "/home/jeroen/.jackdrc".
00:06:54.514 Statistics reset.
00:06:54.530 Client activated.
00:06:54.530 Audio connection change.
00:06:54.531 Audio connection graph change.
registered builtin port type 32 bit float mono audio
required capabilities not available
capabilities: = cap_ipc_lock,cap_sys_nice,cap_sys_resource+e
new client: alsa_pcm, id = 1 type 1 @ 0x805aa68 fd = -1
new buffer size 1024
registered port alsa_pcm:capture_1, offset = 4096
registered port alsa_pcm:capture_2, offset = 8192
registered port alsa_pcm:playback_1, offset = 0
registered port alsa_pcm:playback_2, offset = 0
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
-- jack_rechain_graph()
new client: qjackctl-5822, id = 2 type 2 @ 0xb5f40000 fd = 14
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
client qjackctl-5822: start_fd=6, execution_order=0.
client qjackctl-5822: wait_fd=13, execution_order=1 (last client).
-- jack_rechain_graph()
00:06:54.553 XRUN callback (1).
00:06:54.730 Audio active patchbay scan...
00:06:54.732 p2: alsa_pcm:capture_1 -> alsa_pcm:playback_1 connected.
00:06:54.733 p2: alsa_pcm:capture_2 -> alsa_pcm:playback_2 connected.
00:06:54.735 Audio connection graph change.
connect alsa_pcm:capture_1 and alsa_pcm:playback_1 (output)
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
client qjackctl-5822: start_fd=6, execution_order=0.
client qjackctl-5822: wait_fd=13, execution_order=1 (last client).
-- jack_rechain_graph()
connect alsa_pcm:capture_2 and alsa_pcm:playback_2 (output)
++ jack_rechain_graph():
client alsa_pcm: internal client, execution_order=0.
client qjackctl-5822: start_fd=6, execution_order=0.
client qjackctl-5822: wait_fd=13, execution_order=1 (last client).
-- jack_rechain_graph()
00:06:54.934 Audio active patchbay scan...
00:06:54.935 p2: alsa_pcm:capture_1 -> alsa_pcm:playback_1 checked.
00:06:54.936 p2: alsa_pcm:capture_2 -> alsa_pcm:playback_2 checked.
00:06:56.544 XRUN callback (48 skipped).
00:06:58.555 XRUN callback (48 skipped).
00:07:00.572 XRUN callback (49 skipped).
jackd watchdog: timeout - killing jackd
00:07:02.580 XRUN callback (46 skipped).
zombified - calling shutdown handler
00:07:02.765 Shutdown notification.
00:07:02.766 Client deactivated.
00:07:02.767 JACK is stopping...
cannot read result for request type 7 from server (Verbinding door partner 
opnieuw ingesteld)
cannot send request type 7 to server
cannot read result for request type 7 from server (Gebroken pijp)
00:07:02.967 JACK was stopped successfully.

> Is this new hardware? 

Yep.

> I just brought up a new AMD64 machine over the 
> last few weeks. Until last night I couldn't get it to run xrun free. I
> had to build my own kernel which is not much of an issue, but it took
> quite a while to find the right one to build. If you're using newish
> hardware then consider trying what I built. (2.6.14-rc2-rt7) 

Can you mail me your .config please?
Where can I get the source if its not kernel.org?

> Fernando 
> may or may not have a good FC3 kernel yet for newish hardware.

Who is Fernando? (or is this a really stupid question :-)

> Stanford has just started their year and I'm sure he's busy teaching
> classes and keeping all those CCRMA people in line. That, and playing
> in their new studio.. ;-)
>
> Cheers,
> Mark

-- 
  Jeroen Baten            | EMAIL :  JBATEN@I2RS.NL
 ____  _  __              | web   :  www.i2rs.nl
  |  )|_)(_               | tel   :  +31 (0)499 477 688
 _|_/_| \__)              | fax   :  +31 (0)499 476 804
Roerlaan 36, 5691 HJ, Son, the Netherlands