No 5.1 audio over HDMI

Hi, i’m running latest Manjaro version on my NUC6i7KYK in my home theater. I have my pc connected to Sony STR-DN1040 amp over HDMI, with video being pass thru to my TV. When i select stereo output over HDMI 2 front speakers work perfectly, but when i try to use 5.1 audio over HDMI i get no audio at all. I tried rebooting my PC and also amp, but it doesn’t help. With my Lenovo Legion Y540-15IRH (also running Manjaro) everything works fine out of the box.

Seems to have been a known issue with that NUC even on Windows according to this 8-year old Reddit post.

I don’t know if “this is a known issue and a fix is in the works” ever came to anything. Perhaps it was fixed in a BIOS update?

I remember it working some time ago, but I haven’t been using this setup for some time. I hadn’t changed BIOS since, I’m pretty sure I already have the newest one available.

Please post more information to show if audio profiles for 5.1 surround audio are available in PulseAudio/PipeWire

pactl list cards

No link to show where a fix was being worked on or that fix was to be included in BIOS update
If a fix was included in a Windows driver update, a Linux user might need to request ALSA developers to create a patch

That’s output from pactl list cards command:

0. karta
        Nazwa: alsa_card.pci-0000_00_1f.3
        Sterownik: module-alsa-card.c
        Właściciel modułu: 6
        Właściwości:
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdc240000 irq 133"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a170"
                device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
                device.form_factor = "internal"
                device.string = "0"
                device.description = "Wbudowany dźwięk"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profile:
                input:analog-stereo: Wejście Analogowe stereo (odpływy: 0, źródła: 1, priorytet: 65, dostępne: nie)
                output:analog-stereo: Wyjście Analogowe stereo (odpływy: 1, źródła: 0, priorytet: 6500, dostępne: nie)
                output:analog-stereo+input:analog-stereo: Analogowy dupleks stereo (odpływy: 1, źródła: 1, priorytet: 6565, dostępne: nie)
                output:iec958-stereo: Wyjście Cyfrowe stereo (IEC958) (odpływy: 1, źródła: 0, priorytet: 38268, dostępne: tak)
                output:iec958-stereo+input:analog-stereo: Wyjście Cyfrowe stereo (IEC958) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 5565, dostępne: tak)
                output:iec958-ac3-surround-51: Wyjście Cyfrowe przestrzenne 5.1 (IEC958/AC3) (odpływy: 1, źródła: 0, priorytet: 300, dostępne: tak)
                output:iec958-ac3-surround-51+input:analog-stereo: Wyjście Cyfrowe przestrzenne 5.1 (IEC958/AC3) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 365, dostępne: nie)
                output:hdmi-stereo: Wyjście Digital Stereo (HDMI) (odpływy: 1, źródła: 0, priorytet: 38668, dostępne: tak)
                output:hdmi-stereo+input:analog-stereo: Wyjście Digital Stereo (HDMI) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 5965, dostępne: tak)
                output:hdmi-surround: Wyjście Digital Surround 5.1 (HDMI) (odpływy: 1, źródła: 0, priorytet: 33568, dostępne: tak)
                output:hdmi-surround+input:analog-stereo: Wyjście Digital Surround 5.1 (HDMI) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 865, dostępne: tak)
                output:hdmi-surround71: Wyjście Digital Surround 7.1 (HDMI) (odpływy: 1, źródła: 0, priorytet: 33568, dostępne: tak)
                output:hdmi-surround71+input:analog-stereo: Wyjście Digital Surround 7.1 (HDMI) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 865, dostępne: tak)
                output:hdmi-stereo-extra1: Wyjście Digital Stereo (HDMI 2) (odpływy: 1, źródła: 0, priorytet: 5700, dostępne: nie)
                output:hdmi-stereo-extra1+input:analog-stereo: Wyjście Digital Stereo (HDMI 2) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 5765, dostępne: nie)
                output:hdmi-surround-extra1: Wyjście Digital Surround 5.1 (HDMI 2) (odpływy: 1, źródła: 0, priorytet: 600, dostępne: nie)
                output:hdmi-surround-extra1+input:analog-stereo: Wyjście Digital Surround 5.1 (HDMI 2) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 665, dostępne: nie)
                output:hdmi-surround71-extra1: Wyjście Digital Surround 7.1 (HDMI 2) (odpływy: 1, źródła: 0, priorytet: 600, dostępne: nie)
                output:hdmi-surround71-extra1+input:analog-stereo: Wyjście Digital Surround 7.1 (HDMI 2) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 665, dostępne: nie)
                output:hdmi-stereo-extra2: Wyjście Digital Stereo (HDMI 3) (odpływy: 1, źródła: 0, priorytet: 5700, dostępne: nie)
                output:hdmi-stereo-extra2+input:analog-stereo: Wyjście Digital Stereo (HDMI 3) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 5765, dostępne: nie)
                output:hdmi-surround-extra2: Wyjście Digital Surround 5.1 (HDMI 3) (odpływy: 1, źródła: 0, priorytet: 600, dostępne: nie)
                output:hdmi-surround-extra2+input:analog-stereo: Wyjście Digital Surround 5.1 (HDMI 3) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 665, dostępne: nie)
                output:hdmi-surround71-extra2: Wyjście Digital Surround 7.1 (HDMI 3) (odpływy: 1, źródła: 0, priorytet: 600, dostępne: nie)
                output:hdmi-surround71-extra2+input:analog-stereo: Wyjście Digital Surround 7.1 (HDMI 3) + Wejście Analogowe stereo (odpływy: 1, źródła: 1, priorytet: 665, dostępne: nie)
                off: Wyłączone (odpływy: 0, źródła: 0, priorytet: 0, dostępne: tak)
        Aktywny profil: output:hdmi-stereo
        Porty:
                analog-input-headphone-mic: Mikrofon (typ: Mikrofon, priorytet: 8700, offset opóźnienia: 0 us, grupa dostępności: Legacy 1, niedostępne)
                        Właściwości:
                                device.icon_name = "audio-input-microphone"
                        Część profilu: input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-input-headset-mic: Mikrofon na słuchawkach (typ: Słuchawki z mikrofonem, priorytet: 8800, offset opóźnienia: 0 us, grupa dostępności: Legacy 1, niedostępne)
                        Właściwości:
                                device.icon_name = "audio-input-microphone"
                        Część profilu: input:analog-stereo, output:analog-stereo+input:analog-stereo, output:iec958-stereo+input:analog-stereo, output:iec958-ac3-surround-51+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo
                analog-output-speaker: Głośniki (typ: Głośnik, priorytet: 10000, offset opóźnienia: 0 us, niedostępne)
                        Właściwości:
                                device.icon_name = "audio-speakers"
                        Część profilu: output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Słuchawki (typ: Słuchawki, priorytet: 9900, offset opóźnienia: 0 us, grupa dostępności: Legacy 1, niedostępne)
                        Właściwości:
                                device.icon_name = "audio-headphones"
                        Część profilu: output:analog-stereo, output:analog-stereo+input:analog-stereo
                iec958-stereo-output: Wyjście cyfrowe (S/PDIF) (typ: S/PDIF, priorytet: 0, offset opóźnienia: 0 us, dostępność jest nieznana)
                        Część profilu: output:iec958-stereo, output:iec958-stereo+input:analog-stereo
                hdmi-output-0: HDMI / DisplayPort (typ: HDMI, priorytet: 5900, offset opóźnienia: 0 us, dostępne)
                        Właściwości:
                                device.icon_name = "video-display"
                                device.product.name = "PLG2888UH"
                        Część profilu: output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (typ: HDMI, priorytet: 5800, offset opóźnienia: 0 us, niedostępne)
                        Właściwości:
                                device.icon_name = "video-display"
                        Część profilu: output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
                hdmi-output-2: HDMI / DisplayPort 3 (typ: HDMI, priorytet: 5700, offset opóźnienia: 0 us, niedostępne)
                        Właściwości:
                                device.icon_name = "video-display"
                        Część profilu: output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo

