HDMI 5.1 surround, only front left and front right channel works

My computer (a wanna be HTPC) output audio and video through a single HDMI cable, it goes into my 5.1 sound system, and the soundsystem HDMI out goes to the TV. (I am NOT using ARC)

I have installed Pavucontrol, but it doesn't seem to be able to do anything the basic sound control panel can't do for the HDMI 5.1 out.

Speaker-test give the following output:

speaker-test 1.2.2

Playback device is default
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 32 to 349525
Period size range from 10 to 116509
Using max buffer size 349524
Periods = 4
was set period_size = 87381
was set buffer_size = 349524
 0 - Front Left
 4 - Center
 1 - Front Right
 3 - Rear Right
 2 - Rear Left
 5 - LFE
Time per period = 10.981928

The sounds system makes noise only for the front right and front left. I only get silence for all the other channels

If I instead use the HDMI stereo profile, then speaker-test succesfully output to all the channels...

Here's some system information you'll probably want.
Feel free to tell me if there's anything missing.

System info (inxi -Fxxxz):

System:    Host: salonTV Kernel: 5.6.15-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 
           tk: Qt 5.14.2 wm: kwin_x11 dm: SDDM Distro: Manjaro Linux 
Machine:   Type: Desktop System: Gigabyte product: AB350-Gaming 3 v: N/A serial: <filter> 
           Mobo: Gigabyte model: AB350-Gaming 3-CF v: x.x serial: <filter> UEFI: American Megatrends v: F50a date: 11/27/2019 
Battery:   Device-1: hidpp_battery_0 model: Logitech MX5500 Keyboard serial: <filter> charge: 40% rechargeable: yes 
           status: Discharging 
CPU:       Topology: Quad Core model: AMD Ryzen 3 1200 bits: 64 type: MCP arch: Zen rev: 1 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 24757 
           Speed: 2490 MHz min/max: 1550/3100 MHz boost: enabled Core speeds (MHz): 1: 2537 2: 1373 3: 1375 4: 1375 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Hawaii PRO [Radeon R9 290/390] vendor: PC Partner Limited driver: radeon 
           v: kernel bus ID: 06:00.0 chip ID: 1002:67b1 
           Display: x11 server: X.Org 1.20.8 driver: radeon FAILED: ati unloaded: modesetting alternate: fbdev,vesa 
           compositor: kwin_x11 resolution: 1920x1080~60Hz 
           OpenGL: renderer: AMD HAWAII (DRM 2.50.0 5.6.15-1-MANJARO LLVM 10.0.0) v: 4.5 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X] 
           vendor: PC Partner Limited driver: snd_hda_intel v: kernel bus ID: 06:00.1 chip ID: 1002:aac8 
           Sound Server: ALSA v: k5.6.15-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel 
           port: f000 bus ID: 03:00.0 chip ID: 10ec:8168 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 2.96 TiB used: 1.91 TiB (64.5%) 
           ID-1: /dev/sda vendor: Western Digital model: WD1001FALS-00J7B1 size: 931.51 GiB speed: 3.0 Gb/s serial: <filter> 
           rev: 0K05 scheme: MBR 
           ID-2: /dev/sdb vendor: Seagate model: ST2000DM006-2DM164 size: 1.82 TiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: CC26 scheme: GPT 
           ID-3: /dev/sdc vendor: Seagate model: ST3250620NS size: 232.89 GiB speed: 1.5 Gb/s serial: <filter> rev: K 
           scheme: MBR 
Partition: ID-1: / size: 37.77 GiB used: 14.63 GiB (38.7%) fs: ext4 dev: /dev/sdc4 
           ID-2: /home size: 177.51 GiB used: 1.84 GiB (1.0%) fs: ext4 dev: /dev/sdc3 
Sensors:   System Temperatures: cpu: 32.1 C mobo: N/A gpu: radeon temp: 47 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 227 Uptime: 6m Memory: 7.79 GiB used: 1.47 GiB (18.9%) Init: systemd v: 245 Compilers: gcc: 10.1.0 
           Shell: bash v: 5.0.17 running in: yakuake inxi: 3.0.37 

aplay -L:

surround21
    2.1 Surround output to Front and Subwoofer speakers
surround40
    4.0 Surround output to Front and Rear speakers
