Author Topic: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004  (Read 49320 times)

tompin2

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #60 on: October 05, 2012, 03:43:28 am »
No luck for me, no pass through  :(.  Ardirtbiker, can you post your xine.conf and your alsa.conf?

Cheers,


ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #61 on: October 05, 2012, 04:03:27 am »
here they are:

/etc/pluto/xine.conf:  (NOTE:  only the 2nd to last line was added.. nothing else modified)
Code: [Select]
#
# xine config file
#
.version:1

# Entries which are still set to their default values are commented out.
# Remove the '#' at the beginning of the line, if you want to change them.

# Enable deinterlacing by default
# bool, default: 0
#gui.deinterlace_by_default:0

# Configuration experience level
# { Beginner  Advanced  Expert  Master of the known universe }, default: 0
gui.experience_level:Master of the known universe

# Enable OSD support
# bool, default: 1
#gui.osd_enabled:1

# Dismiss OSD time (s)
# numeric, default: 3
#gui.osd_timeout:3

# Ask user for playback with unsupported codec
# bool, default: 0
#gui.play_anyway:0

# Automatically reload old playlist
# bool, default: 0
#gui.playlist_auto_reload:0

# Audio visualization plugin
# { fftgraph  fftscope  oscope  goom }, default: 0
gui.post_audio_plugin:goom

# gui skin theme
# { xinetic }, default: 0
#gui.skin:xinetic

# Change xine's behavior for unexperienced user
# bool, default: 1
#gui.smart_mode:1

# Snapshot location
# string, default: /root
#gui.snapshotdir:/root

# Display splash screen
# bool, default: 1
#gui.splash:1

# Subtitle autoloading
# bool, default: 1
gui.subtitle_autoload:1

# Visual animation style
# { None  Post Plugin  Stream Animation }, default: 1
#gui.visual_anim:Post Plugin

# Windows stacking (more)
# bool, default: 0
#gui.always_layer_above:0

# Audio mixer control method
# { Sound card  Software }, default: 0
#gui.audio_mixer_method:Sound card

# Visiblility behavior of panel
# bool, default: 0
#gui.auto_panel_visibility:0

# Visibility behavior of output window
# bool, default: 0
#gui.auto_video_output_visibility:0

# Deinterlace plugin.
# string, default: tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1
#gui.deinterlace_plugin:tvtime:method=LinearBlend,cheap_mode=1,pulldown=0,use_progressive_frame_flag=1

# Event sender behavior
# bool, default: 1
#gui.eventer_sticky:1

# Windows stacking
# bool, default: 0
#gui.layer_above:0

# Use unscaled OSD
# bool, default: 1
#gui.osd_use_unscaled:1

# Screensaver wakeup
# numeric, default: 10
#gui.screensaver_timeout:10

# Menu shortcut style
# { Windows style  Emacs style }, default: 0
#gui.shortcut_style:Windows style

# Stream information
# bool, default: 0
#gui.sinfo_auto_update:0

# Skin Server Url
# string, default: http://xine.sourceforge.net/skins/skins.slx
#gui.skin_server_url:http://xine.sourceforge.net/skins/skins.slx

# Chapter hopping
# bool, default: 1
#gui.skip_by_chapter:1

# New stream sizes resize output window
# bool, default: 1
#gui.stream_resize_window:1

# tips timeout (ms)
# numeric, default: 500
#gui.tips_timeout:500

# gui tips visibility
# bool, default: 1
#gui.tips_visible:1

# Synchronized X protocol (debug)
# bool, default: 0
#gui.xsynchronize:0

# Double size for small streams (require stream_resize_window)
# bool, default: 0
#gui.zoom_small_stream:0

# Logo mrl
# string, default: file:/usr/share/xine/skins/xine-ui_logo.mpv
#gui.logo_mrl:file:/usr/share/xine/skins/xine-ui_logo.mpv

# use XVidModeExtension when switching to fullscreen
# bool, default: 0
#gui.use_xvidext:0

# Amplification level
# [0..200], default: 100
#gui.amp_level:100

# gui panel visibility
# bool, default: 1
#gui.panel_visible:1

# numeric, default: 200
gui.panel_x:53

# numeric, default: 100
gui.panel_y:313

# brightness value
# [0..65535], default: 32800
#gui.vo_brightness:32800

# contrast value
# [0..65535], default: 32772
#gui.vo_contrast:32772

# saturation value
# [0..65535], default: 32772
#gui.vo_saturation:32772

gui.control_x:262

gui.control_y:182

gui.eventer_x:653

gui.eventer_y:680

gui.mrl_browser_x:435

gui.mrl_browser_y:527

gui.setup_x:406

gui.setup_y:221

gui.sinfos_x:400

gui.sinfos_y:408

gui.tvset_x:246

gui.tvset_y:193

# speaker arrangement
# { Mono 1.0  Stereo 2.0  Headphones 2.0  Stereo 2.1  Surround 3.0  Surround 4.0  Surround 4.1  Surround 5.0  Surround 5.1  Surround 6.0  Surround 6.1  Surround 7.1  Pass Through }, default: 1
#audio.speaker_arrangement:Stereo 2.0

# audio driver to use
# { auto  null  alsa  oss  arts  esd  none  file }, default: 0
audio.driver:auto

# OSS audio mixer number, -1 for none
# numeric, default: -1
#audio.mixer_number:-1

# startup audio volume
# [0..100], default: 50
#audio.mixer_volume:50

# OSS audio device name
# { auto  /dev/dsp  /dev/sound/dsp }, default: 0
#audio.oss_device_name:auto

# OSS audio device number, -1 for none
# numeric, default: -1
#audio.oss_device_number:-1

# offset for digital passthrough
# numeric, default: 0
#audio.passthrough_offset:0

# restore volume level at startup
# bool, default: 0
#audio.remember_volume:0

# method to sync audio and video
# { metronom feedback  resample }, default: 0
#audio.av_sync_method:metronom feedback

# always resample to this rate (0 to disable)
# numeric, default: 0
#audio.force_rate:0

# number of audio buffers
# numeric, default: 230
#audio.num_buffers:230

# a/v sync method to use by OSS
# { auto  getodelay  getoptr  softsync  probebuffer }, default: 0
#audio.oss_sync_method:auto

# enable resampling
# { auto  off  on }, default: 0
#audio.resample_mode:auto

audio.alsa_front_device:default

audio.alsa_mixer_name:Master

# deinterlace method (deprecated)
# { none  bob  weave  greedy  onefield  onefield_xv  linearblend }, default: 4
#video.deinterlace_method:onefield

# disable all video scaling
# bool, default: 0
#video.disable_scaling:0

# video driver to use
# { auto  aadxr3  dxr3  xv  xshm  aa  none  vidixfb  vidix  fb }, default: 0
video.driver:xv

# horizontal image position in the output window
# [0..100], default: 50
#video.horizontal_position:50

# vertical image position in the output window
# [0..100], default: 50
#video.vertical_position:50

# pitch alignment workaround
# bool, default: 0
#video.xv_pitch_alignment:0

# enable double buffering
# bool, default: 1
#video.XV_DOUBLE_BUFFER:1

# number of video buffers
# numeric, default: 500
#video.num_buffers:500

# percentage of discarded frames to tolerate
# numeric, default: 10
#video.warn_discarded_threshold:10

# percentage of skipped frames to tolerate
# numeric, default: 10
#video.warn_skipped_threshold:10

# autopaint colour key
# bool, default: 0
#video.xv_autopaint_colorkey:0

# video overlay colour key
# [0..16777215], default: 66046
#video.xv_colorkey:66046

# framebuffer device name
# string, default:
#video.fb_device:

# DXR3 device number
# numeric, default: 0
#dxr3.device_number:0

# swap odd and even lines
# bool, default: 0
#dxr3.enc_swap_fields:0

# add black bars to correct aspect ratio
# bool, default: 1
#dxr3.enc_add_bars:1

# use smooth play mode for mpeg encoder playback
# bool, default: 1
#dxr3.enc_alt_play_mode:1

# Remember last DVB channel watched
# bool, default: 1
#input.dvb_last_channel_enable:1

# display DVB channel name
# bool, default: 0
#input.dvbdisplaychan:0

# default language for DVD playback
# string, default: en
#input.dvd_language:en

# region the DVD player claims to be in (1 to 8)
# numeric, default: 1
#input.dvd_region:1

# file browsing start location
# string, default: /home/work/pluto-svn/trunk/bin
input.file_origin_path:/home/public/data/music/AC-DC/The Razors Edge

# network bandwidth
# { 14.4 Kbps (Modem)  19.2 Kbps (Modem)  28.8 Kbps (Modem)  33.6 Kbps (Modem)  34.4 Kbps (Modem)  57.6 Kbps (Modem)  115.2 Kbps (ISDN)  262.2 Kbps (Cable/DSL)  393.2 Kbps (Cable/DSL)  524.3 Kbps (Cable/DSL)  1.5 Mbps (T1)  10.5 Mbps (LAN) }, default: 10
#input.mms_network_bandwidth:1.5 Mbps (T1)

# device used for CD audio
# string, default: /dev/cdrom
#input.cdda_device:/dev/cdrom

# query CDDB
# bool, default: 1
#input.cdda_use_cddb:1

# slow down disc drive to this speed factor
# numeric, default: 4
#input.drive_slowdown:4

# device used for DVD playback
# string, default: /dev/dvd
#input.dvd_device:/dev/dvd

# raw device set up for DVD access
# string, default: /dev/rdvd
#input.dvd_raw_device:/dev/rdvd

# read-ahead caching
# bool, default: 1
#input.dvd_use_readahead:1

# list hidden files
# bool, default: 0
#input.file_hidden_files:0

# Domains, where to ignore the HTTP proxy
# string, default:
#input.http_no_proxy:

# HTTP proxy host
# string, default:
#input.http_proxy_host:

# HTTP proxy password
# string, default:
#input.http_proxy_password:

# HTTP proxy port
# numeric, default: 80
#input.http_proxy_port:80

# HTTP proxy username
# string, default:
#input.http_proxy_user:

# device used for WinTV-PVR 250/350 (pvr plugin)
# string, default: /dev/video0
#input.pvr_device:/dev/video0

# v4l radio device
# string, default: /dev/v4l/radio0
#input.v4l_radio_device_path:/dev/v4l/radio0

# v4l video device
# string, default: /dev/v4l/video0
#input.v4l_video_device_path:/dev/v4l/video0

# device used for VCD playback
# string, default: /dev/cdrom
#input.vcd_device:/dev/cdrom

# Remember last DVB channel watched
# numeric, default: -1
#input.dvb_last_channel_watched:-1

# CSS decryption method
# { key  disc  title }, default: 0
#input.css_decryption_method:key

# unit for seeking
# { seek in program chain  seek in program }, default: 0
#input.dvd_seek_behaviour:seek in program chain

# unit for the skip action
# { skip program  skip part  skip title }, default: 0
#input.dvd_skip_behaviour:skip program

# MMS protocol
# { auto  TCP  HTTP }, default: 0
#input.mms_protocol:auto

# CDDB cache directory
# string, default: /root/.xine/cddbcache
#input.cdda_cddb_cachedir:/root/.xine/cddbcache

# CDDB server port
# numeric, default: 8880
#input.cdda_cddb_port:8880

# CDDB server name
# string, default: freedb.freedb.org
#input.cdda_cddb_server:freedb.freedb.org

# path to the title key cache
# string, default: /root/.dvdcss/
input.css_cache_path:/home/.dvdcss/

# use A/52 dynamic range compression
# bool, default: 0
#codec.a52_dynrng:0

# downmix audio to 2 channel surround stereo
# bool, default: 0
#codec.a52_surround_downmix:0

# A/52 volume
# [0..200], default: 100
#codec.a52_level:100

# MPEG-4 postprocessing quality
# [0..6], default: 3
#codec.ffmpeg_pp_quality:3

# path to RealPlayer codecs
# string, default: unknown
codec.real_codecs_path:/usr/lib/win32

# path to Win32 codecs
# string, default: /usr/lib/win32
#codec.win32_path:/usr/lib/win32

# frames per second to generate
# numeric, default: 10
#post.goom_fps:10

# goom image height
# numeric, default: 240
#post.goom_height:240

# goom image width
# numeric, default: 320
#post.goom_width:320

# colorspace conversion method
# { Fast but not photorealistic  Slow but looks better }, default: 0
#post.goom_csc_method:Fast but not photorealistic

# priority for a/52 decoder
# numeric, default: 0
#decoder.a/52_priority:0

# priority for bitplane decoder
# numeric, default: 0
#decoder.bitplane_priority:0

# priority for dts decoder
# numeric, default: 0
#decoder.dts_priority:0

# priority for dvaudio decoder
# numeric, default: 0
#decoder.dvaudio_priority:0

# priority for dxr3-mpeg2 decoder
# numeric, default: 0
#decoder.dxr3-mpeg2_priority:0

# priority for dxr3-spudec decoder
# numeric, default: 0
#decoder.dxr3-spudec_priority:0

# priority for faad decoder
# numeric, default: 0
#decoder.faad_priority:0

# priority for ffmpeg-wmv8 decoder
# numeric, default: 0
#decoder.ffmpeg-wmv8_priority:0

# priority for ffmpegaudio decoder
# numeric, default: 0
#decoder.ffmpegaudio_priority:0

# priority for ffmpegvideo decoder
# numeric, default: 0
#decoder.ffmpegvideo_priority:0

# priority for flacdec decoder
# numeric, default: 0
#decoder.flacdec_priority:0

# priority for gsm610 decoder
# numeric, default: 0
#decoder.gsm610_priority:0

# priority for image decoder
# numeric, default: 0
#decoder.image_priority:0

# priority for mad decoder
# numeric, default: 0
#decoder.mad_priority:0

# priority for mpeg2 decoder
# numeric, default: 0
#decoder.mpeg2_priority:0

# priority for nsf decoder
# numeric, default: 0
#decoder.nsf_priority:0

# priority for pcm decoder
# numeric, default: 0
#decoder.pcm_priority:0

# priority for qta decoder
# numeric, default: 0
#decoder.qta_priority:0

# priority for qtv decoder
# numeric, default: 0
#decoder.qtv_priority:0

# priority for real decoder
# numeric, default: 0
#decoder.real_priority:0

# priority for realadec decoder
# numeric, default: 0
#decoder.realadec_priority:0

# priority for rgb decoder
# numeric, default: 0
#decoder.rgb_priority:0

# priority for speex decoder
# numeric, default: 0
#decoder.speex_priority:0

# priority for spucc decoder
# numeric, default: 0
#decoder.spucc_priority:0

# priority for spucmml decoder
# numeric, default: 0
#decoder.spucmml_priority:0

# priority for spudec decoder
# numeric, default: 0
#decoder.spudec_priority:0

# priority for sputext decoder
# numeric, default: 0
#decoder.sputext_priority:0

# priority for vorbis decoder
# numeric, default: 0
#decoder.vorbis_priority:0

# priority for win32a decoder
# numeric, default: 0
#decoder.win32a_priority:0

# priority for win32v decoder
# numeric, default: 0
#decoder.win32v_priority:0

# priority for yuv decoder
# numeric, default: 0
#decoder.yuv_priority:0

# subtitle size
# { tiny  small  normal  large  very large  huge }, default: 1
misc.spu_subtitle_size:large

# subtitle vertical offset
# numeric, default: 0
#misc.spu_vertical_offset:0

# palette (foreground-border-background) to use for subtitles and OSD
# { white-black-transparent  white-none-transparent  white-none-translucid  yellow-black-transparent }, default: 0
#misc.osd_text_palette:white-black-transparent

# font for subtitles
# string, default: sans
#misc.spu_font:sans

# encoding of the subtitles
# string, default: iso-8859-1
#misc.spu_src_encoding:iso-8859-1

# use unscaled OSD if possible
# bool, default: 1
#misc.spu_use_unscaled_osd:1

# media format detection strategy
# { default  reverse  content  extension }, default: 0
#misc.demux_strategy:default

# memcopy method used by xine
# { probe  libc  kernel  mmx  mmxext  sse }, default: 0
misc.memcpy_method:sse

# default duration of subtitle display in seconds
# numeric, default: 4
#misc.sub_timeout:4

# allow implicit changes to the configuration (e.g. by MRL)
# bool, default: 0
#misc.implicit_config:0

# directory for saving streams
# string, default:
#misc.save_dir:

# automatically advance track/entry
# bool, default: 1
#vcd.autoadvance:1

# default type to use on VCD autoplay
# { track  entry  segment  playlist }, default: 3
#vcd.autoplay:playlist

# position slider range
# { auto  track  entry }, default: 0
#vcd.length_reporting:auto

# show 'rejected' LIDs
# bool, default: 0
#vcd.show_rejected:0

# format string for stream comment field
# string, default: %P - Track %T
#vcd.comment_format:%P - Track %T

# debug flag mask
# numeric, default: 0
#vcd.debug:0

# default CD drive used for VCD when none given
# string, default:
#vcd.default_device:

# format string for display banner
# string, default: %F - %I %N%L%S, disk %c of %C - %v %A
#vcd.title_format:%F - %I %N%L%S, disk %c of %C - %v %A

audio.device.alsa_front_device:asym_hdmi
audio.device.alsa_default_device:asym_hdmi
audio.device.alsa_passthrough_device:asym_hdmi
audio.output.speaker_arrangement:Pass Through


/usr/share/alsa/alsa.conf:    (NOTE:  only three lines were modified/added in the 'defaults' section (you'll see 'Nvidia' used for the card number)
Code: [Select]
#
#  ALSA library configuration file
#

# pre-load the configuration files

@hooks [
{
func load
files [
"/usr/share/alsa/pulse.conf"
"/usr/share/alsa/bluetooth.conf"
"/etc/asound.conf"
"~/.asoundrc"
]
errors false
}
]

# load card-specific configuration files (on request)

cards.@hooks [
{
func load
files [
{
@func concat
strings [
{ @func datadir }
"/cards/aliases.conf"
]
}
]
}
{
func load_for_all_cards
files [
{
@func concat
strings [
{ @func datadir }
"/cards/"
{ @func private_string }
".conf"
]
}
]
errors false
}
]

#
# defaults
#

# show all name hints also for definitions without hint {} section
defaults.namehint.showall off
# show just basic name hints
defaults.namehint.basic on
# show extended name hints
defaults.namehint.extended off
#
# defaults.ctl.card 0
defaults.ctl.card NVidia
# defaults.pcm.card 0
defaults.pcm.card NVidia
# defaults.pcm.device 0
defaults.pcm.device 7
defaults.pcm.subdevice -1
defaults.pcm.nonblock 1
defaults.pcm.ipc_key 5678293
defaults.pcm.ipc_gid audio
defaults.pcm.ipc_perm 0660
defaults.pcm.dmix.max_periods 0
defaults.pcm.dmix.rate 48000
defaults.pcm.dmix.format "unchanged"
defaults.pcm.dmix.card defaults.pcm.card
defaults.pcm.dmix.device defaults.pcm.device
defaults.pcm.dsnoop.card defaults.pcm.card
defaults.pcm.dsnoop.device defaults.pcm.device
defaults.pcm.front.card defaults.pcm.card
defaults.pcm.front.device defaults.pcm.device
defaults.pcm.rear.card defaults.pcm.card
defaults.pcm.rear.device defaults.pcm.device
defaults.pcm.center_lfe.card defaults.pcm.card
defaults.pcm.center_lfe.device defaults.pcm.device
defaults.pcm.side.card defaults.pcm.card
defaults.pcm.side.device defaults.pcm.device
defaults.pcm.surround40.card defaults.pcm.card
defaults.pcm.surround40.device defaults.pcm.device
defaults.pcm.surround41.card defaults.pcm.card
defaults.pcm.surround41.device defaults.pcm.device
defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
defaults.pcm.iec958.device defaults.pcm.device
defaults.pcm.modem.card defaults.pcm.card
defaults.pcm.modem.device defaults.pcm.device
# truncate files via file or tee PCM
defaults.pcm.file_format "raw"
defaults.pcm.file_truncate true
defaults.rawmidi.card 0
defaults.rawmidi.device 0
defaults.rawmidi.subdevice -1
defaults.hwdep.card 0
defaults.hwdep.device 0
defaults.timer.class 2
defaults.timer.sclass 0
defaults.timer.card 0
defaults.timer.device 0
defaults.timer.subdevice 0

#
#  PCM interface
#

# redirect to load-on-demand extended pcm definitions
pcm.cards cards.pcm

pcm.default cards.pcm.default
pcm.front cards.pcm.front
pcm.rear cards.pcm.rear
pcm.center_lfe cards.pcm.center_lfe
pcm.side cards.pcm.side
pcm.surround40 cards.pcm.surround40
pcm.surround41 cards.pcm.surround41
pcm.surround50 cards.pcm.surround50
pcm.surround51 cards.pcm.surround51
pcm.surround71 cards.pcm.surround71
pcm.iec958 cards.pcm.iec958
pcm.spdif iec958
pcm.hdmi cards.pcm.hdmi
pcm.dmix cards.pcm.dmix
pcm.dsnoop cards.pcm.dsnoop
pcm.modem cards.pcm.modem
pcm.phoneline cards.pcm.phoneline

pcm.hw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_PCM_DEVICE
]
default {
@func refer
name defaults.pcm.device
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.pcm.subdevice
}
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
hint {
show {
@func refer
name defaults.namehint.extended
}
description "Direct hardware device without any conversions"
}
}

pcm.plughw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_PCM_CARD
ALSA_CARD
]
default {
@func refer
name defaults.pcm.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_PCM_DEVICE
]
default {
@func refer
name defaults.pcm.device
}
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.pcm.subdevice
}
}
type plug
slave.pcm {
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
hint {
show {
@func refer
name defaults.namehint.extended
}
description "Hardware device with all software conversions"
}
}

