EARC and 5.1

aPpYe

New Member
Joined
Nov 22, 2021
Messages
6
Reaction score
2
Credits
104
Is it just imposible to get 5.1 through earc in linux or on a pc in general?
 


Is it just imposible to get 5.1 through earc in linux or on a pc in general?
Whoa there, dude! It's definitely not impossible to get 5.1 audio through eARC on Linux or a PC. eARC (Enhanced Audio Return Channel) is a feature commonly found on modern audio equipment that supports high-quality audio formats, including 5.1 surround sound.

However, getting 5.1 audio through eARC on Linux or a PC depends on a few factors. First, you need to make sure your hardware supports eARC. Check if your sound card, motherboard, or audio interface has eARC capabilities.

Next, ensure that you have the appropriate software installed on your Linux system. Linux has several tools and applications that can handle surround sound audio, such as PulseAudio and ALSA. Make sure you have the latest versions and appropriate settings configured.

Properly configuring your surround sound setup also plays a crucial role. You might need to adjust the audio settings in your sound card's control panel, select the correct audio profile, or configure the channel mapping for your specific hardware.

Remember, Linux is all about customization and tinkering, so don't give up, dude! With the right hardware, software, and configuration, you should be able to ride the sound waves of 5.1 audio through eARC on your PC.
 
Okay, here is a post I put in another forum outlining my problem in more detail ...

Hello. When I connect HDMI directly to my soundbar, which then sends the signal out to my TV, I get 5.1 surround without any issues. When I connect to my TV directly and then output to the soundbar through the TV's EARC port, I only get front left and front right channels. What's more, when I run the speaker test (cinnamon sound applet), front left and front right each come out of all channels, but clicking on any of the other channels produces nothing. Perhaps misunderstanding that the issue was specific to EARC, I purchased a "sound extractor" device, specifically THIS ONE, and I still get the exact same behavior when extracting the sound and outputting it to the soundbar via optical cable.

I am currently running Bullseye and am trying to output 5.1 through an nvidia rtx 3070. The issue is not HDMI cables, as these were at least advertised on amazon with good reviews as 2.1, 48gbps ... I am thinking the issue has to do with the TV and the audio extractor device not understanding what the nvidia card is saying.

While I can get 5.1 through the soundbar, this does not pass 4k/120hz with HDR to my new TV. I saw some other threads where it was recommended to provide output from inxi -Fxxxrz, so here is what I get from that:

Code:
System:    Kernel: 5.10.0-25-amd64 x86_64 bits: 64 compiler: gcc v: 10.2.1 Desktop: Cinnamon 4.8.6 tk: GTK 3.24.24 
           dm: LightDM 1.26.0 Distro: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Desktop System: Hewlett-Packard product: HP Z640 Workstation v: N/A serial: <filter> Chassis: type: 6 
           serial: <filter> 
           Mobo: Hewlett-Packard model: 212A v: 1.01 serial: <filter> UEFI: Hewlett-Packard v: M60 v02.57 date: 05/21/2021 
Battery:   Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus serial: <filter> 
           charge: 55% (should be ignored) rechargeable: yes status: Discharging 
CPU:       Info: 8-Core model: Intel Xeon E5-2667 v3 bits: 64 type: MT MCP arch: Haswell rev: 2 L2 cache: 20 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 102155 
           Speed: 1199 MHz min/max: 1200/3600 MHz Core speeds (MHz): 1: 1199 2: 1198 3: 1200 4: 3392 5: 1198 6: 1198 7: 1197 
           8: 1199 9: 1196 10: 2055 11: 1197 12: 1197 13: 1197 14: 1199 15: 1197 16: 1199 
Graphics:  Device-1: NVIDIA GA104 [GeForce RTX 3070] driver: nvidia v: 470.182.03 bus ID: 02:00.0 chip ID: 10de:2484 
           class ID: 0300 
           Display: x11 server: X.Org 1.20.11 driver: loaded: nvidia unloaded: fbdev,modesetting,nouveau,vesa alternate: nv 
           resolution: 3840x2160 s-dpi: 48 
           OpenGL: renderer: NVIDIA GeForce RTX 3070/PCIe/SSE2 v: 4.6.0 NVIDIA 470.182.03 direct render: Yes 
