Linux : Ati Proprio Drivers Crash Sound With Jackaudio

Hi everybody here, :guitar:

and happy 2000000000000009 !!

I have a problem using Jack, Renoise, and the ATI proprio drivers…

I have 2-4 ms latency with an excellent sound and stability, even with songs full of tracks (18) and effects(80)…

My problem is when I move a window, or scrolling in Firefox for example, I have distortion in the playback.
And No Xrun in jack…

The sound seems to be distorded, and pitched down when i move a big window (a new hidden renoise effect)! lol

When I’m moving a small window with Renoise interface in background, it is ok, no problem…

When I’m working in Renoise, no video problem, just great sound!!

I have tested with Qtractor, Ardour, and the problem is there. (So it is not a Renoise’s fault)

Using just Alsa doesn’t give me this problem.

So I have changed my proprio ATI drivers for the Debian repos drivers (only 2D), and the problem
seems to be resolved.

Tested on the same computer, on Ubuntu 7.10, and 64studio distrib.

Using a fa-101 firewire audio interface.
Kernel 2.6.26.6-rt11
icewm or xfce4 or windowmaker
acpi=off
PAM configured
etc…
I have tested many IRQ configurations…always the same problem…

I have tested with Qtractor, Ardour, and the problem is there. (So it is not a Renoise fault)

The best results with Jack are there:

cat /proc/interrupts

CPU0
0: 26643662 XT-PIC-XT timer
1: 18653 XT-PIC-XT i8042
2: 0 XT-PIC-XT cascade
3: 1 XT-PIC-XT
4: 1 XT-PIC-XT
5: 1 XT-PIC-XT
6: 1 XT-PIC-XT
7: 2647125 XT-PIC-XT ATI IXP, ATI IXP Modem, fglrx[0]@PCI:1:5:0
8: 0 XT-PIC-XT rtc0
10: 16915251 XT-PIC-XT ohci1394, tifm_7xx1, mmc0, mmc1, mmc2, yenta, eth1
11: 371373 XT-PIC-XT ohci_hcd:usb1, ehci_hcd:usb2, ohci_hcd:usb3
12: 25404 XT-PIC-XT i8042
14: 80545 XT-PIC-XT ide0
15: 239657 XT-PIC-XT ide1
NMI: 0 Non-maskable interrupts
TRM: 0 Thermal event interrupts
SPU: 0 Spurious interrupts
ERR: 2

lspci -v

00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 01)
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, 66MHz, medium devsel, latency 64

00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
I/O behind bridge: 00009000-00009fff
Memory behind bridge: c0100000-c01fffff
Prefetchable memory behind bridge: 00000000c8000000-00000000cfffffff
Capabilities: [44] HyperTransport: MSI Mapping
Capabilities: [b0] Subsystem: Hewlett-Packard Company Unknown device 30a4

00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=03, sec-latency=0
Capabilities: [50] Power Management version 3
Capabilities: [58] Express Root Port (Slot-) IRQ 0
Capabilities: [80] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-
Capabilities: [b0] Subsystem: ATI Technologies Inc Unknown device 5950
Capabilities: [b8] HyperTransport: MSI Mapping

00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])
Subsystem: ATI Technologies Inc IXP SB400 USB Host Controller
Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 11
Memory at c0000000 (32-bit, non-prefetchable)
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (prog-if 10 [OHCI])
Subsystem: ATI Technologies Inc IXP SB400 USB Host Controller
Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 11
Memory at c0001000 (32-bit, non-prefetchable)
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (prog-if 20 [EHCI])
Subsystem: ATI Technologies Inc IXP SB400 USB2 Host Controller
Flags: bus master, 66MHz, medium devsel, latency 128, IRQ 11
Memory at c0002000 (32-bit, non-prefetchable)
Capabilities: [dc] Power Management version 2
Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 11)
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: 66MHz, medium devsel
I/O ports at 8400
Memory at c0003000 (32-bit, non-prefetchable)
Capabilities: [b0] HyperTransport: MSI Mapping

