Intel NUC 11 as HTPC -> HDMI-CEC -> Denon AVR-X2500H -> HDMI-CEC -> LG 55SJ800V
Note, I tried Ubuntu 22.04 first, but to avail. Best I got was stereo output after 2 days of trouble.
Hence, I installed Windows 11 Pro, configured the sound device (System Control
-> Hardware and Sound
-> Sound
-> select output device and press Configure
) as 5.1 surround sound system and got 5.1 sound ... however, all channels were swapped.
Upon installation of Kodi, I noticed that it is working properly when selecting WASAPI as output driver rather than DirectSound (Kodi settings -> System
-> Audio
-> Audio output device
).
But how can I fix it in general on Windows 11 regardless of the application which is playing the sound? Keep in mind, some applications (e.g. web browser) do not have sound settings.
The solution was fairly easy:
Sound
.Advanced
section.Output devices
next to Troubleshoot common sound problems
.Done.