After updating, the audio stopped working, I no longer have any audio device available

After upgrading, the same thing happened to me as in the post:

But I booted with another kernel and downgraded pipewire and wireplumber and it’s still the same. Here are my logs:

https://paste.centos.org/view/1a572a35

$ sudo rpm -qa | egrep "pipewire|wireplumber"
pipewire-jack-audio-connection-kit-0.3.69-1.fc37.x86_64
pipewire-libs-0.3.59-2.fc37.x86_64
pipewire-0.3.59-2.fc37.x86_64
pipewire-alsa-0.3.59-2.fc37.x86_64
pipewire-gstreamer-0.3.59-2.fc37.x86_64
pipewire-plugin-libcamera-0.3.59-2.fc37.x86_64
pipewire-pulseaudio-0.3.59-2.fc37.x86_64
pipewire-utils-0.3.59-2.fc37.x86_64
pipewire-v4l2-0.3.59-2.fc37.x86_64
pipewire-devel-0.3.59-2.fc37.x86_64
wireplumber-libs-0.4.11-4.fc37.x86_64
wireplumber-0.4.11-4.fc37.x86_64
$ uname -r
6.2.8-200.fc37.x86_64
$ wpctl status
Could not connect to PipeWire
1 Like

Hm, it doesn’t make sense if it was working before the upgrade, but downgrading doesn’t fix it.

First, make sure you rebooted after downgrading.

This seems to be a different problem with pipewire starting:

$ pipewire
[W][02300.361355] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.NoReply
[W][02300.561791] mod.rt       | [     module-rt.c:  297 translate_error()] RTKit error: org.freedesktop.DBus.Error.NameHasNoOwner
[W][02300.561959] mod.rt       | [     module-rt.c:  843 impl_acquire_rt()] could not make thread 18804 realtime using RTKit: No such file or directory
Segmentation fault (core dumped)

You could search the lines about RTKit and find a lot of info, but I don’t want to go down that route first in case it’s not the real problem.

Do you know what pipewire version you had before the upgrade?

Check transaction history of pipewire package:

$ dnf history list pipewire

Check transaction details:

$ dnf history info <transaction-id>

Look for two lines like this:

    Upgrade       pipewire-0.3.69-1.fc37.x86_64                                @updates
    Upgraded      pipewire-0.3.68-2.fc37.x86_64                                @@System

which means the version before the problematic upgrade was 0.3.68-2. Let me know your previous version. I will write the command to downgrade to the specific version from koji.

Thanks! In fact I have several transactions where I updated:

$ sudo dnf history list pipewire
ID     | Command line                                                                                                                            | Date and time    | Action(s)      | Altered
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
   562 | downgrade pipewire                                                                                                                      | 2023-04-18 18:40 | Downgrade      |    9  <
   559 | update                                                                                                                                  | 2023-04-18 13:40 | Upgrade        |    9 ><
   555 | downgrade pipewire --allowerasing                                                                                                       | 2023-04-18 11:12 | D, E           |   10 ><
   546 | update                                                                                                                                  | 2023-04-16 14:54 | C, E, I, U     |   19 ><
   544 | update                                                                                                                                  | 2023-04-13 08:25 | Upgrade        |   12 ><
   538 | update                                                                                                                                  | 2023-04-09 16:38 | Upgrade        |    6 ><
...

But I think the important ones are these:

$ sudo dnf history info 538
Transaction ID : 538
Begin time     : Sun 09 Apr 2023 04:38:38 PM CST
Begin rpmdb    : 92afb15890cc4d0053ac5cf6f32c9da8fa143f3fccd3d864623f681056dcb24e
End time       : Sun 09 Apr 2023 04:38:39 PM CST (1 seconds)
End rpmdb      : 91dd47e534496b08cd49411193997e65fe9e08a4e5b8d6a484ba7be7fc1bbc8d
User           : Alex Callejas <acalleja>
Return-Code    : Success
Releasever     : 37
Command Line   : update
Comment        : 
Packages Altered:
    Upgrade  pipewire-0.3.68-1.fc37.x86_64                           @updates
    Upgraded pipewire-0.3.67-1.fc37.x86_64                           @@System
    Upgrade  pipewire-alsa-0.3.68-1.fc37.x86_64                      @updates
    Upgraded pipewire-alsa-0.3.67-1.fc37.x86_64                      @@System
    Upgrade  pipewire-gstreamer-0.3.68-1.fc37.x86_64                 @updates
    Upgraded pipewire-gstreamer-0.3.67-1.fc37.x86_64                 @@System
    Upgrade  pipewire-jack-audio-connection-kit-0.3.68-1.fc37.x86_64 @updates
    Upgraded pipewire-jack-audio-connection-kit-0.3.67-1.fc37.x86_64 @@System
    Upgrade  pipewire-libs-0.3.68-1.fc37.x86_64                      @updates
    Upgraded pipewire-libs-0.3.67-1.fc37.x86_64                      @@System
    Upgrade  pipewire-pulseaudio-0.3.68-1.fc37.x86_64                @updates
    Upgraded pipewire-pulseaudio-0.3.67-1.fc37.x86_64                @@System
