Audio settings

I suppose you have gone through this already

Bottom line is you are doing it the hard way using ARC. The TV may only pass through 2 PCM channels to ARC or only Dolby Digital (AC-3) and I suspect will not transcode 5.1 PCM to AC-3.