Can't get 4k to work

dts-x log shows:
[ 750.653432] hdmitx: audio: aout notify rate 192000
[ 750.653435] hdmitx: audio: aout notify size 16
[ 750.653439] hdmitx: audio: no update
[ 750.653929] audio_dsp: buf=0
[ 750.653941] audio_dsp: IEC958_mode_raw=0
[ 750.653969] audio_dsp: IEC958_mode_codec= 0, IEC958 type 2 CH PCM
[ 750.653974] audio_dsp: last mode 8,now 0
[ 750.673678] aml_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2, same source mode(1)
[ 750.673729] aml_spdif_dai: share the same clock
[ 750.673739] aml_audio_hw: IEC958 PCM32
[ 750.673746] hdmitx: audio: aout notify rate 44100
[ 750.673750] hdmitx: audio: aout notify size 32
[ 750.673755] hdmitx: audio: aout notify format CT_PCM
[ 750.673759] hdmtix: set audio
[ 750.673772] hdmitx tx_aud_src = 0
[ 750.673800] hdmitx: fs = 2, cd = 4, tmds_clk = 148500
[ 750.673805] hdmitx aud_n_para = 6272
[ 750.673825] hdmitx set channel status
[ 750.673887] hdmitx: audio: Audio Type: PCM
[ 750.673891] hdmitx: audio: set audio param
[ 750.673901] aml_snd_m8_card aml_m8_snd.46: i2s/958 same source
[ 750.674229] aml_spdif_dai: aml_hw_iec958_init,runtime->rate=44100, runtime->channels=2, same source mode(1)
[ 750.674241] aml_spdif_dai: share the same clock
[ 750.674251] aml_audio_hw: IEC958 PCM32

atmos log shows:
[ 779.846448] hdmitx: audio: aout notify rate 44100
[ 779.846452] hdmitx: audio: aout notify size 32
[ 779.846456] hdmitx: audio: no update
[ 779.846462] aml_snd_m8_card aml_m8_snd.46: i2s/958 same source
[ 779.846834] audio_dsp: buf=2
[ 779.846844] audio_dsp: IEC958_mode_raw=2
[ 779.846872] audio_dsp: IEC958_mode_codec= 7, IEC958 type TrueHD
[ 779.846876] audio_dsp: last mode 0,now 7
[ 779.854180] aml_spdif_dai: aml_hw_iec958_init,runtime->rate=192000, runtime->channels=8, same source mode(0)
[ 779.854240] aml_spdif_dai: set 4x audio clk for 958
[ 779.854251] aml_audio_hw: IEC958 16bit
[ 779.854257] hdmitx: audio: aout notify rate 192000
[ 779.854261] hdmitx: audio: aout notify size 16
[ 779.854266] hdmitx: audio: aout notify format CT_MAT
[ 779.854271] hdmtix: set audio
[ 779.854283] hdmitx tx_aud_src = 0
[ 779.854310] hdmitx: fs = 7, cd = 4, tmds_clk = 148500
[ 779.854315] hdmitx aud_n_para = 24576
[ 779.854334] hdmitx set channel status
[ 779.854393] hdmitx: audio: Audio Type: MAT(MLP)
[ 779.854397] hdmitx: audio: set audio param
[ 779.854718] aml_spdif_dai: aml_hw_iec958_init,runtime->rate=192000, runtime->channels=8, same source mode(0)
[ 779.854745] aml_spdif_dai: set 4x audio clk for 958
[ 779.854754] aml_audio_hw: IEC958 16bit

It definitely does something different, but i have no idea how to progress.
Do you want me to apply the hotfix again ?

@sam_nazarko any hints?

Hi

So DTS: X works, just Atmos has problems?
Please try and apply the hotfix.

Sam

Hi Sam

Correct.

Logs from playing ā€œhelicopterā€ then dts-x gravity before hotfix:
https://paste.osmc.tv/uvilaneyiq

Same thing after hotfix:
First helicopter, then dts-x gravity.
Dts-x still works, atmos is trnasmitted as truehd.
https://paste.osmc.tv/cegeyosana

Could it be related to this : Issue with DTS-HD and Vero4K - #91 by sam_nazarko
Denon and Marantz are essentially the same.

Someone with same generation reciever and kodi with the same problem as me:
https://forum.kodi.tv/showthread.php?tid=322496

@sam_nazarko
Do you think my vero is broken ? Or ?
I still get random distortion if i change audio device to HDMI.

I donā€™t think your device is faulty. If it was, we would see issues manifest in other ways.

It may be related to the Denon issue. Iā€™m looking in to this

You need HDMI selected (not PCM) for audio to work properly

Sam

If i change it away from Analog/Default on this screen Iā€™ll get distortion at random times.
Passtrough works when settings is as above, except for atmos that is.

You wonā€™t get passthrough to work properly when PCM is enabled.

Do you get distortion on HDMI from a fresh boot? Is stereo upmixing disabled?

This is what needs to be tackled first

Sam

Hi again @sam_nazarko
Thanks for the ongoing support - i appreciate how annoying customers are :wink:

I havenā€™t had that happen yet.
It usually happens when the sound mode changes, but at random times. Sometimes when starting playback, sometimes when stopping playback. Yesterday it happened when i switched ā€œaudio output deviceā€ to HDMI, which usually doesnā€™t trigger the distortion.

yes.

Can you expand on this ?
It seems counterintuitive that ā€œAudio output deviceā€ affects/overrides the ā€œpasstrough output deviceā€ which is set to HDMI, and disabled (like in this screenshot: https://imgur.com/FvSsdnO)
It also seems weird that dts:x would work with the wrong config, and truehd wouldnā€™t.

Not at all.

For now, disabling stereo upmixing will probably resolve this.
We are aware of this problem, although it only affects a small number of users which is making it hard to diagnose.

Sam

It is disabled. Should i enable, then disable it ? Or did you mean enable it ?
I donā€™t even have upmixing enabled on the reciever.

Thanks for clarifying. Itā€™s best to keep it disabled.

Weā€™re aware of a distortion at random times with the latest audio improvements; but weā€™re not sure why this is happening yet, or what the resolution is.

Weā€™re working on this however.

Sam