Project

General

Profile

Actions

Bug #676

closed

SB600 HDA audio (Realtek ALC883) glitch - IRQ sharing?

Added by floid over 17 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Now that NATA works, I think my sound problems are getting easier to diagnose...

Basically, trying to play sound has worked, but with a constant "crunch" /
"crackling" that sounded vaguely like a mis-sized buffer somewhere or horrible
clipping -- pretty tough to explain, let's say it occurs at a rate of something
like 3 to 6Hz. (Playing with morse, I can get 'e' to sound like anything from 1
to 7 'dit's with extra garbage.) I was assuming the HDA driver was just immature.

Well, I run X.org and use xmms and mplayer to test, and it turns out that moving
the mouse temporarily cures the problem. Swirl mouse around, playback is
essentially clear; stop and the crunchies come back.

Looks like the OHCI controller the mouse is on, atapci1 and the sound device all
share IRQ 3 right now.

% dmesg | grep "irq 3"
IOAPIC #0 intpin 16 -> irq 3
ohci0: <OHCI (generic) USB controller> [tentative] mem 0xff6fe000-0xff6fefff irq
3 at device 19.0 on pci0
ohci0: <OHCI (generic) USB controller> [attached!] mem 0xff6fe000-0xff6fefff irq
3 at device 19.0 on pci0
atapci1: <ATI SB600 UDMA133 controller> [tentative] port
0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 3 at device 20.1 on pci0
atapci1: <ATI SB600 UDMA133 controller> [attached!] port
0xff00-0xff0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 irq 3 at device 20.1 on pci0
pci0: <unknown card> (vendor=0x1002, dev=0x4383) at 20.2 irq 3
sio1 [tentative] failed to probe at port 0x2f8-0x2ff irq 3 on isa0
pcm0: <ATI SB600 High Definition Audio Controller> [tentative] mem
0xff6f4000-0xff6f7fff irq 3 at device 20.2 on pci0
pcm0: <ATI SB600 High Definition Audio Controller> [attached!] mem
0xff6f4000-0xff6f7fff irq 3 at device 20.2 on pci0

pci0 is pcm0; I'm loading snd_driver.ko after boot. Athlon 64x2, SMP, APIC_IO,
kernel config again attached in the bug tracker ("MUSTELID2007").

USB mouse:
ums0: Microsoft Microsoft 3-Button Mouse with IntelliEye(TM), rev 1.10/3.00,
addr 3, iclass 3/1
ums0: 3 buttons and Z dir.

Unplugging the mouse doesn't change anything, unplugging atapci1 would be
difficult as it's on the same chip. The BIOS setup for this board doesn't
provide knobs for interrupt assignment or anything sound related (other than
enable/disable, maybe).

This has been a problem with every kernel I've tried, not sure if the mouse
trick was apparent until now. I need to see what happens without X.org or
moused running.

...

Thoughts?


Files

MUSTELID2007 (10.2 KB) MUSTELID2007 floid, 06/03/2007 11:40 PM
dmesg.NOAPIC.4-Jun-07 (13.7 KB) dmesg.NOAPIC.4-Jun-07 floid, 06/05/2007 02:00 AM
loader.conf(4-Jun-07) (153 Bytes) loader.conf(4-Jun-07) floid, 06/05/2007 02:02 AM
dmesg.NOAPIC.10-Jun-07 (58.6 KB) dmesg.NOAPIC.10-Jun-07 floid, 06/10/2007 09:27 PM
Actions

Also available in: Atom PDF