(2013-03-09, 18:36)adave Wrote: I read through countless posts and was unsuccessful at getting sound over HDMI. Any help would be appreciated. Let me know if I can provide any additional information.
Hi there.
It's a bit later for help with HDMI sound, anyway that could be useful for someone.
There is a simple way get HDMI sound works (and ONLY it) on ASRock ION 330 HT and systems with similar audiocards.
1. rebuild custom kernel
(I don't know that is going on in the world of Ubuntu, but I hope you can able get a "standard" kernel config and slightly adjust it. For other people it shouldn't be a problem at all.)
Edit the kernel .config in a way is:
Code:
CONFIG_SND_HDA_INTEL=y
CONFIG_SND_HDA_PREALLOC_SIZE=2048
# CONFIG_SND_HDA_HWDEP is not set
CONFIG_SND_HDA_INPUT_BEEP=y
CONFIG_SND_HDA_INPUT_BEEP_MODE=1
CONFIG_SND_HDA_INPUT_JACK=y
# CONFIG_SND_HDA_PATCH_LOADER is not set
# CONFIG_SND_HDA_CODEC_REALTEK is not set
# CONFIG_SND_HDA_CODEC_ANALOG is not set
# CONFIG_SND_HDA_CODEC_SIGMATEL is not set
# CONFIG_SND_HDA_CODEC_VIA is not set
CONFIG_SND_HDA_CODEC_HDMI=y
# CONFIG_SND_HDA_CODEC_CIRRUS is not set
# CONFIG_SND_HDA_CODEC_CONEXANT is not set
# CONFIG_SND_HDA_CODEC_CA0110 is not set
# CONFIG_SND_HDA_CODEC_CA0132 is not set
# CONFIG_SND_HDA_CODEC_CMEDIA is not set
# CONFIG_SND_HDA_CODEC_SI3054 is not set
# CONFIG_SND_HDA_GENERIC is not set
CONFIG_SND_HDA_POWER_SAVE_DEFAULT=0
or a kind of screenshot:
Code:
.config - Linux/x86 3.10.11 Kernel Configuration
> Device Drivers > Sound card support > Advanced Linux Sound Architecture > PCI sound devices > Intel HD Audio
--- Intel HD Audio
(2048) Pre-allocated buffer size for HD-audio driver
[ ] Build hwdep interface for HD-audio driver
[*] Support digital beep via input layer
(1) Digital beep registration mode (0=off, 1=on)
[*] Support jack plugging notification via input layer
[ ] Support initialization patch loading for HD-audio
[ ] Build Realtek HD-audio codec support
[ ] Build Analog Device HD-audio codec support
[ ] Build IDT/Sigmatel HD-audio codec support
[ ] Build VIA HD-audio codec support
[*] Build HDMI/DisplayPort HD-audio codec support
[ ] Build Cirrus Logic codec support
[ ] Build Conexant HD-audio codec support
[ ] Build Creative CA0110-IBG codec support
[ ] Build Creative CA0132 codec support
[ ] Build C-Media HD-audio codec support
[ ] Build Silicon Labs 3054 HD-modem codec support
[ ] Enable generic HD-audio codec parser
(0) Default time-out for HD-audio power-save mode
Some details.
The config is taken from kernel 3.10.11, newer kernels might have changes.
This config "disables" complex path of the sound in the card and left the only one - 1 out via HDMI.
Sure, you should rebuild the kernel and reboot.
After that you should see only one sound device:
Code:
asrock1 visualization.projectm # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 0/1
Subdevice #0: subdevice #0
asrock1 visualization.projectm #
2. xbmc sound OTB
After that XBMC sould start out sound via HDMI by default, OTB.
If not - check System/Settings/Audio output:
- all audio devices should be set to HDMI
- all other options initially should be set to OFF, later you could add them one-by-one and detect which are working and which are not (it totally depends on your TV model)
AFAIK, it is needed to restart XBMC after sound setup changes.
Tested on linux kernel 3.10.11, x11-drivers/nvidia-drivers-325.15, Gentoo x86_64 Intel® Atom CPU 330 @ 1.60GHz (ASRock 330 HT). ...and some 5 y.o. Sony LCD, KDL-32 I guess.