Audio silence on Fedora 37

Hello,

I am experiencing audio silence when running any sound application on F37. I don’t understand audio at all, but I have the components alsa, pipewire, and pulse-audio installed. I don’t know how they work together.

I saw another question about sound in the forum and one correspondent asked the author of a complaint to run a command and post the results. I took the liberty to do so:

root # lspci -nnk | grep -i audio -A2
00:1f.3 Audio device [0403]: Intel Corporation Comet Lake PCH cAVS [8086:06c8]
DeviceName: Onboard - Sound
Subsystem: Hewlett-Packard Company Device [103c:8767]
root #
I tried to search dmesg for any trace of my “Intel/HP” sound device, but what I came up with was:
root # dmesg | grep -i audio
[ 0.180069] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 9.698282] usbcore: registered new interface driver snd-usb-audio
[ 9.704865] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 9.790967] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC671: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[ 9.791455] snd_hda_codec_realtek hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[ 9.791908] snd_hda_codec_realtek hdaudioC1D0: hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[ 9.792358] snd_hda_codec_realtek hdaudioC1D0: mono: mono_out=0x0
[ 9.792839] snd_hda_codec_realtek hdaudioC1D0: inputs:
[ 9.793295] snd_hda_codec_realtek hdaudioC1D0: Front Mic=0x19
[ 9.793739] snd_hda_codec_realtek hdaudioC1D0: Rear Mic=0x18
[ 9.794185] snd_hda_codec_realtek hdaudioC1D0: Line=0x1b
root #

All that looks like to me is audio input from my Logitech Webcam, which does have a decent microphone.

I use XFCE4, and under Settings is a program called Pulse Audio Volume Control, which reports that everything is working as it should. But the problem remains, no sound. Not system beeps, not music, not video clips.

Can anyone point me in a direction to start to debug this. I’m afraid I don’t know where to start.

I know the audio hardware works, because I have a dual-boot machine and sound works fine under Windows 11. It formerly worked fine under F36, but that is a different story.

Thank you.

Can you check the output of:
aplay -l
pactl list sinks short
lsmod

Thanks

OK, thanks for the suggestions. Here they are:

root ~ # aplay -l
**** List of PLAYBACK Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC671 Analog [ALC671 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
root ~ #


root ~ # pactl list sinks short
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
root ~ #

For good measure I ran that one as a general user:

baz ~ $ pactl list sinks short
0 alsa_output.pci-0000_00_1f.3.analog-stereo module-alsa-card.c s16le 2ch44100Hz SUSPENDED
baz ~ $
(That ought to teach me about automatically running system commands as root)


lsmod was too long for the screen, so I tee’d it into a file and copied it from Emacs.

lsmod:

Module Size Used by
tls 126976 0
rfcomm 94208 20
snd_seq_dummy 16384 0
snd_hrtimer 16384 1
ip_set 61440 0
nf_tables 282624 0
nfnetlink 20480 2 nf_tables,ip_set
qrtr 53248 4
bnep 28672 2
sunrpc 692224 1
snd_sof_pci_intel_cnl 16384 0
binfmt_misc 28672 1
snd_sof_intel_hda_common 176128 1 snd_sof_pci_intel_cnl
soundwire_intel 53248 1 snd_sof_intel_hda_common
soundwire_generic_allocation 16384 1 soundwire_intel
soundwire_cadence 45056 1 soundwire_intel
snd_sof_intel_hda 20480 1 snd_sof_intel_hda_common
snd_sof_pci 24576 2 nd_sof_intel_hda_common,snd_sof_pci_intel_cnl
snd_sof_xtensa_dsp 20480 1 snd_sof_intel_hda_common
snd_sof 311296 2 snd_sof_pci,snd_sof_intel_hda_common
snd_sof_utils 20480 1 snd_sof
soundwire_bus 126976 3 soundwire_intel,soundwire_generic_allocation,soundwire_cadence
snd_soc_skl 212992 0
snd_soc_hdac_hda 28672 2 snd_sof_intel_hda_common,snd_soc_skl
snd_hda_ext_core 36864 4 snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_soc_sst_ipc 20480 1 snd_soc_skl
snd_soc_sst_dsp 36864 1 snd_soc_skl
snd_hda_codec_hdmi 86016 1
snd_soc_acpi_intel_match 73728 3 snd_sof_intel_hda_common,snd_soc_skl,snd_sof_pci_intel_cnl
intel_rapl_msr 20480 0
snd_soc_acpi 16384 3 snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_soc_skl
intel_rapl_common 32768 1 intel_rapl_msr
snd_soc_core 389120 5 soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl
snd_hda_codec_realtek 172032 1
snd_hda_codec_generic 98304 1 snd_hda_codec_realtek
ledtrig_audio 16384 1 snd_hda_codec_generic
snd_compress 28672 1 snd_soc_core
ac97_bus 16384 1 snd_soc_core
rtw88_8822ce 16384 0
snd_pcm_dmaengine 16384 1 snd_soc_core
vfat 24576 1
intel_tcc_cooling 16384 0
x86_pkg_temp_thermal 20480 0
fat 94208 1 vfat
rtw88_8822c 491520 1 rtw88_8822ce
snd_hda_intel 61440 5
intel_powerclamp 20480 0
coretemp 20480 0
snd_intel_dspcfg 36864 4 snd_hda_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_skl
snd_intel_sdw_acpi 20480 2 snd_sof_intel_hda_common,snd_intel_dspcfg
rtw88_pci 36864 1 rtw88_8822ce
snd_usb_audio 397312 3
snd_hda_codec 184320 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda
iTCO_wdt 16384 0
kvm_intel 389120 0
rtw88_core 208896 2 rtw88_pci,rtw88_8822c
snd_hda_core 114688 10 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hda,snd_soc_skl,snd_sof_intel_hda
snd_usbmidi_lib 45056 1 snd_usb_audio
intel_pmc_bxt 16384 1 iTCO_wdt
iTCO_vendor_support 16384 1 iTCO_wdt
snd_rawmidi 45056 1 snd_usbmidi_lib
snd_hwdep 16384 2 snd_usb_audio,snd_hda_codec
mei_hdcp 24576 0
mei_pxp 20480 0
uvcvideo 163840 0
kvm 1122304 1 kvm_intel
mac80211 1282048 2 rtw88_pci,rtw88_core
btusb 65536 0
snd_seq 94208 7 snd_seq_dummy
btrtl 28672 1 btusb
snd_seq_device 16384 2 snd_seq,snd_rawmidi
btbcm 24576 1 btusb
videobuf2_vmalloc 20480 1 uvcvideo
snd_pcm 151552 13 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_sof_utils,snd_soc_skl,snd_hda_core,snd_pcm_dmaengine
irqbypass 16384 1 kvm
btintel 49152 1 btusb
videobuf2_memops 20480 1 videobuf2_vmalloc
libarc4 16384 1 mac80211
videobuf2_v4l2 40960 1 uvcvideo
rapl 20480 0
btmtk 16384 1 btusb
intel_cstate 20480 0
videobuf2_common 86016 4 videobuf2_vmalloc,videobuf2_v4l2,uvcvideo,videobuf2_memops
snd_timer 49152 3 snd_seq,snd_hrtimer,snd_pcm
pktcdvd 65536 0
i2c_i801 40960 0
hp_wmi 28672 0
bluetooth 880640 46 btrtl,btmtk,btintel,btbcm,bnep,btusb,rfcomm
cfg80211 1097728 2 rtw88_core,mac80211
sparse_keymap 16384 1 hp_wmi
intel_uncore 217088 0
platform_profile 16384 1 hp_wmi
videodev 311296 3 videobuf2_v4l2,uvcvideo,videobuf2_common
pcspkr 16384 0
wmi_bmof 16384 0
i2c_smbus 20480 1 i2c_i801
snd 126976 34 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_usb_audio,snd_usbmidi_lib,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_timer,snd_compress,snd_soc_core,snd_pcm,snd_rawmidi
mei_me 53248 2
mc 69632 5 videodev,snd_usb_audio,videobuf2_v4l2,uvcvideo,videobuf2_common
soundcore 16384 1 snd
idma64 20480 0
mei 167936 5 mei_hdcp,mei_pxp,mei_me
rfkill 36864 6 hp_wmi,bluetooth,cfg80211
intel_pch_thermal 20480 0
joydev 28672 0
serial_multi_instantiate 20480 0
acpi_pad 184320 0
acpi_tad 16384 0
zram 36864 2
hid_logitech_hidpp 69632 0
hid_logitech_dj 36864 0
i915 3112960 22
sdhci_pci 77824 0
cqhci 36864 1 sdhci_pci
nvme 61440 3
crct10dif_pclmul 16384 1
crc32_pclmul 16384 0
crc32c_intel 24576 3
sdhci 90112 1 sdhci_pci
drm_buddy 20480 1 i915
polyval_clmulni 16384 0
drm_display_helper 180224 1 i915
nvme_core 192512 4 nvme
polyval_generic 16384 1 polyval_clmulni
mmc_core 225280 3 sdhci,cqhci,sdhci_pci
cec 81920 2 drm_display_helper,i915
r8169 102400 0
ghash_clmulni_intel 16384 0
nvme_common 24576 1 nvme_core
ttm 94208 1 i915
wmi 45056 2 hp_wmi,wmi_bmof
video 65536 1 i915
pinctrl_cannonlake 36864 2
usb_storage 81920 0
ip6_tables 36864 0
ip_tables 36864 0
fuse 176128 5

And that’s as far as it goes.

Bryan

I think found the answer to the lack of audio. I had dnfdragora on my screen and on a whim I typed in the search term “pulse”. What I saw was that the package pipewire-pulseaudio was not installed. When I checked it and “pulseaudio-utils”, and went to install them, dnfdragora warned me that I was also going to uninstall a package called simply “pulseaudio”. Apparently they are incompatible.

After I did this, as if by magic, after a reboot, audio worked as it is supposed to.

The problem with this is, I am navigating blind, so to speak. I don’t know what pipewire is, or how pulseaudio works. But it looks like I lucked out.

Thanks for your help though.

Bryan

1 Like

It is true that pulseaudio and pipewire-pulseaudio are not compatible. Since Fedora began using pipewire the support has moved in that direction.

In todays configuration fedora uses pipewire and wireplumber for almost all audio tasks, and has done so for quite some time. Pulseaudio is now a relic that has been superceded in fedora.

Hello, I previously tried Fedora and the same audio issue existed when I moved to #silverblue. Should I open a new thread on this topic for #silverblue as my audio is still not working and solution is not clear?

lspci -nnk | grep -i audio -A2

00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
Subsystem: ASUSTeK Computer Inc. Device [1043:841b]
Kernel driver in use: snd_hda_intel