It looks like profiles are available

Any new thoughts?

perhaps the problem is much more simpler:

did you take care which spec the hdmi cable have?,
not all can do all feature, here a short list:

SPECIFICATION YEAR HDR AUDIO SUPPORT
HDMI 1.0 2002 No 8 audio channels
HDMI 1.1/1.2 2005 No DVD-Audio, One-Bit Audio
HDMI 1.3/1.4 2009 No ARC, Dolby TrueHD, DTS-HD
HDMI 2.0 2013 Yes HE-AAC, DRA, 32 audio channels
HDMI 2.1 2017 Yes eARC

So quick i can find out:
NUC6i7KYK = HDMI 2.0 (just ARC, no eARC)
Sony STR-DN1040 = HDMI …(can’t find clear answer, but they have support link concerning eARC), so i tip on 2.1
Y540-15IRH = HDMI 2.0 (just ARC, no eARC)

further perhaps later, i am just a little bit in hurry^^

pactl data shows video-display connected to HDMI output

hdmi-output-0: HDMI / DisplayPort (typ: HDMI, priorytet: 5900, offset opóźnienia: 0 us, dostępne)
        Właściwości:
                device.icon_name = "video-display"
                device.product.name = "PLG2888UH"

Display specifications show headphone and stereo speaker outputs available for audio

