nForcersHQ
 
nForcersHQForumDistributed ComputingFAQLog inRegisterSearch
 
nForcersHQ

Optical SPDIF nforce4: Light but no sound
Goto page 1, 2  Next
Post new topic Reply to topic    nForcersHQ.com Forum Index » nForce Linux
Login to view full posting options
Author Message
Google
AdSense

Back to top  
Fre
Just got here...

Joined: 17 Mar 2005
Posts: 3

PostPosted: Thu Mar 17, 2005 11:42 pm    Post subject: Optical SPDIF nforce4: Light but no sound

I have a MSI K8N Neo4 Platinum Edition mainboard with nforce4 chipset.
The analog audio outputs work fine, with both alsa and nvsound (nvidia's driver which uses oss).

Whatever I try, I can't get the optical SPDIF output to work.
I connect it to my Denon 1804 HT receiver, but hear nothing.
The same optical input on that receiver works perfect with a Sony CD-player from 1991.

As soon as I try to use the optical output (with xine, mplayer, xmms, aplay, mpg123, mp321, ...) the SPDIF's red light goes on until reboot, but nothing is heard. Maybe a problem of rate or volume?

I tried alsamixer, alsamixergui, gnome-alsamixer and kmix to change the volumes and mute - unmute status of each channel.
Alsamixer doesn't allow me to mute the "IEC958 Play AC97.." channel or to change it's 100% volume.
Changing the volume of the "IEC958 P" channel in gnome-alsamixer often results in the following error:
(gnome-alsamixer:6174): Gtk-CRITICAL **: gtk_adjustment_get_value: assertion `GTK_IS_ADJUSTMENT (adjustment)' failed

I tried several .asoundrc files, especially the one from
http://www.gossamer-threads.com/lists/mythtv/users/61265?do=post_view_threaded#61265

Anybody any tips?
Is nforce4 optical SPDIF not supported yet?

Info:

(Debian sarge)

more /dev/sndstat
Sound Driver:3.8.1a-980706 (ALSA v1.0.6 emulation code)
Kernel: Linux mystica 2.6.10-1-386 #1 Tue Jan 18 03:33:26 EST 2005 i686
Config options: 0

Installed drivers:
Type 10: ALSA emulation

Card config:
NVidia CK804 with ALC850 at 0xfebfd000, irq 209

Audio devices:
0: NVidia CK804 (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: Realtek ALC850 rev 0



amixer info
Card default 'CK804'/'NVidia CK804 with ALC850 at 0xfebfd000, irq 209'
Mixer name : 'Realtek ALC850 rev 0'
Components : 'AC97a'
Controls : 42
Simple ctrls : 26

amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Master Mono',0
Simple mixer control 'PCM',0
Simple mixer control 'Surround',0
Simple mixer control 'Center',0
Simple mixer control 'LFE',0
Simple mixer control 'Line',0
Simple mixer control 'Line-In As Surround',0
Simple mixer control 'CD',0
Simple mixer control 'Mic',0
Simple mixer control 'Mic As Center/LFE',0
Simple mixer control 'Mic Boost (+20dB)',0
Simple mixer control 'Mic Select',0
Simple mixer control 'Video',0
Simple mixer control 'Phone',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Input Monitor',0
Simple mixer control 'IEC958 Playback AC97-SPSA',0
Simple mixer control 'PC Speaker',0
Simple mixer control 'Aux',0
Simple mixer control 'Mono Output Select',0
Simple mixer control 'Capture',0
Simple mixer control 'Mix',0
Simple mixer control 'Mix Mono',0
Simple mixer control 'Duplicate Front',0
Simple mixer control 'External Amplifier',0


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

cat /proc/asound/devices
0: [0- 0]: ctl
18: [0- 2]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
1: : sequencer
33: : timer


Last edited by Fre on Thu Mar 17, 2005 11:57 pm; edited 1 time in total
Back to top
Gilly
-- Meow --
Ultra nForced
Ultra nForced

Joined: 08 Feb 2004
Posts: 6012
Location: West Yorkshire | UK

PostPosted: Fri Mar 18, 2005 11:58 am    Post subject:

will the output have to be 48/44.1Khz? i think my audigy defaults to 96Khz which makes the output un-usable with most things Smile
Back to top
Fre
Just got here...

Joined: 17 Mar 2005
Posts: 3

PostPosted: Fri Mar 18, 2005 10:42 pm    Post subject:

The sound chip is said to be limited to 48kHz.
The receiver is probably quite flexible.


In the meantime I had a look at the OSD On Screen Display of my receiver. It recognizes the computer connection:

Nothing connected:
SIGNAL : ANALOG

SPDIF computer connected (soundfile playing or not):
SIGNAL : PCM ZERO
fs : 48kHz

OPT OUT CD player connected:
SIGNAL : PCM ZERO
fs : 44.1kHZ

After playing CD for 15s:
SIGNAL : PCM
fs : 44.1kHZ

Also, at almost max volume of the receiver, I can hear sometimes changing the background noise while playing a sound file on the computer with:
mplayer -vo null -ac hwac3 TestAC3.avi

So, both tests make me think that the signal is played correctly, but that the sound stays muted or at volume zero, no matter what I change in the many mixers I tried...

Somebody any idea now?


Last edited by Fre on Fri Mar 18, 2005 10:43 pm; edited 1 time in total
Back to top
Gilly
-- Meow --
Ultra nForced
Ultra nForced

Joined: 08 Feb 2004
Posts: 6012
Location: West Yorkshire | UK

PostPosted: Sat Mar 19, 2005 9:18 pm    Post subject:

is bitsteam out turned on? because it is getting some form of signal but i dont know if it knows what to do with it
Back to top
Fre
Just got here...

Joined: 17 Mar 2005
Posts: 3

PostPosted: Sat Mar 19, 2005 11:40 pm    Post subject:

Where should I enable what exactly and how?

Thx
Back to top
Gilly
-- Meow --
Ultra nForced
Ultra nForced

Joined: 08 Feb 2004
Posts: 6012
Location: West Yorkshire | UK

PostPosted: Sun Mar 20, 2005 1:23 pm    Post subject:

no idea but i know that some DVD players need to have PCM out enabled if they are to work in 5.1, some internally decode and others need bit stream out. Not sure what all these things mean though
Back to top
tac
Just got here...

Joined: 21 Mar 2005
Posts: 1

PostPosted: Mon Mar 21, 2005 1:44 pm    Post subject:

Hi,

I have an asus a8n-sli mb, I tried to use spdif rca digital output (coaxial). And I have no sound, like you.

My old mb was an asus a7n8x and the spdif rca digital output works fine with the last nvidia drivers (1.0-0301).

Perhaps it's a drivers problem, or a nforce 4 incompatibility...
I tried with alsa too...

T++

P.S. here http://www.nvnews.net/vbulletin/showthread.php?t=47989 I ask for help...


Last edited by tac on Mon Mar 21, 2005 1:48 pm; edited 1 time in total
Back to top
eklarson
Just got here...

Joined: 05 May 2005
Posts: 2

PostPosted: Thu May 05, 2005 6:18 am    Post subject:

I'm having the same problems. Crying or Very sad

Followed the instructions on http://alsa.opensrc.org/index.php?page=DigitalOut with no luck.

Quote:

$ uname -a
Linux <hostname> 2.6.11-1.14_FC3 #1 Thu Apr 7 19:25:50 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

$cat /proc/asound/devices
18: [0- 2]: digital audio playback
25: [0- 1]: digital audio capture
16: [0- 0]: digital audio playback
24: [0- 0]: digital audio capture
0: [0- 0]: ctl
33: : timer

$ aplay -l
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

$ lame --decode <file>.mp3 <file>.wav
$ aplay -D hw:0,2 file.wav
$ aplay -Dplug:spdif <file>.wav



All of those attempts to get the optical out to give me something were unfruitful. I'm running out of things to try.

The ALSA site http://www.alsa-project.org/ isn't clear on whether or not the nforce 4 is officially supported. The ALSA wiki site http://alsa.opensrc.org/index.php?page=AlsaDrivers only shows the nforce 2 and 3 being supported by the intel8x0 kernel module. Only the optical out is not working for the nforce 4, so things are almost there.

Has anyone gotten this to work yet?
Back to top
eklarson
Just got here...

Joined: 05 May 2005
Posts: 2

PostPosted: Thu May 26, 2005 4:18 pm    Post subject:

I've created a bug report on the ALSA bugtracking system. Its number is 0001094 - "nforce4 - optical spdif out not working". If you are having this same problem please go to https://bugtrack.alsa-project.org/alsa-bug/login_page.php and report it.
Back to top
pzgren
Linux Moderator
Moderator
Moderator

Joined: 18 Jun 2003
Posts: 1081
Location: The old Europe, Germany

PostPosted: Wed Jun 29, 2005 4:19 pm    Post subject:

Hello,

has anybody tried with ALSA for digital output this option for the oss emulation in the /etc/modprobe.conf:

options snd-pcm-oss dsp_map=2 adsp_map=2

And this /etc/asound.conf or $HOME/.asoundrc:

Code:

pcm.nforce-hw {
        type hw
        card 0
}
pcm.!default {
        type plug
        slave.pcm "nforce"
}
pcm.nforce {
        type dmix
        ipc_key 1234
        slave {
                pcm "hw:0,2"
                period_time 0
                period_size 1024
                buffer_size 32768
                rate 44100
        }
}


Regards,
Marcus
Back to top
Google
AdSense
Google
Back to top  
Display posts from previous:   
Post new topic   Reply to topic    nForcersHQ.com Forum Index » nForce Linux Goto page 1, 2  Next
All times are GMT Page 1 of 2


ToS | Privacy | Forum Rules | Contact | Advertise on this site
NVIDIA, the NVIDIA logo, NVIDIA nForce and all of the NVIDIA nForce product logos are trademarks of NVIDIA Corporation
nPowered by phpBB © 2007 phpBB Group  All rights reserved © 2001-2008 Michael Day nFHQ nForcersHQ.com | Fluffy-Gear.com
nForcersHQ supporters: Impar, wardog, MiniMax, envoid, jasonh, Krips, VAIOMAN, Zetro, sensai, me&er, RElliott, ScottRempel, JHogarth, IcemanIX, Etraman, KA, Tabajara, Xiomberg, ruddywarrior, hookahmike, MMoore, RHodgson, RGilson, powerarmour, Sepal, RRavat, DigitalRuin, HammerheadTech, Bane, DHunt, Fat Jez, baikal, Jumpin' Jon, MGadzikowski, JBishop, RDeBok, JDavies, HDHyland, TMorris