No sound from laptop speakers and mic not working too in Linux 5.10.3.arch1-1

When I try to play any sound (DeadBeef, mpv, Waterfox-G3, Discord) there’s no sound being outputted despite pavucontrol telling me that it is playing something:
image

My mic doesnt work too. I inferred this from Discord’s built in mic test from a complete lack of audio level, as well as my friends using the text channel to tell me they can’t hear me. PulseAudio usually has my mic level on constantly irregardless of any application using it, but that audio level bar has disappeared:
image

This happened upon start up. In the past, this happens rarely and randomly, and can be fixed by simply restarting again, so I didn’t look into it any further then. Now, despite numerous reboots, it seems that the lack of sound is permanent!

My alsamixer’s default device isn’t muted:
image

The HDA Intel PCH screenshot too for good measure:
image

Here’s my output for “pacmd list-sinks”:

1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.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: 32800 /  50% / -18.04 dB,   front-right: 32800 /  50% / -18.04 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
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "VT1802 Analog"
		alsa.id = "VT1802 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7a10000 irq 35"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		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>

“speaker-test -c 2” works fine in the terminal, but doesn’t actually output sound:

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 10.941952
 0 - Front Left
 1 - Front Right
Time per period = 10.936493

Interestingly, “speaker-test -D default:PCH -c 2” gives me this:

speaker-test 1.2.4

Playback device is default:PCH
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib conf.c:5200:(snd_config_expand) Unknown parameters PCH
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default:PCH
Playback open error: -22,Invalid argument

