Skip to contentSkip to conversation

: NVIDIA CK8 ALC655 SPDIF passthrough

ALSA - driver 0001083 [email protected] 1 participant 1 message Jun 21, 2005

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1083>
======================================================================
Reported By: vedran
Assigned To:
======================================================================

Project:                    ALSA - driver
Issue ID:                   1083
Category:                   PCI - intel8x0
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Distribution:               Debian sid
Kernel Version:             2.6.10-ac12
======================================================================
Date Submitted:             04-29-2005 15:33 CEST
Last Modified:              06-21-2005 11:19 CEST

======================================================================
Summary: NVIDIA CK8 ALC655 SPDIF passthrough
Description:
We're using a motherboard with nVidia nforce2IGP chipset, and the sound device on this board is NVidia CK8, Realtek ALC655 rev 0. The motherboard is MSI K7N2GM2, and SPDIF passthrough works fine on Windows XP with stock realtek drivers.

On Linux, I'm using the latest ALSA CVS (29.04.2005.) on a 2.6.10-ac12 kernel.

I've been able to make a 2 channel pre-decoded SPDIF output work by using the hw:0,2 device. If I use the default device, there is no sound on SPDIF, regardless of the SPDIF related controls in mixer. The controls in the mixer are:

However, I'm having trouble with AC3 passthrough, I'm using ac3dec -C from alsa-tools CVS, and I get no sound.

I'm attaching the archive with the output of iecset and /proc/asound/card0/codec97#0/* files during the ac3dec run, and when idle.

Maybe the fact that decoded SPDIF output is not working until I pass it through the hw:0,2 has something to do with this, how can I make ac3dec -C use hw:0,2?
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
has duplicate 0001094 nforce4 - optical spdif out not working
======================================================================

----------------------------------------------------------------------
gilesjuk - 06-21-05 00:57
----------------------------------------------------------------------
Gotta fix this bug, analog out on my card seriously sucks the DAC in my Marantz is much nicer.

Anyway, my card apparently has a Realtek ALC650, there's specs here including registers. My board has Nforce 4 but the codec is on a seperate card (Fatal1ty board).

ftp://152.104.125.9/pc/ac97/alc650/alc650_data5.zip

----------------------------------------------------------------------
tiwai - 06-21-05 11:19
----------------------------------------------------------------------
Yes, only 48kHz works on nForce SPDIF, indeed. That is, the non-audio stream in other rates won't work.

As mentioned, the driver works partially. It may work with the receiver which accepts AC3 stream even without SPDIF non-audio status bit by checking the preamble. But, the receivers strictly checking the non-audio bit don't work.

It seems that the nForce doesn't use AC97 chip for transmitting SPDIF signals but directly drives from the nforce core. Thus, checking the datasheet of the ac97 codec chip won't help...

Issue History
Date Modified Username Field Change
======================================================================
04-29-05 15:33 vedran New Issue
04-29-05 15:33 vedran File Added: spdif_passthrough.tar.gz

04-29-05 15:33 vedran         Distribution              => Debian sid      
04-29-05 15:33 vedran         Kernel Version            => 2.6.10-ac12     
05-30-05 13:21 vedran         Note Added: 0004809                          
06-01-05 16:53 tiwai          Note Added: 0004862                          
06-01-05 16:54 tiwai          Relationship added       has duplicate 0001094
06-01-05 19:19 eklarson       Issue Monitored: eklarson                    
06-03-05 00:31 Human          Note Added: 0004880                          
06-03-05 00:32 Human          Issue Monitored: Human                       
06-06-05 23:30 Human          Note Added: 0004910                          
06-08-05 15:01 tiwai          Note Added: 0004928                          
06-10-05 18:07 Human          Note Added: 0004984                          
06-19-05 16:07 gilesjuk       Note Added: 0005090                          
06-21-05 00:50 gilesjuk       Note Added: 0005099                          
06-21-05 00:57 gilesjuk       Note Edited: 0005099                         
06-21-05 11:19 tiwai          Note Added: 0005102                          

======================================================================

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click