pcm.plug {
@args [ SLAVE ]
@args.SLAVE {
type string
}
type plug
slave.pcm $SLAVE
}

pcm.shm {
@args [ SOCKET PCM ]
@args.SOCKET {
type string
}
@args.PCM {
type string
}
type shm
server $SOCKET
pcm $PCM
}

pcm.tee {
@args [ SLAVE FILE FORMAT ]
@args.SLAVE {
type string
}
@args.FILE {
type string
}
@args.FORMAT {
type string
default {
@func refer
name defaults.pcm.file_format
}
}
type file
slave.pcm $SLAVE
file $FILE
format $FORMAT
truncate {
@func refer
name defaults.pcm.file_truncate
}
}

pcm.file {
@args [ FILE FORMAT ]
@args.FILE {
type string
}
@args.FORMAT {
type string
default {
@func refer
name defaults.pcm.file_format
}
}
type file
slave.pcm null
file $FILE
format $FORMAT
truncate {
@func refer
name defaults.pcm.file_truncate
}
}

pcm.null {
type null
hint {
show {
@func refer
name defaults.namehint.basic
}
description "Discard all samples (playback) or generate zero samples (capture)"
}
}

#
#  Control interface
#

ctl.default {
type hw
card {
@func getenv
vars [
ALSA_CTL_CARD
ALSA_CARD
]
default {
@func refer
name defaults.ctl.card
}
}
}

