No sound after upgrade install of Fedora 35 (rawhide)

It worked. One additional step i did was reinstalling Pulseaudio

It does work in most cases. I don’t think we’ve identified the situation where it’s not doing the right thing, unfortunately.

The wiki page says to enable and start the wireplumber service
https://fedoraproject.org/wiki/Common_F35_bugs#No_sound_after_upgrade
but this didn’t solve it for me, i fixed it by commenting out the
# { path = "/usr/bin/pipewire-media-session" args = "" }
line close to the end of /etc/pipewire/pipewire.conf file and reboot.

I also deleted everything in the ~/.config/pipewire folder, but i think that isn’t neccessary.

Edit:
If this is a common issue, it would be nice if someone could add it to the “No sound after upgrade” section in the F35 Common Bugs page.

2 Likes

Ah - so different hardware/BIOS or something like that may be the issue?
(and sorry if I sounded off in previous post)

Some basic device details, if it helps at all:

$ cat /proc/asound/cards
0 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xdf240000 irq 137

$ lspci -v | grep -i audio
00:1f.3 Audio device: Intel Corporation 100 Series/C230 Series Chipset Family HD Audio Controller (rev 31)

Getting SMBIOS data from sysfs.
SMBIOS 3.0.0 present.
Table at 0x8B1A7000.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
Vendor: American Megatrends Inc.
Version: 3802
Release Date: 03/15/2018

This is just needed if you have made some changes for your selves. A configuration who is different from the default.
The default config files are in /usr/share/pipwire/ this was already communicated in the change-log wiki of F34

Is there a bugzilla about it? I couldn’t find any. It has failed for me on two out of two updgrades. The wireplumber RPM gets installed, but the service is disabled, even though the preset is “enabled”.

no it did not:
https://fedoraproject.org/wiki/Changes/DefaultPipeWire

afaik the default files changed from /etc/pipewire into /usr/share/pipewire during the cycle of fc34. Which lead to the /etc/ files getting deleted when the change happened:
https://discussion.fedoraproject.org/t/pipewire-config-files-just-disappeared/72974
https://bugzilla.redhat.com/show_bug.cgi?id=1963939

its not unlikely that people still have the configuration in /etc/, in which case it has to be updated.

I reversed the swap and it seems to be working…
So initially I did …

sudo dnf swap wireplumber pipewire-media-session

as per the suggestion above. This afternoon I tried…

sudo dnf swap pipewire-media-session wireplumber

and rebooted. I still have audio, so I think its working with wireplumber.

[wombat Desktop] $ ps -ale| grep wire
0 S  1000   10233    9894  0  69 -11 - 86774 -      ?        00:00:00 pipewire
0 S  1000   10236    9894  0  80   0 - 136665 -     ?        00:00:00 wireplumber
0 S  1000   10237    9894  0  69 -11 - 62068 -      ?        00:00:00 pipewire-pulse
[wombat Desktop] $
1 Like

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