Kodi Community Forum

Full Version: DTS-HD and TrueHD are not shown in the Kodi settings
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Prerequisites:
- Ubuntu 14.04 and 16.04
- Kodi 16.01
- Karman Kardon AVR 254 receiver capable of DTS-HD, TrueHD decoding

If the receiver is closed and I remote login to Linux machine I can see the DTS-HD settings in Kodi
Once I power on the receiver the pass-through output device modifies (I can see my receiver model probably communicated through EDID/ELD) but the options for DTS-HD and TrueHD are gone.

Any idea how to make it work with DTS-HD ?

Image
Image
Without a Debug Log we cannot help you, the screenshots are worthless. Most likely it does not handshake with 8 channels and 192 khz, therefore we disable DTS-HD / TrueHD.
Sure, here is the log.
Thank you !
The definition of Device 3 (see lines 41 & 476) change, I think @fritsch is needed, but in particular the max sample rate goes down to 96k (192k on kodi startup). Seems to confirm fritsch's diagnosis, I'll leave it to him to advise further!
(2016-07-26, 10:48)nickr Wrote: [ -> ]The definition of Device 3 (see lines 41 & 476) change, I think @fritsch is needed, but in particular the max sample rate goes down to 96k (192k on kodi startup). Seems to confirm fritsch's diagnosis, I'll leave it to him to advise further!

Thanks, I think you mean line 976 instead of 476 ?
Retry with LibreElec (latest milhouse) from a usb stick. Your sw stack is much, much too old for your braswell - that it works at all is funny :-)
Quote:Running on Ubuntu 16.04 LTS, kernel: Linux x86 64-bit version 3.19.8
^^ no idea how you got that kernel onto this 16.04 version. Use at least 4.5 or higher. As I have the same hardware, you can use this one: http://fritsch.fruehberger.net/kernel/?C=M;O=A (4.6.3 image and headers)
More details: On kodi start your AVR is not even connected.

After this it tells us, that it cannot do 192 khz -> no truehd, no dtshd
Quote:m_displayNameExtra: HCG AVR254/5/354 on HDMI
(2016-07-26, 11:50)fritsch Wrote: [ -> ]Retry with LibreElec (latest milhouse) from a usb stick. Your sw stack is much, much too old for your braswell - that it works at all is funny :-)
Quote:Running on Ubuntu 16.04 LTS, kernel: Linux x86 64-bit version 3.19.8
^^ no idea how you got that kernel onto this 16.04 version. Use at least 4.5 or higher. As I have the same hardware, you can use this one: http://fritsch.fruehberger.net/kernel/?C=M;O=A (4.6.3 image and headers)

Well, this is the Ubuntu distribution bundled with Linux Station that runs on my QNAP NAS...
I don't have a real PC, just the NAS I want to use as Media Center using whatever visualization solutions it offers...I might try to run the LibreElec into a container
(2016-07-26, 11:52)fritsch Wrote: [ -> ]More details: On kodi start your AVR is not even connected.

After this it tells us, that it cannot do 192 khz -> no truehd, no dtshd
Quote:m_displayNameExtra: HCG AVR254/5/354 on HDMI

But the AVR 254 is able 192 khz (from the specifications)

Audio Section
• 24-Bit, twin-core Cirrus Logic ® CS 49700 DSP processor
• 192kHz/24-bit D/A conversion

Surround Modes
• Dolby ® Digital EX, Dolby Digital Plus, Dolby TrueHD
• DTS-HD, DTS-HD Master Audio TM

And with my previous Western Digital Live MediaPlayer the DTS-HD stream what correctly recognized by the receiver.
a) Kernel 3.19 is not able to drive your hardware correctly.
b) You have a handshake issue with your AVR - which is no kodi issue at all - but a kernel issue. So upgrade your kernel to version 4.5 or higher which was the first kernel with full support for the braswell and revisit.
Sure, thank you, I'll try to upgrade the kernel and post the outcome.
Yes I did mean 976...
Unfortunately I was not able to upgrade the kernel of Ubuntu as I found out that Linux Station is a LXC container (not a VM) that shares the same kernel as QNAP NAS, so in order to have a different kernel version in Ubuntu the QNAP has to upgrade his kernel in NAS...
Then you might "hack" your /proc/asound/whatever file to fake 192 khz. There is something on the OE wiki I have written some years ago to do so.
You mean this: ?

Code:
sudo echo sad5_rates 0xc0  > /proc/asound/card0/eld#0.1

Doesn't work on me, I can see
Code:
admin@ubuntu_1604:/proc/asound/card0$ less eld#2.0

Code:
monitor_present         1
eld_valid               1
monitor_name            AVR254/5/354
connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0x6720
product_id              0x163
port_id                 0x0
support_hdcp            0
support_ai              1
audio_sync_delay        0
speakers                [0x5f] FL/FR LFE FC RL/RR RC RLC/RRC
sad_count               4
sad0_coding_type        [0x2] AC-3
sad0_channels           6
sad0_rates              [0xe0] 32000 44100 48000
sad0_max_bitrate        106247680
sad1_coding_type        [0x7] DTS
sad1_channels           6
sad1_rates              [0x6e0] 32000 44100 48000 88200 96000
sad1_max_bitrate        572789376
sad2_coding_type        [0xa] E-AC-3/DD+ (Dolby Digital Plus)
sad2_channels           8
sad2_rates              [0xc0] 44100 48000
sad3_coding_type        [0x9] DSD (One Bit Audio)
sad3_channels           6
sad3_rates              [0x40] 44100

But running the command gives:

Code:
admin@ubuntu_1604:/proc/asound/card0$ sudo echo sad_5 rates 0xc0 > /proc/asound/card0/eld#2.0
-bash: /proc/asound/card0/eld#2.0: Permission denied

Inspired from : http://openelec.tv/forum/68-audio/71317-...h?start=15, which seems to be exactly my problem...

Seems I'm not lucky either with this, damn QNAP... Big Grin
Pages: 1 2