No sound over hdmi after last update

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

posting links should be resolved in the meantime: the admins changed some settings.

1 Like

Thanks for your answers.

Here I post the commands

Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
grep -i snd /etc/modprobe.d/*.conf » Nothing happens :/

lspci -vvnnd “::0403” says

> lspci -vvnnd "::0403"                                                 [1]
> 00:03.0 Audio device [0403]: Intel Corporation Broadwell-U Audio Controller [8086:160c] (rev 09)
> 	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:b096]
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 0, Cache Line Size: 64 bytes
> 	Interrupt: pin A routed to IRQ 52
> 	Region 0: Memory at f7214000 (64-bit, non-prefetchable) [size=16K]
> 	Capabilities: <access denied>
> 	Kernel driver in use: snd_hda_intel
> 	Kernel modules: snd_hda_intel
> 
> 00:1b.0 Audio device [0403]: Intel Corporation Wildcat Point-LP High Definition Audio Controller [8086:9ca0] (rev 03)
> 	Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:b096]
> 	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
> 	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
> 	Latency: 32, Cache Line Size: 64 bytes
> 	Interrupt: pin A routed to IRQ 48
> 	Region 0: Memory at f7210000 (64-bit, non-prefetchable) [size=16K]
> 	Capabilities: <access denied>
> 	Kernel driver in use: snd_hda_intel
> 	Kernel modules: snd_hda_intel
```
Systemctl gives me:
```
systemctl --user --no-pager -l status pulseaudio.service                 
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Wed 2020-10-07 20:24:29 CEST; 7min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 841 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
             ├─841 /usr/bin/pulseaudio --daemonize=no
             └─871 /usr/lib/pulse/gsettings-helper

d’oct. 07 20:24:25 alfred-msb09611 systemd[737]: Starting Sound Service...
d’oct. 07 20:24:29 alfred-msb09611 systemd[737]: Started Sound Service.
```
Thanks for your help

Thanks!

1 Like

Hi,
in backside there is only one hdmi port.

I have looked over the data a number of times, but I cannot find anything unusual in ALSA or PulseAudio
all HDMI outputs are [on]
(the audio device has 5 possible HDMI outputs but only 2 are likely to be available for HDMI and DisplayPort connections)
no modprobe.d file to change anything from default
and no errors in pulseaudio.service

suggest you create a backup folder & move the 4 Pulseaudio database files & the Pulseaudio cookie in ~/.config/pulse/ to backup folder

mkdir ~/.config/pulse/old/ && mv -t ~/.config/pulse/old/ ~/.config/pulse/*.tdb && mv -t ~/.config/pulse/old/ ~/.config/pulse/cookie

then reboot system so PulseAudio will create new files for databases and cookie

delete backup folder rm -r ~/config/pulse/old/ if Pulseaudio is functioning OK after reboot

1 Like