No sound speakers

Hello!
No sound in the speakers only. Headphones are good. Do someone has some idea ?

uname -r
5.10.7-arch1-1

$ inxi -A
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
Device-3: AMD Family 17h HD Audio driver: snd_hda_intel
Sound Server: ALSA v: k5.10.7-arch1-1
[asaln@hpasaln ~]$ inxi -Ax
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio
vendor: Hewlett-Packard Pavilion Laptop 15-cw1xxx driver: snd_hda_intel
v: kernel bus ID: 04:00.1
Device-2: AMD Raven/Raven2/FireFlight/Renoir Audio Processor driver: N/A
bus ID: 04:00.5
Device-3: AMD Family 17h HD Audio
vendor: Hewlett-Packard Pavilion Laptop 15-cw1xxx driver: snd_hda_intel
v: kernel bus ID: 04:00.6
Sound Server: ALSA v: k5.10.7-arch1-1

Pulseaudio takes into account Family 17 H

Kernel problem ?

This might help :blush: good start place

https://endeavouros.com/docs/hardware-and-network/audio/getting-information-on-soundproblems/

3 Likes

Hello @Asaln
This laptop has intel audio. It may require sof-firmware to be installed. This package is not installed and some Intel audio chips require it. The problem is it’s hard to tell which ones require it unless i see some indication from some logs. Maybe you can check: sudo dmesg
If you see any indication of sof-firmware or in a boot log. You can use the EndeavourOS boot log tool to do that. It’s the first one in the list.

Edit: Also maybe: lspci

Hello !
I used alsa mixer and I saw 2 HD_Audio_Generic ( 0 an 1) ; whem I switch to the number 1 sound comes back in speakers. After reboot it is still here. I don’t really unserstand why…
Thank you.

Now I have to resolve the bluetooth problem with rtl8821ce but this is another story :wink:

There is a big bad bug in Pulseaudio 14.1-x. See this bug report: https://bugs.archlinux.org/task/69313

Only fix for now is to downgrade these packages to 14.0-x version: pulseaudio, libpulse and pulseaudio-bluetooth.

3 Likes

I get dependency issues while trying to downgrade:

sudo downgrade pulseaudio 
.
.
.
  25)  pulseaudio    14.0                   1  x86_64  (local)
-  26)  pulseaudio    14.1                   1  x86_64  (remote)
-  27)  pulseaudio    14.1                   1  x86_64  (local)
+  28)  pulseaudio    14.1                   2  x86_64  (remote)
+  29)  pulseaudio    14.1                   2  x86_64  (local)

select a package by number: 25
loading packages...
warning: downgrading package pulseaudio (14.1-2 => 14.0-1)
resolving dependencies...
warning: cannot resolve "libpulse=14.0-1", a dependency of "pulseaudio"
:: The following package cannot be upgraded due to unresolvable dependencies:
      pulseaudio

:: Do you want to skip the above package for this upgrade? [y/N] N
error: failed to prepare transaction (could not satisfy dependencies)
:: unable to satisfy dependency 'libpulse=14.0-1' required by pulseaudio
sudo downgrade libpulse 

  25)  libpulse    14.0                   1  x86_64  (local)
-  26)  libpulse    14.1                   1  x86_64  (remote)
-  27)  libpulse    14.1                   1  x86_64  (local)
+  28)  libpulse    14.1                   2  x86_64  (remote)
+  29)  libpulse    14.1                   2  x86_64  (local)

select a package by number: 25
loading packages...
warning: downgrading package libpulse (14.1-2 => 14.0-1)
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing libpulse (14.0-1) breaks dependency 'libpulse=14.1-2' required by pulseaudio

Either remove with sudo pacman -Rdd <pkgname> then downgrade or:

cd /var/cache/pacman/pkg/
sudo pacman -U pulseaudio-14.0-1-x86_64.pkg.tar.zst pulseaudio-bluetooth-14.0-1-x86_64.pkg.tar.zst pulseaudio-jack-14.0-1-x86_64.pkg.tar.zst libpulse-14.0-1-x86_64.pkg.tar.zst

As an example.

3 Likes

Downgraded to 14.01.
Perfect.
Thank you

1 Like

This explains my problems @keybreak :smiley:

1 Like

Didn’t have any issues with Pulse audio that I’m aware of.

I’ve been using 14.1 without issue all day too, with multiple apps and both a bluetooth speaker and plugged headphones. I’m running the lts kernel currently because I was getting weird freezes with 5.10 and firefox, in case that makes any difference.

I realized that I have lost the internal microphone, so I supposed that it was related to this update. After downgrading it showed that it was a wrong supposition. I can’t tell when and why that happened :slightly_frowning_face:
Connecting a head-set I do have access to the microphone.

@xircon, thanks for the command lines!

Open alsamixer and check nothing is muted:
image

“MM” is muted, use the arrow keys, press “M”.

image

Looks something is quite off. The mic doesn’t show:

alsamixer-mic

Weird, have you tried the Arch wiki?

https://wiki.archlinux.org/index.php/PulseAudio/Troubleshooting#Microphone_not_detected_by_PulseAudio

1 Like

No, not yet. I will have a look. Thanks for the help, I appreciate it.
It’s just odd. It used to work before.

Just out of curiosity, why alsamixer instead of pavucontrol (or pulsemixer, pactl, pacmd, etc.)?

Pulse is just a layer over alsa (and not a very good one at the moment), have a read of the Arch Wiki, I have. Repeatedly.

I currently have sound, and have taken a snapshot with it working. Am about to update pulse (after the Snooker has finished :wink: ).

Lets see if 14.1-2 works.

2 Likes

Fixed in Pulseaudio 14.2 which is available.

1 Like