You are not logged in.

#1 2021-04-01 05:57:59

l0b0
Member
Registered: 2014-10-21
Posts: 13
Website

HDMI audio output broken after upgrade?

I've been using HDMI audio for a couple months, and it just stopped working. I'm not sure which part of the pipeline is broken, because pavucontrol shows everything normal:

  • In the Configuration tab Built-in Audio's "Digital Surround 5.1 (HDMI 2) Output" is selected (the list of outputs show a bunch of other options, most of which are marked "unavailable").

  • The Output Devices tab shows only the above device, with "(plugged in)" after the name

  • The Playback tab shows whichever application is playing (Firefox, VLC, etc) at 100% volume, and the volume indicator bar is moving as normal.

Other signs that everything is normal:

  • The receiver settings are the same as before I rebooted, although I did also restart the receiver at the same time.

  • I've not unplugged or re-plugged anything other than the HDMI cable.

  • Bluetooth audio works fine.

Basically everything looks normal, but there is no sound. Short of the receiver having thrown a fit (the display looks normal and there's no indication of anything unusual), is there anything else I can check?

Solved by fiddling around with the settings on the receiver for a while. Sorry for the noise, no idea how this happened. It's back after rebooting just the PC. The receiver settings look like they were a red herring; everything works except the actual sound output.

Last edited by l0b0 (2021-04-02 03:32:13)

Offline

#2 2021-04-08 18:45:17

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: HDMI audio output broken after upgrade?

Yeah it's probably not the software.

Offline

#3 2021-04-09 00:16:48

jlanford
Member
Registered: 2021-04-09
Posts: 3

Re: HDMI audio output broken after upgrade?

I'm having this problem recently as well. I checked my update logs and found the following:

[2021-03-31T21:42:51-0400] [ALPM] upgraded mesa (20.3.4-3 -> 21.0.1-1)
[2021-03-31T21:42:52-0400] [ALPM] upgraded libva-mesa-driver (20.3.4-3 -> 21.0.1-1)
[2021-03-31T21:42:53-0400] [ALPM] upgraded mesa-vdpau (20.3.4-3 -> 21.0.1-1)
[2021-03-31T21:42:54-0400] [ALPM] upgraded vulkan-radeon (20.3.4-3 -> 21.0.1-1)

Do you have an AMD Video Card?

Offline

#4 2021-04-11 08:42:34

l0b0
Member
Registered: 2014-10-21
Posts: 13
Website

Re: HDMI audio output broken after upgrade?

jlanford wrote:

Do you have an AMD Video Card?

Yes, I do.

Offline

#5 2021-04-12 15:24:34

jlanford
Member
Registered: 2021-04-09
Posts: 3

Re: HDMI audio output broken after upgrade?

l0b0 wrote:

Yes, I do.

As do I. I tried downgrading the packages I mentioned to 20.3.4-3, but that did not solve the problem.

Does anyone have ideas on ways we could debug this further?

Offline

#6 2021-04-12 15:26:09

jlanford
Member
Registered: 2021-04-09
Posts: 3

Re: HDMI audio output broken after upgrade?

By the way, I booted into Windows 10, and everything works fine there with the exact same hardware setup. So it's definitely something specific to my arch partition.

Offline

#7 2021-04-13 09:39:40

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: HDMI audio output broken after upgrade?

Ok so assuming it's the software, you can try this:
rm -r .config/pulse
pulseaudio -k
Now  play something and check each pavucontrol setting including the green 'fallback' checkmark to make sure that the right device is active.

Last edited by Anchorman (2021-04-13 09:40:28)

Offline

#8 2021-04-14 06:20:30

l0b0
Member
Registered: 2014-10-21
Posts: 13
Website

Re: HDMI audio output broken after upgrade?

Anchorman wrote:

Ok so assuming it's the software, you can try this:

Now  play something and check each pavucontrol setting including the green 'fallback' checkmark to make sure that the right device is active.

Thanks for the tip; didn't work I'm afraid.

Offline

#9 2021-04-14 06:50:12

Anchorman
Member
Registered: 2020-07-26
Posts: 49
Website

Re: HDMI audio output broken after upgrade?

Hmm... one last thing i can think of (what i read in other posts) is exploring the pacmd command to see more detail. Use it when playing audio. Perhaps post the output of pacmd -list-sinks. And hope someone with more knowledge can help. Good luck.

Offline

#10 2021-04-14 07:01:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,698

Re: HDMI audio output broken after upgrade?

If things look alright from a pulse chain perspective it's likely a kernel regression. Test the LTS kernel/find out which kernel update brought this breakage and downgrade to a version before that.

Do you see any messages in dmesg/journal during attempted playback? What's the output of

pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

Offline

#11 2021-04-15 07:42:56

l0b0
Member
Registered: 2014-10-21
Posts: 13
Website

Re: HDMI audio output broken after upgrade?

V1del wrote:

If things look alright from a pulse chain perspective it's likely a kernel regression. Test the LTS kernel/find out which kernel update brought this breakage and downgrade to a version before that.

Do you see any messages in dmesg/journal during attempted playback? What's the output of

pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

I tried the LTS kernel (5.10.30-1-lts, compared to 5.11.13.arch1-1 which I was running originally), and no change: HDMI doesn't work (the receiver indicates that something HDMI-related is happening, but doesn't play anything), and Bluetooth audio works fine.