ctl.hw {
@args [ CARD ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_CTL_CARD
ALSA_CARD
]
default {
@func refer
name defaults.ctl.card
}
}
}
type hw
card $CARD
}

ctl.shm {
@args [ SOCKET CTL ]
@args.SOCKET {
type string
}
@args.CTL {
type string
}
type shm
server $SOCKET
ctl $CTL
}

#
#  RawMidi interface
#

rawmidi.default {
type hw
card {
@func getenv
vars [
ALSA_RAWMIDI_CARD
ALSA_CARD
]
default {
@func refer
name defaults.rawmidi.card
}
}
device {
@func igetenv
vars [
ALSA_RAWMIDI_DEVICE
]
default {
@func refer
name defaults.rawmidi.device
}
}
}

rawmidi.hw {
@args [ CARD DEV SUBDEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_RAWMIDI_CARD
ALSA_CARD
]
default {
@func refer
name defaults.rawmidi.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_RAWMIDI_DEVICE
]
default {
@func refer
name defaults.rawmidi.device
}
}
}
@args.SUBDEV {
type integer
default -1
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
hint {
description "Direct rawmidi driver device"
device $DEV
}
}

rawmidi.virtual {
@args [ MERGE ]
@args.MERGE {
type string
default 1
}
type virtual
merge $MERGE
}

