No sound through HDMI in new 20.2 install

Forum rules
Before you post please read how to get help
Post Reply
pathologies
Level 1
Level 1
Posts: 2
Joined: Mon Sep 13, 2021 5:18 pm

No sound through HDMI in new 20.2 install

Post by pathologies »

Recently updated to 20.2, and got a new surround speaker system that connects through HDMI. The computer recognises that there's something there, but won't make any sound come out of the speaker system and shows it as unplugged (it is definitely plugged in). I can plug headphones directly into the computer and they work just fine, so I think it is probably an HDMI issue. I tried reverting to an earlier PulseAudio kernel, per the various posts about it, but it didn't fix the problem so I updated back to the current PulseAudio.
I'm not super new to Mint but still not very good at this. Hoping someone can help.

inxi -Fxz

Code: Select all

System:
  Kernel: 5.4.0-84-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.5 Distro: Linux Mint 20.2 Uma 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Desktop Mobo: Acer model: Aspire TC-390 v: 1.0 serial: <filter> 
  UEFI: American Megatrends v: R01-A3 date: 08/18/2020 
CPU:
  Topology: Quad Core model: AMD Ryzen 5 3400G with Radeon Vega Graphics 
  bits: 64 type: MT 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: 59087 
  Speed: 1258 MHz min/max: 1400/3700 MHz Core speeds (MHz): 1: 1290 2: 1260 
  3: 1258 4: 1258 5: 1270 6: 1263 7: 1265 8: 1288 
Graphics:
  Device-1: AMD Picasso vendor: Acer Incorporated ALI driver: amdgpu 
  v: kernel bus ID: 0b:00.0 
  Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD Radeon Vega 11 Graphics (RAVEN DRM 3.35.0 
  5.4.0-84-generic LLVM 12.0.0) 
  v: 4.6 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel 
  v: kernel bus ID: 0b:00.1 
  Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A 
  bus ID: 0b:00.5 
  Device-3: AMD Family 17h HD Audio vendor: Acer Incorporated ALI 
  driver: snd_hda_intel v: kernel bus ID: 0b:00.6 
  Sound Server: ALSA v: k5.4.0-84-generic 
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi 
  v: kernel bus ID: 03:00.0 
  IF: wlp3s0 state: up mac: <filter> 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Acer Incorporated ALI driver: r8169 v: kernel port: f000 
  bus ID: 04:00.0 
  IF: enp4s0 state: down mac: <filter> 
  Device-3: Realtek RTL8192EU 802.11b/g/n WLAN Adapter type: USB 
  driver: rtl8xxxu bus ID: 1-3:3 
  IF: wlx000f004f7909 state: down mac: <filter> 
  Device-4: ASUSTek USB-AC56 802.11a/b/g/n/ac Wireless Adapter [Realtek 
  RTL8812AU] 
  type: USB driver: usb-network bus ID: 5-1:2 
Drives:
  Local Storage: total: 1.38 TiB used: 79.03 GiB (5.6%) 
  ID-1: /dev/nvme0n1 vendor: Kingston model: RBUSNS8154P3512GJ1 
  size: 476.94 GiB 
  ID-2: /dev/sda type: USB vendor: Western Digital 
  model: WD My Passport 2626 size: 931.48 GiB 
Partition:
  ID-1: / size: 467.96 GiB used: 23.44 GiB (5.0%) fs: ext4 
  dev: /dev/nvme0n1p2 
