| View previous topic :: View next topic |
| Author |
Message |
ubulid00 n00b

Joined: 02 Aug 2004 Posts: 15
|
Posted: Wed Aug 30, 2006 7:02 am Post subject: Nforce4 CK804 SPDIF works, but not AC3 passthru |
|
|
Using a Nforce 4 CK804 sound I've been able to get 2 channel SPDIF outputs working great in mplayer/xine/mythv etc. However, enabling the AC3 passthru of surround sound gives no sound in any of the utilities. I've removed the /etc/asound.conf file, enabled 'IEC958' and reduced 'IEC958 Playback AC97-SPSA' in alsamixer.
For example, mplayer seems to think its giving me sound, but nothing is received by my digital receiver. | Code: | mplayer bjorn.ac3 -ao alsa -ac hwac3
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ (Family: 15, Model: 35, Stepping: 2)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
93 audio & 211 video codecs
Opening joystick device /dev/input/js0
Playing bjorn.ac3.
libavformat file format detected.
==========================================================================
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
No accelerated IMDCT transform found
hwac3: switched to AC3, 448000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
alsa-init: using device iec958:{CARD 0 AES0 0x02 AES1 0x82 AES2 0x00 AES3 0x02}
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
Video: no video
Starting playback...
A: 160.5 (02:40.5) of 281.8 (04:41.8) 0.3%
|
I've also tried a knoppix LiveCD to just make sure I don't have anything silly set up, again 2ch spdif is ok but ac3 pass through doesn't work.
Any ideas? |
|
| Back to top |
|
 |
ubulid00 n00b

Joined: 02 Aug 2004 Posts: 15
|
Posted: Fri Sep 01, 2006 5:40 am Post subject: |
|
|
| Does anyone at least have passthru ac3 or DTS working over their SPDIF digital output on a nForce4 CK804 motherboard? A /etc/asound.conf would likely be helpful... |
|
| Back to top |
|
 |
Valheru Guru

Joined: 14 Mar 2003 Posts: 300 Location: Leeuwarden - The Netherlands
|
Posted: Fri Sep 01, 2006 7:13 am Post subject: |
|
|
Yes, I have both working. I don't have any exotic settings. I can post my /etc/asound.conf when I get home, I'm at work at the moment. Both mplayer and xine work just fine, although with mplayer I have to specify the codec with -ac hwdts,hwac3, to get it to perform a passthrough.
I also have to specify -ao alsa=device=hw:1.0 (I have two soundcards, hw:0.0 being my Audigy 4). |
|
| Back to top |
|
 |
ubulid00 n00b

Joined: 02 Aug 2004 Posts: 15
|
Posted: Fri Sep 01, 2006 3:34 pm Post subject: |
|
|
Thanks for the encouragement. I'll make sure I add the DTS flag in addition to the AC3 flag.
| Valheru wrote: | | I also have to specify -ao alsa=device=hw:1.0 (I have two soundcards, hw:0.0 being my Audigy 4). |
One thing that is strange about hw:1.0 is that I thought that the SPDIF (IEC958) output would be on x.2, for example mine would be hw:0.2. Here is aplay -l
| Code: | $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CK804 [NVidia CK804], device 0: Intel ICH [NVidia CK804]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: CK804 [NVidia CK804], device 2: Intel ICH - IEC958 [NVidia CK804 - IEC958]
Subdevices: 1/1
Subdevice #0: subdevice #0 |
I'd be interested in what you see there. |
|
| Back to top |
|
 |
Sannin Tux's lil' helper

Joined: 09 Jan 2006 Posts: 85 Location: Greece
|
Posted: Thu Sep 07, 2006 11:43 am Post subject: |
|
|
| Any solution to this? |
|
| Back to top |
|
 |
ubulid00 n00b

Joined: 02 Aug 2004 Posts: 15
|
Posted: Thu Sep 07, 2006 10:06 pm Post subject: |
|
|
No, still no solution. What is your motherboard? I have a MSI Neo4 Platinum. Do you have regular digitial SPDIF working, just not the passthru?
Can anyone else offer any suggestions/comments? |
|
| Back to top |
|
 |
Sannin Tux's lil' helper

Joined: 09 Jan 2006 Posts: 85 Location: Greece
|
Posted: Wed Sep 13, 2006 1:15 am Post subject: |
|
|
| I have a DFI Lanparty UT SLI-D. Spdif output only works in some program (mplayer, audacious) when i specify alsa device:hw=0.2... |
|
| Back to top |
|
 |
ubulid00 n00b

Joined: 02 Aug 2004 Posts: 15
|
Posted: Wed Sep 13, 2006 11:07 pm Post subject: |
|
|
| Ok, and so AC3 passthru doesn't work for you either? in mplayer, its "-ac hwdts,hwac3" but only when the source audio is ac3/dts audio, such as many DVD movies. |
|
| Back to top |
|
 |