#
#  Sequencer interface
#

seq.default {
type hw
}

seq.hw {
type hw
}

#
#  HwDep interface
#

hwdep.default {
type hw
card {
@func getenv
vars [
ALSA_HWDEP_CARD
ALSA_CARD
]
default {
@func refer
name defaults.hwdep.card
}
}
device {
@func igetenv
vars [
ALSA_HWDEP_DEVICE
]
default {
@func refer
name defaults.hwdep.device
}
}
}

hwdep.hw {
@args [ CARD DEV ]
@args.CARD {
type string
default {
@func getenv
vars [
ALSA_HWDEP_CARD
ALSA_CARD
]
default {
@func refer
name defaults.hwdep.card
}
}
}
@args.DEV {
type integer
default {
@func igetenv
vars [
ALSA_HWDEP_DEVICE
]
default {
@func refer
name defaults.hwdep.device
}
}
}
type hw
card $CARD
device $DEV
}

#
#  Timer interface
#

timer_query.default {
type hw
}

timer_query.hw {
type hw
}

timer.default {
type hw
class {
@func refer
name defaults.timer.class
}
sclass {
@func refer
name defaults.timer.sclass
}
card {
@func refer
name defaults.timer.card
}
device {
@func refer
name defaults.timer.device
}
subdevice {
@func refer
name defaults.timer.subdevice
}
hint.description "Default direct hardware timer device"
}

