WirePlumber crash in Fedora 40 - no sound through speaker

Hello everyone,
I have no sound since I did the ugrade from Fedora 39 to Fedora 40 through command line :

sudo dnf system-upgrade download --releasever=40
sudo dnf system-upgrade reboot

I have a wireplumber crash:

avril 27 01:27:47 FedoraMBP wireplumber[25062]: <WpAsyncEventHook:0xaaabcbc95430> failed: tried to link on last rescan, not retrying nil
avril 27 01:27:47 FedoraMBP wireplumber[25062]: **
avril 27 01:27:47 FedoraMBP wireplumber[25062]: wp-event-dispatcher:ERROR:../lib/wp/event-dispatcher.c:86:on_event_hook_done: assertion failed: (data->current_hook_in_async == hook)
avril 27 01:27:47 FedoraMBP wireplumber[25062]: Bail out! wp-event-dispatcher:ERROR:../lib/wp/event-dispatcher.c:86:on_event_hook_done: assertion failed: (data->current_hook_in_async == hook)
avril 27 01:27:47 FedoraMBP kernel: Core dump to |/dev/null pipe failed
avril 27 01:27:47 FedoraMBP systemd[1488]: wireplumber.service: Main process exited, code=killed, status=6/ABRT
avril 27 01:27:47 FedoraMBP systemd[1488]: wireplumber.service: Failed with result 'signal'.
avril 27 01:27:47 FedoraMBP systemd[1488]: wireplumber.service: Scheduled restart job, restart counter is at 5.
avril 27 01:27:47 FedoraMBP systemd[1488]: Started wireplumber.service - Multimedia Service Session Manager.
avril 27 01:27:47 FedoraMBP rtkit-daemon[963]: Successfully made thread 36839 of process 36839 (/usr/bin/wireplumber) owned by '1001' high priority at nice level -11.
avril 27 01:27:47 FedoraMBP rtkit-daemon[963]: Successfully made thread 36839 of process 36839 (/usr/bin/wireplumber) owned by '1001' high priority at nice level -11.
avril 27 01:27:48 FedoraMBP pipewire[2004]: spa.alsa: 'hw:0,0': playback open failed: Aucun périphérique ou adresse
avril 27 01:27:48 FedoraMBP pipewire[2004]: mod.adapter: 0xaaab7d61f7c0: can't get format: Aucun périphérique ou adresse
avril 27 01:27:48 FedoraMBP pipewire[2004]: mod.adapter: usage: node.name=<string>
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae53117c0> link failed: 2 of 2 PipeWire links failed to activate
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: failed to configure si-standard-link <WpSiStandardLink:0xaaaae531b740>
avril 27 01:27:48 FedoraMBP wireplumber[36839]: BlueZ system service is not available
avril 27 01:27:48 FedoraMBP wireplumber[36839]: Unable to load filter graph for alsa_output.platform-sound.HiFi__hw_AppleJ416_1__sink
avril 27 01:27:48 FedoraMBP wireplumber[36839]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
avril 27 01:27:48 FedoraMBP wireplumber[36839]: PipeWire's libcamera SPA plugin is missing or broken. Some camera types may not be supported.
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpSpaPod:0xaaaae522db50> Forcing Speaker route props: <WpDevice:0xaaaae54050d0>:
                                                  Object: size 136, type Spa:Pod:Object:Param:Route (262153), id Spa:Enum:ParamId:Route (13)
                                                    Prop: key Spa:Pod:Object:Param:Route:props (10), flags 00000000
                                                      Object: size 64, type Spa:Pod:Object:Param:Props (262146), id Spa:Enum:ParamId:Route (13)
                                                        Prop: key Spa:Pod:Object:Param:Props:mute (65540), flags 00000000
                                                          Bool false
                                                        Prop: key Spa:Pod:Object:Param:Props:channelVolumes (65544), flags 00000000
                                                          Array: child.size 4, child.type Spa:Float
                                                            Float 1.000000
                                                    Prop: key Spa:Pod:Object:Param:Route:device (3), flags 00000000
                                                      Int 0
                                                    Prop: key Spa:Pod:Object:Param:Route:index (1), flags 00000000
                                                      Int 0
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpSpaPod:0xaaaae5465960> Forcing Speaker route props: <WpDevice:0xaaaae54050d0>:
                                                  Object: size 136, type Spa:Pod:Object:Param:Route (262153), id Spa:Enum:ParamId:Route (13)
                                                    Prop: key Spa:Pod:Object:Param:Route:props (10), flags 00000000
                                                      Object: size 64, type Spa:Pod:Object:Param:Props (262146), id Spa:Enum:ParamId:Route (13)
                                                        Prop: key Spa:Pod:Object:Param:Props:mute (65540), flags 00000000
                                                          Bool false
                                                        Prop: key Spa:Pod:Object:Param:Props:channelVolumes (65544), flags 00000000
                                                          Array: child.size 4, child.type Spa:Float
                                                            Float 1.000000
                                                    Prop: key Spa:Pod:Object:Param:Route:device (3), flags 00000000
                                                      Int 0
                                                    Prop: key Spa:Pod:Object:Param:Route:index (1), flags 00000000
                                                      Int 0
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae5226c60> link failed: 6 of 6 PipeWire links failed to activate
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae5224a20> link failed: 6 of 6 PipeWire links failed to activate
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae52b8cb0> link failed: 6 of 6 PipeWire links failed to activate
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae5316140> link failed: 6 of 6 PipeWire links failed to activate
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae5476b40> link failed: 6 of 6 PipeWire links failed to activate
avril 27 01:27:48 FedoraMBP wireplumber[36839]: <WpAsyncEventHook:0xaaaae52bce50> failed: <WpSiStandardLink:0xaaaae5476b40> link failed: 6 of 6 PipeWire links failed to activate

