Unable to play audio on NUC (HDMI output) with Manjaro Qonos: Sound is not decoded

Hi.

My problem is the same with Live ISO, or installed Manjaro Qonos 21.2.

When trying to play audio from anywhere (browser or mediaplayer), or video (VLC, no sound, Youtube, freeze), my NUC is unable to decode audio.

Here are the details: Apologies, the system is using fr-CH locale

aplay -l

**** Liste des périphériques matériels PLAYBACK ****
carte 0 : Audio [Intel HDMI/DP LPE Audio], périphérique 0 : HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
carte 0 : Audio [Intel HDMI/DP LPE Audio], périphérique 1 : HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Sous-périphériques : 1/1
  Sous-périphérique #0 : subdevice #0
carte 0 : Audio [Intel HDMI/DP LPE Audio], périphérique 2 : HdmiLpeAudio [Intel HDMI/DP LPE Audi]
  Sous-périphériques : 0/1
  Sous-périphérique #0 : subdevice #0

pacmd dump

### Configuration dump generated at Fri Mar 18 22:21:14 2022

load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore
load-module module-augment-properties
load-module module-switch-on-port-available
load-module module-udev-detect
load-module module-alsa-card device_id="0" name="pci-0000_00_02.0-platform-hdmi-lpe-audio" card_name="alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1"
load-module module-bluetooth-policy
load-module module-bluetooth-discover
load-module module-bluez5-discover
load-module module-dbus-protocol
load-module module-native-protocol-unix
load-module module-gsettings
load-module module-default-device-restore
load-module module-always-sink
load-module module-intended-roles
load-module module-suspend-on-idle
load-module module-console-kit
load-module module-systemd-login
load-module module-position-event-sounds
load-module module-role-cork
load-module module-filter-heuristics
load-module module-filter-apply
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2 0x10000
set-sink-mute alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2 no
suspend-sink alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2 no

set-source-volume alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2.monitor no
suspend-source alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2.monitor no

set-card-profile alsa_card.pci-0000_00_02.0-platform-hdmi-lpe-audio output:hdmi-stereo-extra2

set-default-sink alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2
set-default-source alsa_output.pci-0000_00_02.0-platform-hdmi-lpe-audio.hdmi-stereo-extra2.monitor

### EOF

mhwd -l -d

--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1c.2/0000:03:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:	network-r8168
   ATTACHED:	PCI
   VERSION:	2016.04.20
   INFO:	RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0200 
   VENDORIDS:	1186 10ec 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:22b1)
  Display controller Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 



  > AVAILABLE:

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


Warning: no configs for USB devices found!

inxi -SMAa

System:
  Host: planque-virtuelle Kernel: 5.15.28-1-MANJARO x86_64 bits: 64
    compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64
    root=UUID=28be2eaf-83b7-4574-a1cf-958b6cbd0810 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1
    vt: 7 dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: Intel model: NUC5PPYB v: H76558-108
    serial: <superuser required> UEFI: Intel
    v: PYBSWCEL.86A.0057.2016.1012.1134 date: 10/12/2016
Audio:
  Device-1: Intel HDMI/DP LPE Audio driver: HdmiLpeAudio
    message: bus/chip ids unavailable
  Sound Server-1: ALSA v: k5.15.28-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes

lspci

00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 21)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics Controller (rev 21)
00:12.0 SD Host controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SD Controller (rev 21)
00:13.0 SATA controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SATA Controller (rev 21)
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 21)
00:18.0 DMA controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 DMA Controller (rev 21)
00:18.6 Serial bus controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #6 (rev 21)
00:18.7 Serial bus controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series LPIO2 I2C Controller #7 (rev 21)
00:1a.0 Encryption controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Trusted Execution Engine (rev 21)
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 21)
00:1c.1 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #2 (rev 21)
00:1c.2 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #3 (rev 21)
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 21)
00:1f.3 SMBus: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx SMBus Controller (rev 21)
02:00.0 Network controller: Intel Corporation Wireless 3165 (rev 81)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)

In DMESG I can see this kind of messages, yet I have no idea if this gives any indication of what is happening:

[ 1067.362087] x86/PAT: pulseaudio:8001 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c56fff], got write-combining
[ 1096.982489] x86/PAT: alsa-sink-HdmiL:8003 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c56fff], got write-combining
[ 1882.259946] x86/PAT: pulseaudio:8001 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c95fff], got write-combining
[ 1912.535205] x86/PAT: pulseaudio:8001 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c95fff], got write-combining
[ 1912.581269] x86/PAT: alsa-sink-HdmiL:13233 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c95fff], got write-combining
[ 1915.761864] x86/PAT: pulseaudio:8001 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c56fff], got write-combining
[ 1915.804950] x86/PAT: alsa-sink-HdmiL:13251 map pfn RAM range req uncached-minus for [mem 0x36c00000-0x36c56fff], got write-combining

Trying to play sound with aplay on card 0 device 0 sub 0 gives this result:

aplay -v -D plughw:0,0 /usr/share/sounds/alsa/Front_Center.wav
Lecture WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Fréquence 48000 Hz, Mono
Plug PCM: Route conversion PCM (sformat=S16_LE)
  Transformation table:
    0 <- 0
    1 <- 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 1
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 6000
  period_event : 0
  start_threshold  : 24000
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary     : 6755399441055744000
Slave: Hardware PCM card 0 'Intel HDMI/DP LPE Audio' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : MMAP_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 48000
  exact rate   : 48000 (48000/1)
  msbits       : 16
  buffer_size  : 24000
  period_size  : 6000
  period_time  : 125000
  tstamp_mode  : NONE
  tstamp_type  : MONOTONIC
  period_step  : 1
  avail_min    : 6000
  period_event : 0
  start_threshold  : 24000
  stop_threshold   : 24000
  silence_threshold: 0
  silence_size : 0
  boundary     : 6755399441055744000
  appl_ptr     : 0
  hw_ptr       : 0
perte!!! (au moins longue de 0.083 ms)
État :
  state       : XRUN
  trigger_time: 3217.964387
  tstamp      : 0.000000
  delay       : 0
  avail       : 0
  avail_max   : 0
perte!!! (au moins longue de 0.008 ms)
État :
  state       : XRUN
  trigger_time: 3217.964839
  tstamp      : 0.000000
  delay       : 0
  avail       : 0
  avail_max   : 0

and gave a new entry in dmesg:

[ 3217.590326] x86/PAT: aplay:20437 map pfn RAM range req uncached-minus for [mem 0x01200000-0x01217fff], got write-combining

I get the same result on card 0 device 1, however card 0 device 2 returns Device or resource is busy

Any lead to troubleshoot and fix this problem is very welcome. Any more details you need please let me know

Hello @Superkikim and welcome :wink:

Strange is that there is no ChipID:

That means the driver cannot detemine which chipsset it is.

I would try to downgrade the kernel and see if there were changes.

sudo mhwd-kernel -i linux54

Searching the name “Intel HDMI/DP LPE Audio” gave me a lot of issues, but at the end I saw this message: AUR (en) - linux-cx2072x

Maybe just add the files here: linux/cx2072x_fixes_and_manual/bytcht-cx2072x at cx2072x · heikomat/linux · GitHub into /usr/share/alsa/ucm/bytcht-cx2072x (create the folders if needed).

Maybe that helps?

Hey @megavolt . Thank you for welcoming me and your reply.

According to the ArchLinux User Repo, "Since 5.3 kernel this package is mostly obsolete, - CX2072x codecs are now included in the mainline kernel. ". Given I’m using 5.15 LTS, this should not be the issue. However, you brought me another lead. I made a lot of research before posting, but not on LPE. And I have found a case where enabling the integrated sound card helped. On my NUC, Manjaro doesn’t see the integrated card. And I checked the Bios. I used previously this NUC as a headless NAS. So I disabled all useless devices for that purpose… When I stopped my NAS, I left it take dust in a closet until this week and I long forgot I disabled the sound card.

So anyway. After enabling the integrated sound chip from the Bios, sound on HDMI works instantaneously.

Now, aplay -l shows PCH Intel PCH devices as card 0. And Card 0 Device 3 is HDMI 0 (and there is only that HDMI, not three like pervously). inxi -SMAa shows Device-1 as Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio, with driver snd_hda_intel loaded in the kernel, and chip-ID 8086:2284

So basically, without enabling the integrated sound card, there is no audio processor at all. I expected the HDMI audio to be processed by a virtual audio processor in fact. So now I learned something ^^

Hope this helps someone some day :wink:

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