timer.hw {
@args [ CLASS SCLASS CARD DEV SUBDEV ]
@args.CLASS {
type integer
default {
@func refer
name defaults.timer.class
}
}
@args.SCLASS {
type integer
default {
@func refer
name defaults.timer.sclass
}
}
@args.CARD {
type string
default {
@func refer
name defaults.timer.card
}
}
@args.DEV {
type integer
default {
@func refer
name defaults.timer.device
}
}
@args.SUBDEV {
type integer
default {
@func refer
name defaults.timer.subdevice
}
}
type hw
class $CLASS
sclass $SCLASS
card $CARD
device $DEV
subdevice $SUBDEV
}


my NVIDIA card is my 2nd audio device based on  cat /proc/asound/cards   
my NVIDIA card is the only card with HDMI output and i DID NOT disable my onboard ATI-SB card (which also uses HDA-Intel driver)


Im using the 'default' /etc/asound.conf file (no modifications)


I am running a newer kernel because my NVIDIA card audio hardware was not seen by the default 2.6.32 kernel (im using 2.6.38-16-generic)
this causes alsa 1.0.23 to be used.


I also installed the backports alsa modules:   linux-backports-modules-alsa-lucid-generic     although there is a linux-backports-modules-alsa-2.6.32-43-generic that may work.