00:14.1 IDE interface: ATI Technologies Inc Standard Dual Channel PCI IDE Controller (prog-if 8a [Master SecP PriP])
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 10
I/O ports at 01f0
I/O ports at 03f4
I/O ports at 0170
I/O ports at 0374
I/O ports at 8410
Capabilities: [70] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge
Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (prog-if 01 [Subtractive decode])
Flags: bus master, 66MHz, medium devsel, latency 64
Bus: primary=00, secondary=06, subordinate=08, sec-latency=64
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: c0200000-c02fffff

00:14.5 Multimedia audio controller: ATI Technologies Inc IXP SB400 AC’97 Audio Controller (rev 02)
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, 66MHz, slow devsel, latency 128, IRQ 7
Memory at c0003400 (32-bit, non-prefetchable)
Capabilities: [40] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

00:14.6 Modem: ATI Technologies Inc SB400 AC’97 Modem Controller (rev 02) (prog-if 00 [Generic])
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, 66MHz, slow devsel, latency 64, IRQ 7
Memory at c0003800 (32-bit, non-prefetchable)
Capabilities: [40] Message Signalled Interrupts: Mask- 64bit- Queue=0/0 Enable-

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
Flags: fast devsel
Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Flags: fast devsel

01:05.0 VGA compatible controller: ATI Technologies Inc Radeon XPRESS 200M 5955 (PCIE) (prog-if 00 [VGA])
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, 66MHz, medium devsel, latency 248, IRQ 7
Memory at c8000000 (32-bit, prefetchable)
I/O ports at 9000
Memory at c0100000 (32-bit, non-prefetchable)
[virtual] Expansion ROM at c0120000 [disabled]
Capabilities: [50] Power Management version 2

06:02.0 Network controller: Broadcom Corporation BCM4311 [AirForce 54g] 802.11a/b/g PCI Express Transceiver (rev 02)
Subsystem: Hewlett-Packard Company Unknown device 1359
Flags: bus master, fast devsel, latency 50, IRQ 10
Memory at c0204000 (32-bit, non-prefetchable)

06:04.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, medium devsel, latency 168, IRQ 10
Memory at c0208000 (32-bit, non-prefetchable)
Bus: primary=06, secondary=07, subordinate=07, sec-latency=176

Memory window 0: 54000000-543ff000 (prefetchable)
Memory window 1: 50000000-53fff000
I/O window 0: 0000a400-0000a4ff
I/O window 1: 0000a800-0000a8ff
16-bit legacy interface ports at 0001

06:04.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller (prog-if 10 [OHCI])
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, medium devsel, latency 248, IRQ 10
Memory at c0209000 (32-bit, non-prefetchable)
Memory at c0200000 (32-bit, non-prefetchable)
Capabilities: [44] Power Management version 2

06:04.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at c0206000 (32-bit, non-prefetchable)
Capabilities: [44] Power Management version 2

06:04.4 Generic system peripheral [0805]: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at c020a000 (32-bit, non-prefetchable)
Memory at c0209c00 (32-bit, non-prefetchable)
Memory at c0209800 (32-bit, non-prefetchable)
Capabilities: [80] Power Management version 2

06:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Subsystem: Hewlett-Packard Company Unknown device 30a4
Flags: bus master, medium devsel, latency 128, IRQ 10
I/O ports at a000
Memory at c020a400 (32-bit, non-prefetchable)
Capabilities: [50] Power Management version 2

My questions are :

[b]- Is there a way to disable 3D graphics with ATI proprios drivers? But I think no…

  • Are my IRQ configurations good? But i think yes…
    [/b]
    Thanks a lot for your help …

:panic:

I have found an issue to desactivate the 3D rendering : :panic:

The DRI driver was the problem, was in conflict with jackd.

It was very simple to desactivate it in the /etc/X11/xorg.conf :

I have just put Option “NoDri” “Yes” in the device section,
then rebooted Xserver (Ctrl-Alt-BackSpace)

hope it will help.

:drummer: