No sound after upgrade install of Fedora 35 (rawhide)

Digging a bit more in this, I note that the postinstall script in wireplumber checks if the script /usr/lib/systemd/systemd-update-helper exists before running it. Now, that file isn’t part of the F34 version of systemd, only in F35. Checking the installation order on one of the systems I’ve upgraded so far, I note that wireplumber is installed before systemd is upgraded. That would explain why it wasn’t enabled, wouldn’t it?

kalle$ journalctl --since yesterday | egrep ': (wireplumber|systemd-2|fedora-release-common)'
nov 02 16:52:31 kalle dnf[2006]:   Uppgraderar  : fedora-release-common-35-33.noarch                    171/5645
nov 02 16:54:14 kalle dnf[2006]:   Installerar  : wireplumber-libs-0.4.4-2.fc35.x86_64                  802/5645
nov 02 16:54:14 kalle dnf[2006]:   Installerar  : wireplumber-0.4.4-2.fc35.x86_64                       804/5645
nov 02 16:54:14 kalle dnf[2006]:   Kör skript   : wireplumber-0.4.4-2.fc35.x86_64                       804/5645
nov 02 16:54:17 kalle dnf[2006]:   Uppgraderar  : systemd-249.4-2.fc35.x86_64                           823/5645
nov 02 16:54:18 kalle dnf[2006]:   Kör skript   : systemd-249.4-2.fc35.x86_64                           823/5645
nov 02 17:04:45 kalle dnf[2006]:   Rensar upp   : fedora-release-common-34-37.noarch                   3846/5645
nov 02 17:07:27 kalle dnf[2006]:   Rensar upp   : systemd-248.9-1.fc34.x86_64                          5485/5645
nov 02 17:07:27 kalle dnf[2006]:   Kör skript   : systemd-248.9-1.fc34.x86_64                          5485/5645
nov 02 17:08:46 kalle dnf[2006]:   Verifierar   : wireplumber-0.4.4-2.fc35.x86_64                        61/5645
nov 02 17:08:46 kalle dnf[2006]:   Verifierar   : wireplumber-libs-0.4.4-2.fc35.x86_64                   62/5645
nov 02 17:09:16 kalle dnf[2006]:   Verifierar   : fedora-release-common-35-33.noarch                    794/5645
nov 02 17:09:16 kalle dnf[2006]:   Verifierar   : fedora-release-common-34-37.noarch                    795/5645
nov 02 17:11:57 kalle dnf[2006]:   Verifierar   : systemd-249.4-2.fc35.x86_64                          4295/5645
nov 02 17:11:57 kalle dnf[2006]:   Verifierar   : systemd-248.9-1.fc34.x86_64                          4296/5645

(Fedora-release-common also needs to be installed before wireplumber since that is the package containing the preset configuration. But that seems to come in the “right” order.)

2 Likes

In the end it is as simple as: Common F35 bugs - Fedora Project Wiki

systemctl --user enable --now wireplumber

1 Like