« Last Edit: October 05, 2012, 04:16:18 am by ardirtbiker »

tompin2

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #62 on: October 05, 2012, 05:31:22 am »
Hello to all,

Thanks for the quick reply.  I fixed it!!!! ;D, I was playing with the xine.conf.  To get it to work I had to change to be more direct with the device
Code: [Select]
audio.device.alsa_front_device:asym_hdmi
audio.device.alsa_default_device:asym_hdmi
audio.device.alsa_passthrough_device:plughw:1,7
audio.output.speaker_arrangement:Pass Through

Thanks anyways ardirtbiker, you guide me to the right place!!!!

What I did for testing was work with the xine on the kdesktop, it was faster that way, I started playing around with the .config under .xine folder in root user so I did not wasted time going back and forward to the orbiter.  Once I tested all the combinations, just copy and paste!!!!

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #63 on: October 06, 2012, 02:16:58 am »
tompin2,
     Are you able to get DTS-HD and True-HD audio thru the HDMI cable?   I have not just DTS (8 channel) and Dolby Digital.   

I dont know if it is a limitation of this version of xine.


Dennis

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #64 on: October 08, 2012, 12:40:08 pm »
Thank you guys for all your help. I have submitted changes which should fix audio for everyone on all versions of alsa on any card, and also enable surround. Packages will be made today, and a new snap. I am afraid 8 chan is about as good as we can shoot for :)
I never quit... I just ping out.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #65 on: October 08, 2012, 01:16:42 pm »
Dolby TrueHD and DTS-HD do a maximum of 8 channels. Make sure your receiver understands Dolby TrueHD / DTS-HD and your connection is capable of it as well.

