diff --git a/0011-default-nodes-add-more-logs.patch b/0011-default-nodes-add-more-logs.patch new file mode 100644 index 0000000..357c4f9 --- /dev/null +++ b/0011-default-nodes-add-more-logs.patch @@ -0,0 +1,53 @@ +From b4245d64c5117015fa293148273f86bdfbeb494f Mon Sep 17 00:00:00 2001 +From: Julian Bouzas +Date: Wed, 12 Jan 2022 13:39:57 -0500 +Subject: [PATCH 11/14] default-nodes: add more logs + +--- + modules/module-default-nodes.c | 14 ++++++++++++-- + 1 file changed, 12 insertions(+), 2 deletions(-) + +diff --git a/modules/module-default-nodes.c b/modules/module-default-nodes.c +index 354c474..ac9a87b 100644 +--- a/modules/module-default-nodes.c ++++ b/modules/module-default-nodes.c +@@ -401,8 +401,13 @@ nodes_ready (WpDefaultNodes * self) + ready_nodes++; + } + +- if (ready_nodes < total_nodes) ++ if (ready_nodes < total_nodes) { ++ const gchar *device_name = wp_pipewire_object_get_property ( ++ WP_PIPEWIRE_OBJECT (device), PW_KEY_DEVICE_NAME); ++ wp_debug_object (self, "device '%s' is not ready (%d/%d)", device_name, ++ ready_nodes, total_nodes); + return FALSE; ++ } + } + } + +@@ -424,8 +429,12 @@ nodes_ready (WpDefaultNodes * self) + NULL); + if (!port && + (g_strcmp0 ("Audio/Source/Virtual", media_class) == 0 || +- g_strcmp0 ("Video/Source/Virtual", media_class) == 0)) ++ g_strcmp0 ("Video/Source/Virtual", media_class) == 0)) { ++ const gchar *node_name = wp_pipewire_object_get_property ( ++ WP_PIPEWIRE_OBJECT (node), PW_KEY_NODE_NAME); ++ wp_debug_object (self, "virtual node '%s' is not ready", node_name); + return FALSE; ++ } + } + } + +@@ -465,6 +474,7 @@ schedule_rescan (WpDefaultNodes * self) + g_autoptr (WpCore) core = wp_object_get_core (WP_OBJECT (self)); + g_return_if_fail (core); + ++ wp_debug_object (self, "scheduling default nodes rescan"); + wp_core_sync_closure (core, NULL, g_cclosure_new_object ( + G_CALLBACK (sync_rescan), G_OBJECT (self))); + } +-- +2.34.1 + diff --git a/wireplumber.changes b/wireplumber.changes index b6cea96..81d02d3 100644 --- a/wireplumber.changes +++ b/wireplumber.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 25 08:34:28 UTC 2022 - Antonio Larrosa + +- Add another patch from upstream: + * 0011-default-nodes-add-more-logs.patch + ------------------------------------------------------------------- Mon Jan 24 18:32:54 UTC 2022 - Antonio Larrosa diff --git a/wireplumber.spec b/wireplumber.spec index 363e994..bd33ac1 100644 --- a/wireplumber.spec +++ b/wireplumber.spec @@ -40,9 +40,7 @@ Patch7: 0007-default-nodes-check-if-the-ports-exist-in-rescan_om.patch Patch8: 0008-scripts-monitors-log-warning-if-spa-devices-were-not.patch Patch9: 0009-default-nodes-check-if-default-node-has-available-ro.patch Patch10: 0010-added-support-for-disabling-nodes-and-devices-throug.patch -#0009-default-nodes-check-if-default-node-has-available-ro.patch -#0010-added-support-for-disabling-nodes-and-devices-throug.patch -#0011-default-nodes-add-more-logs.patch +Patch11: 0011-default-nodes-add-more-logs.patch #0012-device-activation-show-device-name-in-logs.patch #0013-scripts-fallback-to-empty-config-table-if-args-were-.patch