Sensors:
  System Temperatures: cpu: 39.1 C mobo: N/A gpu: amdgpu temp: 39 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 271 Uptime: 5m Memory: 9.72 GiB used: 1.40 GiB (14.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38 
aplay -l

Code: Select all

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pacmd list-sinks (with music playing)

Code: Select all

1 sink(s) available.
  * index: 1
	name: <alsa_output.pci-0000_0b_00.1.hdmi-surround>
	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: 39.60 ms
	max request: 20 KiB
	max rewind: 20 KiB
	monitor source: 1
	sample spec: s16le 6ch 44100Hz
	channel map: front-left,front-right,rear-left,rear-right,front-center,lfe
	             Surround 5.1
	used by: 1
	linked by: 3
	configured latency: 40.00 ms; range is 0.50 .. 123.36 ms
	card: 0 <alsa_card.pci-0000_0b_00.1>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "HDMI 0"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfcbc8000 irq 82"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:0b:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:0b:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "15de"
		device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "65280"
		device.buffering.fragment_size = "32640"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-surround"
		device.profile.description = "Digital Surround 5.1 (HDMI)"
		device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller Digital Surround 5.1 (HDMI)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
	active port: <hdmi-output-0>
Attached are screenshots of pavucontrol:
Attachments
pavu3.png
pavu1.png
pavu2.png
User avatar
SMG
Level 17
Level 17
Posts: 7441
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: No sound through HDMI in new 20.2 install

Post by SMG »

pathologies wrote:
Mon Sep 13, 2021 6:12 pm
Recently updated to 20.2, and got a new surround speaker system that connects through HDMI. The computer recognises that there's something there, but won't make any sound come out of the speaker system and shows it as unplugged (it is definitely plugged in). I can plug headphones directly into the computer and they work just fine, so I think it is probably an HDMI issue.
Welcome to the forum, pathologies.

You did not have the speaker system when using prior versions of Mint, correct? Just want to make sure this is not an issue of it used to work, but now it is not.

With a 3rd-gen Ryzen, I would suggest upgrading the kernel to 5.11 which is available in Update Manager. Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.11 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot for it to become active.

The newer kernel would update any HDMI drivers related to the AMD graphics (if updates happened between 5.4 and 5.11). I do not know if that might help this situation.
Image
A woman typing on a laptop with LM20.2 Cinnamon.
pathologies
Level 1
Level 1
Posts: 2
Joined: Mon Sep 13, 2021 5:18 pm

Re: No sound through HDMI in new 20.2 install

Post by pathologies »

That is correct, the new speaker system was acquired after updating to this version of Mint.

Thank you for the suggestion, SMG. I have now updated the kernel to 5.11 and rebooted, but unfortunately it doesn't seem to have improved the situation.
User avatar
SMG
Level 17
Level 17
Posts: 7441
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: No sound through HDMI in new 20.2 install

Post by SMG »

pathologies wrote:
Mon Sep 13, 2021 6:12 pm
Recently updated to 20.2, and got a new surround speaker system that connects through HDMI. The computer recognises that there's something there,
What data do you see change that led you to make the statement "The computer recognises that there's something there"? I'm hoping that will give us a clue as to what might be happening.

What is the make/model number of the speaker system?
Image
A woman typing on a laptop with LM20.2 Cinnamon.
sjmathis
Level 2
Level 2
Posts: 87
Joined: Sun Dec 11, 2016 8:22 pm

Re: No sound through HDMI in new 20.2 install

Post by sjmathis »

I recently had a problem with a HMDI cable that I was using to connect a laptop to a TV to mirror the display. I had plugged it in and had it working fine, but had to unplug it to move the laptop around. When I plugged it in again it didn't work, and I was baffled because it worked fine before I took it apart. After struggling with it for a while, I finally realized that the HDMI cable was not quite plugged in all the way. At first glance it looked like it was plugged in, but pushing firmly on it got it really plugged in all the way. It looked like the difference between working and not working was about 1/16 of an inch. :oops:
Allewyn2
Level 1
Level 1
Posts: 8
Joined: Sat Sep 11, 2021 11:38 pm

Re: No sound through HDMI in new 20.2 install

Post by Allewyn2 »

SMG said
With a 3rd-gen Ryzen, I would suggest upgrading the kernel to 5.11 which is available in Update Manager. Open Update Manager. Select View > Linux Kernels and click Continue. Make sure 5.11 is selected on the left panel and then click the top-most option on the right panel. An "Install" button will appear. Install the kernel and then reboot for it to become active.

The newer kernel would update any HDMI drivers related to the AMD graphics (if updates happened between 5.4 and 5.11). I do not know if that might help this situation.
Thanks SMG,
This worked for me. I'm new to Linux, running a 5-3600 and had started suspecting HDMI problems to the point of pushing on the connector at both ends, to make sure they were seated properly. After reading the above I followed the instructions, installed the 5.11 kernel, and sound has been working since. I hope it stays on this time :D
Post Reply