Only to say Dolby Atmos doesn't work using wrapper.
HiFi receiver reads the audio stream as Dolby True HD.
I have the AV receiver Honkyo TX-NR646 and atmos and dts-X work perfectly. this is the step:
1. set the AV receiver to 5.1.2 and not 7.1 audio.
because of dolby atmos consists of 2 front speakers, 2 surround speakers, 1 center, 1 subwoofer and 2 dolby atmos, which should be placed up on Ceiling Wall.
2. set Himedia to audio RAW
3. set kodi to audio passthrough.