I have been having trouble with my Pi4 with surround audio channel mapping.
When playing any multichannel audio either from an audio or video file the channels sometimes seem to be randomly mapped to any speaker.
For example, if I set my Audio channel configuration in Kodi to 5.1 or 7.1 and try to play the same file, 5 times out of 10 the front right audio will come from the rear right speaker for example with the front left coming from the front right while it will work fine for the other 5 times.
This happens while decoding to LPCM on the Pi through my AVR or even skipping the AVR and plugging directly to the TV, using headphones I can clearly hear a random channel (eg center) playing in my right headphone while the rear right will play in my left headphone instead of having the left channel mapped to my left headphone and the right channel to my right headphone.
This happens with either Raspbian with kernel 4.19.97-v7l or the 5.4 branch, and also with the latest stable LibreELEC.
The same happens from the shell when running speaker-test -c6 or speaker-test -c8 and there seems to be no issue with channel mapping while using stereo.
Code: Select all
BCM2711 detected BOOTLOADER: up-to-date CURRENT: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) LATEST: Thu 16 Apr 17:11:26 UTC 2020 (1587057086) FW DIR: /lib/firmware/raspberrypi/bootloader/critical VL805: up-to-date CURRENT: 000137ad LATEST: 000137ad
My Pi2 works perfectly in the same setup with OSMC.
Does anybody have any idea where to start looking to fix this?