pigdog

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1105
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #66 on: October 08, 2012, 03:57:34 pm »
Hi,

posde is right... your receiver has to support DTS, DTS-HD Master, Dolby TrueHD, etc. decoding.

The BD/DVD disk has to be encoded with DTS-HD Master, TrueHD, etc.

Receivers normally will read DTS-HD or TrueHD and decode this format.  This decode will show up on the receiver window.  I haven't seen (doesn't mean it's not out there) a receiver that allows your to set the default sound field to TrueHD etc.  Normally you set the default sound type to ProLogic, Neo etc, and when the receiver read the TrueHD encoding it overrides the default setting and plays TrueHD sound.

Something else to watch for is that some BD/DVD players may not provide the features by default without turning on/off options to provide DTS, TrueHD etc.

Cheers


l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #67 on: October 09, 2012, 12:50:08 am »
My upgraded machines are working, but I have muffed something.

Hold off expecting miracles for a couple days.
I never quit... I just ping out.

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #68 on: October 09, 2012, 02:07:13 am »
Hi guys,
 thanks l3mce for the hard work... and glad I could help.

yes I have a Denon AVR-1913 receiver that supports TrueHD and DTS-HD.   I was getting 8 channels but only as DTS (at least the receiver is displaying that)


I'll rerun AVWizard to see if it makes a difference, and if not, then rebuild my MD image this weekend.