Audio:     Device-1: NVIDIA GA104 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 02:00.1 chip ID: 10de:228b 
           class ID: 0403 
           Sound Server: ALSA v: k5.10.0-25-amd64 
Network:   Device-1: Intel Ethernet I218-LM vendor: Hewlett-Packard driver: e1000e v: kernel port: 3040 bus ID: 00:19.0 
           chip ID: 8086:15a0 class ID: 0200 
           IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: vboxnet0 state: down mac: <filter> 
Bluetooth: Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) type: USB driver: btusb v: 0.8 bus ID: 1-12.2:7 
           chip ID: 0a12:0001 class ID: e001 
           Report: ID: hci0 state: up running pscan bt-v: 2.1 lmp-v: 4.0 sub-v: 22bb hci-v: 4.0 rev: 22bb address: <filter> 
Drives:    Local Storage: total: 19.6 TiB used: 2.95 TiB (15.1%) 
           ID-1: /dev/sda vendor: SK Hynix model: SC313 HFS256G32TNF-N3A0A size: 238.47 GiB speed: 6.0 Gb/s rotation: SSD 
           serial: <filter> rev: 0P10 temp: 34 C scheme: GPT 
           ID-2: /dev/sdb vendor: Seagate model: ST5000DM000-1FK178 size: 4.55 TiB speed: 6.0 Gb/s rotation: 5980 rpm 
           serial: <filter> rev: CC49 temp: 30 C scheme: GPT 
           ID-3: /dev/sdc vendor: Western Digital model: WD20PURX-64P6ZY0 size: 1.82 TiB speed: 6.0 Gb/s rotation: 5400 rpm 
           serial: <filter> rev: 0A80 temp: 30 C scheme: GPT 
           ID-4: /dev/sdd vendor: SK Hynix model: SC313 HFS256G32TNF-N3A0A size: 238.47 GiB speed: 6.0 Gb/s rotation: SSD 
           serial: <filter> rev: 0P10 temp: 31 C scheme: GPT 
           ID-5: /dev/sde vendor: Western Digital model: WD140EDGZ-11B2DA2 size: 12.73 TiB speed: 6.0 Gb/s rotation: 7200 rpm 
           serial: <filter> rev: 0A85 temp: 40 C scheme: GPT 
           ID-6: /dev/sdf type: USB vendor: Kingston model: DataTraveler 3.0 size: 28.88 GiB serial: <filter> rev: PMAP 
           scheme: MBR 
Partition: ID-1: / size: 20.92 GiB used: 8.74 GiB (41.8%) fs: ext4 dev: /dev/sda3 
           ID-2: /boot/efi size: 33.5 MiB used: 5.8 MiB (17.2%) fs: vfat dev: /dev/sda1 
           ID-3: /home size: 183.22 GiB used: 131.69 GiB (71.9%) fs: ext4 dev: /dev/sda4 
Swap:      ID-1: swap-1 type: partition size: 29.8 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda2 
Sensors:   System Temperatures: cpu: 42.0 C mobo: N/A gpu: nvidia temp: 35 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 32% 
Repos:     Packages: apt: 2036 
           Active apt repos in: /etc/apt/sources.list 
           1: deb http://deb.debian.org/debian/ bullseye main non-free contrib
           2: deb http://security.debian.org/debian-security bullseye-security main contrib non-free
           3: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
           4: deb http://deb.debian.org/debian/ bullseye-backports main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/fasttrack.list 
           1: deb https://fasttrack.debian.net/debian/ bullseye-fasttrack main contrib
           2: deb https://fasttrack.debian.net/debian/ bullseye-backports-staging main contrib
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list 
           1: deb [arch=amd64] http://dl.google.com/linux/earth/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/syncthing.list 
           1: deb [signed-by=/usr/share/keyrings/syncthing-archive-keyring.gpg] https://apt.syncthing.net/ syncthing stable
