Upgrade to 37: No sound

Just upgraded an older Dell Vostro to F37, no sound. When I try to play a test sound on any device in the Plasma Systemsettings Audio widget, I get, “Error trying to play a test sound. The system said: “Invalid state””

~# wpctl status
Could not connect to PipeWire
~# inxi -A
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
driver: snd_hda_intel
Device-2: Logitech HD Webcam C910 type: USB driver: snd-usb-audio,uvcvideo
Device-3: Logitech USB Headset type: USB driver: snd-usb-audio
API: ALSA v: k6.2.9-200.fc37.x86_64 status: kernel-api
Server-1: PipeWire v: 0.3.68 status: active (process)
Server-2: PulseAudio v: 16.1 status: active (root, process)

Any suggestions on how I can go about debugging this? If I remove all sound-related rpms (alsa, pipewire, and pulseaudio), what do I need to reinstall to get audio working in KDE Plasma again?

Usually sound is setup as part of logging into a desk top environment.
Are you in a desktop environment?
Are you running wpctl in a terminal started in the desktop?

Yes to your questions.

I seem to have fixed this with the commands:

dnf remove pulseaudio
dnf install pulseaudio plasma-pa
dnf install pipewire-pulseaudio alsa-plugins-pulseaudio --allowerasing

The package pulseaudio.x86_64 conflicted with installing install pipewire-pulseaudio and alsa-plugins-pulseaudio, so the above command removed pulseaudio.x86_64 and now sound seems to work. The outouts of wpctl status and inxi -A are the same, except that the PulseAudio server line is gone:

~# wpctl status
Could not connect to PipeWire
~# inxi -A
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
driver: snd_hda_intel
Device-2: Logitech HD Webcam C910 type: USB driver: snd-usb-audio,uvcvideo
Device-3: Logitech USB Headset type: USB driver: snd-usb-audio
API: ALSA v: k6.2.9-200.fc37.x86_64 status: kernel-api
Server-1: PipeWire v: 0.3.68 status: active (process)

FWIW, YouTube videos would not play until I fixed this.

The exact list of rpms installed is:

alsa-lib.x86_64 1.2.8-2.fc37 @updates
alsa-lib-devel.x86_64 1.2.8-2.fc37 @updates
alsa-plugins-pulseaudio.x86_64 1.2.7.1-2.fc37 @fedora
alsa-sof-firmware.noarch 2.2.4-2.fc37 @updates
alsa-ucm.noarch 1.2.8-2.fc37 @updates
alsa-utils.x86_64 1.2.8-1.fc37 @updates
pipewire.x86_64 0.3.68-2.fc37 @updates
pipewire-alsa.x86_64 0.3.68-2.fc37 @updates
pipewire-jack-audio-connection-kit.x86_64 0.3.68-2.fc37 @updates
pipewire-libs.x86_64 0.3.68-2.fc37 @updates
pipewire-pulseaudio.x86_64 0.3.68-2.fc37 @updates
pipewire0.2-libs.x86_64 0.2.7-8.fc37 @fedora
pulseaudio-libs.x86_64 16.1-4.fc37 @updates
pulseaudio-libs-glib2.x86_64 16.1-4.fc37 @updates
pulseaudio-qt.x86_64 1.3-3.fc37 @fedora
pulseaudio-utils.x86_64 16.1-4.fc37 @updates

1 Like