[LAU] ubuntu lucid, ffado, firewire, jackd problems

From: Luka Princic // Nova deViator <nova@email-addr-hidden>
Date: Mon Aug 30 2010 - 16:09:11 EEST

hi everyone,

this one is a bit on the border between LAD and LAU, but i was hoping
somebody would help pointing me to the right direction...

i've installed new Ubuntu Lucid in june and didn't really check if my
Edirol FA-101 still works with it. now i checked it (a week before a
performance, haha) and it has problems - of course. after loads of
reading wikis and forums online i'm still failing although i'm almost
there. it seems the problem is the new kernel (>=2.6.32) that is
including new firewire stack (called 'juju'?). seems like ffado
(firewire audio 'library/driver') 2.0.0 is unable to talk to this new
stack. at the moment there are two directions to go - either stick with
older (-rt) kernel (i tried linux-image-2.6.31-11-rt) and ffado should
work as well as jack, or go ahead and try newer kernels with that new fw
(juju) stack, ffado 2.0.1 and libraw1394 2.0.5.

i have come very close to running it, but it stops with jack not
cooperating. ffado-test-streaming manages to talk to the device and
streames data to and from and shows all 10 ins and outs!

i was affraid to install jackd2 from maverick as that would upgrade a
lot of packages - effectively start an upgrade to Maverick Alpha...

please help. i'm somewhat desperate because of coming performance on
thursday.

here's what i have:
- basic system is lucid, but now with maverick repos (for newer
libraw1394 and ffado)
- running kernel linux-image-2.6.32-24-generic-pae (from lucid)
- libffado2 2.0.1+svn1856-1ubuntu1
- libraw1394-11 2.0.5-2ubuntu1
- chmod 777 /dev/raw1394

=======================================================================
$ cat /etc/security/limits.d/audio.conf
@audio - rtprio 99
@audio - memlock unlimited
#@audio - nice -19

=======================================================================
jack sais:
$ jackd -v -d firewire
[...]
new client: firewire_pcm, id = 1 type 1 @ 0x85cf120 fd = -1
new buffer size 1024
01651166042: (ffado.cpp)[ 92] ffado_streaming_init: libffado 2.999.0-
built Aug 11 2010 00:12:04 firewire ERR: Error creating FFADO streaming
device cannot load driver module firewire
starting server engine shutdown

[...]

=======================================================================
$ ffado-test ListDevices
-----------------------------------------------
FFADO test and diagnostic utility
Part of the FFADO project -- www.ffado.org
Version: 2.999.0-
(C) 2008, Daniel Wagner, Pieter Palmers
This program comes with ABSOLUTELY NO WARRANTY.
-----------------------------------------------

=== 1394 PORT 0 ===
  Node id GUID VendorId ModelId Vendor - Model
   0 0x000acd120070008a 0x00000ACD 0x00000000 Linux -
ohci1394 - 1 0x0040ab0000c24d8b 0x000040AB 0x00010048 EDIROL
- EDIROL FA-101 no message buffer overruns

=======================================================================
ffado-test-streaming

ffado_streaming_wait
============================================
Xruns: 0
============================================
----------------------------------------------------
Dumping StreamProcessorManager information...
Period count: 117
Data type: float
 Receive processors...
 StreamProcessor 0x821c3c8, Receive:
  Port, Channel : 0, 0
  Packets, Dropped, Skipped : 25054, 802, 0
  Now : 02709079182 (110s 1861c 2190t)
  Xrun? : False
  State : ePS_Running
  Buffer : 0x821c488
  Framerate : Nominal: 44100, Sync: 44099.974339, Buffer
44099.974339 TimestampedBuffer (0x821c488): 0408 frames, 0408 events
   Timestamps : head: 2708841755.328, Tail: 2709069125.256,
