Talk:Configuring Rivendell to work with ALSA
From Rivendell Wiki
I don't know if I have ALSA and Jack configured properly or what the reason is for no audio but there is still no sound coming through. Also I am not able to select a sound card in the manage hosts button of rdadmin.
I am using JACK control and start it manually prior to starting RDAirplay. This is the content of "Messages - JACK Audio Connection Kit" From start of Jack then starting RDairplay and then adding a cut and clicking on the green square.
- 16:35:48.328 Patchbay activated.
- 16:35:48.489 Statistics reset.
- 16:35:49.011 ALSA connection graph change.
- 16:35:49.017 MIDI active patchbay scan...
- 16:35:49.035 ALSA connection change.
- 16:35:49.294 MIDI active patchbay scan...
- 16:36:04.116 Startup script...
- 16:36:04.117 artsshell -q terminate
- sh: artsshell: not found
- 16:36:04.521 Startup script terminated with exit status=32512.
- 16:36:04.524 JACK is starting...
- 16:36:04.526 /usr/bin/jackd -dalsa -dhw:0 -r44100 -p1024 -n2
- 16:36:04.546 JACK was started with PID=6099.
- jackd 0.109.2
- 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 ..
- apparent rate = 44100
- creating alsa driver ... hw:0|hw:0|1024|2|44100|0|0|nomon|swmeter|-|32bit
- control device hw:0
- configuring for 44100Hz, period = 1024 frames (23.2 ms), buffer = 2 periods
- ALSA: final selected sample format for capture: 16bit little-endian
- ALSA: use 2 periods for capture
- ALSA: final selected sample format for playback: 16bit little-endian
- ALSA: use 2 periods for playback
- 16:36:06.720 Server configuration saved to "/home/ciam/.jackdrc".
- 16:36:06.722 Statistics reset.
- 16:36:06.729 Client activated.
- 16:36:06.735 JACK connection change.
- 16:36:06.815 JACK connection graph change.
- 16:36:06.940 Audio active patchbay scan...
- 16:36:14.063 JACK connection graph change.
- unknown source port in attempted connection [rivendell_1:playout_0L]
- unknown source port in attempted connection [rivendell_1:playout_0R]
- unknown source port in attempted connection [rivendell_1:playout_1L]
- unknown source port in attempted connection [rivendell_1:playout_1R]
- unknown source port in attempted connection [rivendell_1:playout_2L]
- unknown source port in attempted connection [rivendell_1:playout_2R]
- unknown source port in attempted connection [rivendell_1:playout_3L]
- unknown source port in attempted connection [rivendell_1:playout_3R]
- unknown source port in attempted connection [rivendell_1:playout_4L]
- unknown source port in attempted connection [rivendell_1:playout_4R]
- unknown source port in attempted connection [rivendell_1:playout_5L]
- unknown source port in attempted connection [rivendell_1:playout_5R]
- unknown source port in attempted connection [rivendell_1:playout_6L]
- unknown source port in attempted connection [rivendell_1:playout_6R]
- unknown source port in attempted connection [rivendell_1:playout_7L]
- unknown source port in attempted connection [rivendell_1:playout_7R]
- unknown destination port in attempted connection [rivendell_1:record_0L]
- unknown destination port in attempted connection [rivendell_1:record_0R]
- 16:36:14.257 Audio active patchbay scan...
- 16:36:14.271 rivendell: rivendell_0:playout_0L -> system:playback_1 connected.
- 16:36:14.275 rivendell: rivendell_0:playout_0R -> system:playback_2 connected.
- 16:36:14.297 JACK connection change.
- 16:36:14.302 JACK connection graph change.
- 16:36:14.500 Audio active patchbay scan...
- 16:36:14.503 rivendell: rivendell_0:playout_0L -> system:playback_1 checked.
- 16:36:14.506 rivendell: rivendell_0:playout_0R -> system:playback_2 checked.
- alsa_pcm: xrun of at least 7.325 msecs
- 16:36:27.189 XRUN callback (1).
- 16:36:27.429 JACK connection graph change.
- cannot read event response from client [rivendell_0] (Connection reset by peer)
- alsa_pcm: xrun of at least 224.706 msecs
- 16:36:27.434 Audio active patchbay scan...
- 16:36:27.447 JACK connection change.
- 16:36:27.651 Audio active patchbay scan...
- 16:36:29.068 XRUN callback (1 skipped).
- 16:37:29.915 XRUN callback (3).
- alsa_pcm: xrun of at least 15.499 msecs
- 16:37:32.265 XRUN callback (4).
- alsa_pcm: xrun of at least 2.295 msecs
16:37:51.515 XRUN callback (5).
- alsa_pcm: xrun of at least 13.746 msecs
- alsa_pcm: xrun of at least 17.993 msecs
16:37:52.052 XRUN callback (1 skipped).
- 16:38:00.327 XRUN callback (7).
- alsa_pcm: xrun of at least 3.813 msecs
16:38:27.529 XRUN callback (8).
- alsa_pcm: xrun of at least 10.218 msecs
- alsa_pcm: xrun of at least 1.130 msecs
16:38:28.405 XRUN callback (1 skipped).
- 16:38:30.799 XRUN callback (10).
- alsa_pcm: xrun of at least 5.690 msecs
16:38:38.972 XRUN callback (11).
- alsa_pcm: xrun of at least 0.772 msecs
- alsa_pcm: xrun of at least 16.871 msecs
16:38:40.568 XRUN callback (1 skipped).
- alsa_pcm: xrun of at least 1.328 msecs
16:38:47.545 XRUN callback (13). 16:38:53.257 XRUN callback (14).
- alsa_pcm: xrun of at least 0.464 msecs
16:38:54.644 XRUN callback (15).
- alsa_pcm: xrun of at least 0.456 msecs
16:38:54.695 XRUN callback (1 skipped). 16:40:24.729 XRUN callback (16).
- alsa_pcm: xrun of at least 13.144 msecs
16:40:29.211 XRUN callback (17).
- alsa_pcm: xrun of at least 3.832 msecs
16:40:58.520 XRUN callback (18).
- alsa_pcm: xrun of at least 2.094 msecs
16:41:03.205 XRUN callback (19).
- alsa_pcm: xrun of at least 14.623 msecs
- alsa_pcm: xrun of at least 4.651 msecs
- alsa_pcm: xrun of at least 0.926 msecs
16:41:05.006 XRUN callback (21). 16:41:05.840 XRUN callback (1 skipped).
- alsa_pcm: xrun of at least 0.842 msecs
16:41:06.140 XRUN callback (22).
- alsa_pcm: xrun of at least 1.550 msecs
16:41:15.460 XRUN callback (23).
- alsa_pcm: xrun of at least 0.434 msecs
- alsa_pcm: xrun of at least 0.521 msecs
16:41:15.958 XRUN callback (2 skipped). 16:41:21.097 XRUN callback (26).
- alsa_pcm: xrun of at least 10.109 msecs
- alsa_pcm: xrun of at least 5.612 msecs
16:41:22.054 XRUN callback (1 skipped).
- alsa_pcm: xrun of at least 0.538 msecs
16:41:34.483 XRUN callback (28).
- alsa_pcm: xrun of at least 11.457 msecs
- alsa_pcm: xrun of at least 7.841 msecs
16:41:36.177 XRUN callback (2 skipped). 16:41:39.231 XRUN callback (31).
- alsa_pcm: xrun of at least 0.531 msecs
16:41:44.508 XRUN callback (32).
- alsa_pcm: xrun of at least 8.662 msecs
16:41:53.562 XRUN callback (33).
- alsa_pcm: xrun of at least 6.994 msecs
16:42:00.194 XRUN callback (34).
- alsa_pcm: xrun of at least 2.389 msecs
16:42:01.197 XRUN callback (35).
- alsa_pcm: xrun of at least 0.147 msecs
- alsa_pcm: xrun of at least 7.857 msecs
16:42:02.465 XRUN callback (1 skipped). 16:42:02.891 XRUN callback (37).
- alsa_pcm: xrun of at least 0.583 msecs
- alsa_pcm: xrun of at least 0.219 msecs
- alsa_pcm: xrun of at least 8.736 msecs
16:42:04.504 XRUN callback (2 skipped). 16:42:07.151 XRUN callback (40).
- alsa_pcm: xrun of at least 22.352 msecs
16:43:25.380 XRUN callback (41).
- alsa_pcm: xrun of at least 1.775 msecs
- alsa_pcm: xrun of at least 0.068 msecs
- 16:43:53.416 XRUN callback (42).
- 16:46:51.714 JACK connection graph change.
- unknown source port in attempted connection [rivendell_1:playout_0L]
- unknown source port in attempted connection [rivendell_1:playout_0R]
- unknown source port in attempted connection [rivendell_1:playout_1L]
- unknown source port in attempted connection [rivendell_1:playout_1R]
- unknown source port in attempted connection [rivendell_1:playout_2L]
- unknown source port in attempted connection [rivendell_1:playout_2R]
- unknown source port in attempted connection [rivendell_1:playout_3L]
- unknown source port in attempted connection [rivendell_1:playout_3R]
- unknown source port in attempted connection [rivendell_1:playout_4L]
- unknown source port in attempted connection [rivendell_1:playout_4R]
- unknown source port in attempted connection [rivendell_1:playout_5L]
- unknown source port in attempted connection [rivendell_1:playout_5R]
- unknown source port in attempted connection [rivendell_1:playout_6L]
- unknown source port in attempted connection [rivendell_1:playout_6R]
- unknown source port in attempted connection [rivendell_1:playout_7L]
- unknown source port in attempted connection [rivendell_1:playout_7R]
- unknown destination port in attempted connection [rivendell_1:record_0L]
- unknown destination port in attempted connection [rivendell_1:record_0R]
- 16:46:51.993 Audio active patchbay scan...
- 16:46:52.001 rivendell: rivendell_0:playout_0L -> system:playback_1 connected.
- 16:46:52.007 rivendell: rivendell_0:playout_0R -> system:playback_2 connected.
- 16:46:52.028 JACK connection change.
- 16:46:52.033 JACK connection graph change.
- 16:46:52.231 Audio active patchbay scan...
- 16:46:52.236 rivendell: rivendell_0:playout_0L -> system:playback_1 checked.
- 16:46:52.239 rivendell: rivendell_0:playout_0R -> system:playback_2 checked.
- 16:47:09.207 XRUN callback (43).
- alsa_pcm: xrun of at least 3.236 msecs
16:48:19.078 Transport start. 16:48:23.332 XRUN callback (44).
- --Phil Peters 00:12, 28 March 2008 (CET)