$ sudo dnf history info 544
Transaction ID : 544
Begin time     : Thu 13 Apr 2023 08:25:22 AM CST
Begin rpmdb    : 2cb5f05033bd389bef3cc90e7e0df9d6719d8d57fc68b4f444aee2339471c6dc
End time       : Thu 13 Apr 2023 08:25:25 AM CST (3 seconds)
End rpmdb      : 9e2b47988bb22eec36179d5b859b8eab42e63dc9bcba67d66165b61136ba0a2b
User           : Alex Callejas <acalleja>
Return-Code    : Success
Releasever     : 37
Command Line   : update
Comment        : 
Packages Altered:
...
    Upgrade  pipewire-0.3.68-2.fc37.x86_64                           @updates
    Upgraded pipewire-0.3.68-1.fc37.x86_64                           @@System
    Upgrade  pipewire-alsa-0.3.68-2.fc37.x86_64                      @updates
    Upgraded pipewire-alsa-0.3.68-1.fc37.x86_64                      @@System
    Upgrade  pipewire-gstreamer-0.3.68-2.fc37.x86_64                 @updates
    Upgraded pipewire-gstreamer-0.3.68-1.fc37.x86_64                 @@System
    Upgrade  pipewire-jack-audio-connection-kit-0.3.68-2.fc37.x86_64 @updates
    Upgraded pipewire-jack-audio-connection-kit-0.3.68-1.fc37.x86_64 @@System
    Upgrade  pipewire-libs-0.3.68-2.fc37.x86_64                      @updates
    Upgraded pipewire-libs-0.3.68-1.fc37.x86_64                      @@System
    Upgrade  pipewire-pulseaudio-0.3.68-2.fc37.x86_64                @updates
    Upgraded pipewire-pulseaudio-0.3.68-1.fc37.x86_64                @@System
...

The others are from when I found the problem and tried to fix it. The last transaction was where I did a downgrade and boot with a previous kernel. This last one is the one I currently have working, I haven’t modified anything since then.

So you were on 0.3.68-2 after transaction 544 on 13 Apr. Then transaction 546 on 16 Apr must be the upgrade from 0.3.68-2 to 0.3.69-1 (same as the other reports of this problem).

You can try upgrading back to 0.3.68-2 from koji. Copy the whole line:

sudo dnf upgrade $(dnf -qC rq --installed 'pipewire*0.3.59-2*' | sed -E -e 's/0:0.3.59-2/0.3.68-2/' -e 's#(.+)(x86_64|i686)#https://kojipkgs.fedoraproject.org/packages/pipewire/0.3.68/2.fc37/\2/\1\2.rpm#')

Reboot after upgrading.

If it works, I’d upgrade wireplumber back to latest as well:

$ sudo dnf upgrade wireplumber

If it doesn’t then we’ll see…

1 Like

Yep, it’s working now!

I will now update wireplumber. Thank you very much for the support.

1 Like

After updating wireplumber, everything works as before:

$ sudo rpm -qa | egrep "pipewire|wireplumber"
pipewire-jack-audio-connection-kit-0.3.69-1.fc37.x86_64
pipewire-libs-0.3.68-2.fc37.x86_64
pipewire-0.3.68-2.fc37.x86_64
pipewire-alsa-0.3.68-2.fc37.x86_64
pipewire-gstreamer-0.3.68-2.fc37.x86_64
pipewire-plugin-libcamera-0.3.68-2.fc37.x86_64
pipewire-pulseaudio-0.3.68-2.fc37.x86_64
pipewire-utils-0.3.68-2.fc37.x86_64
pipewire-v4l2-0.3.68-2.fc37.x86_64
pipewire-devel-0.3.68-2.fc37.x86_64
wireplumber-libs-0.4.14-1.fc37.x86_64
wireplumber-0.4.14-1.fc37.x86_64

Thanks a lot!

2 Likes

@darkaxl017 Does it work also with the latest pipewire 0.3.70 update?

1 Like

@kparal Yep, It was upgraded and continued to work very well:

$ sudo rpm -qa | egrep "pipewire|wireplumber"
wireplumber-libs-0.4.14-1.fc37.x86_64
wireplumber-0.4.14-1.fc37.x86_64
pipewire-jack-audio-connection-kit-0.3.70-1.fc37.x86_64
pipewire-libs-0.3.70-1.fc37.x86_64
pipewire-0.3.70-1.fc37.x86_64
pipewire-alsa-0.3.70-1.fc37.x86_64
pipewire-gstreamer-0.3.70-1.fc37.x86_64
pipewire-plugin-libcamera-0.3.70-1.fc37.x86_64
pipewire-pulseaudio-0.3.70-1.fc37.x86_64
pipewire-utils-0.3.70-1.fc37.x86_64
pipewire-v4l2-0.3.70-1.fc37.x86_64
pipewire-devel-0.3.70-1.fc37.x86_64