No sound over hdmi after last update

Hi,
after latest updates sound doesn’t works. I’ve my barebone connected to a TV trhought a HDMI cable. I tryed lots of instructions found on forums but noone works.

Can somebody help me?

Thanks

Sure we can, but you should provide us with some basis info.

For info how to do that see this tread

1 Like

Hi,

what info do you need?

    System:
      Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A 
      parameters: BOOT_IMAGE=/boot/vmlinuz-5.8-x86_64 
      root=UUID=68b90829-3777-4dc9-b4a0-9291c2c7628a rw quiet apparmor=1 
      security=apparmor udev.log_priority=3 
      Desktop: GNOME 3.36.6 tk: GTK 3.24.23 wm: gnome-shell dm: GDM 3.36.3 
      Distro: Manjaro Linux 
    Machine:
      Type: Desktop System: MICRO-STAR product: MS-B09611 v: N/A serial: <filter> 
      Mobo: MICRO-STAR model: MS-B0961 v: 1.0 serial: <filter> 
      UEFI [Legacy]: American Megatrends v: EB096IMS V1.4 date: 09/07/2015 
    Battery:
      Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard serial: <filter> 
      charge: 55% (should be ignored) rechargeable: yes status: Discharging 
    CPU:
      Topology: Dual Core model: Intel Core i5-5200U bits: 64 type: MT MCP 
      arch: Broadwell family: 6 model-id: 3D (61) stepping: 4 microcode: 2F 
      L2 cache: 3072 KiB 
      flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
      bogomips: 17566 
      Speed: 2635 MHz min/max: 500/2700 MHz Core speeds (MHz): 1: 2464 2: 2238 
      3: 2334 4: 2290 
      Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
      Type: l1tf 
      mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
      Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
      Type: meltdown mitigation: PTI 
      Type: spec_store_bypass 
      mitigation: Speculative Store Bypass disabled via prctl and seccomp 
      Type: spectre_v1 
      mitigation: usercopy/swapgs barriers and __user pointer sanitization 
      Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
      IBRS_FW, STIBP: conditional, RSB filling 
      Type: srbds mitigation: Microcode 
      Type: tsx_async_abort status: Not affected 
    Graphics:
      Device-1: Intel HD Graphics 5500 vendor: Micro-Star MSI driver: i915 
      v: kernel bus ID: 00:02.0 chip ID: 8086:1616 
      Display: x11 server: X.org 1.20.8 compositor: gnome-shell driver: intel 
      unloaded: modesetting alternate: fbdev,vesa resolution: <xdpyinfo missing> 
      OpenGL: renderer: Mesa Intel HD Graphics 5500 (BDW GT2) v: 4.6 Mesa 20.1.7 
      direct render: Yes 
    Audio:
      Device-1: Intel Broadwell-U Audio vendor: Micro-Star MSI 
      driver: snd_hda_intel v: kernel bus ID: 00:03.0 chip ID: 8086:160c 
      Device-2: Intel Wildcat Point-LP High Definition Audio 
      vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
      chip ID: 8086:9ca0 
      Sound Server: ALSA v: k5.8.6-1-MANJARO 
    Network:
      Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
      vendor: Micro-Star MSI driver: r8169 v: kernel port: e000 bus ID: 02:00.0 
      chip ID: 10ec:8168 
      IF: enp2s0 state: down mac: <filter> 
      Device-2: Intel Wireless 3160 driver: iwlwifi v: kernel port: e000 
      bus ID: 03:00.0 chip ID: 8086:08b3 
      IF: wlp3s0 state: up mac: <filter> 
    Drives:
      Local Storage: total: 931.51 GiB used: 231.74 GiB (24.9%) 
      SMART Message: Required tool smartctl not installed. Check --recommends 
      ID-1: /dev/sda vendor: Western Digital model: WD10JPLX-00MBPT0 
      size: 931.51 GiB block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
      rotation: 7200 rpm serial: <filter> rev: 1H01 scheme: MBR 
    Partition:
      ID-1: / raw size: 931.51 GiB size: 915.89 GiB (98.32%) 
      used: 231.74 GiB (25.3%) fs: ext4 dev: /dev/sda1 
    Swap:
      Alert: No Swap data was found. 
    Sensors:
      System Temperatures: cpu: 60.0 C mobo: N/A 
      Fan Speeds (RPM): N/A 
    Info:
      Processes: 220 Uptime: 8m Memory: 15.52 GiB used: 2.64 GiB (17.0%) 
      Init: systemd v: 246 Compilers: gcc: 10.2.0 Packages: pacman: 1382 lib: 370 
      flatpak: 0 Shell: Zsh v: 5.8 running in: gnome-terminal inxi: 3.1.05 