surround41
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
    5.0 Surround output to Front, Center and Rear speakers
surround51
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output

aplay -l:

**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 11: HDMI 5 [HDMI 5]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pactl list cards:

Card #0
        Name: alsa_card.pci-0000_06_00.1
        Driver: module-alsa-card.c
        Owner Module: 6
        Properties:
                alsa.card = "0"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfcf60000 irq 48"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:06:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:03.1/0000:06:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aac8"
                device.product.name = "Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]"
                device.string = "0"
                device.description = "Hawaii HDMI Audio [Radeon R9 290/290X / 390/390X]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        Profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 900, available: yes)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 3800, available: yes)
                output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (sinks: 1, sources: 0, priority: 700, available: no)
                output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 3600, available: no)
                output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (sinks: 1, sources: 0, priority: 700, available: no)
                output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 3600, available: no)
                output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (sinks: 1, sources: 0, priority: 700, available: no)
                output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 3600, available: no)
                output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (sinks: 1, sources: 0, priority: 700, available: no)
                output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 3600, available: no)
                output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (sinks: 1, sources: 0, priority: 600, available: no)
                output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (sinks: 1, sources: 0, priority: 700, available: no)
                output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 3600, available: no)
                output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (sinks: 1, sources: 0, priority: 600, available: no)
                off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
        Active Profile: output:hdmi-stereo
        Ports:
                hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency offset: 0 usec, available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo, output:hdmi-surround
                hdmi-output-1: HDMI / DisplayPort 2 (priority: 5800, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra1, output:hdmi-surround-extra1, output:hdmi-surround71-extra1
                hdmi-output-2: HDMI / DisplayPort 3 (priority: 5700, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra2, output:hdmi-surround-extra2, output:hdmi-surround71-extra2
                hdmi-output-3: HDMI / DisplayPort 4 (priority: 5600, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra3, output:hdmi-surround-extra3, output:hdmi-surround71-extra3
                hdmi-output-4: HDMI / DisplayPort 5 (priority: 5500, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra4, output:hdmi-surround-extra4, output:hdmi-surround71-extra4
                hdmi-output-5: HDMI / DisplayPort 6 (priority: 5400, latency offset: 0 usec, not available)
                        Properties:
                                device.icon_name = "video-display"
                        Part of profile(s): output:hdmi-stereo-extra5, output:hdmi-surround-extra5, output:hdmi-surround71-extra5

  1. To get English output so most of us can read to a set lang=c && command or an:

    export lang=C
    command
    command
    command
    

    (Non, pas de problème, j'ai compris tout...) :innocent:

  2. Install the alsa-tools and execute hdajackretask:

    and then follow the debugging instructions here:

https://archived.forum.manjaro.org/t/weak-low-volume-tinny-sound-under-manjaro-compared-to-windows

Thank you Fabby, i have updated the original post so that it is only in english.

Following your instructions, I have looked at hdajackretask.
In my case, only one pin was unconnected. And all the pins only have the options "hdmi/display port" or "not connected". I tried overriding the disconnected pin, but that did not change anything.

Perhaps there is something to do with the advanced overrides, but the documentation says that most combination are invalid, and I'd rather not try stuff at random anyway.

@nikgnomic Do you have tie to look into this???

(Nik is our resident musician sound expert)
:grin:

If I instead use the HDMI stereo profile, then speaker-test succesfully output to all the channels...

if all channels work with hdmi-stereo profile, presumably system is sending audio using a Dolby or DTS codec to a receiver that can decode it to 5.1 channel audio

HDMI stereo appears to be the correct profile to work with the '5.1 sound system'

1 Like

Thank you Nikgnomic

Yes that soundsystem can decode dolby surround signal. Passthrough over stereo works fine.
Are you suggesting it can only receive encoded signal?

More out of curiosity than anything, I wonder how could I test that idea...
I guess I'll have to ask the manufacturer whether it can receive uncompressed signal over hdmi.

If the hdmi 5.1 setting not working is not indicative of anything broken on the computer side, i'll have to live with that.

Using xrandr --prop and edid-decode (from the package 'read-edid'), I was able to comfirm Nikgnomic prognostic: my soundsystem only support 6 channels if it is AC3 encoded. It is otherwise limited to 2 channels.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by