Bug 1983861 - pipewire-0.3.31-4.fc35.x86_64 no audio devices found (due to no session manager user service being automatically enabled on install or update)
Summary: pipewire-0.3.31-4.fc35.x86_64 no audio devices found (due to no session manag...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 35
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
: 1993656 1997992 (view as bug list)
Depends On: 1993244
Blocks: F35BetaBlocker F35FinalBlocker
TreeView+ depends on / blocked
 
Reported: 2021-07-20 03:44 UTC by alyasoff
Modified: 2021-10-12 22:39 UTC (History)
17 users (show)

Fixed In Version: pipewire-0.3.34-2.fc35
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
If this bug requires documentation, please select an appropriate Doc Type value.
Last Closed: 2021-08-30 21:41:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description alyasoff 2021-07-20 03:44:04 UTC
Description of problem: After the latest upgrade of rawhide (dnf upgrade --refresh), which installs pipewire-0.3.31-4.fc35.x86_64.x86_64, no audio devices can be found. The problem was nonexistent immediately before the upgrade. 


Version-Release number of selected component (if applicable): 0.3.31-4

Comment 1 alyasoff 2021-07-20 03:54:16 UTC
This appears to be the same problem that was reported some two pipewire versions ago.

Comment 2 alyasoff 2021-07-20 14:08:28 UTC
The issue persists after the latest update (around 9:00 AM EDT) which installs pipewire-0.3.32-1.fc35.x86_64: Settings -> Sound does not show any output devices.

Comment 3 Wim Taymans 2021-07-20 14:11:45 UTC
I think this is entirely normal in f35. The session manager is not started by pipewire anymore but by systemd.

You probably need to manually enable and start pipewire-media-session with:

systemctl --user enable pipewire-media-session
systemctl --user start pipewire-media-session

I believe there is an update to the default policy on f35 scheduled. maybe it does not apply automatically for already installed
components, I don't know.

Comment 4 Sampson Fung 2021-07-23 02:01:42 UTC
(In reply to Wim Taymans from comment #3)
> I think this is entirely normal in f35. The session manager is not started
> by pipewire anymore but by systemd.
> 
> You probably need to manually enable and start pipewire-media-session with:
> 
> systemctl --user enable pipewire-media-session
> systemctl --user start pipewire-media-session
> 
> I believe there is an update to the default policy on f35 scheduled. maybe
> it does not apply automatically for already installed
> components, I don't know.

Works for me.

Comment 5 Adam Williamson 2021-07-23 22:42:17 UTC
This needs to be taken care of automatically on update. It's not acceptable to expect users to do this manually. It should have been planned for before the update was sent out. I thought we'd agreed that this kind of thing wasn't going to happen any more?

Comment 6 Adam Williamson 2021-07-23 22:46:13 UTC
Proposing as a Beta blocker, per criterion "For each one of the release-blocking package sets, it must be possible to successfully complete a direct upgrade from a fully updated, clean default installation of each of the last two stable Fedora releases with that package set installed...The upgraded system must meet all release criteria", combined with "The installed system must be able to play back sound with gstreamer-based applications" - https://fedoraproject.org/wiki/Fedora_35_Beta_Release_Criteria#Upgrade_requirements and https://fedoraproject.org/wiki/Fedora_35_Beta_Release_Criteria#Working_sound .

Comment 7 Ben Cotton 2021-08-10 13:39:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 35 development cycle.
Changing version to 35.

Comment 8 Ben Cotton 2021-08-12 15:48:07 UTC
Seems like this will be relatively straightforward with the just-approved "Restart User Services after Upgrade" Change (BZ 1993244):
https://fedoraproject.org/wiki/Changes/Restart_User_Service_after_Upgrade

Comment 9 Chris Murphy 2021-08-15 22:08:06 UTC
*** Bug 1993656 has been marked as a duplicate of this bug. ***

Comment 10 Chris Murphy 2021-08-15 22:10:37 UTC
In likely dup bug 1993656, I did a clean install with Fedora-Workstation-Live-x86_64-35-20210814.n.0.iso and sound isn't working until I run the commands in comment 3.

Comment 11 Adam Williamson 2021-08-17 16:57:02 UTC
+3 in https://pagure.io/fedora-qa/blocker-review/issue/388 , marking accepted.

Comment 12 Geraldo Simião 2021-08-21 03:50:35 UTC
How does this is affected by https://fedoraproject.org/wiki/Changes/WirePlumber

Comment 13 Lukas Ruzicka 2021-08-24 16:45:40 UTC
I do not understand why WirePlumber is not used by default as it was announced in the Changes already.

On one of my machines I decided to see if it can be used and I did this:

1. systemctl --user --now disable pipewire-media-session
2. dnf install --allowerasing wireplumber (wireplumber is NOT installed by default)
3. systemctl --user --now enable wireplumber.

Sound works, devices are present.

Comment 14 Adam Williamson 2021-08-24 17:11:13 UTC
I followed up on that topic in https://bugzilla.redhat.com/show_bug.cgi?id=1989959 .

Comment 15 Fedora Update System 2021-08-30 17:17:33 UTC
FEDORA-2021-b87a167119 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b87a167119

Comment 16 Fedora Update System 2021-08-30 17:17:36 UTC
FEDORA-2021-b87a167119 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-b87a167119

Comment 17 Fedora Update System 2021-08-30 19:00:49 UTC
FEDORA-2021-b87a167119 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-b87a167119`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b87a167119

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

Comment 18 Adam Williamson 2021-08-30 19:33:37 UTC
*** Bug 1997992 has been marked as a duplicate of this bug. ***

Comment 19 Fedora Update System 2021-08-30 21:41:48 UTC
FEDORA-2021-b87a167119 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 20 Chris Murphy 2021-09-01 04:17:08 UTC
I ran into this when doing dnf systemd-upgrade from 34 to 35 (Workstation edition); every reboot pipewire-media-session wasn't running for the user. pipewire-0.3.34-2.fc35 seems to have fixed it (1 for 1 boots so far).

Comment 21 Geraldo Simião 2021-09-06 13:51:59 UTC
I ran one dnf system upggrade using a F34 KDE VM, to a F35 KDE last week. Today I udated all packages, and even with the pipewire-0.3.34-2.fc35 the bug still persists. It solved only after the commands (systemctl --user enable pipewire-media-session and systemctl --user start pipewire-media-session). I'll do again this test today, using a new F34 kde respin iso and doing the upgrade to F35 kde, to see if it is solved then.

Comment 22 Geraldo Simião 2021-09-06 16:07:55 UTC
Seems that on the F35 images since 31/08/2021 wireplumber is correctly installed and running

Comment 23 Geraldo Simião 2021-09-07 23:24:22 UTC
Tested today (07/09/2021) an upgrade F34kde/F35kde. It installed wireplumber correctly and audio was working fine right from the start. Have heard from user Bittin that's the same process on a f34 workstation have gone well. So, it seems it's all just good to go now.

Comment 24 Adam Williamson 2021-09-08 00:15:01 UTC
Yup, I tested a Workstation upgrade and it looks right too. wireplumber gets installed on upgrade, and sound works.

Comment 25 Mat Booth 2021-09-09 14:06:20 UTC
(In reply to Adam Williamson from comment #24)
> Yup, I tested a Workstation upgrade and it looks right too. wireplumber gets
> installed on upgrade, and sound works.


I am using a pre-beta Fedora 35, but I cannot install wireplumber -- is there a missing Obsoletes?


$ sudo dnf install wireplumber
Last metadata expiration check: 0:29:39 ago on Thu 09 Sep 2021 14:33:28 BST.
Error: 
 Problem: problem with installed package pipewire-media-session-0.3.34-2.fc35.x86_64
  - package pipewire-media-session-0.3.34-2.fc35.x86_64 conflicts with pipewire-session-manager provided by wireplumber-0.4.1-2.fc35.i686
  - package wireplumber-0.4.1-2.fc35.i686 conflicts with pipewire-session-manager provided by pipewire-media-session-0.3.34-2.fc35.x86_64
  - conflicting requests
  - package pipewire-media-session-0.3.34-2.fc35.x86_64 conflicts with pipewire-session-manager provided by wireplumber-0.4.1-2.fc35.x86_64
  - package wireplumber-0.4.1-2.fc35.x86_64 conflicts with pipewire-session-manager provided by pipewire-media-session-0.3.34-2.fc35.x86_64

Comment 26 Adam Williamson 2021-09-09 20:18:20 UTC
those two are meant to be alternatives to each other at present. you may need to use the dnf 'shell' to remove pipewire-media-session and install wireplumber at the same time. https://dnf.readthedocs.io/en/latest/command_ref.html#shell-command-label

Comment 27 Bas Mevissen 2021-10-12 22:26:18 UTC
Better use "dnf swap wireplumber pipewire-media-session" as advised on https://fedoraproject.org/wiki/Changes/WirePlumber#How_To_Test

Comment 28 Adam Williamson 2021-10-12 22:39:42 UTC
either way works, I just forgot 'swap' got written :D before it did, shell was the only way to do that.


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