Dennis

tompin2

  • Veteran
  • ***
  • Posts: 131
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #69 on: October 09, 2012, 02:27:55 am »
tompin2,
     Are you able to get DTS-HD and True-HD audio thru the HDMI cable?   I have not just DTS (8 channel) and Dolby Digital.   

I dont know if it is a limitation of this version of xine.


Dennis
Hi Ardirtbiker (Dennis),

I don't have any videos with DTS-HD OR TRUE-HD,  Ill get some samples and give it a try.  So far it is priceless the change, from normal stereo to at least 5.1 surround.  I don't think it should be a problem.  Pass Through will send anything to the receiver, so I guess that xine should send it.  The cable can be tested with speaker-test , I also have a DENON amp and with "-c 8" the amp picks it up right away.
I'll Get some tracks and test to see.  It's to bad there is no way to rip my BluRay Disk directly as DVD's.  Ill do some test and keep everyone posted. 

Also thanks L3mce for all your help!.  I will update the id41 for testing and post results.  So far this post looks that is about to change to "SOLVED!".  Thanks again to everyone for participating

T

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #70 on: October 09, 2012, 02:35:12 am »
I am seeing the 7.1 audio, but the receiver only displays 'DTS' not DTS-HD or DTS-HD MA.   When I play a Bluray disc direct from my bluray player, i get the correct audio format..

my .mkv files were created with the HD audio enabled.   I am wondering if xine is not decoding correctly or if I have some other issue i need to resolve.


dennis

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #71 on: October 09, 2012, 12:11:06 pm »
As far as I understand the wikipedia entry, DTS-HD and Dolby TrueIHD need HDMI 1.3 - is you graphics adapter and your cable both HDMI 1.3?

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #72 on: October 10, 2012, 02:26:58 am »
checked display card..   mini-HDMI 1.4a connector and I am assuming the mini-HDMI to HDMI cable that came with the card is at least 1.3.      I guess what I need to do is find some sound files that have DTS-HD or True-HD encoded audio.


Will keep informed
« Last Edit: October 10, 2012, 02:31:50 am by ardirtbiker »

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #73 on: October 14, 2012, 01:37:31 pm »
Hi l3mce,

Just ran Globalupdates and I've lost hdmi audio on my acer revo again.

The layout of asound.conf has changed so I can't apply the previous fix you gave me. Judging by your last post above I guess you are aware of this.

Do I need to restore from the md from the tarball or is there a fix on the way?
Cheers
Barney

ardirtbiker

  • Guru
  • ****
  • Posts: 308
    • View Profile
Re: HDMI nvidia HDA sound issues ZOTAC ZBOX (id41) - 1004
« Reply #74 on: October 14, 2012, 03:25:53 pm »
I found a site that has HD trailers here: http://www.demo-world.eu/trailers/high-definition-trailers.php

I downloaded a DTS-HD and a True-HD file...   the DTS-HD plays as just 7.1 DTS and the True-HD only plays as Stereo (at least that is what my receiver is saying it is).

I know my receiver works correctly as I have a bluray player and the receiver will display it is decoding the HD formats.   


I'm sure there is just something missing in the sound config setup...   Im still researching in my spare time.


Dennis