Audio dropouts with 4k @ 60hz refresh

Hello everyone,

I am new to Kodi so please bear with me.

I have just installed the latest version (17.1) of Kodi through LibreELEC (8.0.1) on my new HTPC. I have run into a problem and I asked first on the LibreELEC forum but have got no responses so far.

My HTPC is an Intel Core i7 (Kaby Lake) system on an Asrock z270-fatal1ty ITX motherboard. The board has built in HDMI 2.0 output with onboard Intel HD 630 Graphics.

The HTPC is connected to my Denon AVR-X6200 via HDMI. All inputs on the receiver are HDMI 2.0a and HDCP 2.2 enabled and will pass 4k @ 60hz. The receiver is connected via HDMI out to my LG OLED55B6V television which is 4k @ 60hz compatible.

The issue that I am having is that, when Kodi on the LibreELEC install is set to output to the display at 3840 x 2160 at 60hz refresh rate, I get regular audio dropouts which are like a little pop in the sound and sound stops for half a second before it returns. This happens once every minute or so. The picture on the TV is unaffected and looks fine always. You can also hear the audio pop or click when there is no file playing.

I played around with the settings, such as disabling the option to adjust refresh rate and disabling audio passthrough, but this made no difference.

Then I found that, if I dropped the refresh rate setting down to 30.0hz from 60hz, the audio plays fine with no issues. I only have a few options in the menu for refresh rate in LibreELEC and 30hz is the next lowest available before 60hz. The audio drops out on both music files and video files at 60hz refresh but is perfect at 30hz refresh rate.

I then wiped my HTPC and installed Windows 10 with Kodi 17.1 to see if this was LibreELEC-related or a Kodi problem. I experienced the same pop and audio drop regularly running under Windows as well with output set to 4k @ 60hz. It was once again fine at 30hz.

I then tried connecting the HTPC directly to my TV rather than through the receiver. This works without issue – there are no audio dropouts at 4k with 60hz in this configuration.

So it seems to be a generic problem with Kodi communicating over HDMI to my receiver. I would like to get the setup working through the receiver in order to use passthrough and playback of multi-channel sound (the Intel audio driver under Windows with the HTPC connected direct to my television was limited to stereo playback.)

Can anyone help?

My debug log is here: http://sprunge.us/RWYB

The log is from the LibreELEC installation rather than the Windows one.

Many thanks in advance for any help.