Originally Posted by
tedder
No, I'm just talking about generic digital, like you mentioned here:
So here are the gory details.
PC = atom 330 + GT 240
OS = ubuntu minimal 10.04 64-bit; no desktop, no pulseaudio
Nvidia Drivers = 256.53
ALSA = 1.0.23 installed via script http://ubuntuforums.org/showthread.php?p=6589810
XBMC = Dharma Beta 1
Current Functionality = Full 5.1 surround, decodes and plays everything properly such as 2-channel FLAC, AC3, DTS.
Mobo settings = Integrated Audio is DISABLED; no need for it.
ALSA_HDMI = only shows 1 'port'; achieved using the probe_mask option
Other Notes:
a) I followed this guide for configuring the GT 2x0 for HDMI audio, video: http://wiki.xbmc.org/index.php?title...T220,_or_GT240
b) to test using aplay or speaker-test make sure X is running or tests won't output sound; see my earlier posts
c) if you are using the Nvidia binary drivers like above and ALSA upgrade script you *may* need to rerun both after a kernel upgrade; not a big deal for my XBMC box but worth noting.
Code:
xbmc@xbmc$ nvidia-settings -v
nvidia-settings: version 256.53 (buildmeister@builder97.nvidia.com) Fri Aug 27 20:55:01 PDT 2010 ....
xbmc@xbmc$ uname -a
Linux xbmc 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux
xbmc@xbmc$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.
Compiled on Sep 6 2010 for kernel 2.6.32-24-generic (SMP).
xbmc@xbmc$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
Subdevices: 0/1
Subdevice #0: subdevice #0
xbmc@xbmc$ aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
hdmi:CARD=NVidia
HDA NVidia, NVIDIA HDMI
HDMI Audio Output
Code:
/etc/modprobe.d/alsa-base.conf
- see attachment
- left as is; shouldn't need to modify after ALSA 1.0.23 installation script does it thing
- could likely put sound.conf info in here and not require sound.conf
Code:
/usr/share/alsa/cards/HDA-Intel.conf
- see attachment
- also didn't touch after the ALSA 1.0.23 upgrade script
Code:
/etc/modprobe.d/sound.conf
options snd-hda-intel enable_msi=0 probe_mask=0xfff2
- the 0xfff2 applies since I only have 1 sound device in the system; internal soundcard disabled
Code:
/etc/asound.conf
pcm.!default hdmi:NVidia
pcm:iec958 hdmi:NVidia
- added as per guide's suggestion
Code:
XBMC Dharma Beta 1 Audio Settings
Audio Output = HDMI
Speaker Config = 5.1
Audio Output Device = HDMI
Passthrough Device = HDMI
- screenshot attached as well
I think that is everything. This works well for my XBMC system. Am planning on breaking it soon to test out mutlichannel FLAC/LPCM for lossless audio codecs.
Bookmarks