Next tail: 2709073583.490 Head - Tail : -227369.928
(-408.000762 frames) DLL Rate : 4458.225562 (557.278195)
   DLL Bandwidth : 4.069010e-09 1/ticks (0.100000 Hz)
 Transmit processors...
 StreamProcessor 0x821b048, Transmit:
  Port, Channel : 0, 1
  Packets, Dropped, Skipped : 25984, 0, 0
  Now : 02709088374 (110s 1864c 2166t)
  Xrun? : False
  State : ePS_Running
  Buffer : 0x82c07c0
  Framerate : Nominal: 44100, Sync: 44099.974339, Buffer
44099.979169 TimestampedBuffer (0x82c07c0): 2032 frames, 2032 events
   Timestamps : head: 2709479218.231, Tail: 2710611609.514,
Next tail: 2711182263.375 Head - Tail : -1132391.283
(-2032.004664 frames) DLL Rate : 570652.565216 (557.277896)
   DLL Bandwidth : 4.069010e-09 1/ticks (0.100000 Hz)
----------------------------------------------------
Port Information
 Playback
    0 (0x82c0848): [0x821b048] [ on] [ Audio] 0040ab0000c24d8b_LineOut
1+2 left 1 (0x8232848): [0x821b048] [ on] [ Audio]
0040ab0000c24d8b_LineOut 1+2 right 2 (0x8234010): [0x821b048] [ on]
[ Audio] 0040ab0000c24d8b_LineOut 3+4 left 3 (0x8234080): [0x821b048]
[ on] [ Audio] 0040ab0000c24d8b_LineOut 3+4 right 4 (0x82328c8):
[0x821b048] [ on] [ Audio] 0040ab0000c24d8b_LineOut 5+6 left 5
(0x8232938): [0x821b048] [ on] [ Audio] 0040ab0000c24d8b_LineOut 5+6
right 6 (0x82329a8): [0x821b048] [ on] [ Audio]
0040ab0000c24d8b_LineOut 7+8 left 7 (0x82c0540): [0x821b048] [ on]
[ Audio] 0040ab0000c24d8b_LineOut 7+8 right 8 (0x82c0578): [0x821b048]
[ on] [ Audio] 0040ab0000c24d8b_SpdifOut left 9 (0x82c05f8):
[0x821b048] [ on] [ Audio] 0040ab0000c24d8b_SpdifOut right 10
(0x82c0150): [0x821b048] [ on] [ MIDI] 0040ab0000c24d8b_MidiPort_1
Capture 0 (0x82178c0): [0x821c3c8] [ on] [ Audio]
0040ab0000c24d8b_MicIn1 left 1 (0x821c390): [0x821c3c8] [ on]
[ Audio] 0040ab0000c24d8b_MicIn1 right 2 (0x821b470): [0x821c3c8]
[ on] [ Audio] 0040ab0000c24d8b_LineIn 3+4 left 3 (0x82c0330):
[0x821c3c8] [ on] [ Audio] 0040ab0000c24d8b_LineIn 3+4 right 4
(0x82c0220): [0x821c3c8] [ on] [ Audio] 0040ab0000c24d8b_LineIn 5+6
left 5 (0x82c0290): [0x821c3c8] [ on] [ Audio]
0040ab0000c24d8b_LineIn 5+6 right 6 (0x82c0688): [0x821c3c8] [ on]
[ Audio] 0040ab0000c24d8b_LineIn 7+8 left 7 (0x82c06f8): [0x821c3c8]
[ on] [ Audio] 0040ab0000c24d8b_LineIn 7+8 right 8 (0x82c0730):
[0x821c3c8] [ on] [ Audio] 0040ab0000c24d8b_SpdifIn left 9
(0x82c0460): [0x821c3c8] [ on] [ Audio] 0040ab0000c24d8b_SpdifIn
right 10 (0x82c0788): [0x821c3c8] [ on] [ MIDI]
0040ab0000c24d8b_MidiPort_1
----------------------------------------------------

-- 
sujet est machinique!
Nova deViator ¤ http://deviator.si ¤ http://skylined.org ¤
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Mon Aug 30 16:15:09 2010

This archive was generated by hypermail 2.1.8 : Mon Aug 30 2010 - 16:15:10 EEST