iiyama.com - ProLite B2888UHSU-B1 - Technical Specifications

Output connector   headphone socket

Speakers   2 x 3 W (Stereo)

The Sony amp can support 5.1 audio but the HDMI pass-thru to display is 2.0 audio

Sorry for not responding to this thread. I was away.

Regarding HDMI specification, I never really checked which spec is my cable. Even when i check it now it only has High Speed HDMI Cable written on it.
Sony STR-DN1040 as far as i remember has HDMI 1.4, but I can be wrong.

Regarding post by nikgnomic
I know that my display only has 2 speakers, so it only supports two channel audio, but as you mentioned Sony amp supports 5.1 and I have dedicated speakers and subwoofer connected to it. It should work, that amp takes full data thru HDMI (video + audio), then passes to display only video and takes care of audio by himself. And it is happening now, but NUC can use only 2 front speakers, while Lenovo (connected over the same cable) was able to use all 5 channels.

Here is

pactl list cards

output from other laptop (XMG EVO 14, also runs Manjaro), on this laptop, using the same cable, 5.1 audio thru HDMI is working.

Card #42
        Name: alsa_card.pci-0000_00_1f.3
        Driver: alsa
        Owner Module: n/a
        Properties:
                api.acp.auto-port = "false"
                api.acp.auto-profile = "false"
                api.alsa.card = "0"
                api.alsa.card.longname = "HDA Intel PCH at 0x48202a0000 irq 169"
                api.alsa.card.name = "HDA Intel PCH"
                api.alsa.path = "hw:0"
                api.alsa.use-acp = "true"
                api.dbus.ReserveDevice1 = "Audio0"
                api.dbus.ReserveDevice1.Priority = "-20"
                device.api = "alsa"
                device.bus = "pci"
                device.bus_path = "pci-0000:00:1f.3"
                device.description = "Built-in Audio"
                device.enum.api = "udev"
                device.form_factor = "internal"
                device.icon_name = "audio-card-analog-pci"
                device.name = "alsa_card.pci-0000_00_1f.3"
                device.nick = "HDA Intel PCH"
                device.plugged.usec = "3763779"
                device.product.id = "0x7e28"
                device.product.name = "Meteor Lake-P HD Audio Controller"
                device.subsystem = "sound"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.vendor.id = "0x8086"
                device.vendor.name = "Intel Corporation"
                media.class = "Audio/Device"
                factory.id = "15"
                client.id = "41"
                object.id = "42"
                object.serial = "42"
                object.path = "alsa:acp:PCH"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0x48202a0000 irq 169"
                alsa.driver_name = "snd_hda_intel"
                alsa.mixer_name = "Conexant SN6140"
                alsa.components = "HDA:14f11f87,1d051382,00100100 HDA:8086281d,80860101,00100000"
                alsa.id = "PCH"
                device.string = "0"
        Profiles:
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
                output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
                output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5965, available: yes)
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: yes)
                output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 5765, available: no)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 5700, available: no)
                output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
                output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 865, available: yes)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: yes)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: yes)
                output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (sinks: 1, sources: 1, priority: 665, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
                pro-audio: Pro Audio (sinks: 5, sources: 1, priority: 1, available: yes)
        Active Profile: output:hdmi-surround
        Ports:
                analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 1"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "0"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
                analog-input-mic: Microphone (type: Mic, priority: 8700, latency offset: 0 usec, availability group: Legacy 2, not available)
                        Properties:
                                port.type = "mic"
                                port.availability-group = "Legacy 2"
                                device.icon_name = "audio-input-microphone"
                                card.profile.port = "1"
                        Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71+input:analog-stereo, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1+input:analog-stereo, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2+input:analog-stereo, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3+input:analog-stereo
                analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, availability unknown)
                        Properties:
                                port.type = "speaker"
                                port.availability-group = "Legacy 3"
                                device.icon_name = "audio-speakers"
                                card.profile.port = "2"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 4, not available)
                        Properties:
                                port.type = "headphones"
                                port.availability-group = "Legacy 4"
                                device.icon_name = "audio-headphones"
                                card.profile.port = "3"
                        Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
                hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 5, available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 5"
                                device.icon_name = "video-display"
                                card.profile.port = "4"
                                device.product.name = "Panasonic-TV"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-stereo+input:analog-stereo, output:hdmi-surround, output:hdmi-surround+input:analog-stereo, output:hdmi-surround71, output:hdmi-surround71+input:analog-stereo
                hdmi-output-1: HDMI / DisplayPort 2 (type: HDMI, priority: 5800, latency offset: 0 usec, availability group: Legacy 6, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 6"
                                device.icon_name = "video-display"
                                card.profile.port = "5"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-stereo-extra1+input:analog-stereo, output:hdmi-surround-extra1, output:hdmi-surround-extra1+input:analog-stereo, output:hdmi-surround71-extra1, output:hdmi-surround71-extra1+input:analog-stereo
                hdmi-output-2: HDMI / DisplayPort 3 (type: HDMI, priority: 5700, latency offset: 0 usec, availability group: Legacy 7, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 7"
                                device.icon_name = "video-display"
                                card.profile.port = "6"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-stereo-extra2+input:analog-stereo, output:hdmi-surround-extra2, output:hdmi-surround-extra2+input:analog-stereo, output:hdmi-surround71-extra2, output:hdmi-surround71-extra2+input:analog-stereo
                hdmi-output-3: HDMI / DisplayPort 4 (type: HDMI, priority: 5600, latency offset: 0 usec, availability group: Legacy 8, not available)
                        Properties:
                                port.type = "hdmi"
                                port.availability-group = "Legacy 8"
                                device.icon_name = "video-display"
                                card.profile.port = "7"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-stereo-extra3+input:analog-stereo, output:hdmi-surround-extra3, output:hdmi-surround-extra3+input:analog-stereo, output:hdmi-surround71-extra3, output:hdmi-surround71-extra3+input:analog-stereo

Yes, I changed my iiyama monitor for panasonic TV, but it should not have any impact.

pactl data shows TV is available for audio playback

hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 5, available)
        Properties:
                 device.product.name = "Panasonic-TV"

but no Sony STR-DN1040 device detected for 5.1 audio playback

To check PulseAudio sink output channel map

pactl list sinks

Output from

pactl list sinks

It’s in my native language (polish), so if you have some trouble understanding I can translate.

12. odpływ
        Stan: SUSPENDED
        Nazwa: alsa_output.pci-0000_00_1f.3.hdmi-stereo
        Opis: Wbudowany dźwięk Digital Stereo (HDMI)
        Sterownik: module-alsa-card.c
        Określenie próbki: s16le 2 k 44100 Hz
        Mapa kanałów: front-left,front-right
        Właściciel modułu: 6
        Wyciszenie: nie
        Poziom głośności: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                          balans 0,00
        Głośność podstawowa: 65536 / 100% / 0,00 dB
        Źródło monitora: alsa_output.pci-0000_00_1f.3.hdmi-stereo.monitor
        Opóźnienie: 0 us, skonfigurowano 0 us
        Flagi: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
        Właściwości:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Panasonic-TV"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdc240000 irq 138"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a170"
                device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
                device.form_factor = "internal"
                device.string = "hdmi:0"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "Wbudowany dźwięk Digital Stereo (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Porty:
                hdmi-output-0: HDMI / DisplayPort (typ: HDMI, priorytet: 5900, dostępne)
        Aktywny port: hdmi-output-0
        Formaty:
                pcm

Funny enough, after updating system with

sudo pacman -Syuu

now I can choose 5.1 and even 7.1 audio thru HDMI, but it still doesn’t work as intended. With 5.1 chosen I get completely no audio and with 7.1 I get two front channels working.

pactl list sinks response shows stereo audio playing to Panasonic-TV

12. odpływ
        Nazwa: alsa_output.pci-0000_00_1f.3.hdmi-stereo
        Opis: Wbudowany dźwięk Digital Stereo (HDMI)

        Określenie próbki: s16le 2 k 44100 Hz
        Mapa kanałów: front-left,front-right
        Poziom głośności: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB
                          balans 0,00

        Właściwości:
                alsa.name = "Panasonic-TV"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.device = "3"
                alsa.card = "0"

                device.description = "Wbudowany dźwięk Digital Stereo (HDMI)"
        Porty:
                hdmi-output-0: HDMI / DisplayPort (typ: HDMI, priorytet: 5900, dostępne)
        Aktywny port: hdmi-output-0

To configure PulseAudio daemon to use 8 channels of audio by default

tee --append ~/.config/pulse/daemon.conf <<< 'default-sample-channels=8'

PulseAudio/Examples/Surround sound systems - ArchWiki

But if PulseAudio cannot detect the Sony device when there is no pass-through TV or Monitor connected, it might still use 2 channels for stereo audio playback

Changing PulseAudio daemon to use more channels by default didn’t change anything.

Regarding pactl list sinks showing stereo output, it showed it, because I set my audio output to stereo, as it’s the only configuration giving output from speakers. If I change set my output to 5.1 pactl list sinks output looks like this

8. odpływ
        Stan: IDLE
        Nazwa: alsa_output.pci-0000_00_1f.3.hdmi-surround
        Opis: Wbudowany dźwięk Digital Surround 5.1 (HDMI)
        Sterownik: module-alsa-card.c
        Określenie próbki: s16le 6 k 44100 Hz
        Mapa kanałów: front-left,front-right,rear-left,rear-right,front-center,lfe
        Właściciel modułu: 6
        Wyciszenie: nie
        Poziom głośności: front-left: 65536 / 100% / 0,00 dB,   front-right: 65536 / 100% / 0,00 dB,   rear-left: 65536 / 100% / 0,00 dB,   rear-right: 65536 / 100% / 0,00 dB,   front-center: 65536 / 100% / 0,00 dB,   lfe: 65536 / 100% / 0,00 dB
                          balans 0,00
        Głośność podstawowa: 65536 / 100% / 0,00 dB
        Źródło monitora: alsa_output.pci-0000_00_1f.3.hdmi-surround.monitor
        Opóźnienie: 2000601 us, skonfigurowano 2000000 us
        Flagi: HARDWARE DECIBEL_VOLUME LATENCY 
        Właściwości:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "Panasonic-TV"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xdc240000 irq 138"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1f.3"
                sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "a170"
                device.product.name = "100 Series/C230 Series Chipset Family HD Audio Controller"
                device.form_factor = "internal"
                device.string = "hdmi:0"
                device.buffering.buffer_size = "1058400"
                device.buffering.fragment_size = "529200"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-surround"
                device.profile.description = "Digital Surround 5.1 (HDMI)"
                device.description = "Wbudowany dźwięk Digital Surround 5.1 (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Porty:
                hdmi-output-0: HDMI / DisplayPort (typ: HDMI, priorytet: 5900, dostępne)
        Aktywny port: hdmi-output-0
        Formaty:
                pcm

With this output configuration my amp displays no streams information. But when I change to stereo I get 2.0 audio (and funny enough setting output to 7.1 also gives stereo signal to amp, with two front channels being received by it).