From: C C. <cc...@oh...> - 2004-08-25 09:30:12
|
> > Having added some audio parts to a mostly midi project, Muse almost > > invariably hangs when play is pressed. It prints an error message in > > the terminal (something like jack: zombified - exiting). > The Muse+jack problem is because muse is exceeding its realtime slot - you > proably need to increase the period size (frames/period in qjackctl). Also > make sure jackd is really running in realtime mode. No luck I'm afraid :( - both of these done and muse still hangs. This couldn't be a kernel problem could it? Maybe I should use capabilities instead of the ccrma kernel, or is that just silly? More sensible ideas would definitely be welcome! Verbose output from Jack attached below. Thanks Crispin ==jack output== 10:21:16.606 /usr/bin/jackstart -v -R -dalsa -dhw:0 -r44100 -p4096 -n2 -S 10:21:16.614 JACK was started with PID=1746 (0x6d2). back from read, ret = 1 errno == Success getting driver descriptor from /usr/lib/jack/jack_alsa.so getting driver descriptor from /usr/lib/jack/jack_dummy.so getting driver descriptor from /usr/lib/jack/jack_oss.so jackd 0.98.0 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 registered builtin port type 32 bit float mono audio capabilities: =i cap_setpcap,cap_ipc_lock,cap_sys_nice,cap_sys_resource+ep loading driver .. new client: alsa_pcm, id = 1 type 1 @ 0x8058fc0 fd = -1 apparent rate = 44100 creating alsa driver ... hw:0|hw:0|4096|2|44100|0|0|nomon|swmeter|-|16bit control device hw:0 configuring for 44100Hz, period = 4096 frames, buffer = 2 periods new buffer size 4096 registered port alsa_pcm:capture_1, offset = 16384 registered port alsa_pcm:capture_2, offset = 32768 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() 1746 waiting for signals load = 0.0775 max usecs: 144.000, spare = 92735.000 10:21:18.698 Server configuration saved to "/home/crispin/.jackdrc" 10:21:18.701 Statistics reset. 10:21:18.746 Client activated. 10:21:18.749 Audio connection change. 10:21:18.758 Audio connection graph change. new client: qjackctl-1745, id = 2 type 2 @ 0x40a06000 fd = 19 gave capabilities to process 1745 ++ jack_rechain_graph(): client alsa_pcm: internal client, execution_order=0. client qjackctl-1745: start_fd=11, execution_order=0. client qjackctl-1745: wait_fd=18, execution_order=1 (last client). -- jack_rechain_graph() load = 0.0958 max usecs: 106.000, spare = 92773.000 load = 0.1109 max usecs: 117.000, spare = 92762.000 load = 0.1287 max usecs: 136.000, spare = 92743.000 10:21:22.192 MIDI connection graph change. 10:21:22.381 MIDI connection change. new client: MusE, id = 3 type 2 @ 0x41cb5000 fd = 22 registered port MusE:output1, offset = 49152 10:21:22.475 Audio connection graph change. registered port MusE:output2, offset = 65536 registered port MusE:input1, offset = 0 registered port MusE:input2, offset = 0 10:21:22.585 Audio connection change. 10:21:22.621 MIDI connection graph change. gave capabilities to process 1754 load = 0.1375 max usecs: 136.000, spare = 92743.000 ++ jack_rechain_graph(): client qjackctl-1745: start_fd=11, execution_order=0. client qjackctl-1745: wait_fd=18, execution_order=1. client alsa_pcm: internal client, execution_order=2. client MusE: start_fd=21, execution_order=2. client MusE: wait_fd=24, execution_order=3 (last client). -- jack_rechain_graph() 10:21:23.516 Audio connection graph change. connect MusE:output1 and alsa_pcm:playback_1 ++ jack_rechain_graph(): client MusE: start_fd=11, execution_order=0. client MusE: wait_fd=18, execution_order=1. client alsa_pcm: internal client, execution_order=2. client qjackctl-1745: start_fd=21, execution_order=2. client qjackctl-1745: wait_fd=24, execution_order=3 (last client). -- jack_rechain_graph() connect MusE:output2 and alsa_pcm:playback_2 ++ jack_rechain_graph(): client qjackctl-1745: start_fd=11, execution_order=0. client MusE: in subgraph after qjackctl-1745, execution_order=1. client qjackctl-1745: wait_fd=21, execution_order=2. client alsa_pcm: internal client, execution_order=3. -- jack_rechain_graph() connect alsa_pcm:capture_1 and MusE:input1 ++ jack_rechain_graph(): client alsa_pcm: internal client, execution_order=0. client MusE: start_fd=11, execution_order=0. client qjackctl-1745: in subgraph after MusE, execution_order=1. client MusE: wait_fd=21, execution_order=2 (last client). -- jack_rechain_graph() connect alsa_pcm:capture_2 and MusE:input2 ++ jack_rechain_graph(): client qjackctl-1745: start_fd=11, execution_order=0. client qjackctl-1745: wait_fd=18, execution_order=1. client alsa_pcm: internal client, execution_order=2. client MusE: start_fd=21, execution_order=2. client MusE: wait_fd=24, execution_order=3 (last client). -- jack_rechain_graph() load = 0.8989 max usecs: 1542.000, spare = 91337.000 load = 1.2796 max usecs: 1542.000, spare = 91337.000 subgraph starting at MusE timed out (subgraph_wait_fd=24, status = 0, state = Running) at 1311590890 client waiting on 24 took 93468 usecs, status = 1 sig = 1311497418 awa = 1311497461 fin = 0 dur=0 client MusE error: awake_at = 1311497461 state = 2 timed_out = 2 client failure: client MusE state = Running errors = 1 *&*&*&*&** senor MusE - you are a ZOMBIE DIS-connect alsa_pcm:capture_2 and MusE:input2 DIS-connect alsa_pcm:capture_1 and MusE:input1 DIS-connect MusE:output2 and alsa_pcm:playback_2 DIS-connect MusE:output1 and alsa_pcm:playback_1 ++ jack_rechain_graph(): client alsa_pcm: internal client, execution_order=0. client qjackctl-1745: start_fd=11, execution_order=0. client qjackctl-1745: wait_fd=18, execution_order=1 (last client). -- jack_rechain_graph() **** alsa_pcm: xrun of at least 1.801 msecs 10:21:25.913 Audio connection graph change. 10:21:25.915 XRUN callback. (1) |