Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 857588

Summary: >=media-video/wireplumber-0.4.10-r6 does not populate PW with audio
Product: Gentoo Linux Reporter: Cedric Sodhi <manday>
Component: Current packagesAssignee: Sam James <sam>
Status: RESOLVED INVALID    
Severity: normal CC: bitlord0xff, manday
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: 0.4.10-r4
0.4.10-r6

Description Cedric Sodhi 2022-07-11 11:03:01 UTC
The attachments are of WIREPLUMBER_DEBUG=3 wireplumber of the respective versions. Starting with 0.4.10-r6 (also present in 0.4.11), wireplumber does no longer create audio nodes in PW and consequently there is no audio.
Comment 1 Cedric Sodhi 2022-07-11 11:04:02 UTC
Created attachment 790997 [details]
0.4.10-r4
Comment 2 Cedric Sodhi 2022-07-11 11:04:25 UTC
Created attachment 791000 [details]
0.4.10-r6
Comment 3 Cedric Sodhi 2022-07-11 11:06:24 UTC
As for configuration, this happens without /etc/wireplumber (though the logs are from an invocation where /etc/wireplumber is populated with 2 lines to disable logind and libcamera)
Comment 4 Branko Grubic 2022-07-11 15:44:44 UTC
Potentially related to BUG #856745
Comment 5 Igor V. Kovalenko 2022-07-11 17:51:14 UTC
Please check if you have local USE sound-server set for pipewire package:
https://github.com/gentoo/gentoo/blob/master/media-video/pipewire/pipewire-0.3.53-r1.ebuild#L302-L305
Comment 6 Cedric Sodhi 2022-07-11 18:19:35 UTC
> [ebuild   R   ~] media-video/pipewire-0.3.54:0/0.4::gentoo  USE="bluetooth dbus pipewire-alsa sound-server ssl udev v4l -X -doc -echo-cancel -extra -gstreamer -jack-client -jack-sdk -lv2 (-system-service) -systemd -test -zeroconf" 0 KiB
> [ebuild   R    ] media-video/wireplumber-0.4.10-r4:0/0.4::gentoo  USE="-elogind (-system-service) -systemd -test" LUA_SINGLE_TARGET="lua5-4 -lua5-3" 0 KiB
Comment 7 Igor V. Kovalenko 2022-07-11 18:30:04 UTC
Thanks, in this case you should have /etc/wireplumber/main.lua.d/89-gentoo-sound-server-enable-alsa-monitor.lua which would enable alsa nodes; if so this looks like a problem with either pipewire or wireplumber themselves, and not with the change introducing local USE sound-server to pipewire.
Comment 8 Cedric Sodhi 2022-07-11 18:33:51 UTC
No, I don't have that file because of INSTALL_MASK=/etc/wireplumber, because otherwise on each update I had to zap through 50-ish files. Might it be possible to place this with the default configuration in /usr with pipewire[sound-server]?
Comment 9 Cedric Sodhi 2022-07-11 18:52:06 UTC
Can confirm that it works with the 89-gentoo-sound-server-enable-alsa-monitor.lua . Thank you.
Comment 10 Cedric Sodhi 2022-07-11 18:55:49 UTC
My reasoning was that the default ( = /usr/ ) configuration should probably contain that (and same for the bluetooth monitor), because it's expected to work by default, like it used to in previous version (though I'm not aware of the reasons why it stopped working).