How do I enable HDMI Audio?

Hello everyone!

Yesterday i meet with Manjaro for the first time. My computer is a laptop but i am using a monitor. I don’t know how to enable HDMI Audio in Manjaro. Any helps?

Plug in the monitor and post output of

inxi -Gza

Here’s the output:

  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: ASUSTeK driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0106 
  class-ID: 0300 
  Device-2: IMC Networks UVC VGA Webcam type: USB driver: uvcvideo 
  bus-ID: 1-1.3:4 chip-ID: 13d3:5710 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa display-ID: :0.0 
  screens: 1 
  Screen-1: 0 s-res: 3286x1080 s-dpi: 96 s-size: 869x286mm (34.2x11.3") 
  s-diag: 915mm (36") 
  Monitor-1: LVDS1 res: 1366x768 hz: 60 dpi: 102 size: 340x190mm (13.4x7.5") 
  diag: 389mm (15.3") 
  Monitor-2: HDMI1 res: 1920x1080 hz: 60 dpi: 81 
  size: 600x340mm (23.6x13.4") diag: 690mm (27.2") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1) 
  v: 3.3 Mesa 21.1.6 compat-v: 3.0 direct render: Yes

Is the HDMI output selected in PulseAudio?

Please edit your post title accordingly:

1 Like

Please post system information including audio devices

inxi -SMAa

and PulseAudio information to show configuration of HDMI audio

pacmd dump && pacmd list-cards

Output of inxi -SMAa:

  Host: hydra Kernel: 5.13.11-1-MANJARO x86_64 bits: 64 compiler: gcc 
  v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=64141cba-dab8-407e-a510-597440c019ed 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 
  Type: Laptop System: ASUSTeK product: X55A v: 1.0 
  serial: <superuser required> 
  Mobo: ASUSTeK model: X55A v: 1.0 serial: <superuser required> 
  BIOS: American Megatrends v: X55A.302 date: 05/30/2012 
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.11-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.33 running: no

and output of pulseaudio:

### Configuration dump generated at Fri Aug 27 15:10:25 2021

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_1b.0" card_name="alsa_card.pci-0000_00_1b.0" 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-jackdbus-detect channels=2
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-x11-publish display=:0.0 xauthority=/home/berke/.Xauthority
load-module module-x11-xsmp display=:0.0 xauthority=/home/berke/.Xauthority session_manager=local/hydra:@/tmp/.ICE-unix/837,unix/hydra:/tmp/.ICE-unix/837
load-module module-cli-protocol-unix

set-sink-volume alsa_output.pci-0000_00_1b.0.hdmi-stereo 0x10ccc
set-sink-mute alsa_output.pci-0000_00_1b.0.hdmi-stereo no
suspend-sink alsa_output.pci-0000_00_1b.0.hdmi-stereo no

set-source-volume alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor 0x10000
set-source-mute alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor no
suspend-source alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor no

set-card-profile alsa_card.pci-0000_00_1b.0 output:hdmi-stereo

set-default-sink alsa_output.pci-0000_00_1b.0.hdmi-stereo
set-default-source alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor

### EOF
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7e10000 irq 31"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci" = "8086" = "Intel Corporation" = "1e20" = "7 Series/C216 Chipset Family High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Dahili Ses"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
		input:analog-stereo: Analog Stereo Girişi (priority 32833, available: unknown)
		output:analog-stereo: Analog Stereo Çıkışı (priority 39268, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog İkili Stereo (priority 39333, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Çıkışı (priority 38668, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Çıkışı + Analog Stereo Girişi (priority 38733, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Çıkışı (priority 33568, available: unknown)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Çıkışı + Analog Stereo Girişi (priority 33633, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Çıkışı (priority 33568, available: unknown)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Çıkışı + Analog Stereo Girişi (priority 33633, available: unknown)
		off: Kapalı (priority 0, available: unknown)
	active profile: <output:hdmi-stereo>
		alsa_output.pci-0000_00_1b.0.hdmi-stereo/#18: Dahili Ses Digital Stereo (HDMI)
		alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor/#25: Monitor of Dahili Ses Digital Stereo (HDMI)
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
				device.icon_name = "audio-headphones"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 10000 usec, available: yes)
				device.icon_name = "video-display" = "LED MONITOR"