Kodi Community Forum

Full Version: Issue with HD sound in Kodi 17
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi there,

Just updated to LibreELEC v8.0.0 (Kodi 17) and using a GeForce GT 220 as the Audio/Video device. This is reported by lspci:

Code:
01:00.0 VGA compatible controller: NVIDIA Corporation GT216 [GeForce GT 220] (rev a2)
01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1)

##########################################################################

01:00.1 Audio device: NVIDIA Corporation GT216 HDMI Audio Controller (rev a1)
    Subsystem: ASUSTeK Computer Inc. GT216 HDMI Audio Controller
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at fbc00000 (32-bit, non-prefetchable) [size=16K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

and this is from aplay:
Code:
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


Now, I'm having a peculiar problem. This is what listed in the System Settings > Audio > Output Device

Image

Pioneer VSX-924 is the A/V Receiver, FYI. Now in the Audio Passthrough section, if I select HDMI #1, I only see the DD and DTS capable receiver options:
Image
and I donlt get any HD sound at all.

if I select HDMI #0 instead, I get all other HD options:
Image
but I donlt get any sound at all, including the navigation and standard DD/DTS.

What am I missing? I can provided the logs, if I know what logs I need to provide (rathere giving bunch of logs at random). Can anyone shade some light on it?

-San
debug log (wiki)
(2017-03-18, 02:16)nickr Wrote: [ -> ]debug log (wiki)
yes, here...........
http://sprunge.us/DZRA
Quote:00:21:04.593 T:140042683627648 NOTICE: Device 5
00:21:04.593 T:140042683627648 NOTICE: m_deviceName : hdmi:CARD=NVidia,DEV=1
00:21:04.593 T:140042683627648 NOTICE: m_displayName : HDA NVidia
00:21:04.593 T:140042683627648 NOTICE: m_displayNameExtra: PIO VSX-924 on HDMI #1
00:21:04.593 T:140042683627648 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
00:21:04.593 T:140042683627648 NOTICE: m_channels : FL,FR,LFE,FC,BL,BR,BLOC,BROC
00:21:04.593 T:140042683627648 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
00:21:04.593 T:140042683627648 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW
00:21:04.593 T:140042683627648 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHD

All there in the log:

But you chose the wrong device :-) HDMI #1 you need.
Yes but on HDMI 1 he doesn't get the option for HD Audio passthrough.
That makes no sense to me from the code. Set to the Pioneer device and restart, please. Perhaps some clash in the guisettings.xml - deleting it might show us something.
okay, things seem slightly better now. Disabled the on-board audio in BIOS:

Image

now, with HDMI #1, I get all of the HD audio options:

Image

But still no sound for any of the HD source. The normal DD/DTS and (multi-channel DTS album) working fine though.
Now, if I disable "Passthrough", I get all the HD sound out as PCM audio. Does anyone have any idea what's going on? Let me know if you need another debug log with on-board audio off.

-S
(2017-03-18, 10:45)fritsch Wrote: [ -> ]That makes no sense to me from the code. Set to the Pioneer device and restart, please. Perhaps some clash in the guisettings.xml - deleting it might show us something.
Restarted Kodi/entire box a number of times, without any joy. I'm deleting guisettings.xml and sending another debug log in a min.
Log is here, after deleting the guisettings.xml:
http://sprunge.us/hcBd
In the log DTS-HD is used:
Quote:09:37:04.975 T:140247851521792 DEBUG: CActiveAESink::OpenSink - ALSA Initialized:
09:37:04.975 T:140247851521792 DEBUG: Output Device : HDA NVidia
09:37:04.975 T:140247851521792 DEBUG: Sample Rate : 192000
09:37:04.975 T:140247851521792 DEBUG: Sample Format : AE_FMT_S16NE
09:37:04.975 T:140247851521792 DEBUG: Channel Count : 8
09:37:04.975 T:140247851521792 DEBUG: Channel Layout: RAW,RAW,RAW,RAW,RAW,RAW,RAW,RAW
09:37:04.975 T:140247851521792 DEBUG: Frames : 9600
09:37:04.975 T:140247851521792 DEBUG: Frame Size : 16
09:37:04.988 T:140247859914496 DEBUG: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
Try to disable "Adjust Refreshrate". Does that help? If yes - you might need to override your EDID - I can provide one. Yet another Pioneer foobar. Btw. for your nvidia gpu you need an xorg.conf anyways.
Didn't seem to work.
I changed that in the guisettings.xml:

Code:
<videoplayer>                                                                                  
        <adjustrefreshrate default="true">false</adjustrefreshrate>                                
        <autoplaynextitem default="true">false</autoplaynextitem>

and restarted Kodi - is that enough? Where do I check if that actually disabled?
I used to use a xorg.conf and EDID file a long time ago for this card with Kodibuntu and VSX-920. Do you also have a sample xorg.conf ?
(the vi on LibreELEC really sucks)

-S
LE's wiki has it: https://wiki.libreelec.tv/index.php?titl...DID#NVidia

just swap your edid with this one: https://www.dropbox.com/s/guadgdtkz2pq1v...z.bin?dl=0 (name it like the howto suggestes and properly check your DFP-X)
it's DFP-1 for me but still not working.
Also, with you edid, is it gonna work for Pioneer? The Audio device is coming as Marantz device though. It also not working with the one was created natively for VSX-924. Any other thoughts?

Not really willing to buy another card at the moment. We must be missing something very silly?

-S
Nope. No thoughts - we don't miss something.

Post your Xorg.0.log and your kodi.log with the marantz for completeness, please.

Edit: if your AVR has ARC - disable that.
Pages: 1 2