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

Joe "Floid" Kanowitz bugs at crater.dragonflybsd.org
Sun Jun 3 16:42:59 PDT 2007


New submission from Joe "Floid" Kanowitz <jkanowitz at snet.net>:

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
messages: 2883
nosy: floid
priority: bug
status: unread
title: SB600 HDA audio (Realtek ALC883) glitch - IRQ sharing?

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<http://bugs.dragonflybsd.org/issue676>
_____________________________________________________Attachment:
MUSTELID2007
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00001.bin
Type: application/octet-stream
Size: 10457 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20070603/a4ff2f17/attachment-0021.bin>


More information about the Bugs mailing list