>From FFADO maintainer:

   Bug: Jack crashes and consumes 100% CPU after resume from suspend

   Suggestion:
       FFADO was not set up to deal cleanly with suspend and resume, mainly
       because the nature of Firewire interfaces makes this a very difficult
       problem to solve.  In particular, the device itself exists outside of
       the suspend infrastructure so FFADO has no guarantee about the
       device's status when a resume occurs.  In fact, because of the way
       firewire audio devices work, the streaming would need to be formally
       shut down before suspend and restarted on resume.  Jackd's design
       does not lend itself to doing this (although it could perhaps be
       achieved with sufficient time and effort).

       Interestingly, a follow up comment in 2012 suggested that jack1 dealt
       with suspend-resume better than jack2.

       A partial solution to the issue of shutting jackd down before suspend 
       may be one of the jack session managers which have since been
       developed.  At this stage it is unlikely that FFADO will gain formal
       support for suspend/resume unless someone steps up to write the code.
       I am unsure how many people would make use of such a feature if it
       were to be implemented.

-- 
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to libffado in Ubuntu.
Matching subscriptions: Ubuntu Studio Bugs
https://bugs.launchpad.net/bugs/659025

Title:
  Jack crashes and consumes 100% CPU after resume from suspend

Status in libffado package in Ubuntu:
  Confirmed

Bug description:
  Suspending my computer with jackd running causes jackd to go into an
  infinite loop when computer is resumed again. It consumes 100% of the
  cpu and freezes the system for a short period, producing an endless
  stream of the following messages:

  firewire ERR: wait status < 0! (= -1)
  JackAudioDriver::ProcessAsync: read error, skip cycle
  JackFFADODriver::ffado_driver_wait - unhandled xrun
  firewire ERR: wait status < 0! (= -1)
  JackAudioDriver::ProcessAsync: read error, skip cycle
  JackFFADODriver::ffado_driver_wait - unhandled xrun
  firewire ERR: wait status < 0! (= -1)
  JackAudioDriver::ProcessAsync: read error, skip cycle
  JackFFADODriver::ffado_driver_wait - unhandled xrun

  I'm using jackd2 (1.9.5~dfsg-19ubuntu1) and jackd2-firewire (1.9.5
  ~dfsg-19ubuntu1). My sound card is an Edirol FA-66.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: libffado2 2.0.1+svn1856-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
  Uname: Linux 2.6.35-22-generic x86_64
  NonfreeKernelModules: nvidia
  Architecture: amd64
  Date: Tue Oct 12 10:23:01 2010
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.utf8
   SHELL=/bin/bash
  SourcePackage: libffado

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libffado/+bug/659025/+subscriptions

-- 
Mailing list: https://launchpad.net/~ubuntustudio-bugs
Post to     : ubuntustudio-bugs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntustudio-bugs
More help   : https://help.launchpad.net/ListHelp

Reply via email to