I don't see any messages in `sudo dmesg --follow` when playing with VLC, at least.

$ pacmd list-cards
4 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_03_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "2"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0x900a0000 irq 142"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "2"
		device.description = "Navi 10 HDMI Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "PHL 436M6VBP"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.usb-046d_0821_FDA3D2D0-00>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "USB Device 0x46d:0x821"
		alsa.long_card_name = "USB Device 0x46d:0x821 at usb-0000:00:14.0-10, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:10:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/sound/card0"
		udev.id = "usb-046d_0821_FDA3D2D0-00"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0821"
		device.product.name = "HD Webcam C910"
		device.serial = "046d_0821_FDA3D2D0"
		device.form_factor = "webcam"
		device.string = "0"
		device.description = "HD Webcam C910"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:analog-stereo>
	sources:
		alsa_input.usb-046d_0821_FDA3D2D0-00.analog-stereo/#0: HD Webcam C910 Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
    index: 2
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x4012110000 irq 143"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: no)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 865, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 865, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: unknown)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output:hdmi-surround-extra1>
	sinks:
		alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1/#2: Built-in Audio Digital Surround 5.1 (HDMI 2)
	sources:
		alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1.monitor/#3: Monitor of Built-in Audio Digital Surround 5.1 (HDMI 2)
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "TX-NR509"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 3
	name: <bluez_card.2C_41_A1_01_6F_45>
	driver: <module-bluez5-device.c>
	owner module: 30
	properties:
		device.description = "l0b0se QC35 II"
		device.string = "2C:41:A1:01:6F:45"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headphone"
		bluez.path = "/org/bluez/hci0/dev_2C_41_A1_01_6F_45"
		bluez.class = "0x240418"
		bluez.alias = "l0b0se QC35 II"
		device.icon_name = "audio-headphones-bluetooth"
	profiles:
		headset_head_unit: Headset Head Unit (HSP/HFP) (priority 30, available: unknown)
		a2dp_sink: High Fidelity Playback (A2DP Sink) (priority 40, available: yes)
		off: Off (priority 0, available: yes)
	active profile: <a2dp_sink>
	sinks:
		bluez_sink.2C_41_A1_01_6F_45.a2dp_sink/#3: l0b0se QC35 II
	sources:
		bluez_sink.2C_41_A1_01_6F_45.a2dp_sink.monitor/#4: Monitor of l0b0se QC35 II
	ports:
		headphone-output: Headphone (priority 0, latency offset 0 usec, available: yes)
			properties:
				
		headphone-input: Bluetooth Input (priority 0, latency offset 0 usec, available: unknown)
			properties:
$ pacmd list-sinks
2 sink(s) available.
    index: 2
	name: <alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	volume: 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
	       balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 3
	sample spec: s32le 6ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe
	            Surround 5.1
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 4000.00 ms
	card: 2 <alsa_card.pci-0000_00_1f.3>
	module: 8
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 1"
		alsa.id = "HDMI 1"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "7"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x4012110000 irq 143"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "hdmi:1,1"
		device.buffering.buffer_size = "4608000"
		device.buffering.fragment_size = "2304000"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-surround-extra1"
		device.profile.description = "Digital Surround 5.1 (HDMI 2)"
		device.description = "Built-in Audio Digital Surround 5.1 (HDMI 2)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "TX-NR509"
	active port: <hdmi-output-1>
  * index: 3
	name: <bluez_sink.2C_41_A1_01_6F_45.a2dp_sink>
	driver: <module-bluez5-device.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY 
	state: RUNNING
	suspend cause: (none)
	priority: 9950
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	       balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 58.90 ms
	max request: 3 KiB
	max rewind: 0 KiB
	monitor source: 4
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	            Stereo
	used by: 2
	linked by: 2
	fixed latency: 45.32 ms
	card: 3 <bluez_card.2C_41_A1_01_6F_45>
	module: 30
	properties:
		bluetooth.protocol = "a2dp_sink"
		device.description = "l0b0se QC35 II"
		device.string = "2C:41:A1:01:6F:45"
		device.api = "bluez"
		device.class = "sound"
		device.bus = "bluetooth"
		device.form_factor = "headphone"
		bluez.path = "/org/bluez/hci0/dev_2C_41_A1_01_6F_45"
		bluez.class = "0x240418"
		bluez.alias = "l0b0se QC35 II"
		device.icon_name = "audio-headphones-bluetooth"
	ports:
		headphone-output: Headphone (priority 0, latency offset 0 usec, available: yes)
			properties:
				
	active port: <headphone-output>
