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

+- Kodi Community Forum (http://forum.kodi.tv)
+-- 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)

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


- rflores2323 - 2010-01-26 07:19

I did the install on the first page and everything is working. great job on the tutorial.

one thing. my center channel is very low in volume. How do I increase the volume for that channel.

Also when running the 6 channel test only the front L R make sounds. the back and center do not however when I play a movie it plays fine. any idea why?


- andyblac - 2010-01-29 13:13

does this commit help for this problem ?, or do we still need NVIDIA to fix 190 -> drivers

http://trac.xbmc.org/ticket/8479#comment:31


- alanwww1 - 2010-01-29 19:49

andyblac Wrote:does this commit help for this problem ?, or do we still need NVIDIA to fix 190 -> drivers

http://trac.xbmc.org/ticket/8479#comment:31

This might help getting rid of custom channel mapping needed. Needs testing.

The Nvidia bug is still there. Waiting for nvidia, hopefully with the next release to fix this.


- rodercot - 2010-01-29 22:20

So by what I am reading above if I revert to 185 drivers and with Alsa 1.0.22.1 This will work out of the box, other than possibly channel mapping.

rgds,

Dave


- rodercot - 2010-01-30 01:15

Reverted to 185 drivers and yes it passes uncompressed but yes channels are not right as expected.

I do have a question, why will it not strip the core from dts-hd movies.

rgds,

dave


- andyblac - 2010-01-30 01:41

rodercot Wrote:Reverted to 185 drivers and yes it passes uncompressed but yes channels are not right as expected.

I do have a question, why will it not strip the core from dts-hd movies.

rgds,

dave

did you remove your .alsaconf file from your home folder ?


- rodercot - 2010-01-30 08:20

andyblac Wrote:did you remove your .alsaconf file from your home folder ?

By that you mean the asoundrc. then yes it is gone.

*EDIT Updated to 27292 and it seems that channel mapping is fixed within xbmc with the asound.conf file in /usr/share/xbmc/system. but SD dts encoded playback seems to be broken, any movie I have that is encoded with DTS crashes xbmc to the desktop _looked at the log and it stops at creating NVpot. HD rips with DTS play fine. I cannot check dts-hd blu-rays as the blu-ray script is makemkv will not start any BLU-ray movie that has a DTS-HD track in this svn. So I am at 269** svn Camelot, will not play anything with the BR script and makemkv and then the latest svn will play lpcm and DDTruHD as LPCM but crashes on DTS SD Movies and will not play streamed DTS-HD encoded tracks***
I am checking out 27017 now to try.

thx,

dave


- alanwww1 - 2010-01-30 16:04

rodercot Wrote:By that you mean the asoundrc. then yes it is gone.

*EDIT Updated to 27292 and it seems that channel mapping is fixed within xbmc with the asound.conf file in /usr/share/xbmc/system. but SD dts encoded playback seems to be broken, any movie I have that is encoded with DTS crashes xbmc to the desktop _looked at the log and it stops at creating NVpot. HD rips with DTS play fine. I cannot check dts-hd blu-rays as the blu-ray script is makemkv will not start any BLU-ray movie that has a DTS-HD track in this svn. So I am at 269** svn Camelot, will not play anything with the BR script and makemkv and then the latest svn will play lpcm and DDTruHD as LPCM but crashes on DTS SD Movies and will not play streamed DTS-HD encoded tracks***
I am checking out 27017 now to try.

thx,

dave

I think your problem playing SD movies is not sound related at all. You could try to check what upscaler is set in Video OSD and set it to bilinear or auto. And remove any hq upscaling related stuff from your advancedsettings.xml.


- rodercot - 2010-01-30 16:36

Well I just checked out 27017 My settings are ALL the same as they were with the 27292 SVN rev. grabbed the latest asound.conf file from trunk and placed it in /usr/share/xbmc/system/ and everything works, channel mapping is correct with the latest asound.conf file.

True-HD is passed as lpcm but it is seen as a true-hd stream. DTS-HD is passed as DTS surround so the core is being stripped as it should be.

All my SD DTS encoded movies play fine again.

Created a New custom Xorg file for my Denon AMP to Sharp TV and now all is good with 24/60p switching. VDpau is on, refresh switching is on and everything is clear as a bell and no more black screen pauses when switching from 60 to 24 on dvd playback.

Not saying that it was not something to do with my video settings, but I have never played with any of those settings other than vdpau and res adjust on and off. I do not use sync to display at all. The only thing in my advanced settings is cpu/gpu temp commands and upscaler is set to none all the time I believe.

rgds,

Dave


- alanwww1 - 2010-01-30 19:40

rodercot Wrote:Well I just checked out 27017 My settings are ALL the same as they were with the 27292 SVN rev. grabbed the latest asound.conf file from trunk and placed it in /usr/share/xbmc/system/ and everything works, channel mapping is correct with the latest asound.conf file.
Dave

Hello !

I think you have your old asound.conf file in you home dir. Gnif's commit here actually removes ALL remappings from /usr/share/xbmc/asound.conf file as it is described in the commit:

http://trac.xbmc.org/changeset/27266

Only the downmix ones left in the file. This commit could mean that we won't need any more custom asound.conf files. I checked a fresh svn WITHOUT any remapping files in home or in /etc. Results:

Flac 7.1: play perfectly fine with correct mapping
DTS 5.1: There is one channel wrong: Center sound in rear left, other channels are ok.
AAC 5.1: Completely mixed up

So we are getting somewhre with Gnif's commits. I think we have to wait until things get sorted out. Anyway i open up a ticket for hime just to let him know the current standing.


- rodercot - 2010-01-30 20:46

Alan,

I do not have any asound, .asoundrc.conf files in my ~/home ~/xbmc directory, but you know after I downgraded the svn I never tried it before installing the asound.conf file from trunk. So maybe it is working that way. I do not use aac at all so I would not know.

I was getting center in left rear with TrueHD but that is not an issue anymore.

rgds,

Dave


- alanwww1 - 2010-01-30 22:58

rodercot Wrote:Alan,
I was getting center in left rear with TrueHD but that is not an issue anymore.
Dave

Good to know,

I think we are getting better. Hopefully the aac tracks can be fixed as well.
Thanks for Dev Gniff for this.


- shassino - 2010-01-31 01:22

I have alsa 1.0.22 and kernel 2.6.32, i need the source patches to enable 7.1 lpcm?

Ty for your guide Alan


- alanwww1 - 2010-01-31 21:29

shassino Wrote:I have alsa 1.0.22 and kernel 2.6.32, i need the source patches to enable 7.1 lpcm?

Ty for your guide Alan

For 1.0.22 you don't need any patch. It is already in mainline alsa now.

Just use some channel mapping and you are ok.


- alanwww1 - 2010-01-31 23:55

Hey People !

I made a whole bunch of channel identification video and audio files for testing channel assignment. They include almost all possible formats that can hold multichannel audio. I rent a web-space for hosting these files so download should be fast. Here are them:

http://jkft.info/xbmc/testfiles/channelid/

Any contributions with other formats are welcome. Just send it to me and i upload it to the host server.