My asahi-diagnose file is here # Asahi Linux System Diagnostic Dump Collected at: sam. 27 avril 2024 0 - Pastebin.com .

Thanks.

sudo coredumpctl dump
           PID: 1755 (wireplumber)
           UID: 1002 (OlO)
           GID: 1002 (OlO)
        Signal: 6 (ABRT)
     Timestamp: Sat 2024-04-27 02:33:32 CEST (1min 33s ago)
  Command Line: /usr/bin/wireplumber
    Executable: /usr/bin/wireplumber
 Control Group: /user.slice/user-1002.slice/user@1002.service/session.slice/wireplumber.service
          Unit: user@1002.service
     User Unit: wireplumber.service
         Slice: user-1002.slice
     Owner UID: 1002 (OlO)
       Boot ID: 614c4f067c1d47609ce64d09afa2cde1
    Machine ID: 3c8cae9c14ba4b52a58000965477ad69
      Hostname: FedoraMBP
       Storage: /var/lib/systemd/coredump/core.wireplumber.1002.614c4f067c1d47609ce64d09afa2cde1.1755.1714178012000000.zst (present)
  Size on Disk: 1.0M
       Package: wireplumber/0.5.2-1.fc40
      build-id: 8d8c08972aa7cefb06150e4be9669a43ac1ac16c
       Message: Process 1755 (wireplumber) of user 1002 dumped core.
                
                Module libspa-v4l2.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libpipewire-module-spa-node-factory.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module liblc3.so.1 from rpm liblc3-1.0.4-4.fc40.aarch64
                Module libspa-codec-bluez5-lc3.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libopus.so.0 from rpm opus-1.5.1-1.fc40.aarch64
                Module libspa-codec-bluez5-opus.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libspa-codec-bluez5-sbc.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libldacBT_abr.so.2 from rpm libldac-2.0.2.3-15.fc40.aarch64
                Module libldacBT_enc.so.2 from rpm libldac-2.0.2.3-15.fc40.aarch64
                Module libspa-codec-bluez5-ldac.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libspa-codec-bluez5-faststream.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libfdk-aac.so.2 from rpm fdk-aac-free-2.0.0-13.fc40.aarch64
                Module libspa-codec-bluez5-aac.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libusb-1.0.so.0 from rpm libusb1-1.0.27-1.fc40.aarch64
                Module libbluetooth.so.3 from rpm bluez-5.75-1.fc40.aarch64
                Module libsbc.so.1 from rpm sbc-2.0-4.fc40.aarch64
                Module libspa-bluez5.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libwireplumber-module-logind.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libpipewire-module-adapter.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libpipewire-module-client-node.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libwireplumber-module-file-monitor-api.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libudev.so.1 from rpm systemd-255.4-1.fc40.aarch64
                Module libasound.so.2 from rpm alsa-lib-1.2.11-2.fc40.aarch64
                Module libspa-alsa.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libwireplumber-module-reserve-device.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libpipewire-module-client-device.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libwireplumber-module-standard-event-source.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-si-node.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-si-audio-adapter.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-si-standard-link.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-default-nodes-api.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-portal-permissionstore.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-dbus-connection.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libgvfscommon.so from rpm gvfs-1.54.0-2.fc40.aarch64
                Module libgvfsdbus.so from rpm gvfs-1.54.0-2.fc40.aarch64
                Module liblua-5.4.so from rpm lua-5.4.6-5.fc40.aarch64
                Module libwireplumber-module-lua-scripting.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-log-settings.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libwireplumber-module-settings.so from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module libpipewire-module-metadata.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libpipewire-module-protocol-native.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libpipewire-module-rt.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libzstd.so.1 from rpm zstd-1.5.6-1.fc40.aarch64
                Module liblzma.so.5 from rpm xz-5.4.6-3.fc40.aarch64
                Module liblz4.so.1 from rpm lz4-1.9.4-6.fc40.aarch64
                Module libcap.so.2 from rpm libcap-2.69-8.fc40.aarch64
                Module libsystemd.so.0 from rpm systemd-255.4-1.fc40.aarch64
                Module libdbus-1.so.3 from rpm dbus-1.14.10-3.fc40.aarch64
                Module libspa-dbus.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libspa-support.so from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libblkid.so.1 from rpm util-linux-2.40-13.fc40.aarch64
                Module libselinux.so.1 from rpm libselinux-3.6-4.fc40.aarch64
                Module libmount.so.1 from rpm util-linux-2.40-13.fc40.aarch64
                Module libz.so.1 from rpm zlib-ng-2.1.6-2.fc40.aarch64
                Module libpcre2-8.so.0 from rpm pcre2-10.42-2.fc40.2.aarch64
                Module libffi.so.8 from rpm libffi-3.4.4-7.fc40.aarch64
                Module libgio-2.0.so.0 from rpm glib2-2.80.0-1.fc40.aarch64
                Module libgmodule-2.0.so.0 from rpm glib2-2.80.0-1.fc40.aarch64
                Module libpipewire-0.3.so.0 from rpm pipewire-1.0.5-2.fc40.aarch64
                Module libglib-2.0.so.0 from rpm glib2-2.80.0-1.fc40.aarch64
                Module libgobject-2.0.so.0 from rpm glib2-2.80.0-1.fc40.aarch64
                Module libwireplumber-0.5.so.0 from rpm wireplumber-0.5.2-1.fc40.aarch64
                Module wireplumber from rpm wireplumber-0.5.2-1.fc40.aarch64
                Stack trace of thread 1755:
                #0  0x0000fffefb6a85a0 __pthread_kill_implementation (libc.so.6 + 0x985a0)
                #1  0x0022fffefb6559c0 n/a (n/a + 0x0)
                #2  0x0022fffefb6559c0 n/a (n/a + 0x0)
                #3  0x004cfffefb640288 n/a (n/a + 0x0)
                #4  0x0006fffefb9d1f18 n/a (n/a + 0x0)
                #5  0x006bfffefb9d1f84 n/a (n/a + 0x0)
                #6  0x006dfffefbb882cc n/a (n/a + 0x0)
                #7  0x0011fffefbae6144 n/a (n/a + 0x0)
                #8  0x004efffefbbb6844 n/a (n/a + 0x0)
                #9  0x0072fffefa151d44 n/a (n/a + 0x0)
                #10 0x0064fffefa0d3820 n/a (n/a + 0x0)
                #11 0x0035fffefa0e88c8 n/a (n/a + 0x0)
                #12 0x0036fffefa0c9e84 n/a (n/a + 0x0)
                #13 0x0077fffefa0cff2c n/a (n/a + 0x0)
                #14 0x004cfffefa0f08cc n/a (n/a + 0x0)
                #15 0x0073fffefa0c9fac n/a (n/a + 0x0)
                #16 0x007bfffefa153790 n/a (n/a + 0x0)
                #17 0x0003fffefa15393c n/a (n/a + 0x0)
                #18 0x0035fffefbae6144 n/a (n/a + 0x0)
                #19 0x0034fffefa14a12c n/a (n/a + 0x0)
                #20 0x0039fffefbae6144 n/a (n/a + 0x0)
                #21 0x007afffefbbb6844 n/a (n/a + 0x0)
                #22 0x0026fffefbae6144 n/a (n/a + 0x0)
                #23 0x004bfffefbbb6844 n/a (n/a + 0x0)
                #24 0x007afffefbba5f14 n/a (n/a + 0x0)
                #25 0x007dfffefbba615c n/a (n/a + 0x0)
                #26 0x0038fffefb8c9364 n/a (n/a + 0x0)
                #27 0x0026fffefbba62e8 n/a (n/a + 0x0)
                #28 0x007dfffefb8920c4 n/a (n/a + 0x0)
                #29 0x004efffefa2aba54 n/a (n/a + 0x0)
                #30 0x0061fffefa2a29c0 n/a (n/a + 0x0)
                #31 0x0008fffefa2a30e4 n/a (n/a + 0x0)
                #32 0x0011fffefb064b9c n/a (n/a + 0x0)
                #33 0x0078fffefbb878f8 n/a (n/a + 0x0)
                #34 0x0062fffefb9a0994 n/a (n/a + 0x0)
                #35 0x0036fffefba05898 n/a (n/a + 0x0)
                #36 0x0075fffefb9a6da0 n/a (n/a + 0x0)
                #37 0x003daaab120d0748 n/a (n/a + 0x0)
                #38 0x003bfffefb640a1c n/a (n/a + 0x0)
                #39 0x0015fffefb640afc n/a (n/a + 0x0)
                #40 0x0005aaab120d0bb0 n/a (n/a + 0x0)
                ELF object binary architecture: AARCH64
Refusing to dump core to tty (use shell redirection or specify --output).

At the time of writing this, it is not recommended to upgrade to Fedora 40 on these machines. Several things require addressing in the upcoming days to ensure smoother functioning.

1 Like

Nothing suspicious to see. Can you try to temporarily move ~/.local/state/wireplumber to different place?

A more deatailed wireplumber log might be helpful. Please run WIREPLUMBER_DEBUG=D wireplumber > wireplumber_debug.log 2>&1 and upload wireplumber_debug.log.

https://pastebin.com/dl/i8nbZy3r

I have the same J416 system and encountered the same problem.

The filter path for J416 in /usr/share/wireplumber/wireplumber.conf.d/99-asahi.conf (line 141) doesn’t exist.

Changing the path to the following value restored audio for me:

/usr/share/asahi-audio/j316/graph-j416.json
1 Like

update with a fix will be available tomorrow: FEDORA-2024-22fbd59489 — enhancement update for asahi-audio — Fedora Updates System

All is ok with the fix deployed today.
Thanks