Audio passthrough options disappear until Kodi is restarted
#1
Hello, I am currently having a problem with audio passthrough ceasing to work, as well as the option to enable it disappearing from the menu (which I do have on expert, so it ought to be present). Restarting Kodi fixes it -- temporarily, at least. I can again enable/disable passthrough in the settings and it works fine for a while.

Debug log (started while passthrough was functioning, ended after it had stopped functioning): http://paste.debian.net/342354/

Kodi is version 15.2, running on QTS 4.2.0 on a QNAP TS-651.
Intel Celeron J1800 @ 2.41GHz, 8GB of memory.
GPU: Mesa DRI Intel Bay Trail (according to Kodi).

Hope I included the relevant information. Thanks for any assistance!
Reply
#2
Quote:10:46:46 T:140378818033600 NOTICE: special://home/ is mapped to: /root/.kodi
10:46:46 T:140378818033600 NOTICE: special://temp/ is mapped to: /root/.kodi/temp
10:46:46 T:140378818033600 NOTICE: The executable running is: /share/CACHEDEV1_DATA/.qpkg/KODI/opt/kodi/lib/kodi/kodi.bin
10:46:46 T:140378818033600 NOTICE: Local hostname: Navi

Don't do that! running kodi as root user your logfile shows existing passthrough devices ... so this is not the log file when it is not working:


Quote:10:46:46 T:140378818033600 NOTICE: Device 3
10:46:46 T:140378818033600 NOTICE: m_deviceName : hdmi:CARD=PCH,DEV=0
10:46:46 T:140378818033600 NOTICE: m_displayName : HDA Intel PCH
10:46:46 T:140378818033600 NOTICE: m_displayNameExtra: SNY E480i-B2 on HDMI
10:46:46 T:140378818033600 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
10:46:46 T:140378818033600 NOTICE: m_channels : FL,FR,BL,BR,FC,LFE
10:46:46 T:140378818033600 NOTICE: m_sampleRates : 32000,44100,48000
10:46:46 T:140378818033600 NOTICE: m_dataFormats : AE_FMT_LPCM,AE_FMT_AC3,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_DTSHD,AE_FMT_TRUEHD,AE_FMT_EAC3,AE_FMT_DTS,AE_FMT_AAC

Btw. you are running a pulseaudio server and bypassing it for kodi ... this is not meant to work in general. If you don't want pulseaudio, remove it.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#3
Forgive my ignorance, but I don't entirely understand what you mean with pulse. In Kodi it describes the audio output device as "Playback/recording through the PulseAudio sound server." The only other option there is "PulseAudio Sound Server."

I have determined that the trigger for the issue was whenever the TV turned off, either manually or from the idle timer. For some reason, disabling the passive HDMI pass through on my receiver seems to have resolved the issue, although this is not ideal. Does that tell you anything useful?

Thanks.
Reply
#4
Nevermind, just happened again, despite it seems any settings I try changing. Really at a loss...
Reply
#5
If your external components produce this issue, e.g. stop transmitting the EDID correctly, fake the EDID.

This has absolutely nothing to do with kodi - but is produced by _your_ hardware. Alternatively tape Pin 19 ...
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#6
I'll do some research to see what that means, but isn't it a Kodi issue when the option itself to toggle the passthrough on or off in Kodi's settings disappears until restarted?
Reply
#7
No ... we only present settings if capable hardware is existent. If it's missing, e.g. TV off - why should we know - there is some capable hardware perhaps even in another room?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
#8
Ok, so there's no way to tell Kodi to check if connected hardware is on again (other than exiting and restarting Kodi)?
Reply
#9
As he already said... You could fake the EDID.
Reply
#10
Yes, I am aware and am looking into that (I'm not sure if it's possible to do on a machine running QTS, though) Is that a "no" to my question, then?
Reply
#11
@fritsch

log indicates that indeed Kodi is the issue. hardware is doing exactly what it should. asserting hotplug.
depending on active/passive CEC switch (AVR ...), EDID data on HDMI port needs to be rebuild (PA at minimum) and this takes some time + there is always 2 + 2 asserts / de-asserts events, another 2 if switch between device and TV.

what Kodi must not do is re-enumerate AE devices between the asserts - but it does exactly this. at this point EDID data is invalid or missing, Kodi fails to find previous device and removes it from list.
Reply
#12
kodi reenumerates whenever ALSA tells us to do so ... we are userspace and not kernel space.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply

Logout Mark Read Team Forum Stats Members Help
Audio passthrough options disappear until Kodi is restarted0