$ pacmd list-sink-inputs
2 sink input(s) available.
    index: 1
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 3 <bluez_sink.2C_41_A1_01_6F_45.a2dp_sink>
	volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB
	       balance 0.00
	muted: no
	current latency: 125.02 ms
	requested latency: 45.32 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	            Stereo
	resample method: speex-float-10
	module: 13
	client: 8 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "2027"
		application.process.user = "username"
		application.process.host = "hostname"
		application.process.binary = "firefox"
		application.language = "en_NZ.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "37c339f51ea74ab5be6e9f1d0ec63b86"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 2
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 3 <bluez_sink.2C_41_A1_01_6F_45.a2dp_sink>
	volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB
	       balance 0.00
	muted: no
	current latency: 125.02 ms
	requested latency: 45.32 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	            Stereo
	resample method: speex-float-10
	module: 13
	client: 8 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "2027"
		application.process.user = "username"
		application.process.host = "hostname"
		application.process.binary = "firefox"
		application.language = "en_NZ.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "37c339f51ea74ab5be6e9f1d0ec63b86"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

Offline

#12 2021-04-15 07:53:35

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 12,698

Re: HDMI audio output broken after upgrade?

You aren't attempting to play back to a HDMI device in these outputs and you're trying to use 5.1 even if you would, does it work if you pick stereo? FWIW is the device occupied by something? What's your

