[ALSA - driver 0002258]: nForce4 + intel8x0 + Dolby Digital 5.1 + S/PDIF = crackle at start of playback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2258> 
======================================================================
Reported By:                Human
Assigned To:                
======================================================================
Project:                    ALSA - driver
Issue ID:                   2258
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               KnoppMyth
Kernel Version:             2.6.17-chw-2
======================================================================
Date Submitted:             07-05-2006 22:12 CEST
Last Modified:              07-19-2006 20:42 CEST
======================================================================
Summary:                    nForce4 + intel8x0 + Dolby Digital 5.1 + S/PDIF =
crackle at start of playback
Description: 
Playing stereo audio never causes a crackle.  However, playback of 5.1
Dobly Digital content (standalone audio or audio embedded in video) causes
a quick but very loud sub-second audio crackle before playback continues,
when the previous playback was _not_ also multi-channel content.  The
problem always happens when the card is being asked to _switch_ to
multichannel audio _from_ either stereo or a non-initialized state.  The
crackle happens on both coaxial and optical S/PDIF connections to the
nForce4 (CK804) onboard soundcard.

The same receiver has not had a problem with S/PDIF with a different card
(Chaintech AV-710 / ice1724).
======================================================================

----------------------------------------------------------------------
 Human - 07-11-06 18:54 
----------------------------------------------------------------------
Hi, tiwai.  I don't understand the cause fully, but maybe I can still help.
 Is a workaround possible?  Half a second of silence would be far better
than half a second of static.  Perhaps muting the line, then using the
buggy procedure, then unmuting?  Or is the problem that the receiver is
being asked to switch to multichannel mode in such a way that the receiver
interprets part of the switch request as audible noise, so muting the
source would not help?  Is any workaround possible?

As for a real fix, has nVidia refused to provide the necessary datasheet
for the nForce4 chipset when asked?  If you tell me what specifically
would help fix the problem, I will do what I can to provide it.  I don't
exactly have an "in" with nVidia, but as a vendor who sells nVidia
products, they have assigned Linux troubleshooting techs to my requests in
the past.

Finally, if you point me to the relevant code in which the S/PDIF status
bit is set, couldn't I iterate through all possible settings and
eventually find the right one?  If the solution space is small enough, it
may be feasible.  Are we talking a 4-bit value or a 16-bit value?

If it's not appropriate to keep conversing back and forth in this bug
report, we can switch to email.

----------------------------------------------------------------------
 tiwai - 07-19-06 20:42 
----------------------------------------------------------------------
No, no workaround is known.  That you got a half second silence is purely a
luck, depending on the receiver.  Most people don't get any SPDIF
non-audio output from nforce.

Actually, nVidia never released datasheet on their chipsets.  The current
support is somehow a backport from their modified i810_audio.c driver, and
from some trial-and-error.  I guess nforce chip has a dedicated register
for SPDIF status bits, but it's just a wild guess.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
07-05-06 22:12 Human          New Issue                                    
07-05-06 22:12 Human          File Added: asound.conf                      
07-05-06 22:12 Human          Distribution              => KnoppMyth       
07-05-06 22:12 Human          Kernel Version            => 2.6.17-chw-2    
07-05-06 22:13 Human          Issue Monitored: Human                       
07-11-06 18:34 Human          Note Added: 0010977                          
07-11-06 18:38 tiwai          Note Added: 0010978                          
07-11-06 18:54 Human          Note Added: 0010979                          
07-19-06 20:42 tiwai          Note Added: 0011101                          
======================================================================



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux