[LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Announcements, Info, and General Discussion (/forumdisplay.php?fid=85)
+--- Forum: Tips, tricks, and step by step guides (/forumdisplay.php?fid=110)
+--- Thread: [LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI (/showthread.php?tid=59877)
- alanwww1 - 2009-10-19 23:44
chris2922 Wrote:Also, the speaker test no longer works - it used to work via Putty but now doesnt.
Hi Chris !
Thanks's for the feedback!
You get the resource busy message because now your navsound are working and those keep up your device constantly. If you quit xbmc and just start Xserver (note that you need to have graphical interface started to get hdmi audio working) without xbmc, speaker-test will work again. But you'd rather listen to xbmc than speaker test right ?
If you had some directory missing, please report which one, maybe i have some misstyping in the guide.
- michal - 2009-10-20 02:11
I don't suppose a speaker test feature could be added to XBMC itself?
Probably not the place to ask, but that would be great.
- pokerbud81 - 2009-10-20 03:19
Zotac Ion D-E XBMCLive +1 Perfect Guide no issues.
- nino - 2009-10-21 13:29
Firstly many thanks for your guide!
Im having a few issues with output from the speakers, let me describe my setup:
Acer Revo - Nvidia GPU with HDMI out
Bose V30 surround sound with HDMI inputs.
I followed the guide and recieved some errors when using amixer:
/usr/bin/amixer -q -c 0 sset 'IEC958 default pcm',0 unmute/usr/bin/amixer -q -c 0 sset 'IEC958',0 unmute && /usr/bin/amixer -q -c 0 sset 'IEC958',1 unmute
amixer: Unable to find simple control 'IEC958 default pcm',0
on looking in alsamixer i do not have that channel/device, my selected device is:
Card: HDA Nvidia
Chip: Nvidia MCP7A HDMI
the out put of aplay is:
Thanks in advance for any help, ive just spent a fortune on the surround sound system and im only getting 2.0 from the media server! D'OH!
- alanwww1 - 2009-10-21 16:45
nino Wrote:Thanks in advance for any help, ive just spent a fortune on the surround sound system and im only getting 2.0 from the media server! D'OH!
Why are your trying iec958 ? You should be trying hdmi device. The only way you can get multichannel lpcm.
- nino - 2009-10-21 21:55
Sorry i was aimlessly folowing the tutorial as i know next to nothing about audio cards
i have used XBMC with the hdmi options and im getting the output coming up as PCM 2.0 on the bose system.
Ive tried messing with the syntax of the commands but no joy, could you give me a few tips please.
- alanwww1 - 2009-10-21 23:15
When you type speaker-test -Dhdmi -c6 do you get an error message ? Are you sure the downmix to stereo option is unticked in xbmc ?
- michal - 2009-10-22 12:23
I find alsa configuration really confusing and was hoping you could help me out.
I am also to some extent blindly following this tutorial. I'm sure I'll understand it eventually. Here's the error I am getting.
I very much appreciate the help you have provided thus far.
- nino - 2009-10-22 13:31
I did a complete format of the revo and reinstalled ubuntu, i think i had some funky issue swith the many different versions of ubuntu that was installed as well i upped my graphics to 256 in the BIO. I didnt need to update ALSA or change as settings as per your guide, it just worked out of the box
XBMC is sucessfully pluing mt 1080 content and the BOSE is reporting DTS 5.1 and Dolby 5.1 !!!! w000000000000000000p
I have the following settings:
Audio Ouput: Digital
Dolby Digital ACE : yes
DTS : yes
Output device: custom
Custom device: plughw:0,3
Passthrough device: hdmi
The xbmc_dts_test.mkv also works as expected however the aac doesnt, does that mean my bose cant decode AAC files?
Whilst i know its working as expected i want to double check using the speaker test, but im having issues:
speaker-test -Dplughw:0,3 -c6
executes but i dont get anything from the speakers
speaker-test -Dhdmi -c6
- alanwww1 - 2009-10-22 14:03
nino Wrote:hi alanww1
Hi Nino !
There is a great miss-understanding of formats here. This is why i made a description of formats in the beginning of the guide. You can pass multichannel audio two ways:
- With Bitstreaming of lossy(ac3, dts) or lossless(Dolby-HD, DTS MasterAudio)
Only ac3 and dts works on linux so far. But for this you DON't need my
guide at all. This works out of the box even with s/pdif connection.
- With LPCM multichannel audio you must have hdmi connection due to bandwidth issues, because this way you are passing all 8 channels UNCOMPRESSED in one signal. this is a huge amount of data transfered. For this method you do need my guide as you noticed speaker test with HDMI and with more than 2 channels is not working with default kernel modules. And we still do even have to enable hd formats on new Alsa release.
AAC audio can NOT be bitstreamed (as i wrote in the guide) has to be decoded to LPCM but if you want to pass this LPCM signal as MULTICHANNEL signal you do need my guide.
I hope i was understandable. I might update the beginig of the guide to make things more clear.