Kodi Community Forum
Lost surround sound - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Lost surround sound (/showthread.php?tid=348733)



Lost surround sound - syrk - 2019-10-26

Hi all,

debug logs: https://paste.debian.net/1110782

Surround no longer works, and I'm not sure what changed, except (may be) newer Linux kernel: 5.3.0-1-amd64
This is Debian sid on a NUC8i5BEK/NUC8BEB connected to an AVR via HDMI.

Logs make me think alsa is only seeing 2 channels (FR,FL), interestingly, sound comes out of front left and surround left.
But not sure I'm reading these correctly.

What am I missing here?


RE: Lost surround sound - DaVu - 2019-10-26

A good indicator might be, that this is an unsupported ffmpeg version on an outdated Kodi version. Kodi 18 uses ffmpeg 4.0.4.

So I would suggest to get Kodi 18.x and if that still fails, probably try to downgrade your ffmpeg version

So far from the "version" side of things. Setting-wise I would check if you have "Sync Playback to Display" enabled. If that's the case, passthrough will be disabled internally during video playback.


RE: Lost surround sound - fritsch - 2019-10-26

Even better one:

Quote:23:01:05.344 T:139623273718016  NOTICE:     Device 3
23:01:05.344 T:139623273718016  NOTICE:         m_deviceName      : hdmi:CARD=PCH,DEV=0
23:01:05.344 T:139623273718016  NOTICE:         m_displayName     : HDA Intel PCH
23:01:05.344 T:139623273718016  NOTICE:         m_displayNameExtra: HDMI
23:01:05.344 T:139623273718016  NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
23:01:05.344 T:139623273718016  NOTICE:         m_channels        : FL,FR
23:01:05.344 T:139623273718016  NOTICE:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000

Fix your system, please.


RE: Lost surround sound - syrk - 2019-10-26

(2019-10-26, 10:38)fritsch Wrote: Fix your system, please.

Right, thanks for confirming that I'm indeed reading this correctly!

Any advice as to what I should be trying/looking at? It was working last week, and I can't remember/think of what may have changed since. Same cables (which I swapped anyways). :-(


RE: Lost surround sound - fritsch - 2019-10-26

Install Ubuntu 19.04 or later and use kodi from our ppa is not what you are after, right?


RE: Lost surround sound - syrk - 2019-10-26

(2019-10-26, 15:07)fritsch Wrote: Install Ubuntu 19.04 or later and use kodi from our ppa is not what you are after, right?
Hah, no but thank you.

(This is actually running in Docker..)


RE: Lost surround sound - fritsch - 2019-10-26

Yeah :-) all the best.


RE: Lost surround sound - syrk - 2019-10-26

For posterity, found my problem: https://bugzilla.kernel.org/show_bug.cgi?id=205293
Force-loading the module fixed things:

NOTICE:     Device 3
NOTICE:         m_deviceName      : hdmi:CARD=PCH,DEV=0
NOTICE:         m_displayName     : HDA Intel PCH
NOTICE:         m_displayNameExtra: PIO VSX-43 on DisplayPort #0
NOTICE:         m_deviceType      : AE_DEVTYPE_HDMI
NOTICE:         m_channels        : FL,FR,LFE,FC,BL,BR,BLOC,BROC
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
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


I guess that's what I get for running Sid.
Just set this up a week ago, lucky me that it worked back then or I'd never have gotten things running in Docker! Makes me wonder whether this setup is worth the effort though, point of Docker is to keep things nicely compartmentalized, and well.. ;-)

Plus, now I've learned far too much, and also need to look into building newer ffmpeg & kodi within docker, but that seems much easier and more fun that troubleshooting the above.

Thanks again for pointing me in the right direction :-)


RE: Lost surround sound - fritsch - 2019-10-27

I would not suggest doing so. Kodi 18.4 was released with a specific ffmpeg version, your experience will be worse using a patched together latest and greatest version ... cause no one has ever tested it. If you look at the the debian 17.6 paatches, you see that the experience is broken out of the box :-)