Info:      Processes: 351 Uptime: 15m wakeups: 2 Memory: 31.26 GiB used: 5.61 GiB (17.9%) Init: systemd v: 247 runlevel: 5 
           Compilers: gcc: 10.2.1 alt: 10 Shell: Bash v: 5.1.4 running in: gnome-terminal inxi: 3.3.01

Hoping that it might have something to do with outdated drivers or something, I ran a recent live image of manjaro, which produced the exact same behavior, and ran the same command from that:

Code:
[manjaro@manjaro-cinnamon ~]$ uname -a
Linux manjaro-cinnamon 6.5.3-1-MANJARO #1 SMP PREEMPT_DYNAMIC Wed Sep 13 12:21:35 UTC 2023 x86_64 GNU/Linux
[manjaro@manjaro-cinnamon ~]$ inxi -Fxxxrz
System:
  Kernel: 6.5.3-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc Desktop: Cinnamon v: 5.8.4 tk: GTK v: 3.24.38 vt: 7
    dm: LightDM v: 1.32.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop System: Hewlett-Packard product: HP Z640 Workstation v: N/A
    serial: <superuser required> Chassis: type: 6 serial: <superuser required>
  Mobo: Hewlett-Packard model: 212A v: 1.01 serial: <superuser required>
    UEFI: Hewlett-Packard v: M60 v02.57 date: 05/21/2021
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Touch Keyboard K400 Plus
    serial: <filter> charge: 55% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: 8-core model: Intel Xeon E5-2667 v3 bits: 64 type: MT MCP smt: enabled
    arch: Haswell rev: 2 cache: L1: 512 KiB L2: 2 MiB L3: 20 MiB
  Speed (MHz): avg: 1209 high: 1345 min/max: 1200/3600 cores: 1: 1200
    2: 1200 3: 1200 4: 1200 5: 1345 6: 1200 7: 1200 8: 1200 9: 1200 10: 1200
    11: 1200 12: 1200 13: 1200 14: 1214 15: 1200 16: 1200 bogomips: 102207
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: NVIDIA GA104 [GeForce RTX 3070] driver: nvidia v: 535.104.05
    arch: Ampere pcie: speed: 2.5 GT/s lanes: 16 bus-ID: 02:00.0
    chip-ID: 10de:2484 class-ID: 0300
  Display: x11 server: X.org v: 1.21.1.8 driver: X: loaded: nvidia
    gpu: nvidia display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x2160 s-size: <missing: xdpyinfo>
  Monitor-1: Unknown-1 mapped: HDMI-0 res: 3840x2160 hz: 60 dpi: 81
    size: 1209x680mm (47.6x26.77") modes: 1024x768
  API: OpenGL v: 4.6.0 NVIDIA 535.104.05 renderer: NVIDIA GeForce RTX
    3070/PCIe/SSE2 direct-render: Yes
Audio:
  Device-1: NVIDIA GA104 High Definition Audio driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 02:00.1 chip-ID: 10de:228b
    class-ID: 0403
  API: ALSA v: k6.5.3-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 0.3.80 status: off
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin
Network:
  Device-1: Intel Ethernet I218-LM vendor: Hewlett-Packard driver: e1000e
    v: kernel port: 3040 bus-ID: 00:19.0 chip-ID: 8086:15a0 class-ID: 0200
  IF: eno1 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Microsoft XBOX ACC driver: mt76x2u type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 bus-ID: 3-4:2 chip-ID: 045e:02fe class-ID: 0000
    serial: <filter>
  IF: wlp0s20u4 state: down mac: <filter>
Bluetooth:
  Device-1: Cambridge Silicon Radio Bluetooth Dongle (HCI mode) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 bus-ID: 3-12.2:6
    chip-ID: 0a12:0001 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 19.6 TiB used: 0 KiB (0.0%)
  ID-1: /dev/sda vendor: SK Hynix model: SC313 HFS256G32TNF-N3A0A
    size: 238.47 GiB speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 0P10
    scheme: GPT
  ID-2: /dev/sdb vendor: Western Digital model: WD20PURX-64P6ZY0
    size: 1.82 TiB speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 0A80 scheme: GPT
  ID-3: /dev/sdc vendor: Seagate model: ST5000DM000-1FK178 size: 4.55 TiB
    speed: 6.0 Gb/s tech: HDD rpm: 5980 serial: <filter> fw-rev: CC49
    scheme: GPT
  ID-4: /dev/sdd vendor: SK Hynix model: SC313 HFS256G32TNF-N3A0A
    size: 238.47 GiB speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 0P10
    scheme: GPT
  ID-5: /dev/sde vendor: Western Digital model: WD140EDGZ-11B2DA2
    size: 12.73 TiB speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 0A85 scheme: GPT
  ID-6: /dev/sdf vendor: Kingston model: DataTraveler 3.0 size: 28.88 GiB
    type: USB rev: 3.1 spd: 5 Gb/s lanes: 1 tech: N/A serial: <filter>
    fw-rev: PMAP scheme: MBR
Partition:
  Message: No partition data found.
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 43.0 C mobo: N/A gpu: nvidia temp: 34 C
  Fan Speeds (rpm): N/A gpu: nvidia fan: 32%
Repos:
  Packages: pm: pacman pkgs: 1120
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: http://ftp.tu-chemnitz.de/pub/linux/manjaro/stable/$repo/$arch
    2: https://ba.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    3: http://mirror.infotronik.hu/mirrors/pub/manjaro/stable/$repo/$arch
    4: https://mirrors.ocf.berkeley.edu/manjaro/stable/$repo/$arch
    5: http://kibo.remi.lu/stable/$repo/$arch
    6: https://repo.rhindon.net/manjaro/stable/$repo/$arch
    7: http://linorg.usp.br/manjaro/stable/$repo/$arch
    8: https://mirror.philpot.de/manjaro/stable/$repo/$arch
    9: http://mirror.truenetwork.ru/manjaro/stable/$repo/$arch
    10: https://mirror.clarkson.edu/manjaro/stable/$repo/$arch
    11: https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
    12: https://manjaro.cu.be/stable/$repo/$arch
    13: http://mirror.rise.ph/manjaro/stable/$repo/$arch
    14: http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
    15: http://mirror.dacentec.com/manjaro/stable/$repo/$arch
    16: http://free.nchc.org.tw/manjaro/stable/$repo/$arch
    17: http://mirror.xeonbd.com/manjaro/stable/$repo/$arch
    18: http://mirror.ufam.edu.br/manjaro/stable/$repo/$arch
    19: https://mirrors.sjtug.sjtu.edu.cn/manjarostable/$repo/$arch
    20: http://ftp.cuhk.edu.hk/pub/Linux/manjaro/stable/$repo/$arch
    21: http://mirrors.tuna.tsinghua.edu.cn/manjaro/stable/$repo/$arch
    22: http://ftp.riken.jp/Linux/manjaro/stable/$repo/$arch
    23: http://mirror.ragenetwork.de/manjaro/stable/$repo/$arch
    24: http://ftp.tsukuba.wide.ad.jp/Linux/manjaro/stable/$repo/$arch
    25: http://manjaro.barata.pt/stable/$repo/$arch
    26: https://www.mirrorservice.org/sites/repo.manjaro.org/repos/stable/$repo/$arch
    27: https://mirrors.netix.net/manjaro/stable/$repo/$arch
    28: https://download.nus.edu.sg/mirror/manjaro/stable/$repo/$arch
    29: http://pet.inf.ufsc.br/mirrors/manjarolinux/stable/$repo/$arch
    30: http://mirrors.serverhost.ro/manjaro/packages/stable/$repo/$arch
    31: https://repo.sadjad.ac.ir/manjaro/stable/$repo/$arch
    32: http://manjaro.telecoms.bg/stable/$repo/$arch
    33: http://ftp.linux.org.tr/manjaro/stable/$repo/$arch
    34: http://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    35: https://mirror.espoch.edu.ec/manjaro/stable/$repo/$arch
    36: https://ftp.nluug.nl/pub/os/Linux/distr/manjaro/stable/$repo/$arch
    37: http://kartolo.sby.datautama.net.id/manjaro/stable/$repo/$arch
    38: https://mirrors.ucr.ac.cr/manjaro/stable/$repo/$arch
    39: https://manjaro.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    40: https://mirror.tuchola-dc.pl/manjaro/stable/$repo/$arch
    41: https://www.uex.dk/public/manjaro/stable/$repo/$arch
    42: https://ftp.halifax.rwth-aachen.de/manjaro/stable/$repo/$arch
    43: http://mirror.is.co.za/mirrors/manjaro.org/stable/$repo/$arch
    44: http://manjaro.melbourneitmirror.net/stable/$repo/$arch
    45: https://ftp.lysator.liu.se/pub/manjaro/stable/$repo/$arch
    46: https://ftp.cc.uoc.gr/mirrors/linux/manjaro/stable/$repo/$arch
    47: https://mirror.koddos.net/manjaro/stable/$repo/$arch
    48: http://repo.manjaro.org.uk/stable/$repo/$arch
    49: https://manjaro.moson.eu/stable/$repo/$arch
    50: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    51: http://mirror.inode.at/manjaro/stable/$repo/$arch
    52: https://mirror.netzspielplatz.de/manjaro/packages/stable/$repo/$arch
    53: https://mirrors.shu.edu.cn/manjaro/stable/$repo/$arch
    54: https://osmirror.org/manjaro/stable/$repo/$arch
    55: http://mirror.catn.com/pub/manjaro/stable/$repo/$arch
    56: https://ct.mirror.garr.it/mirrors/manjaro/stable/$repo/$arch
    57: https://manjaro.c3sl.ufpr.br/stable/$repo/$arch
    58: https://mirrors.shuosc.org/manjaro/stable/$repo/$arch
    59: http://manjaro.dcc.uchile.cl/stable/$repo/$arch
    60: https://manjaro.ipacct.com/manjaro/stable/$repo/$arch
    61: https://mirror.cedia.org.ec/manjaro/stable/$repo/$arch
    62: http://mirror.chmuri.net/manjaro/stable/$repo/$arch
    63: http://distro.ibiblio.org/manjaro/stable/$repo/$arch
    64: https://mirror.math.princeton.edu/pub/manjaro/stable/$repo/$arch
    65: https://mirror.zetup.net/manjaro/stable/$repo/$arch
    66: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    67: http://mirror.upb.edu.co/manjarostable/$repo/$arch
    68: http://manjaro.mirrors.uk2.net/stable/$repo/$arch
    69: http://ftp.belnet.be/mirrors/manjaro/stable/$repo/$arch
    70: http://mirror.ventraip.net.au/Manjaro/stable/$repo/$arch
    71: http://manjaro.mirror.ac.za/stable/$repo/$arch
    72: http://kambing.ui.ac.id/manjaro/stable/$repo/$arch
    73: https://mirror.yandex.ru/mirrors/manjaro/stable/$repo/$arch
    74: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    75: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    76: http://ftp.caliu.cat/manjaro/stable/$repo/$arch
    77: https://mirror.netcologne.de/manjaro/stable/$repo/$arch
    78: https://mirrors.zju.edu.cn/manjaro/stable/$repo/$arch
Info:
  Processes: 318 Uptime: 6m wakeups: 2 Memory: total: 32 GiB
  available: 31.26 GiB used: 3.65 GiB (11.7%) Init: systemd v: 254
  default: graphical Compilers: gcc: 13.2.1 clang: 16.0.6 Shell: Bash
  v: 5.1.16 running-in: gnome-terminal inxi: 3.3.29
[manjaro@manjaro-cinnamon ~]$

Please let me know if you need any further information. I am hoping someone can provide some insight while I still have all the hair on my head!
 

Members online


Top