Bug 2012848 - No sound with wireplumber after F34->F35 update
Summary: No sound with wireplumber after F34->F35 update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: wireplumber
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-11 13:11 UTC by Andrew
Modified: 2022-04-06 04:40 UTC (History)
7 users (show)

Fixed In Version: wireplumber-0.4.4-2.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-28 18:27:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Andrew 2021-10-11 13:11:26 UTC
Note: got this after updating Fedora 34 to Fedora 35 by `dnf distro-sync`
This is an old installation (updating by same method for years) so not sure if other users could have same issue.
Might be similar with bug #2010683, but still present with wireplumber-0.4.3-1.fc35.x86_64

What is wrong: have no sound after boot, both in KDE, and VT session w/o xorg.
Seems like pulseaudio can't initialize correctly when wireplumber service is enabled.
Play of sound files is like this:

    $ mplayer /usr/share/sounds/KDE-Sys-Log-In.ogg 
    <skip>
    AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
    Video: no video
    Starting playback...
    A:   0.0 (unknown) of 13.4 (13.4) ??,?%
    Audio device got stuck!
    A:   0.0 (unknown) of 13.4 (13.4) ??,?%
    Audio device got stuck!
    A:   0.0 (unknown) of 13.4 (13.4) ??,?%
    Audio device got stuck!
    A:   0.0 (unknown) of 13.4 (13.4) ??,?%
    Audio device got stuck!

Play of video files which have sound - freezes at start.
Sound devices do present.
These logs don't contain errors: pulseaudio.service, wireplumber.service, pipewire.service, pipewire.socket

If I restart pulseaudio.service, it shows module-alsa-card errors:

    $ LANG=C journalctl -b0 --user-unit=pulseaudio.service
    -- Journal begins at Thu 2021-09-30 15:17:10 EEST, ends at Mon 2021-10-11 15:10:45 EEST. --
    Oct 11 13:26:49 localhost systemd[2843]: Starting Sound Service...
    Oct 11 13:26:51 localhost systemd[2843]: Started Sound Service.
    Oct 11 13:27:15 localhost pulseaudio[3181]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply,>
    Oct 11 13:30:21 localhost pulseaudio[3181]: Failed to create sink input: sink is suspended.
    Oct 11 13:30:51 localhost systemd[2843]: Stopping Sound Service...
    Oct 11 13:30:51 localhost pulseaudio[3181]: Failed to create sink input: sink is suspended.
    Oct 11 13:30:51 localhost systemd[2843]: Stopped Sound Service.
    Oct 11 13:30:51 localhost systemd[2843]: Starting Sound Service...
    Oct 11 13:30:51 localhost pulseaudio[6987]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_05_00.1" card_name="alsa_card.pci-0000_05_00.1" namereg_fail=false tsched=ye>
    Oct 11 13:30:51 localhost pulseaudio[6987]: Failed to load module "module-alsa-card" (argument: "device_id="2" name="usb-KWORLD_INC._USB_FM_Stick-00" card_name="alsa_card.usb-KWORLD_INC._USB_FM_Stick-00>
    Oct 11 13:30:51 localhost pulseaudio[6987]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.4" card_name="alsa_card.pci-0000_07_00.4" namereg_fail=false tsched=ye>
    Oct 11 13:30:52 localhost systemd[2843]: Started Sound Service.
    Oct 11 13:31:16 localhost pulseaudio[6987]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply,>

and sound devices disappear after this.

Everything work fine after stop wireplumber.service, and then restart pulseaudio.service.

Other package versions:
    pipewire-libs-0.3.38-1.fc35.i686
    pipewire-alsa-0.3.38-1.fc35.i686
    pipewire-libs-0.3.38-1.fc35.x86_64
    pipewire-0.3.38-1.fc35.x86_64
    pipewire-alsa-0.3.38-1.fc35.x86_64
    pulseaudio-libs-15.0-2.fc35.x86_64
    pulseaudio-libs-glib2-15.0-2.fc35.x86_64
    pulseaudio-utils-15.0-2.fc35.x86_64
    pulseaudio-15.0-2.fc35.x86_64
    pulseaudio-libs-15.0-2.fc35.i686
    pulseaudio-module-x11-15.0-2.fc35.x86_64
    alsa-plugins-pulseaudio-1.2.5-2.fc35.i686
    alsa-plugins-pulseaudio-1.2.5-2.fc35.x86_64
    wireplumber-libs-0.4.3-1.fc35.x86_64
    wireplumber-0.4.3-1.fc35.x86_64

Comment 1 Onuralp Sezer 2021-10-11 16:23:12 UTC
I had the same issue as well. After upgrade F34->F35 basically I had to enable/start wireplumber.service. I didn't touch pulseaudio.service only "wireplumber.service" 

Thank you.

Comment 2 Andrew 2021-10-11 17:31:07 UTC
(In reply to Onuralp Sezer from comment #1)
> I had the same issue as well. After upgrade F34->F35 basically I had to
> enable/start wireplumber.service. I didn't touch pulseaudio.service only
> "wireplumber.service" 

Just in case - I had to stop/disable wireplumber.service to make audio working.

Comment 3 Simon Vogl 2021-10-12 21:25:30 UTC
I can confirm this exact same issue too. Directly after upgrade the required wireplumber service was disabled, however, running

sudo systemctl --global enable wireplumber

fixed the issue.

Comment 4 Fedora Update System 2021-10-15 14:49:40 UTC
FEDORA-2021-3c4c454c98 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c4c454c98

Comment 5 Andrew 2021-10-15 15:16:06 UTC
The update above doesn't help:

    $ systemctl --user unmask wireplumber.service
    Removed /home/andrew/.config/systemd/user/wireplumber.service.

    $ systemctl --user start wireplumber.service

    $ systemctl --user restart pulseaudio.service 

    $ systemctl --user status pulseaudio.service | grep -o ']: .*'
    ]: Starting Sound Service...
    ]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_05_00.1" card_name="alsa_card.pci-0000_05_00.1" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
    ]: Failed to load module "module-alsa-card" (argument: "device_id="2" name="usb-KWORLD_INC._USB_FM_Stick-00" card_name="alsa_card.usb-KWORLD_INC._USB_FM_Stick-00" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
    ]: Failed to load module "module-alsa-card" (argument: "device_id="1" name="pci-0000_07_00.4" card_name="alsa_card.pci-0000_07_00.4" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
    ]: Started Sound Service.
    ]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

    $ rpm -q wireplumber
    wireplumber-0.4.4-1.fc35.x86_64

