I occasionally get loud pops and clicks from various audio channels when playing a local mkv file. This happens with only some files, and even then it’s not consistent: if I jump to a different part of the same video, the clicks might get worse, or be gone completely.
Audio going via HDMI to Onkyo TX-SR705, 5.1 output from the AVR via standard speaker cables.
I had these same pops and clicks when I had RPi 3 with Kodi as my media center so might be hardware related, but thought maybe it’s related to Kodi as it’s not consistent, only happens with some files and only with this source.
Have you tried playing with settings>system>audio>keep audio device alive setting? If that doesn’t make a difference I would suggest you submit a new log as your old one has been deleted from our system.
It sounds like your AVR is having a bit of an issue when kodi has to resync the audio. Setting the adjust refresh rate as bmillham suggested above should have gotten rid of the need to resync the audio for most content, but you said that had no effect. All I can think of here is to either try to route the audio over Toslink (same signal but your AVR might handle it better) or just turn off passthrough. Since your connected directly to your AVR the sound should be the same as without passthrough.
Toslink doesn’t do multi-channel audio IIRC, certainly not DTS HD-MA or TrueHD. I have an old Onkyo SR-SX705 which I’m planning to upgrade this year when HDMI 2.1 AVRs are finally released, but would be nice to find a solution before that as AVR manufacturers have been dragging their feet with HDMI 2.1
Toslink does multichannel via bitstream but those two formats do require more bandwidth than it can supply. If you enabled AC3 transcoding then they would both still output in surround but in reduced quality (only actually needed for the TrueHD as DTS will output the core DTS stream). If you turn off passthrough and allow the Vero to decode the stream you should get full quality to your AVR via multichannel LPCM.
As far as other settings to play with keeping it configured the way you have it I think your just down to the “send low volume noise option” but if the “keep audio device alive” option had no affect I don’t have a lot of confidence this would make a difference. Maybe try a complete stab in the dark and try turning hpd lock on?
Yes, my AVR can process eight channels, but I have a 5.1 setup so I have set it to 5.1 in Kodi settings. Not sure if it makes a difference to do that in Kodi vs AVR?
But more importantly, I noticed there was another setting, “output configuration,” which was set to Optimized. I set it to Fixed, and the clicks are gone! I have to do further testing to see if that fixes the issue for good, but this looks really promising!