pipewire marks self ready before initializing cards
If you are filing this issue with a regular release please try master as it might already be fixed.
Version: pipewire-0.3.34-1.fc36.aarch64 Distribution: Fedora Mobile Remix (Rawhide) Desktop Environment: Phosh
Alsa UCM profiles:
Description of Problem:
As of version 3.33 of pipewire, audio is no longer switching based on the alsa UCM2 profiles.
Some output when digging through journalctl
gsd-media-keys[963]: Unable to get default sink
gsd-media-keys[963]: Unable to get default source
...
wireplumber[1586]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner
...
pipewire[775]: '_ucm000F.hw:PinePhone,0': playback open failed: No such device
pipewire[775]: adapter 0x5591e43fd0: can't get format: No such device
pipewire[775]: usage: node.name=<string>
wireplumber[777]: <WpNode:0x556ab31c30> usage: node.name=<string>
wireplumber[777]: <WpNode:0x556ab31c30> ignoring set_param on already destroyed objects
]$ alsaucm -c hw:PinePhone get _alibcfg
_alibcfg=ctl.hw {
@args.0 CARD
@args.CARD.type string
type hw
card $CARD
}
pcm.hw {
@args {
0 CARD
1 DEV
2 SUBDEV
CARD.type string
DEV.type integer
SUBDEV.type integer
}
type hw
card $CARD
device $DEV
subdevice $SUBDEV
}
]$ alsaucm -c hw:PinePhone get _alibpref
_alibpref=_ucm0001.
How Reproducible:
Always
Steps to Reproduce:
- Make/Take a phone call with profile set to HiFi audio default
Actual Results:
Profile is not switched to VoiceCall
Expected Results:
Audio switches alsa UCM profile to VoiceCall
Additional Info Eg. pw-dump -N > file
(As Attachment Please):pw-dump-file
I am not entirely sure how to debug this further, but am willing to try whatever I can to help figure this out. This seems like a potential regression as this was happening before but eventually got resolved in an update, but I can't say for sure. See here: #1298 (closed), #1269 (closed)