[PlanetCCRMA] "delay exceeds estimated spare time" problem

Jacob Last Jacob Last <jacoblast@gmail.com>
Fri Jun 17 15:06:01 2005


Hi all:

I am running FC3 with PlanetCCRMA on my new ThinkPad T41p. I am using
kernel version 2.6.10-2.1.ll currently, though I've tried the 2.6.11
0.3-rdt kernel also with the same problems.
I'm using the internal intel8x0 sound, though I've tried it with my
external Edirol UA5 also.

I am getting storms of these messages:

delay of 2122.000 usecs exceeds estimated spare time of 1972.000; restart ...

They don't cause any glitches in the audio stream, but they are
usually accompanied by xruns (which do cause glitches), even at jack
settings of 4x1024.

Generally this happens with I launch another program, like Firefox,
while JACK is running. It seems to be caused by other programs using
CPU time (JACK is fine when it is sitting there running by itself
untouched). It even does this when I run JACK at 4x1024 or even
4x2048. So clearly something is wrong. Curiously, it seems that if I
disable realtime priority for jack, these messages disappear (are they
specific to running JACK in realtime mode?) BUT the audio becomes
distorted and susceptible to other tasks using the processor.

I've tried some changing around of IRQs in the BIOS, which seems to
change the latency I can get, but doesn't effect the storms of delays
exceeds max spare time messages.

Sometimes disabling my wireless card module (ath-pci) seems to help
but not reliably.

As a side note, if I have the Qjackctl messages window open while a
storm of messages is going on, the CPU usage goes up to 100% which
seems like it could be a bug in Qjackctl?

Any help or insight will be greatly appreciated. I've included my
lspci -v if that's useful. Out of curiousity, anyone out there using a
T41p with an external USB interface sucessfully with very low latency?
I really want to get this system going for realtime work.

Thanks to everyone who's out there...

Jacob Last

-----------------------------------------------------
00:00.0 Host bridge: Intel Corp. 82855PM Processor to I/O Controller (rev 03)
	Subsystem: IBM: Unknown device 0529
	Flags: bus master, fast devsel, latency 0
	Memory at d0000000 (32-bit, prefetchable) [size=256M]
	Capabilities: [e4] Vendor Specific Information
	Capabilities: [a0] AGP version 2.0

00:01.0 PCI bridge: Intel Corp. 82855PM Processor to AGP Controller
(rev 03) (prog-if 00 [Normal decode])
	Flags: bus master, 66Mhz, fast devsel, latency 96
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
	I/O behind bridge: 00003000-00003fff
	Memory behind bridge: c0100000-c01fffff
	Prefetchable memory behind bridge: e0000000-e7ffffff

00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 (rev 01) (prog-if 00
[UHCI])
	Subsystem: IBM: Unknown device 052d
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at 1800 [size=32]

00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 (rev 01) (prog-if 00
[UHCI])
	Subsystem: IBM: Unknown device 052d
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at 1820 [size=32]

00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 (rev 01) (prog-if 00
[UHCI])
	Subsystem: IBM: Unknown device 052d
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at 1840 [size=32]

00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB2
EHCI Controller (rev 01) (prog-if 20 [EHCI])
	Subsystem: IBM: Unknown device 052e
	Flags: bus master, medium devsel, latency 0, IRQ 11
	Memory at c0000000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: [50] Power Management version 2
	Capabilities: [58] Debug port

00:1e.0 PCI bridge: Intel Corp. 82801 Mobile PCI Bridge (rev 81)
(prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0
	Bus: primary=00, secondary=02, subordinate=08, sec-latency=168
	I/O behind bridge: 00004000-00008fff
	Memory behind bridge: c0200000-cfffffff
	Prefetchable memory behind bridge: e8000000-efffffff

00:1f.0 ISA bridge: Intel Corp. 82801DBM (ICH4-M) LPC Interface Bridge (rev 01)
	Flags: bus master, medium devsel, latency 0

00:1f.1 IDE interface: Intel Corp. 82801DBM (ICH4-M) IDE Controller
(rev 01) (prog-if 8a [Master SecP PriP])
	Subsystem: IBM: Unknown device 052d
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at <unassigned>
	I/O ports at 1860 [size=16]
	Memory at 20000000 (32-bit, non-prefetchable) [size=1K]

00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus
Controller (rev 01)
	Subsystem: IBM: Unknown device 052d
	Flags: medium devsel, IRQ 11
	I/O ports at 1880 [size=32]

00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM
(ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
	Subsystem: IBM: Unknown device 0537
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at 1c00 [size=256]
	I/O ports at 18c0 [size=64]
	Memory at c0000c00 (32-bit, non-prefetchable) [size=512]
	Memory at c0000800 (32-bit, non-prefetchable) [size=256]
	Capabilities: [50] Power Management version 2

00:1f.6 Modem: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97
Modem Controller (rev 01) (prog-if 00 [Generic])
	Subsystem: IBM: Unknown device 0525
	Flags: bus master, medium devsel, latency 0, IRQ 11
	I/O ports at 2400 [size=256]
	I/O ports at 2000 [size=128]
	Capabilities: [50] Power Management version 2

01:00.0 VGA compatible controller: ATI Technologies Inc M10 NT [FireGL
Mobility T2] (rev 80) (prog-if 00 [VGA])
	Subsystem: IBM: Unknown device 054f
	Flags: bus master, fast Back2Back, 66Mhz, medium devsel, latency 66, IRQ 11
	Memory at e0000000 (32-bit, prefetchable) [size=128M]
	I/O ports at 3000 [size=256]
	Memory at c0100000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [58] AGP version 2.0
	Capabilities: [50] Power Management version 2

02:00.0 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus
Controller (rev 01)
	Subsystem: IBM: Unknown device 0552
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at b0000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=02, secondary=03, subordinate=06, sec-latency=176
	Memory window 0: 20400000-207ff000 (prefetchable)
	Memory window 1: 20800000-20bff000
	I/O window 0: 00004000-000040ff
	I/O window 1: 00004400-000044ff
	16-bit legacy interface ports at 0001

02:00.1 CardBus bridge: Texas Instruments PCI4520 PC card Cardbus
Controller (rev 01)
	Subsystem: IBM: Unknown device 0552
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at b1000000 (32-bit, non-prefetchable) [size=4K]
	Bus: primary=02, secondary=07, subordinate=0a, sec-latency=176
	Memory window 0: 20c00000-20fff000 (prefetchable)
	Memory window 1: 21000000-213ff000
	I/O window 0: 00004800-000048ff
	I/O window 1: 00004c00-00004cff
	16-bit legacy interface ports at 0001

02:01.0 Ethernet controller: Intel Corp. 82540EP Gigabit Ethernet
Controller (Mobile) (rev 03)
	Subsystem: IBM PRO/1000 MT Mobile Connection
	Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 11
	Memory at c0220000 (32-bit, non-prefetchable) [size=128K]
	Memory at c0200000 (32-bit, non-prefetchable) [size=64K]
	I/O ports at 8000 [size=64]
	Capabilities: [dc] Power Management version 2
	Capabilities: [f0] Message Signalled Interrupts: 64bit+ Queue=0/0 Enable-

02:02.0 Ethernet controller: Atheros Communications, Inc. AR5212
802.11abg NIC (rev 01)
	Subsystem: Unknown device 17ab:8331
	Flags: bus master, medium devsel, latency 168, IRQ 11
	Memory at c0210000 (32-bit, non-prefetchable) [size=64K]
	Capabilities: [44] Power Management version 2

-------------------------------------------------------------------------------