No HDMI sound output option after the last update

I can use hdmi for image output, but my settings don’t recognize hdmi as a sound output anymore, even pavucontrol doesn’t work.

This happened after the last stable update, and I have both pulseaudio and pipewire installed (except pipewire-pulse) but I don’t know if this might be related to the problem.

aplay -l

card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC255 Analog [ALC255 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

sudo dmesg | grep snd

[    3.612793] snd_hda_intel 0000:00:01.1: Force to non-snoop mode
[    3.694167] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC255: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.694171] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.694173] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.694174] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    3.694175] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    3.694177] snd_hda_codec_realtek hdaudioC1D0:      Headset Mic=0x19
[    3.694179] snd_hda_codec_realtek hdaudioC1D0:      Internal Mic=0x12

pacmd list-sinks

1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_09.2.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9039
	volume: front-left: 65536 / 100% / 0,00 dB,   front-right: 830 /   1% / -113,84 dB
	        balance -0,99
	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: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Estéreo
	used by: 0
	linked by: 0
	configured latency: 0,00 ms; range is 0,50 .. 1999,82 ms
	card: 1 <alsa_card.pci-0000_00_09.2>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC255 Analog"
		alsa.id = "ALC255 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd1664000 irq 42"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:09.2"
		sysfs.path = "/devices/pci0000:00/0000:00:09.2/sound/card1"
		device.bus = "pci"
		device.vendor.id = "1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.product.id = "157a"
		device.product.name = "Family 15h (Models 60h-6fh) Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Estéreo analógico"
		device.description = "Áudio interno Estéreo analógico"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>

My setup specs:

System:    Kernel: 5.9.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: GNOME 3.38.2 Distro: Manjaro Linux 
Machine:   Type: Laptop System: Acer product: Aspire A515-41G v: V1.09 serial: <filter> 
           Mobo: BR model: Wartortle_BS v: V1.09 serial: <filter> UEFI: Insyde v: 1.09 date: 06/27/2018 
Battery:   ID-1: BAT1 charge: 26.4 Wh condition: 45.6/48.9 Wh (93%) model: LG 0x41,0x43,0x31,0x34,0x42,0x38,0x00BF 
           status: Discharging 
CPU:       Info: Quad Core model: AMD A12-9720P RADEON R7 12 COMPUTE CORES 4C+8G bits: 64 type: MCP arch: Excavator rev: 1 
           L2 cache: 1024 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 21565 
           Speed: 2255 MHz min/max: 1400/2700 MHz boost: enabled Core speeds (MHz): 1: 2255 2: 1956 3: 1390 4: 1394 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Wani [Radeon R5/R6/R7 Graphics] vendor: Acer Incorporated ALI 
           driver: amdgpu v: kernel bus ID: 00:01.0 
           Device-2: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel bus ID: 03:00.0 
           Device-3: Quanta HD Webcam type: USB driver: uvcvideo bus ID: 1-1.4:5 
           Display: wayland server: X.org 1.20.10 compositor: gnome-shell driver: amdgpu 
           note: n/a (using device driver) - try sudo/root resolution: <missing: xdpyinfo> 
           OpenGL: renderer: AMD Radeon R7 Graphics (CARRIZO DRM 3.39.0 5.9.16-1-MANJARO LLVM 11.0.0) v: 4.6 Mesa 20.3.1 
           direct render: Yes 
Audio:     Device-1: Advanced Micro Devices [AMD/ATI] Kabini HDMI/DP Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus ID: 00:01.1 
           Device-2: Advanced Micro Devices [AMD] Family 15h Audio vendor: Acer Incorporated ALI driver: snd_hda_intel 
           v: kernel bus ID: 00:09.2 
           Sound Server: ALSA v: k5.9.16-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Acer Incorporated ALI driver: r8169 
           v: kernel port: 3000 bus ID: 01:00.1 
           IF: enp1s0f1 state: down mac: <filter> 
           Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Lite-On driver: ath10k_pci v: kernel 
           port: 3000 bus ID: 02:00.0 
           IF: wlp2s0 state: up mac: <filter> 
           Device-3: Lite-On Qualcomm Atheros QCA9377 Bluetooth type: USB driver: btusb bus ID: 1-1.3:4 
Drives:    Local Storage: total: 1.13 TiB used: 437 GiB (37.8%) 
           ID-1: /dev/sda vendor: Western Digital model: WD10SPZX-21Z10T0 size: 931.51 GiB 
           ID-2: /dev/sdb vendor: Kingston model: SA400M8240G size: 223.57 GiB 
Partition: ID-1: / size: 218.77 GiB used: 164.05 GiB (75.0%) fs: ext4 dev: /dev/sdb2 
           ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat dev: /dev/sdb1 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 59.4 C mobo: N/A 
           Fan Speeds (RPM): N/A 
           GPU: device: amdgpu temp: 48.0 C device: amdgpu temp: 59.0 C 
Info:      Processes: 241 Uptime: 21m Memory: 7.3 GiB used: 2.4 GiB (32.8%) Init: systemd Compilers: gcc: 10.2.0 
           Packages: 1437 Shell: Zsh v: 5.8 inxi: 3.2.01

After no answers in this topic, I decided to format and reinstall the whole system, then I discovered the cause of the problem:

The cause is this workaround suggested in the stable update topic

For AMD GPU users having a black screen with kernel 5.10
Due to a bug in the AMD drivers, please try the following first:

  1. Open a terminal or a TTY
  2. Open /etc/default/grub in your favourite CLI editor (nano vi, emacs`)
  3. Find the line: GRUB_CMDLINE_LINUX_DEFAULT="
  4. Add amdgpu.dc=0
  5. Save
  6. Execute sudo update-grub and reboot

My solution is to remove the “amdgpu.dc=0” from grub and boot using kernel 5.9, since 5.10 requires this workaround

so am i understand right. if i have no sound over hdmi, i need put that lines ( amdgpu.dc=0) on grub, and it will be fixed?
but im using nvidia gpu.

No

In my specific case, there’s currently a bug with amdgpu and gnome, where the workaround proposed by Manjaro team is to add this line in grub config.

But in my case, this workaround break my HDMI sound output, so now I’m currently using kernel 5.9 without this workaround in order to be able to use hdmi sound.

I can’t tell what’s the problem in your case, since Nvidia drivers on linux has a whole lot of different problems, but I would suggest you to try to upgrade or downgrade your kernel and check if it works.

thanks i will try :slight_smile:

1 Like

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