[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)
- samanoske - 2009-12-10 13:54
alanwww1 Wrote:You don't need pulse for this !!!!!
That means, I could shift back to Alsa, have natively those formats that my receiver supports, e.g. LPCM (2/5.1), Dolby Digital or Dolby Prologic and the other unsupported formats, e.g. Dolby Digital EX, DTS-ES or DTS-NEO:6 would be resample to LPCM ?
[update] audio is not resampled to lpcm 5channels
- Kaaino - 2009-12-11 10:43
bitlisz Wrote:But i cant find this configuration panel.
yes it is ok, that configuration panel is quite simplified in Karmic. Just change the output settings in "Sound preferences.
bitlisz Wrote:This remote also works somehow, except playback keys not (Play, Stop Pause...).
You can edit your remote maps in Lircmap.xml that should be in /usr/share/xbmc/system/
or somewhere in the subfolders. To find out the codes output of your remote use "irw" command and press your play.stop, pause keys
Once you have finalized your remote setup remember to save a copy somewhere. Every-time you upgrade XBMC, the installer will overwrite your custom remote settings
- BurningSky - 2009-12-11 14:04
Kaaino Wrote:...You can save it here to prevent overwriting:
- myrison - 2009-12-16 16:54
bitlisz Wrote:Yesterday I finished with the configuration, and it seems working.
Just a thought, you might have more luck if you separate out the questions not related to this thread (mouse, remote, ripping/converting, video quality, HD passthrough, etc.) and post them elsewhere separately. I know the situation you're in with wanting to get things figured out, but I think you've lumped too much into one post and put it in a thread that is unlreated to the majority of the questions, so I'm not sure you're going to get all of those questions answered here.
Of course you're more than welcome to try, just thought I might save you some frustration with the suggestion.
- Phantisy - 2009-12-16 22:15
alanwww1 Wrote:If it worked fine, why have you upgraded ?
Sorry it took so long to get back.. busy life.. I ran the commands below but I get no sound what so ever. Not through my tv or my receiver. Any ideas? The alsa upgrade went fine from what I can see.
speaker-test -Dhdmi -c2 -r48000 -FS16_LE
speaker-test -Dhdmi -c6 -r192000 -FS32_LE
- alanwww1 - 2009-12-16 22:25
Phantisy Wrote:Sorry it took so long to get back.. busy life.. I ran the commands below but I get no sound what so ever. Not through my tv or my receiver. Any ideas? The alsa upgrade went fine from what I can see.
Make sure you try these command with X server runnng, also check with alsa mixer that ALL of your iec devices are unmuted.
Channel mapping and naming in speaker-test - myrison - 2009-12-16 22:31
alanwww1 Wrote:I defined "remap-surround71" virtual device to control which channels sound where. It is defined in /etc/asound.conf
Alan - first of all, thank you a ton for putting this together. Before your script, any TrueHD source was downconverted to 2-channel stereo in XBMC.
Immediately fter running your script I was able to get TrueHD via PCM to my Denon 3808 receiver from my Acer Aspire Revo 1600! (FYI, I'm running Ubuntu 9.04, XBMC Camelot beta 2)
The one problem I thought I had run into was the channel mapping for 5.1 or 7.1 sound. However, as I thought about it more I believe it is not a channel mapping problem but a problem with the way the channels are named in the speaker-test script.
I have a 7.1 channel setup. The two side speakers (to the side and slightly back from the normal listening position) are traditionally called surround speakers (i.e. The front 3 (LCR) + 2 "surrounds" in 5.1 audio). In the speaker-test, however, the surrounds are listed as rear right and rear left. This doesn't seem like a big deal until you move to an 8 channel test.
When you change speaker-test to run an 8 channel test (7.1), it adds two channels to its test (traditionally the last 2 channels in 7.1 are known as rear surrounds [those that are directly behind the main listening area]). However, in the speaker-test, the two "new" channels that are now in the 8 channel test are referred to as "side right" and "side left."
Originally when I saw the test and heard the output I thought the channels were mapped incorrectly,but after I thought about it more I believe they are just named wrong in the speaker test and are in fact mapped correctly. Considering that in the 5.1 test, the surround right and surround left speakers are properly mapped (but called "rear" speakers), and that in the 7.1 test the two newly added speakers play sound from the rear surrounds (even though they are called "side" speakers in speaker-test), I believe all is well, and it's just a naming issue with the test.
To check my understanding and to confirm for anyone else who is curious about this in the future, I thought I'd post this here to save someone else time in the future. (Alan, if my understanding is correct and these names are a result of your script you might want to edit them in the future. If not, hopefully this post clears it up for anyone else in the same boat in the future).
Either way, thanks again. Awesome work!
- Phantisy - 2009-12-16 22:46
alanwww1 Wrote:Make sure you try these command with X server runnng, also check with alsa mixer that ALL of your iec devices are unmuted.
Well I just did that and I have no problem getting sound with the speaker-test -Dhdmi -c2 -r48000 -FS16_LE test but when I run the speaker-test -Dhdmi -c6 -r192000 -FS32_LE test i get sound in the left and right only. All other channels dont work. I have the Onkyo tx-sr706 so it should have no problem playing these.
Also I am not showing iec devices in alsamixer i have s/pdif. That a problem?
I just ran alsaconf and selected my sound card and now all 6 channels work fine. guess I will try mp3's again
OK still no mp3 sounds but all my movies play fine with sound. I don't get it though since the visualizations even react with the music. I just get no sound what so ever.
- Den4t - 2009-12-18 14:33
Hello alanwww1 !
At december 16 alsa-1.0.22 is out, i look at patch_nvhdmi.c, it is identical to patch in this thread, this is good. My question is in do we steel need to make a custom asound.conf and HDA-Intel.conf with this alsa-driver and alsa-lib version ?
- alanwww1 - 2009-12-19 00:37
Den4t Wrote:Hello alanwww1 !
It is great news. From now we don't have to patch the kernel source code anymore, but as the channel mapping is still wrong in the code we still need those custom files. I will upgrade the whole guide to use with karmic and the new alsa if i have a little time.