Kodi Community Forum

Full Version: NVidia HDMI in zotac gf9300-g-e
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Has faced a problem of a conclusion of a sound through HDMI on a parent payment
zotac gf9300-g-e.

Situation following:

Output: Digital
AC3: Off
DTS: Off
Audio Output: hdmi
Passthrough: hdmi
Downmix: On

The sound works

Output: Digital
AC3: On
DTS: On
Audio Output: hdmi
Passthrough: hdmi
Downmix: Off

Instead of sound AC3 and DTS rumbling
Thus if to make iecset-n1 audio off
AC3 And DTS the sound is deduced normally

Such impression is made that xbmc not correctly changes bit responsible for stream contents through hdmi

AC3/DTS
iecset -n0
Mode: consumer
Data: non-audio
Rate: 48000 Hz
Copyright: permitted
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm

iecset -n1
Mode: consumer
Data: audio
Rate: 44100 Hz
Copyright: permitted
Emphasis: none
Category: general
Original: 1st generation
Clock: 1000 ppm


analog
iecset -n0
Mode: consumer
Data: audio
Rate: 48000 Hz
Copyright: permitted
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm


iecset -n1
Mode: consumer
Data: audio
Rate: 44100 Hz
Copyright: permitted
Emphasis: none
Category: general
Original: 1st generation
Clock: 1000 ppm

xbmc switches not that device in a mode of a conclusion of the data
How to overcome this problem? Prompt how to solve a problem, in advance thanks please.



aplay l
l: No such file or directory
root@htpc:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 Analog [ALC662 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 Digital [ALC662 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0

aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=NVidia
HDA NVidia, ALC662 Analog
Default Audio Device
front:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Analog
Front speakers
surround40:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
HDA NVidia, ALC662 Digital
IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
HDA NVidia, NVIDIA HDMI
HDMI Audio Output

Linux htpc 2.6.31-20-generic #58-Ubuntu SMP Fri Mar 12 04:38:19 UTC 2010 x86_64 GNU/Linux

alsa-driver-1.0.22.1

xbmc PRE-10.5 r28256
Hey.. did you figure this out..

i have a similar problem.. My mobo is a Zotac with nvidia GF9300 onboard.. with HDMI out..

however i get white noise when using digital passthrough over HDMI.

Direct S/PDIF using TOS-LINK works fine.. but over HDMI doesn't.

my HDMI out is at plughw:0,3

according to this link... if you get white noise then it is most likely an iecset issue. Alsa is supposed to set things properly, you can override using
ieset audio 0..

http://alsa.opensrc.org/index.php/DigitalOut
Quote:Solve problems
If you hear screeching, modem-like sounds or noise with digital pass-through then that means your digital output isn't set up correctly and the AC3/dts decoder can't make sense of the data it receives. If this happens there are some things you can try:
IEC958 knows two modes: audio (PCM) and non-audio. AC3 and dts require non-audio to be selected. ALSA should do this automatically but you can force non-audio mode with iecset audio 0 and audio mode with iecset audio 1.
Try using 'plughw' instead of 'hw'. (Shouldn't work but for some people it apparently does)
If neither of these work for you, it may be due to the driver and card's support of sample rates and formats. This might be the case if you see errors about "invalid arguments". This is one reason to use the dmix mixer plugin. Look for user notes on your card at http://alsa-project.org/alsa-doc/, ALSA modules and Sound cards. Read about dmix and .asoundrc (asound.conf).



DTS/AC3 pass through is supposed to have iecset audio = 0.

but mine has audio = 1 when playing back a DTS movie which is supposed to pass through.

(During playback of a DTS movie with PASS THROUGH ENABLED, and DTS ENABLED Recieved in XBMC is checked. Pass Through device set to plughw:0,3)
Code:
iecset
Mode: consumer
[b]Data: audio[/b]
Rate: 48000 Hz
Copyright: permitted
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm


I try to force iecset audio 0 while playback is going, but it doesn't let me


Code:
iecset audio 0
snd_ctl_elem_write: Operation not permitted


how can i force alsa or xbmc not to set audio = 1... it should be audio=0 for pass through..

i beileve this is an alsa thing.. not xbmc ?/