sudo fuser -v /dev/snd/*

generally HDMI/digital audio is on or off, so if the receiver indicates it receives a signal it receives a signal, but maybe not from the application you want.

Offline

#13 2021-04-15 09:12:31

l0b0
Member
Registered: 2014-10-21
Posts: 13
Website

Re: HDMI audio output broken after upgrade?

V1del wrote:

You aren't attempting to play back to a HDMI device in these outputs and you're trying to use 5.1 even if you would, does it work if you pick stereo? FWIW is the device occupied by something? What's your

sudo fuser -v /dev/snd/*

generally HDMI/digital audio is on or off, so if the receiver indicates it receives a signal it receives a signal, but maybe not from the application you want.

I'm not sure I understand the first sentence; here's the output while trying to play via HDMI:

$ pacmd list-cards
3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_03_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "2"
		alsa.card_name = "HDA ATI HDMI"
		alsa.long_card_name = "HDA ATI HDMI at 0x900a0000 irq 142"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:00.0/0000:02:00.0/0000:03:00.1/sound/card2"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "ab38"
		device.product.name = "Navi 10 HDMI Audio"
		device.string = "2"
		device.description = "Navi 10 HDMI Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "PHL 436M6VBP"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.usb-046d_0821_FDA3D2D0-00>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "USB Device 0x46d:0x821"
		alsa.long_card_name = "USB Device 0x46d:0x821 at usb-0000:00:14.0-10, high speed"
		alsa.driver_name = "snd_usb_audio"
		device.bus_path = "pci-0000:00:14.0-usb-0:10:1.0"
		sysfs.path = "/devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/sound/card0"
		udev.id = "usb-046d_0821_FDA3D2D0-00"
		device.bus = "usb"
		device.vendor.id = "046d"
		device.vendor.name = "Logitech, Inc."
		device.product.id = "0821"
		device.product.name = "HD Webcam C910"
		device.serial = "046d_0821_FDA3D2D0"
		device.form_factor = "webcam"
		device.string = "0"
		device.description = "HD Webcam C910"
		module-udev-detect.discovered = "1"
		device.icon_name = "camera-web-usb"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:analog-stereo>
	sources:
		alsa_input.usb-046d_0821_FDA3D2D0-00.analog-stereo/#0: HD Webcam C910 Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
    index: 2
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x4012110000 irq 143"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 65, available: no)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: no)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5965, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 865, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 865, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: unknown)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-stereo-extra3+input:analog-stereo: Digital Stereo (HDMI 4) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround-extra3+input:analog-stereo: Digital Surround 5.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3+input:analog-stereo: Digital Surround 7.1 (HDMI 4) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-stereo-extra4+input:analog-stereo: Digital Stereo (HDMI 5) Output + Analog Stereo Input (priority 5765, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround-extra4+input:analog-stereo: Digital Surround 5.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4+input:analog-stereo: Digital Surround 7.1 (HDMI 5) Output + Analog Stereo Input (priority 665, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <output:hdmi-surround-extra1>
	sinks:
		alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1/#10: Built-in Audio Digital Surround 5.1 (HDMI 2)
	sources:
		alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1.monitor/#11: Monitor of Built-in Audio Digital Surround 5.1 (HDMI 2)
	ports:
		analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "TX-NR509"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
$ pacmd list-sinks | sed "s/${USER}/username/g"
1 sink(s) available.
  * index: 10
	name: <alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: (none)
	priority: 9030
	volume: 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
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 33.93 ms
	max request: 45 KiB
	max rewind: 45 KiB
	monitor source: 11
	sample spec: s32le 6ch 48000Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe
	             Surround 5.1
	used by: 2
	linked by: 3
	configured latency: 40.00 ms; range is 0.50 .. 4000.00 ms
	card: 2 <alsa_card.pci-0000_00_1f.3>
	module: 8
	properties:
		alsa.resolution_bits = "32"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 1"
		alsa.id = "HDMI 1"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "7"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x4012110000 irq 143"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "a348"
		device.product.name = "Cannon Lake PCH cAVS"
		device.form_factor = "internal"
		device.string = "hdmi:1,1"
		device.buffering.buffer_size = "4608000"
		device.buffering.fragment_size = "2304000"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-surround-extra1"
		device.profile.description = "Digital Surround 5.1 (HDMI 2)"
		device.description = "Built-in Audio Digital Surround 5.1 (HDMI 2)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "video-display"
				device.product.name = "TX-NR509"
	active port: <hdmi-output-1>
$ pacmd list-sink-inputs | sed "s/${USER}/username/g"
3 sink input(s) available.
    index: 2
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 10 <alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1>
	volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB
	        balance 0.00
	muted: no
	current latency: 100.79 ms
	requested latency: 75.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 13
	client: 8 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "2027"
		application.process.user = "username"
		application.process.host = "big"
		application.process.binary = "firefox"
		application.language = "en_NZ.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "37c339f51ea74ab5be6e9f1d0ec63b86"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 11
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: CORKED
	sink: 10 <alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1>
	volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB
	        balance 0.00
	muted: no
	current latency: 111.17 ms
	requested latency: 75.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 13
	client: 8 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.process.id = "2027"
		application.process.user = "username"
		application.process.host = "big"
		application.process.binary = "firefox"
		application.language = "en_NZ.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "37c339f51ea74ab5be6e9f1d0ec63b86"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"
    index: 21
	driver: <protocol-native.c>
	flags: START_CORKED FIX_RATE 
	state: RUNNING
	sink: 10 <alsa_output.pci-0000_00_1f.3.hdmi-surround-extra1>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 1073.58 ms
	requested latency: 40.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 13
	client: 27 <VLC media player (LibVLC 3.0.12)>
	properties:
		media.role = "video"
		media.name = "audio stream"
		application.name = "VLC media player (LibVLC 3.0.12)"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "34"
		application.id = "org.VideoLAN.VLC"
		application.version = "3.0.12"
		application.icon_name = "vlc"
		application.language = "en_NZ.UTF-8"
		application.process.id = "23318"
		application.process.user = "username"
		application.process.host = "big"
		application.process.binary = "vlc"
		window.x11.display = ":0"
		application.process.machine_id = "37c339f51ea74ab5be6e9f1d0ec63b86"
		module-stream-restore.id = "sink-input-by-media-role:video"

I've been using surround with this system for years. Stereo doesn't work either.

$ sudo fuser -v /dev/snd/* >/dev/null 2> >(sed "s/${USER}/username/g" >&2)
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  username    F.... pulseaudio
/dev/snd/controlC1:  username    F.... pulseaudio
/dev/snd/controlC2:  username    F.... pulseaudio
/dev/snd/pcmC1D7p:   username    F...m pulseaudio

Offline

#14 2021-04-29 08:25:10

l0b0
Member
Registered: 2014-10-21
Posts: 13
Website

Re: HDMI audio output broken after upgrade?

Do you have any feedback on my last post, @V1del?

Offline

Board footer

Powered by FluxBB