maltheus Tux's lil' helper

Joined: 14 Aug 2004 Posts: 125 Location: Colorado Springs
|
Posted: Wed Sep 20, 2006 12:33 am Post subject: |
|
|
I have the same chip on my DFI Infinity NF Ultra II-M2 and I'm getting 5.1 sound. This is my mplayer line:
| Code: | | mplayer -ac hwac3, -idx -ao alsa:device=default -vo xv -nokeepaspect |
I think the alsa:device=default is what finally did the trick for me. The comma is just a fallback in case the video file doesn't have AC3. The nokeepaspect is so it fills my HDTV (running under ratpoison - fully corrects for overscan). The idx is seek function related. |
|
| Back to top |
|
 |
ubulid00 n00b

Joined: 02 Aug 2004 Posts: 15
|
Posted: Fri Sep 22, 2006 7:29 am Post subject: |
|
|
Could you post your /etc/modules.d/alsa file?
Starting to give up, I bought a SIIG USB SoundWave Optical 5.1 to just get any AC3 passthru. However, I'm still seeing the same thing, optical SPDIF is working but AC3 passthru does not!
Is there anything else that could be causing my system not to allow AC3 passthru? Thanks for everyones continued help. |
|
| Back to top |
|
 |
maltheus Tux's lil' helper

Joined: 14 Aug 2004 Posts: 125 Location: Colorado Springs
|
Posted: Mon Sep 25, 2006 9:58 pm Post subject: |
|
|
I didn't do anything special to this file, alsaconf did all the work:
| Code: |
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.11 ---
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
|
BTW, I'm using the alsa-driver package, not the kernel package. I followed this guide pretty much to the letter:
http://www.gentoo.org/doc/en/alsa-guide.xml
It took me a while to get it all working, so I can't exactly recall the path I took. I think there was a setting that I wasn't able to find/set in alsamixer, but that I found in kmix (emerged it special just for this). On the "Switches" tab, I believe there was an AC3 pass through option. I'm not in front of that computer right now, so I can't check it out. I'll also assume that since you have 2.0 through optical that you already lowered the ICE958 all the way.
--chris |
|
| Back to top |
|
 |
Valheru Guru

Joined: 14 Mar 2003 Posts: 300 Location: Leeuwarden - The Netherlands
|
Posted: Wed Sep 27, 2006 9:41 am Post subject: |
|
|
| Code: | alias char-major-116 snd
alias char-major-14 soundcore
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias snd-card-1 snd-intel8x0
alias sound-slot-1 snd-intel8x0
alias sound-service-1-0 snd-mixer-oss
alias sound-service-1-1 snd-seq-oss
alias sound-service-1-3 snd-pcm-oss
alias sound-service-1-8 snd-seq-oss
alias sound-service-1-12 snd-pcm-oss
options snd-emu10k1 index=0
options snd-intel8x0 index=1
|
Start up alsamixer and unmute IEC958. Further, you will _HAVE_ to set the IEC958 Playback AC97-SPSA and IEC958 Playback AC97-SPSA Capture to 0! This is extremely important, since otherwise this turns off passthrough on this card. |
|
| Back to top |
|
 |
Sannin Tux's lil' helper

Joined: 09 Jan 2006 Posts: 85 Location: Greece
|
Posted: Mon Oct 30, 2006 3:50 am Post subject: |
|
|
I have tried all recommendation, but i am yet unsuccesful to solve this...  |
|
| Back to top |
|
 |
Aitikin Apprentice

Joined: 14 May 2005 Posts: 227
|
Posted: Mon Oct 30, 2006 6:45 am Post subject: |
|
|
I have a gigabyte nForce 3 board that I've got the spidf working almost completely on. I just followed this guide to get it working right. _________________ "it's like sex, except over ssh" ~Valkura
"I should go to bitch, I get up at 6:20" ~Valkura |
|
| Back to top |
|
 |
Sannin Tux's lil' helper

Joined: 09 Jan 2006 Posts: 85 Location: Greece
|
Posted: Fri Jan 26, 2007 10:59 am Post subject: |
|
|
| I tried the alsa-driver package, but still no luck... Every time some program (mplayer or vlc) tries to use the ac3 passthrough, i hear a sound like an electric discharge and then nothing. Maybe i should enter a new bug for this... |
|
| Back to top |
|
 |
Sannin Tux's lil' helper

Joined: 09 Jan 2006 Posts: 85 Location: Greece
|
|
| Back to top |
|
 |
jungle n00b

Joined: 10 Aug 2007 Posts: 1
|
Posted: Fri Aug 10, 2007 10:53 pm Post subject: Works for me |
|
|
I am actually using fc6, but i bet it doesn't matter. I got my ac3 working by changing the "device used for 5.1 channel output alsa_passthrough_device" to plug:default:0 That did it. Everything is set up in alsamixer as it was before.
Bill |
|
| Back to top |
|
 |
|