Kodi Community Forum

Full Version: No sound on HD audio codecs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,

I have used xmbcbuntu for a while on my machine, but I just moved to a new home, I decided to refresh my setup and make a clean install.
My PC is connected via HDMI to a Denon 2312 amplifier, as before.

Back in the days, I had no trouble getting HD audio codecs to work, but I'm facing a new challenge.

Here is the PC uname -a :

Quote:Linux mendoza 3.19.0-33-generic #38~14.04.1-Ubuntu SMP Fri Nov 6 18:17:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
guichan@mendoza:~$

and here is how kodi.log sees the amplifier :

Quote:09:30:50 T:140204238219200 NOTICE: Device 4
09:30:50 T:140204238219200 NOTICE: m_deviceName : hdmi:CARD=NVidia,DEV=0
09:30:50 T:140204238219200 NOTICE: m_displayName : HDA NVidia
09:30:50 T:140204238219200 NOTICE: m_displayNameExtra: HDMI
09:30:50 T:140204238219200 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
09:30:50 T:140204238219200 NOTICE: m_channels : FL,FR,FC,LFE,BL,BR,SL,SR
09:30:50 T:140204238219200 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
09:30:50 T:140204238219200 NOTICE: m_dataFormats : AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_LPCM,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_EAC3,AE_FMT_DTS,AE_FMT_AC3,AE_FMT_AAC

I have removed pulseaudio to use only ALSA, and the passtrough options are available and activated in kodi (even DTSHD and TRUEHD).

All the other codecs work well in passtrough, but these two won't work : video but no sound, not recognized but the amp.
If I uncheck the passtrough options, sound is working (but obviously without passtrough).

I have read here and there othes issues of the same kind while in 24p, so I tried to force 60Hz and still no sound.
I have read also that there might be a problem if the amp was detected only in 6 channels, but it's not the case (see kodi log).

I know for sure that it has worked in the past, so there must be something I do wrong this time....

Any help/ideas please ?

A great thanks in advance !

Update : I forgot to mention that I used Kodi (15.2 Git:02e7013)
Some AVRs don't play nicely at all - as you are running an nvidia setup - you can try to use overwrite the AVRs edid and see,

put: https://dl.dropboxusercontent.com/u/5572...arantz.bin to /etc/X11/marantz.bin

and use this xorg.conf:

Code:
Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    Option         "NoLogo" "true"
EndSection
Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "ColorRange" "Full" # Set to Limited if all is too dark
    Option         "ColorSpace" "RGB"
    Option         "DynamicTwinView" "false"
    Option         "ModeValidation" "NoVesaModes"
    Option         "CustomEDID" "DFP-0:/etc/X11/marantz.bin"
    Option         "ConnectedMonitor" "DFP-0"
    Option         "IgnoreEDID" "false"
    Option         "UseEDID" "true"
    Option         "ExactModeTimingsDVI" "True"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync      15-81
    VertRefresh       24-75
    ModeLine       "1920x1080_24" 74.250 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    ModeLine       "1920x1080_23.976" 74.175 1920 2558 2602 2750 1080 1084 1089 1125 +hsync +vsync
    Option         "DPMS"
    Option         "DPI" "96 x 96"
EndSection
Section "Extensions"
    Option         "Composite" "Disable"
EndSection

You need to change _all_ DFP-0 to your DFP output - Xorg.0.log will tell - might be DFP-1 or DFP-0 and so on ...