Help with audio setup. 7.1 LPCM over 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: Help with audio setup. 7.1 LPCM over HDMI (/showthread.php?tid=249925) Pages:
1
2
|
Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 I am using kodibuntu on a Haswell i5 NUC. I am outputting audio and video via the mini displayport (HDMI2). My receiver is a Denon AVR4306, this can accept 7.1 24/96 LPCM but cannot decode Dolby True HD or DTS HD Master Audio. I have selected 7.1 channels and I get sound; but whatever combination of settings I choose (fixed rate, passthrough, 8 channel decode, etc) my AVR only sees 5.1 channels coming in. Am I missing some advancedsettings or something? RE: Help with audio setup. 7.1 LPCM over HDMI - fritsch - 2015-11-29 DTS-HD master can only be decoded with version 16 (!) or later ... dcadec which is needed to decode master audio was not in version 15. As you did not read the "Read this before posting" thread - I don't know which version / audio configuration you are running. RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 OS: Ubuntu 14.04.3 LTS (kernel: Linux 3.13.0-68-generic) Build: 16.0-BETA2 Git:98e0275 Compiled: Nov 22 2015 RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 http://paste.ubuntu.com/13555853/ RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 Well great! I had sound yesterday, I turned on debugging and now no sound at all. I tried reverting to an old version of guisettings.xml (which definitely worked before) but still no sound. I suspect that when I rebooted the HDMI connection was not detected correctly. I have rebooted a couple of times but can't seem to get back to the working config. The options available to me for audio output device have changed. FYI: I have the following wiring setup. HDMI 1: NUC mini HDMI > Direct HDMI link to TV (the only purpose of this link is to send CEC commands from the NUC to turn the tv on and off and to change HDMI input) HDMI 2: NUC mini displayport > dp to hdmi cable > Denon AVR > Lumagen video processor > TV (Signals that go through the amp are switched which blocks the cec commands unless you are on the right input - this is why I need the direct hdmi from NUC to TV). Depending upon the order and timing that things start up the hdmi handshaking can go wrong. It would probably help if I could force the correct settings (perhaps in advancedsettings?) but I need some help to figure out how to do this. RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 New log with sound working but only giving 5.1 instead of 7.1: http://paste.ubuntu.com/13556797/ RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 I have attempted to follow the instructions in this thread in order to force edid settings to be loaded from a file: http://forum.kodi.tv/showthread.php?tid=231955&pid=2148505#pid2148505 I have checked which HDMI port is conected - they both are: Code: matt@kodi:~$ cat /sys/class/drm/card0-HDMI-A-1/status Since I want the output over HDMI 2 I have copied this edid to a file: Code: matt@kodi:~$ sudo cp /sys/class/drm/card0-HDMI-A-2/edid /lib/firmware/edid/edid.bin and made the following change in /etc/default/grub Code: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash video=HDMI-A-2:1920x1080@24D drm_kms_helper.edid_firmware=HDMI-A-2:edid/edid.bin" I have then added the script posted: "/etc/initramfs-tools/hooks/include-edid-data" Code: #!/bin/sh ...and make it executable: Code: sudo chmod +x /etc/initramfs-tools/hooks/include-edid-data Then... Code: matt@kodi:~$ sudo update-initramfs -u Is this supposed to always ensure that kodi will get the correct HDMI connection? Now, after reboot, I get no picture RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 I reverted to the old grub config and rebooted and now I have picture back: In /etc/default/grub Code: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Then: Code: sudo update-initramfs -u Is 1920x1080@24D a valid video mode? I guess the problem is in the script? Code: manual_add_modules i915 radeon RE: Help with audio setup. 7.1 LPCM over HDMI - fritsch - 2015-11-29 i915 is intel. Try with 4.4-rc3 kernel, please Quote:11:17:21 T:140464113956864 NOTICE: m_channels : FL,FR,LFE,FC,BL,BR^^ it really only tells 6 channels. RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 Playing from the PS3 I can get 7.1 fine. Note my 7.1 is: FL FR C SL SR SBL SBR SW I think some newer AVRs have side channels rather than SBL and SBR (Surround Back Left/Right). Does this make a difference? Playing from kodi the amp only sees FL FR C SL SR SW despite saying 7.1 in the onscreen info. RE: Help with audio setup. 7.1 LPCM over HDMI - fritsch - 2015-11-29 Whatever ... Your AVR only tells this speakers: Quote:11:17:21 T:140464113956864 NOTICE: m_channels : FL,FR,LFE,FC,BL,BR This has absolutely nothing to do with kodi ... RE: Help with audio setup. 7.1 LPCM over HDMI - fritsch - 2015-11-29 Try: sudo apt-get install linux-image-generic-lts-vivid and see if this later kernel "detects" something else ... RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 Seems to have the same result in terms of audio... 5.1 instead of 7.1 http://paste.ubuntu.com/13558336/ I am now on kernel: 3.19.0-33-generic RE: Help with audio setup. 7.1 LPCM over HDMI - fritsch - 2015-11-29 It even misses the 192 khz rate ... here try this edid with kernel 4.4-rc2: https://dl.dropboxusercontent.com/u/55728161/marantz.bin and post dmesg | pastebinit and kodi.log again, please And alternatively - visit me on IRC #xbmc-xvba I have some hack in mind to fake 8 channels See: Quote:09:55:33 T:140418027853952 NOTICE: Device 2 RE: Help with audio setup. 7.1 LPCM over HDMI - -Matt- - 2015-11-29 So if I set the following: Output configuration: Fixed Limit sampling rate (kHz): 96.0 Then cycle through the options for Number of channels the amp sees: 2.0: FL FR 2.1: LFE FL C FR SL SR 3.0: LFE FL C FR SL SR 3.1: LFE FL C FR SL SR 4.0: FL FR SL SR 4.1: LFE FL C FR SL SR 5.0: LFE FL C FR SL SR 5.1: LFE FL C FR SL SR 7.0: LFE FL C FR SL SR 7.1: LFE FL C FR SL SR From PS3 playing the same blu-ray I get: 7.1: LFE FL C FR SL SR SBL SBR This is 100% on the input side and not using Matrix expansion to get 7.1 output. |