Bug 1948058

Summary: PipePewire not remembering default sink after suspend to RAM or screen lock.
Product: [Fedora] Fedora Reporter: Romulo Pulcinelli Benedetti <romuluspb>
Component: pipewireAssignee: Wim Taymans <wtaymans>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 34CC: brunovern.a, ines, information, jwatt, vquintans, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: pipewire-0.3.32-1.fc34 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-07-22 01:14:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Romulo Pulcinelli Benedetti 2021-04-09 21:29:37 UTC
Description of problem:

In my system Audio is set to a GTX 1080 HDM2 port, but after suspending to RAM or returning from a screen lock, HDMI0 gets in use. Not happening on a reboot

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

0.3.24


How reproducible:

Not sure.

Steps to Reproduce:

I believe that by selecting any port that is not the first one in the card, but not sure.

Actual results:

Default sink is not remembered even if plugged.

Expected results:

Default sink should stay the same if plugged.

Additional info:

Comment 1 Romulo Pulcinelli Benedetti 2021-05-02 22:35:17 UTC
Can someone help with this issue?

Comment 2 ines 2021-05-15 11:11:50 UTC
Same problem with Dell Latitude 5590 with screen lock (not tested with suspend) 

my sound card : 00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)


$ journalctl -xe | grep pipewire
May 15 13:09:51 P-LIL-MARGE-INWAL.idf.intranet pipewire[11742]: 66 events suppressed
May 15 13:09:51 P-LIL-MARGE-INWAL.idf.intranet pipewire[11742]: (GNOME Settings-587) client too slow! rate:256/48000 pos:234795776 status:awake
May 15 13:09:51 P-LIL-MARGE-INWAL.idf.intranet pipewire[11742]: (spotify-74) client too slow! rate:256/48000 pos:234795776 status:triggered
May 15 13:09:52 P-LIL-MARGE-INWAL.idf.intranet pipewire-pulse[11743]: stream 0x5654780859e0: can't make node: Trop de fichiers ouverts
May 15 13:09:52 P-LIL-MARGE-INWAL.idf.intranet pipewire-pulse[11743]: stream 0x565471681050: can't make node: Trop de fichiers ouverts
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-media-session[11769]: can't rename temp file 'default-routes.tmp': Aucun fichier ou dossier de ce type
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-media-session[11769]: can't save default-routes state: Aucun fichier ou dossier de ce type
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-media-session[11769]: can't rename temp file 'restore-stream.tmp': Aucun fichier ou dossier de ce type
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-media-session[11769]: can't save restore-stream state: Aucun fichier ou dossier de ce type
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire[11742]: alsa-pcm front:0: snd_pcm_status error: Relais brisé (pipe)
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-pulse[11743]: (GNOME Settings-414) client missed 1 wakeups
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-pulse[11743]: (GNOME Settings-288) client missed 1 wakeups
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-pulse[11743]: (GNOME Settings-290) client missed 1 wakeups
May 15 13:09:53 P-LIL-MARGE-INWAL.idf.intranet pipewire-pulse[11743]: (spotify-10) client missed 1 wakeups


Best Regards,

Comment 3 Fedora Update System 2021-07-20 14:38:24 UTC
FEDORA-2021-f3a65aee6b has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-f3a65aee6b

Comment 4 Fedora Update System 2021-07-21 01:54:36 UTC
FEDORA-2021-f3a65aee6b has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-f3a65aee6b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-f3a65aee6b

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

Comment 5 Fedora Update System 2021-07-22 01:14:06 UTC
FEDORA-2021-f3a65aee6b has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.