Linux HD sounds are keep dropping off the Audio settings
#1
Hi there,

Another mysterious issue with my LibreELEC. I'm using a Radeon HD 6450, which is working just fine for most of the time with one annoying issue: the HD audio options are keep disappearing from the Passthrough menu at random. It was all good last night, and this is morning, this just what I got:

Image

It's keep happening and I couldn't figure out any pattern. And it when it happens, all the HD track still can be heard but DTS-MA becomes DTS, DD TrueHD becomes Stereo on the A/V display.

This is from lspic for this device:
Code:
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM]
    Subsystem: PC Partner Limited / Sapphire Technology Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM / R5 230/235/235X OEM] (Radeon HD 6450 1GB DDR3)
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 0, Cache Line Size: 32 bytes
    Interrupt: pin B routed to IRQ 32
    Region 0: Memory at fbebc000 (64-bit, non-prefetchable) [size=16K]
    Capabilities: [50] Power Management version 3
        Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
        Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
    Capabilities: [58] Express (v2) Legacy Endpoint, MSI 00
        DevCap:    MaxPayload 256 bytes, PhantFunc 0, Latency L0s <4us, L1 unlimited
            ExtTag+ AttnBtn- AttnInd- PwrInd- RBE+ FLReset-
        DevCtl:    Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
            RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
            MaxPayload 128 bytes, MaxReadReq 512 bytes
        DevSta:    CorrErr+ UncorrErr- FatalErr- UnsuppReq+ AuxPwr- TransPend-
        LnkCap:    Port #0, Speed 5GT/s, Width x16, ASPM L0s L1, Exit Latency L0s <64ns, L1 <1us
            ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
        LnkCtl:    ASPM Disabled; RCB 64 bytes Disabled- CommClk+
            ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
        LnkSta:    Speed 5GT/s, Width x16, TrErr- Train- SlotClk+ DLActive- BWMgmt- ABWMgmt-
        DevCap2: Completion Timeout: Not Supported, TimeoutDis-, LTR-, OBFF Not Supported
        DevCtl2: Completion Timeout: 50us to 50ms, TimeoutDis-, LTR-, OBFF Disabled
        LnkSta2: Current De-emphasis Level: -6dB, EqualizationComplete-, EqualizationPhase1-
             EqualizationPhase2-, EqualizationPhase3-, LinkEqualizationRequest-
    Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Address: 00000000fee0f00c  Data: 4172
    Capabilities: [100 v1] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
    Capabilities: [150 v1] Advanced Error Reporting
        UESta:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UEMsk:    DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq- ACSViol-
        UESvrt:    DLP+ SDES+ TLP- FCP+ CmpltTO- CmpltAbrt- UnxCmplt- RxOF+ MalfTLP+ ECRC- UnsupReq- ACSViol-
        CESta:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        CEMsk:    RxErr- BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+
        AERCap:    First Error Pointer: 00, GenCap+ CGenEn- ChkCap+ ChkEn-
    Kernel driver in use: snd_hda_intel
    Kernel modules: snd_hda_intel

Kodi log: http://sprunge.us/DVKF
dmesg: http://sprunge.us/iAiE

I went through the Kodi log but my inexperienced eyes didn't catch anything. Does anyone have a clue or have seen this before? Any help will be greatly appreciated.

-San
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#2
Any one at all, has any idea what's going on? How do those audio options are detected? Is it a bug in Krypton?

-S
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#3
09:27:01.016 T:140407808988416 NOTICE: m_displayNameExtra: @@@
09:27:01.016 T:140407808988416 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
09:27:01.016 T:140407808988416 NOTICE: m_channels : FL,FR
09:27:01.016 T:140407808988416 NOTICE: m_sampleRates : 32000,44100,48000
09:27:01.016 T:140407808988416 NOTICE: m_dataFormats : AE_FMT_RAW,AE_FMT_S32NE

Only 48 khz. Seems your Avr is off while booting? 192 are needed for HD audio.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#4
(2017-03-22, 07:42)fritsch Wrote: Only 48 khz. Seems your Avr is off while booting?
AVR wasn't off, I can confirm. Every-time (with or w/o HD options) I did in this order: AVR -> TV -> Kodi

(2017-03-22, 07:42)fritsch Wrote: 192 are needed for HD audio.
Agreed but I did get HD audio time to time. It was working just fine for a day and half and didn't comeback upon one reboot.
HD-Audio is supported according to AMD: http://www.amd.com/en-us/products/graphi.../6000/6450#

-S
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply
#5
HD audio options are back now this morning:

Image

Here are the logs:
kodi.log | http://sprunge.us/CdRK
dmesg | http://sprunge.us/CcQE

This time, it's showing a lot more sampleRates than before:

Code:
NOTICE:         m_channels        : FL,FR,LFE,FC,BL,BR,SL,SR
NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
NOTICE:         m_dataFormats     : AE_FMT_RAW,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW

So, any idea what's triggering this on/off?

-S
MINIX NEO U22-XJ | Denon AVC-X3800H | KEF Q750 | KEF Q250c | KEF Q150 | KEF Q50a | KEF Kube 10 MIE | LG OLED65G16LA | CoreELEC
Reply

Logout Mark Read Team Forum Stats Members Help
HD sounds are keep dropping off the Audio settings0