On Tue, Oct 29, 2002 at 03:43:06PM -0500, Jesse Marlin wrote:
> Andreas Mohr writes:
>  > Hmm, is it some crackling sound whenever you play something ?
>  > If so, does it increase with increasing HDD or network load ?
>  > Which board/chipset is this ? Maybe VIA or SiS 735 ?
>  > My Aztech PC168 has such crackling sound problems on my ECS K7S5A board
>  > (SiS 735 chip), and the chip has quite a history of DMA transfer issues
>  > with soundcards.
> 
> Yes, crackling especially when I play a network game.  I did not
> initially suspect the network card, I suspected the video card.  But
> I noticed that the soundcard was IRQ sharing with eth0.  That's what
> convinced me.
> 
> The chipset is an SiS651, which is supposed to be based on the SiS648,
> but has a lot of integrated peripherals.
Ah, so it might be that SiS has some more general issues with this...

One thing you could do is to make *dead sure* that the interrupt handlers
used for the soundcard and the network card use the *absolute minimum*
of overhead in case of interrupt sharing.
E.g. something like:

if (! (inw(card_iobase+IRQ_FLAG) & MY_VERY_IMPORTANT_IRQ_HAPPENED)))
       return; /* get the hell outta this IRQ handler - this IRQ was NOT for us, but 
for the other card !! */

at the *very* beginning of each of the two different interrupt handlers
in the cards' drivers.

If one or both of these cards really have some very slow interrupt handler
processing, then please submit a patch fixing this problem.

>  > Try inserting the card into a different PCI slot. Could make
>  > one hell of a difference.
> 
> Unfortunately it is an intergrated card.  And I have been unable to
> tell the BIOS to give this card a seperate IRQ.
Sounds like bad luck then :-)

One more thing: try fiddling with PCI latency settings
(groups.google.com "linux setpci latency").

-- 
"My attitude is, everybody should try competing with Microsoft once in their life. 
Once."
- Marc Andreessen, former Netscape lead employee, in a "browser wars" interview


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to