When my screensaver or screenblank kicks in, FFADO crashes with error message:
Error (IsoHandler.cpp)[ 733] requestEnable: Enable requested on stream with state: 2
Debug (IsoHandlerManager.cpp)[1019] startHandlerForStream: could not request enable for handler 0x8294c28)
This is 100% repeatable. And, though I can work around it by disabling compiz, disabling any video acceleration, and disabling the screen savers and screen blanking, this seems a little extreme.
To make matters worse, this also happens when I try to use any advanced video features, e.g. compiz cube, etc.
Here is my config:
- Intel Pentium 4 processor at ~1GHz.
- 768 Mb RAM.
- NVIDIA GeForce? 5 card (restricted binary drivers v173, but also happens when using generic SVGA drivers).
- Firewire interface.
- PreSonus? FP10.
- Ubuntu Studio 10.04 (Linux xxxxx 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux)
GDB backtrace:
(gdb) list -20,+20
692 m_State = eHS_Stopped;
693 m_NextState = eHS_Stopped;
694 return true;
695 }
696
697 // functions to request enable or disable at the next opportunity
698 bool
699 IsoHandler::requestEnable(int cycle)
700 {
701 if (m_State == eHS_Running) {
702 debugError("Enable requested on enabled stream\n");
703 return false;
704 }
705 if (m_State != eHS_Stopped) {
706 debugError("Enable requested on stream with state: %d\n", m_State);
707 return false;
708 }
709 m_NextState = eHS_Running;
710 return true;
711 }
712
(gdb) backtrace
#0 IsoHandler::requestEnable (this=0x816f6a0, cycle=3683)
at src/libieee1394/IsoHandler.cpp:706
#1 0x004415b7 in IsoHandlerManager::startHandlerForStream (this=0x80846c8,
stream=0x816f710, cycle=3683) at src/libieee1394/IsoHandlerManager.cpp:1015
#2 0x0045267e in Streaming::StreamProcessor::scheduleStartDryRunning (
this=0x816f710, t=-1) at src/libstreaming/generic/StreamProcessor.cpp:1173
#3 0x00446911 in Streaming::StreamProcessorManager::startDryRunning (
this=0x8077890) at src/libstreaming/StreamProcessorManager.cpp:423
#4 0x0044a23e in Streaming::StreamProcessorManager::handleXrun (
this=0x8077890) at src/libstreaming/StreamProcessorManager.cpp:1055
#5 0x003d64fe in DeviceManager::waitForPeriod (this=0x8077710)
at src/devicemanager.cpp:983
#6 0x003deb77 in ffado_streaming_wait (dev=0x8056ed8) at src/ffado.cpp:253
#7 0x003020d6 in ffado_driver_wait (driver=0x80534c0, extra_fd=-1,
status=0xb03c1328, delayed_usecs=0xb03c1324) at ffado_driver.c:531
#8 0x0030228c in ffado_driver_run_cycle (driver=0x80534c0)
at ffado_driver.c:583
#9 0x001443dc in jack_driver_nt_thread (arg=0x80534c0)
at ../libjack/driver.c:122
#10 0x00148262 in jack_thread_proxy (varg=0x809d810) at ../libjack/thread.c:118
#11 0x0018d96e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0x00272a4e in clone () from /lib/tls/i686/cmov/libc.so.6