FFADO and new firewire-stack

  • zettberlin
Posted: Tue, 05/05/2009 - 21:54
I use a recent beta with: Linux 64studio 2.6.29-1-multimedia-amd64 #1 SMP PREEMPT RT Thu Feb 26 16:18:05 UTC 2009 x86_64 GNU/Linux as I plug my presonus firebox /var/log/messages says: firewire_core: created device fw1 very nice but alas: FFADO cannot read fw1 and it will not before long. Two questions: 1.) is there anybody that has managed to work with a fw-device on a similar installation of 64studio? 2.) is there anything I can do to get /dev/raw1394 with this Kernel?

Successful Attempt

  • bijubina
  • 06/25/09
  • Thu, 06/25/2009 - 11:44
I tried the 64studio 2.6.24-24-rt and there were no major problems at all. edited by admin -- Spam removed -- Careful...

I confirm it solves the

  • ttoine
  • 11/15/07
  • Thu, 06/04/2009 - 17:38
I confirm it solves the problem with 64 Studio 3.0 beta.

did you checked that your

  • ttoine
  • 11/15/07
  • Mon, 06/01/2009 - 21:18
did you checked that your user name is in the "disk" group ? In many cases, that solve the problem of access right to ieee1394 and raw1394. This is considered as a security problem if you use firewire for network acces, because anyone can take the control of the system this way. But a camera nor a soundcard can control anything. I do that on my Ubuntu Studio laptop in order to use my presonus firebox. I'll check that this sound card work on my 64 Studio 3 beta workstation and let you know. Toine

Funny you would say that...

  • Quentin Harley
  • 05/24/07
  • Fri, 05/08/2009 - 05:29
I suspected that as well. The only hole in that argument is that with jack 1.92 I still have good performance with a 2.6.26 kernel on my laptop. Back to the drawing board...

I built the recent version

  • zettberlin
  • 02/01/08
  • Mon, 05/11/2009 - 20:12
I built the recent version 2.02 of libiee1394 and tried once more to start jackd/ffado with the official multimediakernel. The presonus synched giving me high hopes - so ffado can work with /dev/fwx also if libieee1394 is correct and recent enough... but then jackd (built today also, as well as ffado-svn) offered me no more then this: JackProcessSync::LockedTimedWait error usec = 5000000 err = Connection timed out firewire ERR: Could not start streaming threads Cannot start driver JackServer::Start() failed with -1 Could not read result type = 6

very well: freebob performs

  • zettberlin
  • 02/01/08
  • Thu, 05/07/2009 - 21:36
very well: freebob performs quite a bit better but I still get dropouts as I open menus etc. Now I suspect jackdmp 1.92 to be the evildoer...

I just tried the 64studio

  • zettberlin
  • 02/01/08
  • Thu, 05/07/2009 - 20:59
I just tried the 64studio 2.6.24-24-rt with ffado. No success- same trouble slightely more messages like: JackAudioDriver::ProcessAsync: read error, skip cycle firewire ERR: wait status < 0! (= -1) As Ardour tries to load a normal project, the terminal looks like an ascii-movie ;-( ;-) I`ll try it with old freebob now....

Performance

  • Quentin Harley
  • 05/24/07
  • Thu, 05/07/2009 - 18:07
Yes, I am also seeing strange things, but not so often though. Perhaps you could try using the 2.6.26 kernel, this time on the 64 Studio repositories. The 2.6.29 is so much different that you cannot get good results by just copying the 2.6.26 config like in the past anymore... Needs more tweaking. We will get those settings sooner or later! Cheers, Quentin

Yes...

  • Quentin Harley
  • 05/24/07
  • Wed, 05/06/2009 - 05:32
I ran into the same hurdle when trying to connect my firewire videocamera to my 64 Studio box. This kernel does the job. Install it in addition to the one you have, and give feedback please.

http://www.64studio.com/node/

  • zettberlin
  • 02/01/08
  • Thu, 05/07/2009 - 16:04
http://www.64studio.com/node/1119 I tried your kernel and it worked much better - thanks a lot for that :-) Still it does not work as under old 64Studio 2.0. Running on the very same Box it connects OK but offers a multitude of dropouts accompanied by messages like this: JackAudioDriver::ProcessAsync: read error, skip cycle firewire ERR: wait status < 0! (= -1) I ran a 2-min loop in ardour2.7 with 6 plugins and 2 Tracks only for about 50 min until it crashed. Actions like clicks to open menus and/or typing in a name produced dropouts. Calfhost was not able to connect, specimen worked as expected. jackd was stared like this: /usr/local/bin/jackd -dfirewire -r96000 -n3 -p512 ffado is the recent rc, jackd is jackdmp 1.9.2. With 64Studio 2.0 and freebob I used to work with settings like this for many houres without any trouble, running sessions with 50+ tracks and dozens of plugins in ardour 2.5 Using my MAudio 1024 PCI though, the system performs perfectly OK...