|
|
#1 | |
|
Registered User
Join Date: Oct 2006
Posts: 22
|
Has anyone managed to get AC3 passthrough working with the alsa drivers in linux? I try using the -ac hwac3 with mplayer, but I hear nothing from my receiver. Is there something that i'm doing incorrectly?
|
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Dec 2005
Posts: 37
|
Quote:
|
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Oct 2006
Posts: 22
|
I've got the stereo output working over spdif, however pass through does not work. I've tried using the -ao alsa:device=spdif (iec958, hw0.2), I've attempted all of the above and nothing but silence. I'm getting quite frustrated with this NForce offering, as it has the spdif output. Pass through works in windows, but not in linux. I've read posts indicating that it works with the OSS drivers that were provided by nvidia, but would rather stick with the alsa offering if possible, because I think the OSS solution was quite dated.
|
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Oct 2006
Posts: 22
|
here is the output of my 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 when I try to execute the command mplayer -ao alsa:device=hw=0.2 -ac hwac3, it's silent. When I remove both of the audio command lines, I hear normal stereo audio. Is this chipset able to pass through the ac3 signal properly, or am I wasting my time trying to get this to work? |
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Mar 2004
Location: Wilmington, NC
Posts: 25
|
I would like to know the answer to this too. It works fine with the OSS drivers but with the more recent drivers you have to change the source for it to compile.
|
|
|
|
|
|
#6 | |
|
Registered User
Join Date: Dec 2005
Posts: 37
|
Try twiddling with the mixer settings.
/usr/bin/amixer set IEC958 off /usr/bin/amixer set IEC958 on And also alsamixer. It is a bit 'wierd', sometimes I'd have to turn the IEC958 off and other times on. Or like the very first audio file comes out screetchy but subsequent audio is fine. Also, try without any alsa.conf, .asoundrc etc. Go direct hardware naming (ie, hw=0.2). iec958 and spdif are aliases and may not be correct from the defaults. I also use the comma with "mplayer -ac hwac3, " that should help with none ac-3 sound. |
|
|
|
|
|
|
#7 |
|
Registered User
Join Date: Oct 2006
Posts: 22
|
I've attempted nearly every combination known to man, and still have been unable to get any sort of AC3 pass through to work with this chipset. What is the big problem here? Things work just fine in windows, I can't believe that no one has addressed this issue in linux. This is a very popular chipset, and I would come to expect a feature like this to work without such a headache. I'm quite disappointed in the alsa solution at this time, and wish someone could offer some sort of solution!
|
|
|
|
|
|
#8 |
|
Registered User
Join Date: Oct 2006
Posts: 22
|
Apparently the alsa drivers do not support AC3 pass through on the nforce4 chipsets? I've not found a solution anywhere, and no one has been able to suggest anything. Quite disappointing.
|
|
|
|
|
|
#9 |
|
GeForce FX5600
|
I'm having the same problem... but I think the problem is in mplayer and xine.
Code:
aplay -Dspdif ~/music/dts/SURROUNDTEST_011212.wav Code:
mplayer -ao alsa:device=spdif -afm hwac3 ~/music/dts/SURROUNDTEST_011212.wav Code:
mplayer -ao alsa:device=spdif ~/music/dts/SURROUNDTEST_011212.wav Code:
mplayer -aid 137 -ao alsa:device=spdif -afm hwac3 dvd://1 |
|
|
|
|
|
#10 |
|
Geforce 8800 GTS 512
Join Date: Nov 2002
Location: Australia
Posts: 396
|
There's an option in Xine, under the Audio tab called "Speaker Arrangement", set it to "Pass Through", and you should hear multichannel audio 5.1 etc.. That's how I have it setup on my system, as I use a Creative Audigy 2 sound card, connected to a Creative 5.1 sound system with decoder (5.1 Dolby/DTS). May work with that card too..
Wolf |
|
|
|
|
|
#11 | |
|
GeForce FX5600
|
Quote:
Code:
pcm.nforce-hw {
type hw
card 0
}
pcm.!default {
type plug
slave.pcm "nforce"
}
pcm.nforce {
type dmix
ipc_key 1234
ipc_perm 0660
slave {
pcm "hw:0,1"
period_time 0
period_size 1024
buffer_size 8192
rate 44100
}
}
ctl.nforce-hw {
type hw
card 0
}
Note the line Code:
pcm "hw:0,1" Code:
mplayer -aid 128 -ao alsa:device=nforce -afm hwac3 dvd://1 ![]() |
|
|
|
|
|
|
#12 |
|
Geforce 8800 GTS 512
Join Date: Nov 2002
Location: Australia
Posts: 396
|
The Creative sound card is setup for 48000Hz (by Default) as well, yet I haven't had any problems playing any multichannel streams.. *shrug*
The .asoundrc file should work for the OP just fine.. It's quite similar to the Audigy 2 setup.. Wolf |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hmmm: Pass Some Time With Passengers | News | Latest Tech And Game Headlines | 0 | 05-11-12 05:40 AM |