Here’s the output for “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: VT1802 Analog [VT1802 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: VT1802 Digital [VT1802 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

As well as “arecord -l”:

**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

I tried booting up a Live USB of EndeavourOS, and the default player (upon audio file double-click, forgot the player’s name) outputs sound normally. Thus I believe my issue is of software, not hardware. However, I’m not sure if the issue is within ALSA or PulseAudio.

If you need any more information that I’ve forgotten to include in this post, please let me know!

Same problem here, same hardware, posted a few days ago, got no replies so far.

What kernel are you running? As it stands linux 5.10.3.arch1-1 seems to work, so does 5.10.3-zen1-1-zen, but I am still testing :smiley:
The lqx kernel definitely (for me) does not.

Also what is the contents of:

cat /etc/modprobe.d/alsa-base.conf

??

My hardware:

Audio:     Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio driver: snd_hda_intel
           Device-2: Intel 8 Series/C220 Series High Definition Audio driver: snd_hda_intel
           Sound Server: ALSA v: k5.10.3-zen1-1-zen
pacmd list-sinks
1 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_00_1b.0.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: 13108 /  20% / -41.94 dB,   front-right: 13108 /  20% / -41.94 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
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
        card: 1 <alsa_card.pci-0000_00_1b.0>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "VT1802 Analog"
                alsa.id = "VT1802 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HDA Intel PCH"
                alsa.long_card_name = "HDA Intel PCH at 0xf7f10000 irq 36"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:1b.0"
                sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
                device.bus = "pci"
                device.vendor.id = "8086"
                device.vendor.name = "Intel Corporation"
                device.product.id = "8c20"
                device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
                device.form_factor = "internal"
                device.string = "front:1"
                device.buffering.buffer_size = "352800"
                device.buffering.fragment_size = "176400"
                device.access_mode = "mmap+timer"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "Built-in Audio Analog Stereo"
                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>

Running uname -srm gives me:

Linux 5.10.3-arch1-1 x86_64

Running cat /etc/modprobe.d/alsa-base.conf gives me:

cat: /etc/modprobe.d/alsa-base.conf: No such file or directory

I browsed to the directory via Thunar, and it’s indeed missing. No other audio-related conf files are present.

Just received some updates yesterday, could it be related? Tough luck for me, as I like living dangerously and thus never did any backups to roll back to!

Downgrade your kernel from the cache. This is weird as that kernel seems to fix it (:crossed_fingers:) for me.

1 Like

Or try the zen kernel, that also seems to work (for me). Going to reboot again to test. BRB.

Right, rebooted with the zen kernel and have sound (but could be coincidental, I have been at this for days).

Rebooting again… And still have sound.

1 Like

Is this a newer laptop?

Alright, so I’ve downgraded to Linux 5.9.14-arch1-1 x86_64 by running:

sudo pacman -U /var/cache/pacman/pkg/linux-5.9.14.arch1-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/linux-headers-5.9.14.arch1-1-x86_64.pkg.tar.zst
  • 1st reboot, immediately after running the downgrade command above: Sound and mic working!
  • 2nd reboot: No sound, didn’t check mic
  • 3rd reboot: Sound working, didn’t check mic
  • 4th reboot: Sound working, didn’t check mic
  • 5th reboot: Sound and mic working!

For troubleshooting purposes, I’ll include the logs for the 5th reboot which I’m currently typing this from (without any audio playing if it matters):

pacmd list-sinks

1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.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: 26213 /  40% / -23.88 dB,   front-right: 26213 /  40% / -23.88 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
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "VT1802 Analog"
		alsa.id = "VT1802 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7a10000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "front:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		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>

speaker-test -c 2 (I can hear the sound now!)

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 96 to 1048576
Period size range from 32 to 349526
Using max buffer size 1048576
Periods = 4
was set period_size = 262144
was set buffer_size = 1048576
 0 - Front Left
 1 - Front Right
Time per period = 10.948006

speaker-test -D default:PCH -c 2 (Similar error to earlier, so this is probably not at fault)

speaker-test 1.2.4

Playback device is default:PCH
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
ALSA lib conf.c:5200:(snd_config_expand) Unknown parameters PCH
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM default:PCH
Playback open error: -22,Invalid argument

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: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: VT1802 Digital [VT1802 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: VT1802 Alt Analog [VT1802 Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

arecord -l

**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: VT1802 Analog [VT1802 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The audio’s now mostly back to normal, though the legacy “randomly no sound but fixes itself upon another restart” still persists as per the 2nd reboot. Nevertheless, I’m satisfied! Hopefully the bug on the latest kernel gets fixed soon! Many thanks for your help.

Time to find out how to ignore those 2 kernel packages upon any system updates, or maybe it would be better if I resist any updates until it gets fixed?

No, this isn’t a newer laptop, it’s an almost 6 years old 17-inch Clevo custom model. Hopefully that didn’t baffle you further!

What does that mean? :thinking:

Your question kind of implied that you’re expecting the issue to be related to a newer laptop model. Given that, it might be unexpected that it’s on a much older laptop.

Though, it could be just someone upstream breaking something related to older laptop audio in 5.10.3…

I was just curious if it was newer hardware? The post doesn’t seem very old so i never even considered that? It was more that a lot of these newer Intel sound use sof-firmware. But, i don’t think this one does. Just asking. :slightly_smiling_face:

Edit: Usually you’ll see it in some of the logs or dmesg. There is no list that i can find that spells out which chips use it.

Hitting yay sof-firmware into my terminal indicates that it isn’t installed. Since my sound works without that installed for the past few months since I’ve installed EndeavourOS, it shouldn’t be using it. Hopefully that helps you narrow things down a little further.

Good luck with troubleshooting, can’t wait to keep my system up to date! :grin:

Usually it isn’t installed and some Intel chips require it. Hence why i asked if it was newer laptop.

sudo <your-editor> /etc/pacman.conf
## Find a line starting IgnorePkg e.g.
IgnorePkg = linux-lqx linux-lqx-headers

Just uncomment it and add your package,

BTW Downgrade your kernel headers too.

yay indicates that I don’t use the “lqx” version, so IgnorePkg = linux linux-headers worked fine:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 endeavouros is up to date
:: Starting full system upgrade...
warning: linux: ignoring package upgrade (5.9.14.arch1-1 => 5.10.3.arch1-1)
warning: linux-headers: ignoring package upgrade (5.9.14.arch1-1 => 5.10.3.arch1-1)
resolving dependencies...
looking for conflicting packages...

I tried typing the exact version name of the packages into IgnorePkg so that only 5.10.3 gets ignored, but not the future ones, but it doesn’t seem to work. Might be my formatting is off?:

IgnorePkg = linux-5.10.3.arch1-1 linux-headers-5.10.3.arch1-1

Well, if ignoring only a specific version of the kernel but not future ones is bad practice, maybe I shouldn’t do this then…

I’ve downgraded my kernel headers too, don’t worry! Just scroll further right in my terminal command for the post earlier above.

Format is just package name, no version so:

IgnorePkg linux linux-headers

I tried switching to the Zen kernel instead:

Linux 5.10.3-zen1-1-zen x86_64

But there’s still no audio for me. My GPU problem persists as well from here: https://forum.endeavouros.com/t/unable-to-use-nvidia-gpu-optimus-manager-in-linux-5-9-14-arch1-1/10944/3