That’s a start… :+1:

What’s the output of alsa-info.sh ?

Open the file it creates and please copy-paste it in-between 3 backticks ``` *like your inxi output…

:innocent:

1 Like

Hi,
the thing is that sometimes I’ve sound and sometimes not. Sometimes if I reboot the system two or three times the sound works, other not.

There is the alsa information (now sound it’s working)

> 
> ALSA Information Script v 0.4.65
> --------------------------------
> 
> This script visits the following commands/files to collect diagnostic
> information about your ALSA installation and sound related hardware.
> 
>   dmesg
>   lspci
>   aplay
>   amixer
>   alsactl
>   rpm, dpkg
>   /proc/asound/
>   /sys/class/sound/
>   ~/.asoundrc (etc.)
> 
> See '/usr/bin/alsa-info.sh --help' for command line options.
> 
> dmesg: read kernel buffer failed: Operation not permitted

dmesg: read kernel buffer failed: Operation not permitted is just an error message that you need to run with sudo privileges (Sorry, we tend not to include that)

Then also give both an inxi output and the file that sudo alsa-info.sh creates when the sound is not working so we can compare what’s missing / is failing…

:innocent:

Hi,

I can’t post because the forum says that I can’t post links… Even if I use the ```

How can I proceed?

Please read this:

:innocent:

Hi,
I didn’t try to send screenshots of text. I copied the text from terminal but after to paste it to the box text and put the ``` If i clik to Reply button It says that I can’t send links and the post doesn’t be send.

Please read it again because it also says:

:man_shrugging:

I did the change from all http for ht!tp and I get the same error: You can’t send links to forum.

I’m so tired. I want to hear on manjaro but this forum don’t let me send the answers.

I’m going to take I’ve taken it up with the admins…

Apparently it’s because of SPAM… Please be patient while background discussions are on-going.

:sob:

When I’ll know that I can post?

You succeeded in a post above, what’s different now? Are you sure you’re putting backticks around the whole output? It should begin and end the three ticks. If there’s an html link in the output you’re trying to paste, can you just remove the whole link? We probably don’t need it anyway…

If you cannot post link for using alsa-info.sh there are other ways get data for troubleshooting

To establish which of the 2 audio devices is used for HDMI audio, please post response to

aplay -l

to check if devices are detected in ALSA (or any error messages)

sudo dmesg | grep snd

and to check audio devices detected in pulseaudio

pacmd list-sinks
1 Like

Hi,

here it goes:

~ >>> aplay -l                                                                 
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC283 Analog [ALC283 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
sudo dmesg | grep snd                                                    
[sudo] contrasenya per a alfred: 
[   11.166444] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC283: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
[   11.166446] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.166448] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.166449] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[   11.166450] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[   11.407395] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   11.480116] Modules linked in: rapl i915 iwlwifi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio cfg80211 snd_hda_intel iTCO_wdt intel_pmc_bxt snd_intel_dspcfg snd_hda_codec iTCO_vendor_support i2c_algo_bit ofpart r8169 drm_kms_helper cmdlinepart snd_hda_core intel_spi_platform intel_spi spi_nor snd_hwdep mei_hdcp at24 mtd cec mxm_wmi sparse_keymap realtek intel_cstate intel_uncore rc_core rfkill pcspkr libphy snd_pcm intel_gtt snd_timer snd syscopyarea sysfillrect sysimgblt fb_sys_fops soundcore evdev lpc_ich mei_me i2c_i801 mac_hid i2c_smbus mei wmi drm uinput agpgart sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci xhci_pci_renesas crc32c_intel xhci_hcd ehci_pci ehci_hcd

and

sudo dmesg | grep snd                                                    
[sudo] contrasenya per a alfred: 
[   11.166444] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC283: line_outs=1 (0x21/0x0/0x0/0x0/0x0) type:hp
[   11.166446] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.166448] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   11.166449] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[   11.166450] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[   11.407395] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[   11.480116] Modules linked in: rapl i915 iwlwifi snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio cfg80211 snd_hda_intel iTCO_wdt intel_pmc_bxt snd_intel_dspcfg snd_hda_codec iTCO_vendor_support i2c_algo_bit ofpart r8169 drm_kms_helper cmdlinepart snd_hda_core intel_spi_platform intel_spi spi_nor snd_hwdep mei_hdcp at24 mtd cec mxm_wmi sparse_keymap realtek intel_cstate intel_uncore rc_core rfkill pcspkr libphy snd_pcm intel_gtt snd_timer snd syscopyarea sysfillrect sysimgblt fb_sys_fops soundcore evdev lpc_ich mei_me i2c_i801 mac_hid i2c_smbus mei wmi drm uinput agpgart sg crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 xhci_pci xhci_pci_renesas crc32c_intel xhci_hcd ehci_pci ehci_hcd
~ >>> pacmd list-sinks                                                         
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_03.0.hdmi-stereo-extra1>
	driver: <module-alsa-card.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9030
	volume: front-left: 53682 /  82% / -5,20 dB,   front-right: 53682 /  82% / -5,20 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: 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: 0 <alsa_card.pci-0000_00_03.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		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 = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xf7214000 irq 52"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "160c"
		device.product.name = "Broadwell-U Audio Controller"
		device.form_factor = "internal"
		device.string = "hdmi:0,1"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo-extra1"
		device.profile.description = "Digital Stereo (HDMI 2)"
		device.description = "Àudio intern Digital Stereo (HDMI 2)"
		alsa.mixer_name = "Intel Broadwell HDMI"
		alsa.components = "HDA:80862808,80860101,00100000"
		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 = "SONY TV"
	active port: <hdmi-output-1>

Thanks for help

2 Likes

Can somebody help me?

Thanks

Have you already tried changing the HDMI cable?

@nikgnomic : this is way above my head, mate!

According to MSI specifications, this system should have “1 x Mic in/ Headphone out” on the front panel to support a headset
but dmesg data is showing only analog output for headphones, no input for microphone

Rear panel appears to have 2 possible output connections for HDMI audio

1 x HDMI out
1 x Mini DP out

but Pulseaudio appears to have only 1 sink and 1 port

        alsa.name = "HDMI 1"
		alsa.id = "HDMI 1"
		alsa.device = "7"
		alsa.card = "0"

The ALSA subdevice

card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I would expect if Pulseaudio was connected to the ALSA device correctly it would show as Subdevices 0/1, but the Pulseaudio sink may just be suspended if no audio is playing

I was hoping OP might have made it to TL1 (Basic user badge) to be able to post some form of link to alsa-info but that has not happened yet
so the only way to get more ALSA data is to use variations on alsa-info script commands discretely

amixer --card=0

to check if HDMI output has been muted (not likely)

and

grep -i snd /etc/modprobe.d/*.conf

to check if any kernel patches for audio have been added
and

lspci -vvnnd "::0403"

to try a websearch for a patch using the audio vendorID:productID
(vid for MSI = 1462)

also suggest check pulseaudio.service for error messages

systemctl --user --no-pager -l status pulseaudio.service
1 Like