Kodi Community Forum
[LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO get multi-channel HD sound output working over NVIDIA HDMI (/showthread.php?tid=59877)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30


- barrygordon - 2010-05-09

So what I surmise here is that the HD blue ray audio streams DTS- Master, True-HD, etc. Can not be handled yet. Is That correct or did I misunderstand?

If there is any hardware/software combo (Linux or windows) that will handle the new HD streams, not decode them, just pass them on over HDMI 1.3, I would like to undertsand what they are and where to get them.

Thanks.


- sWORDs - 2010-05-13

barrygordon Wrote:So what I surmise here is that the HD blue ray audio streams DTS- Master, True-HD, etc. Can not be handled yet. Is That correct or did I misunderstand?

If there is any hardware/software combo (Linux or windows) that will handle the new HD streams, not decode them, just pass them on over HDMI 1.3, I would like to undertsand what they are and where to get them.

Thanks.
Hi Barry, nice to see you on another forum aswell. HD audio passthrough (bitstream) is possible when protective audio path is supported. As far as I've seen this means Windows + Ati/Intel/Cmedia/Auzentech + Arcsoft/PowerDVD/FFDShow.

Windows isn't really suitable for playing video (directsound is the reference clock which will give you framedrops, besides that there are to many different hwclocks), and those suites aren't capable of remote control or GUI like XBMC. So if you want to do what I think (kaliedescape like) they will not do great. MediaPortal does have an option to start an external player, but the TCP/IP options are to limited for me (besides the fact that it runs on Windows). And make no mistake a very pro Microsoft, but as a videoplayer it just won't do. But here is a MP thread about bitstream: http://forum.team-mediaportal.com/codecs-external-players-55/how-bitstream-dolby-truehd-dts-ma-within-mp-75571/#post555310

I do have another option, it's really easy and fast to decode DTS-MA and TrueHD to LPCM from script. And there isn't a bit that's different then when a receiver decodes it. I've got BD's with LPCM and DTS-MA, when I compare the original LPCM track with DTS-MA->LPCM they are bit for bit identical, as suspected because it's lossless. Downside is that you do need to rip when you want to watch a BD. But if you download movies, almost all BD's are also available as remuxes, most with LPCM track. If it's the increase in size that worries you, you can save them as lossless FLAC.

If you're going down this route maybe you'd be willing to work on an XBMC module together, you can have my current sources.

So everything short:
Windows isn't suitable for video with audio. Maybe some manufacturer will make a HW decoder like the old MPEG(2) decoders with audio.
Linux isn't suitable for protected audio/video content. Maybe someone will build something for it or you need to rip and remove protections.
MediaPlayers aren't suitable for nice GUI's and most aren't suitable for TCP/IP advanced control. Maybe the YUIXX or a future xstreamer product will.


- Roelio - 2010-05-14

You guy's are awesome! Can't wait to learn from this and try it out!


- Roelio - 2010-05-22

poofyhairguy Wrote:Yeah, the Alsa 1.0.21 script is broken. Better go with 1.0.22.

http://www.scottcraftboats.com/downloads/linux/AlsaUpgrade-1.0.22.1-2.tar

I had the same problem even with 1.0.22 I'm getting this Syntax error.


- Michael 2010 - 2010-05-24

could some please fix this script its broken half way though and cant get no audio from me revo 3610BlushHuh


- harryzimm - 2010-05-24

Michael 2010 Wrote:could some please fix this script its broken half way though and cant get no audio from me revo 3610BlushHuh

Try this

http://forum.xbmc.org/showpost.php?p=541981&postcount=15

cheers


- Roelio - 2010-05-24

@harryzimm

Will this only fix Michael's sound problem or can this also help succeeding with the main Guide?


- harryzimm - 2010-05-24

I haven't tested for long, but i think this guide is redundant now. The latest nvidia driver fixes the multichannel problem. The post i linked described what i did and so far it is working perfectly on my revo.

cheers.


- Roelio - 2010-05-25

Thanks for the info that's great news. So if I install Lucid and download NVIDIA-Linux-x86-256.25.run and upload it to my XBMC home then I can use "chmod +x NVIDIA-Linux-x86-256.25-pkg1.run" to install it? After this I would see multi-channel PCM on my receiver when I play 6 channel FLAC?

I'm still learning to work with Linux but it's great fun !


- harryzimm - 2010-05-25

Yeah pretty much, however there are some extra steps to take. Here is the xbmcbuntu guide that will help you install the driver. Just change the driver name accordingly.

cheers.


- Roelio - 2010-05-25

Thanks for the quick response, can't wait to test this out tonight Cool
After the manual Nvidia installation I go further with generating an xorg.conf, loading the NVIDIA kernel and installing XBMC-live. Do I need to do more after this?

Appreciating your help a lot !


- harryzimm - 2010-05-25

No problem,

That should do it. Remember to use the asound.conf and cardsHDA-Intel.conf from here. Then you should be good to go (hopefully) Smile

cheers


- Roelio - 2010-05-25

Well just did a lucid install from scratch but it won't even start... I'm just getting a flickering _

Ubuntu 10.04 "Lucid Lynx" Minimal CD - 32-bit PC (x86)


- srv1973 - 2010-05-25

harryzimm Wrote:No problem,

That should do it. Remember to use the asound.conf and cardsHDA-Intel.conf from here. Then you should be good to go (hopefully) Smile

cheers

Man, you saved my sanity there... I bought an ASRock ION330HT just to run XBMC, and I couldn't even get the sound working over HDMI on plain Ubuntu (lucid btw). Installing these beta drivers instantly made it work, at least with Ubuntu itself, and (S)mplayer. Haven't tried XBMC yet, that's the next step.

I'm not using the asound.conf and cardsHDA-Intel.conf you mention, but during my earlier trials I did run a bunch of amixer sset commands, and did alsactl store, so something has changed in my asound.conf file. What are those 2 files of yours supposed to do?

The box can now go into the cabinet as I know I won't have to change cables anymore. What a difference a driver makes...

Again, thanks for posting this.


- harryzimm - 2010-05-25

The two files sort out the channel mapping of multi-channel pcm. Without them the centre speaker and the rear left channels are switched. If your using only stereo audio it wont matter.

cheers