HDMI audio falling back to stereo - 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: OS independent / Other (https://forum.kodi.tv/forumdisplay.php?fid=228) +---- Thread: HDMI audio falling back to stereo (/showthread.php?tid=346341) |
HDMI audio falling back to stereo - generalk - 2019-08-16 Hi all, I'm running Kodi via Libreelec on a rockpro64. The rockpro64 is connected via HDMI to a Sony 7.2 receiver, which then connects via HDMI to my TV. When I start Kodi with only my AV receiver turned on (TV off), the blue 'multi channel light on my receiver lights up and I get 7.1 audio. When I turn the TV on it splutters a bit (audio output to receiver cuts in an out) but stays on 7.1 until I go to to play a video. When I hit play on a video it drops back to 2 channels. Starting with the TV on produces 2 channel audio straight away. Current settings are 7.1 channels with passthrough disabled and stereo upmix turned on. With passthrough enabled the receiver handles DTS OK, however I would like to decode on the rockpro. I have attached the log file (https://paste.kodi.tv/nozofilodi.kodi) and can see some messages which I think are relevant (below). Any help is appreciated, thanks! 2019-08-16 19:56:36.859 T:4032820096 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 8 Output Channel Count: 8 2019-08-16 19:56:36.859 T:4032820096 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL, FR, FC, LFE, BL, BR, SL, SR 2019-08-16 19:56:36.859 T:4032820096 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL, FR, LFE, FC, SL, SR, BL, BR (ALSA: FL FR LFE FC RL RR RLC RRC) 2019-08-16 19:56:36.859 T:4032820096 DEBUG: CActiveAESink::OpenSink - ALSA Initialized: 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Output Device : HDMI 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Sample Rate : 44100 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Sample Format : AE_FMT_S24NE4 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Channel Count : 8 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Channel Layout: FL, FR, LFE, FC, SL, SR, BL, BR 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Frames : 2205 2019-08-16 19:56:36.859 T:4032820096 DEBUG: Frame Size : 32 2019-08-16 19:57:50.410 T:4032820096 DEBUG: CActiveAESink::OpenSink - trying to open device ALSA:hdmi:CARD=HDMI,DEV=0 2019-08-16 19:57:50.410 T:4032820096 INFO: CAESinkALSA::Initialize - Attempting to open device "hdmi:CARD=HDMI,DEV=0" 2019-08-16 19:57:50.415 T:4032820096 INFO: CAESinkALSA::Initialize - Opened device "hdmi:CARD=HDMI,DEV=0,AES0=0x04,AES1=0x82,AES2=0x00,AES3=0x02" 2019-08-16 19:57:50.415 T:4032820096 INFO: CAESinkALSA::InitializeHW - Unable to open the required number of channels 2019-08-16 19:57:50.415 T:4032820096 INFO: CAESinkALSA::InitializeHW - Your hardware does not support AE_FMT_FLOAT, trying other formats 2019-08-16 19:57:50.415 T:4032820096 INFO: CAESinkALSA::InitializeHW - Using data format AE_FMT_S24NE4 2019-08-16 19:57:50.415 T:4032820096 DEBUG: CAESinkALSA::InitializeHW - Request: periodSize 2400, bufferSize 9600 2019-08-16 19:57:50.416 T:4032820096 DEBUG: CAESinkALSA::InitializeHW - Got: periodSize 2400, bufferSize 9600 2019-08-16 19:57:50.416 T:4032820096 DEBUG: CAESinkALSA::InitializeHW - Setting timeout to 200 ms 2019-08-16 19:57:50.416 T:4032820096 DEBUG: CAESinkALSA::GetChannelLayout - Input Channel Count: 6 Output Channel Count: 2 2019-08-16 19:57:50.416 T:4032820096 DEBUG: CAESinkALSA::GetChannelLayout - Requested Layout: FL, FR, FC, LFE, SL, SR 2019-08-16 19:57:50.416 T:4032820096 DEBUG: CAESinkALSA::GetChannelLayout - Got Layout: FL, FR (ALSA: FL FR) RE: HDMI audio falling back to stereo - generalk - 2019-08-16 Also worth noting that if I start video playback with the TV turned off, it'll play in 7.1. When I turn the TV back on it splutters a bit but eventually continues on. I have CEC turned off, not sure how else to attack this problem. RE: HDMI audio falling back to stereo - DaVu - 2019-08-16 Do you have "adjust display refreshrate" enabled? So that the TV swtiches the refreshrate to whatever the video is? I'm also not sure, why you have disabled PT if that works well. The rockpro won't do it better than your AVR will do it (as well as the other way round if it wouldn't work with PT enabled but with PT disabled). And I might have probably missed it, but I can't see a video file being played in that log. So could you please share a log where we would see a bit of playback. Thanks RE: HDMI audio falling back to stereo - generalk - 2019-08-16 Hey mate, Disabled PT as the receiver is a bit old and doesn't do everything that well.. I'm fairly sure I captured playback in the log where is trys to playback the Bourdain episode back falls back from 5.1 to stereo. If not I'm happy to try and capture another. Thanks for taking a look! Ben RE: HDMI audio falling back to stereo - jjd-uk - 2019-08-17 Personally I'd begin by looking at the AVR settings for HDMI control and ARC to make sure everything is off. What model of Sony AVR is it? RE: HDMI audio falling back to stereo - DaVu - 2019-08-17 (2019-08-16, 19:50)generalk Wrote: I'm fairly sure I captured playback in the log where is trys to playback the Bourdain episode back falls back from 5.1 to stereo. By searching the log for "Bourdain", this is the only line I get: 2019-08-16 19:56:40.399 T:3858580352 WARNING: Process directory 'smb://ATHENA/TV/Bourdain/' does not exist - skipping scan. Normally if any playback has been captured, the path to those files are shown, and it's not actually RE: HDMI audio falling back to stereo - generalk - 2019-08-18 (2019-08-17, 08:30)jjd-uk Wrote: Personally I'd begin by looking at the AVR settings for HDMI control and ARC to make sure everything is off. What model of Sony AVR is it? Right you are! It's a str-km7000. There was an option hidden in the amp menu under video titled 'Audio for HDMI'. Changing this to 'Amp' instead of 'Amp + TV' has resolved the issue. Thanks! RE: HDMI audio falling back to stereo - jjd-uk - 2019-08-18 I suspected it was something like as it means that when TV is on that is seen as ultimate audio end point, so it's the capabilities of the TV that determine what can be played when it's on. |