Comment 6 Wim Taymans 2021-10-15 15:28:56 UTC
This is a mix of pipewire with audio enabled and pulseaudio. I would recommend to replace pulseaudio with pipewire-pulseaudio or remove the audio parts of
pipewire (pipewire-alsa).

Comment 7 Andrew 2021-10-15 15:41:25 UTC
(In reply to Wim Taymans from comment #6)

Thank you
Shouldn't these rpm packages be conflicting then?

Comment 8 Fedora Update System 2021-10-15 20:52:00 UTC
FEDORA-2021-3c4c454c98 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3c4c454c98`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c4c454c98

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Neal Gompa 2021-10-16 14:18:14 UTC
(In reply to Andrew from comment #7)
> (In reply to Wim Taymans from comment #6)
> 
> Thank you
> Shouldn't these rpm packages be conflicting then?

pipewire-pulseaudio and pulseaudio are already conflicting. And since F34, we ship pipewire-pulseaudio by default.

Comment 10 Wim Taymans 2021-10-18 09:13:41 UTC
> Shouldn't these rpm packages be conflicting then?

pipewire-alsa and pipewire-jack-audio-connection-kit should probably conflict with pulseaudio so that the audio parts of pipewire get disabled when using pulseaudio.

Comment 11 Fedora Update System 2021-10-24 20:21:22 UTC
FEDORA-2021-3c4c454c98 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c4c454c98

Comment 12 Fedora Update System 2021-10-28 18:27:32 UTC
FEDORA-2021-3c4c454c98 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Andrew 2021-10-28 23:01:39 UTC
Should not be closed, I think.
Users should get some hint about pulseaudio <-> wireplumber conflicts.

Comment 14 Martin Dengler 2022-04-06 04:40:26 UTC
(In reply to Andrew from comment #13)
> Should not be closed, I think.
> Users should get some hint about pulseaudio <-> wireplumber conflicts.

I definitely wasted a lot of time when stumbling across gnome-control-center weirdness after upgrading from F34 to F35.  Finally fixed (mostly) everything with:

    sudo dnf swap --allowerasing pulseaudio pipewire-pulseaudio
    sudo dnf reinstall wireplumber pipewire-{alsa,libs,pulseaudio}
    systemctl --user enable --now wireplumber
    systemctl --user restart wireplumber pipewire ; systemctl --user stop pulseaudio


Note You need to log in before you can comment on or make changes to this bug.