RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2065167 - pulseaudio not started automatically after login
Summary: pulseaudio not started automatically after login
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pulseaudio
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Wim Taymans
QA Contact: Tomas Pelka
Marek Suchánek
URL:
Whiteboard:
: 2065175 (view as bug list)
Depends On:
Blocks: 2065175
TreeView+ depends on / blocked
 
Reported: 2022-03-17 12:46 UTC by Tomas Pelka
Modified: 2023-12-22 04:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-23 12:54:25 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-115877 0 None None None 2022-03-17 12:47:46 UTC
Red Hat Knowledge Base (Article) 6958410 0 None None None 2022-07-28 14:36:17 UTC

Description Tomas Pelka 2022-03-17 12:46:05 UTC
Description of problem:
Seems that after swapping pulseaudio for pipewire the pulseaudio deamon is not started by deafut after session is started

Version-Release number of selected component (if applicable):
pulseaudio-libs-15.0-2.el9.x86_64
pulseaudio-libs-glib2-15.0-2.el9.x86_64
pulseaudio-15.0-2.el9.x86_64
pulseaudio-module-bluetooth-15.0-2.el9.x86_64
pulseaudio-utils-15.0-2.el9.x86_64
pulseaudio-module-zeroconf-15.0-2.el9.x86_64
pulseaudio-module-x11-15.0-2.el9.x86_64
pulseaudio-module-gsettings-15.0-2.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. dnf swap --allowerasing pipewire-pulseaudio pulseaudio
2. reboot
3. check sound

Actual results:
User need to pulseaudio --start manually in order to get sound.

Expected results:


Additional info:

Comment 1 Tomas Pelka 2022-03-23 12:43:21 UTC
*** Bug 2065175 has been marked as a duplicate of this bug. ***

Comment 2 Tomas Pelka 2022-03-23 12:50:48 UTC
Different approach:
1. dnf swap --allowerasing pipewire-pulseaudio pulseaudio
2. reboot
3. login
4. systemctl --user stop pipewire.socket
5. systemctl --user stop pipewire.service
6. systemctl --user stop wireplumber
7. systemctl --user start pulseaudio.socket 
8. systemctl --user start pulseaudio.service

This makes all the controls in gnome-control-center work, I can see the progress bars, I can hear the test sound. But it seems no other apps cant access sound devices, e.g. playing video in firefox ended with error regarding sound system. I can't also see no apps that would be using pulseaudio via pavucotrol for example.

Comment 4 Wim Taymans 2022-05-05 13:42:47 UTC
You should not stop pipewire and wireplumber, this will break screensharing and possibly other things.

You however need to disable the audio parts of wireplumber or they will keep the audio device (DBus) locked. I'll find out how to best do that..

Comment 5 Wim Taymans 2022-05-05 13:49:22 UTC
Also:

sudo dnf remove pipewire-alsa pipewire-jack-audio-connection-kit

To remove alsa and jack compatibility layers

And

sudo dnf install alsa-plugins-pulseaudio

To reinstall the alsa pulseaudio plugins.

Comment 6 Tomas Pelka 2022-05-13 16:37:16 UTC
OK I did:

dnf swap --allowerasing pipewire-pulseaudio pulseaudio
dnf remove pipewire-alsa pipewire-jack-audio-connection-kit
dnf install alsa-plugins-pulseaudio
reboot

after the reboot pulseaudio service/socket were not running, but 
systemctl --user start pulseaudio.socket 
systemctl --user start pulseaudio.service
brought soud back and it seems pulseaudio is now hadnling the sound.

Comment 7 Tomas Pelka 2022-05-13 16:46:55 UTC
So I guess this can now be documented and if there is a way how to make the swap process more easy lets do it in z-stream.

Comment 8 Niels De Graef 2022-05-13 18:51:44 UTC
Leaving a NEEDINFO on Marek just to be sure he sees it

Comment 21 Niels De Graef 2022-07-14 08:56:49 UTC
The package should be in the latest RHEL 9 Appstream now. Would someone be willing to verify that this works now without having to install any packages or enabling any repositories? If so, we can consider making a zstream for this

Comment 34 Red Hat Bugzilla 2023-12-22 04:25:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


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