Various warnings produced by wireplumber
Currently running wireplumber 2580b343 on pipewire git c9fc3d7f42399e3e62a574100172e8e6dcb05dc4 (I think).
After installing this version, I found a bunch of warnings while performing miscellaneous testing (link to output). Unfortunately I don't have steps to reproduce most of these warnings, but I think I had pipewire-pulse and pavucontrol-qt running, which tends to try opening record streams to every new app's playback stream.
Probably harmless warnings? They come up every time I start wireplumber.
W 12:54:18.506752 spa.bluez5 ../../../../../../code/pipewire/spa/plugins/bluez5/bluez5-dbus.c:3574:get_managed_objects_reply: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit
W 12:54:18.507297 m-portal-permissio ../modules/module-portal-permissionstore/plugin.c:52:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x55593c204c70> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
(Fixed?) Switching or toggling device profiles in pavucontrol-qt (the "can't link" errors only appear if audio is playing):
W 16:15:50.364817 wplua ../lib/wplua/wplua.c:49:_wplua_errhandler: [string "policy-node.lua"]:397: attempt to index a nil value (local 'si_target')
stack traceback:
[string "policy-node.lua"]:397: in global 'handleLinkable'
[string "policy-node.lua"]:496: in global 'rescan'
[string "policy-node.lua"]:585: in function <[string "policy-node.lua"]:584>
W 16:15:50.370241 wplua ../lib/wplua/wplua.c:49:_wplua_errhandler: [string "policy-node.lua"]:397: attempt to index a nil value (local 'si_target')
stack traceback:
[string "policy-node.lua"]:397: in global 'handleLinkable'
[string "policy-node.lua"]:496: in global 'rescan'
[string "policy-node.lua"]:569: in function <[string "policy-node.lua"]:567>
W 16:15:50.371328 wplua ../lib/wplua/wplua.c:49:_wplua_errhandler: [string "policy-node.lua"]:397: attempt to index a nil value (local 'si_target')
stack traceback:
[string "policy-node.lua"]:397: in global 'handleLinkable'
[string "policy-node.lua"]:496: in global 'rescan'
[string "policy-node.lua"]:585: in function <[string "policy-node.lua"]:584>
M 16:15:50.401115 m-lua-scripting ../modules/module-lua-scripting/api.c:337:object_activate_done: <WpSiStandardLink:0x559ac2875df0> link-factory: can't link ports 79 and 66: File exists
W 16:15:50.401130 script/policy-node policy-node.lua:85:chunk: <WpSiStandardLink:0x559ac2875df0> failed to activate si-standard-link: link-factory: can't link ports 79 and 66: File exists
M 16:15:50.402759 m-lua-scripting ../modules/module-lua-scripting/api.c:337:object_activate_done: <WpSiStandardLink:0x559ac2a90210> link-factory: can't link ports 79 and 66: File exists
W 16:15:50.402773 script/policy-node policy-node.lua:85:chunk: <WpSiStandardLink:0x559ac2a90210> failed to activate si-standard-link: link-factory: can't link ports 79 and 66: File exists
M 16:15:50.412161 m-lua-scripting ../modules/module-lua-scripting/api.c:337:object_activate_done: <WpSiStandardLink:0x559ac2a90210> link-factory: can't link ports 79 and 66: File exists
W 16:15:50.412175 script/policy-node policy-node.lua:85:chunk: <WpSiStandardLink:0x559ac2a90210> failed to activate si-standard-link: link-factory: can't link ports 79 and 66: File exists
(???) IIRC this warning occurred when I had VLC open using ALSA -> pipewire, and I was rapidly alternately mouse-clicking the GUI stop button to stop, and the spacebar to start playback of a .flac file:
C 13:00:18.694566 m-si-standard-link (null):(null):(null): get_ports_and_create_links: assertion 'si_out' failed
(???) When replicating the VLC stop-play experiment, I got a different warning:
M 14:10:03.690536 m-lua-scripting ../modules/module-lua-scripting/api.c:337:object_activate_done: <WpSiStandardLink:0x555645d91a50> link-factory: unknown output port 69
W 14:10:03.690549 script/policy-node policy-node.lua:85:chunk: <WpSiStandardLink:0x555645d91a50> failed to activate si-standard-link: link-factory: unknown output port 69
If I switch VLC to ALSA>pulse>pipewire, then starting a song (.mp3 or .flac) creates a 2-second pause. And if I play a .flac (not .mp3), clicking on the seek bar causes a 2-second pause as well. I thought 2580b343 fixed the following warnings, but apparently not (maybe I tested on .mp3 and thought it was fixed when it wasn't):
M 14:13:04.832287 m-lua-scripting ../modules/module-lua-scripting/api.c:337:object_activate_done: <WpSiStandardLink:0x55cefbce2a60> Failed to create links because of wrong ports
W 14:13:04.832307 script/policy-node policy-node.lua:85:chunk: <WpSiStandardLink:0x55cefbce2a60> failed to activate si-standard-link: Failed to create links because of wrong ports
I also got an infinite loop when clicking on the seek bar (of a .flac?) (not sure how it started out though):
W 16:13:58.334623 script/policy-node policy-node.lua:33:createLink: <WpSiAudioAdapter:0x55962ee034c0> tried to link on last rescan, not retrying
W 16:13:58.334932 script/policy-node policy-node.lua:33:createLink: <WpSiAudioAdapter:0x55962ee034c0> tried to link on last rescan, not retrying
W 16:13:58.335241 script/policy-node policy-node.lua:33:createLink: <WpSiAudioAdapter:0x55962ee034c0> tried to link on last rescan, not retrying
...
An earlier dump from a slightly older wireplumber version (possibly 4d5f9591): https://gist.github.com/nyanpasu64/d72e0f7682fef2d83350619dc3adff70#file-gistfile1-txt
In this log, I was repeatedly clicking the seek bar in VLC alsa>pulse>pipewire. It contains GLib-GObject (null):(null):(null): instance with invalid (NULL) class pointer
warnings (probably not fixed), and port mismatches I thought were fixed in 2580b343, but weren't.