Hm, that command will only fix it for the user running it. Wouldn’t it make more sense to run the command the postinstall of ẁireplumber`should have run?

/usr/lib/systemd/systemd-update-helper install-user-units wireplumber.service

Alternatively, the command that the script will implement.

systemctl --no-reload preset --global wireplumber

Your link gave me the link to the bugzilla I (strangely) managed to miss in my search. Thanks!

1 Like

This has also worked for me across a reboot.

1 Like

Thanks It Help

1 Like

Fresh Install of F35 Cinnamon -
Neither of the solutions presented here works;

[random@ ~]$ lspci | grep -i audio
00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b)
00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
[random@ ~]$ ps -aux | grep wire
root         597  0.0  0.0      0     0 ?        I<   02:59   0:00 [asus_wireless_w]
random         2701  0.0  0.0 268756 11408 ?        S<sl 03:05   0:00 /usr/bin/pipewire
random         2703  0.0  0.1 545992 18364 ?        Ssl  03:05   0:00 /usr/bin/wireplumber
random         3250  0.0  0.0 221792  2128 pts/0    S+   03:10   0:00 grep --color=auto wire
[random@ ~]$

If I do

[random@ ~]$ sudo dnf swap wireplumber pipewire-media-session
Last metadata expiration check: 0:58:15 ago on Wed 10 Nov 2021 02:13:05 AM EET.
Dependencies resolved.
=========================================================================================================================================================================
 Package                                           Architecture                      Version                                   Repository                           Size
=========================================================================================================================================================================
Installing:
 pipewire-media-session                            x86_64                            0.3.39-1.fc35                             updates                             157 k
Removing:
 wireplumber                                       x86_64                            0.4.4-3.fc35                              @updates                            229 k
Removing unused dependencies:
 wireplumber-libs                                  x86_64                            0.4.4-3.fc35                              @updates                            1.1 M

Transaction Summary
=========================================================================================================================================================================
Install  1 Package
Remove   2 Packages

Total download size: 157 k
Is this ok [y/N]: y
Downloading Packages:
pipewire-media-session-0.3.39-1.fc35.x86_64.rpm                                                                                          4.0 MB/s | 157 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                     89 kB/s | 157 kB     00:01     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                 1/1 
  Installing       : pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                     1/3 
  Running scriptlet: pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                     1/3 
Failed to preset unit, file /etc/systemd/user/pipewire-session-manager.service already exists and is a symlink to /usr/lib/systemd/user/wireplumber.service.

  Running scriptlet: wireplumber-0.4.4-3.fc35.x86_64                                                                                                                 2/3 
Removed /etc/systemd/user/pipewire.service.wants/wireplumber.service.
Removed /etc/systemd/user/pipewire-session-manager.service.
Failed to connect to bus: Invalid argument

  Erasing          : wireplumber-0.4.4-3.fc35.x86_64                                                                                                                 2/3 
  Erasing          : wireplumber-libs-0.4.4-3.fc35.x86_64                                                                                                            3/3 
  Running scriptlet: wireplumber-libs-0.4.4-3.fc35.x86_64                                                                                                            3/3 
Failed to connect to bus: Invalid argument
Failed to connect to bus: Invalid argument

Failed to connect to bus: Invalid argument

Failed to connect to bus: Invalid argument

  Verifying        : pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                     1/3 
  Verifying        : wireplumber-0.4.4-3.fc35.x86_64                                                                                                                 2/3 
  Verifying        : wireplumber-libs-0.4.4-3.fc35.x86_64                                                                                                            3/3 

Installed:
  pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                                            
Removed:
  wireplumber-0.4.4-3.fc35.x86_64                                                  wireplumber-libs-0.4.4-3.fc35.x86_64                                                 

Complete!

or reverse back to wireplumber

[random@ ~]$ sudo dnf swap pipewire-media-session wireplumber
Last metadata expiration check: 0:59:20 ago on Wed 10 Nov 2021 02:13:05 AM EET.
Dependencies resolved.
=========================================================================================================================================================================
 Package                                           Architecture                      Version                                   Repository                           Size
=========================================================================================================================================================================
Installing:
 wireplumber                                       x86_64                            0.4.4-3.fc35                              updates                              68 k
Installing dependencies:
 wireplumber-libs                                  x86_64                            0.4.4-3.fc35                              updates                             300 k
Removing:
 pipewire-media-session                            x86_64                            0.3.39-1.fc35                             @updates                            452 k

Transaction Summary
=========================================================================================================================================================================
Install  2 Packages
Remove   1 Package

Total download size: 368 k
Is this ok [y/N]: y
Downloading Packages:
(1/2): wireplumber-0.4.4-3.fc35.x86_64.rpm                                                                                               850 kB/s |  68 kB     00:00    
(2/2): wireplumber-libs-0.4.4-3.fc35.x86_64.rpm                                                                                          2.8 MB/s | 300 kB     00:00    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    569 kB/s | 368 kB     00:00     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                 1/1 
  Installing       : wireplumber-libs-0.4.4-3.fc35.x86_64                                                                                                            1/3 
  Installing       : wireplumber-0.4.4-3.fc35.x86_64                                                                                                                 2/3 
  Running scriptlet: wireplumber-0.4.4-3.fc35.x86_64                                                                                                                 2/3 
Created symlink /etc/systemd/user/pipewire-session-manager.service → /usr/lib/systemd/user/wireplumber.service.
Created symlink /etc/systemd/user/pipewire.service.wants/wireplumber.service → /usr/lib/systemd/user/wireplumber.service.

  Erasing          : pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                     3/3 
  Running scriptlet: pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                     3/3 
Failed to connect to bus: Invalid argument
Failed to connect to bus: Invalid argument

Failed to connect to bus: Invalid argument

Failed to connect to bus: Invalid argument

  Verifying        : wireplumber-0.4.4-3.fc35.x86_64                                                                                                                 1/3 
  Verifying        : wireplumber-libs-0.4.4-3.fc35.x86_64                                                                                                            2/3 
  Verifying        : pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                     3/3 

Installed:
  wireplumber-0.4.4-3.fc35.x86_64                                                  wireplumber-libs-0.4.4-3.fc35.x86_64                                                 
Removed:
  pipewire-media-session-0.3.39-1.fc35.x86_64                                                                                                                            

Complete!

Both of them show me
Failed to connect to bus: Invalid argument

What can I do?

Thank you!

My mistake.
After I reconnected the audio socket to the motherboard, a fresh install works like a charm.

:slight_smile:

2 Likes

I’ve found that if you do a dnf update when logged in you kill the sound but if you open the terminal before the login by pressing ctrl alt f2 and do the $ sudo dnf update then the sound doesn’t go, Hope this helps.

1 Like

This is interesting and I hope it helps others.

this works for me!

1 Like
[root@BEEDELLROKEJULIANLOCKHART /]# systemctl --user status pipewire-media-session
Unit pipewire-media-session.service could not be found.
[root@BEEDELLROKEJULIANLOCKHART /]# systemctl --user enable pipewire-media-session && systemctl --user start pipewire-media-session
Failed to enable unit: Unit file pipewire-media-session.service does not exist.

systemctl --user status wireplumber

Wireplumber replaced pipewire-media-session
Please keep track of changes while reading the change-log!

1 Like

Also note that this thread was started while fedora 35 was still in rawhide. The topic is not at all current.