From patchwork Fri Dec 4 06:27:23 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 107247 Received: from a27-31.smtp-out.us-west-2.amazonses.com (a27-31.smtp-out.us-west-2.amazonses.com [54.240.27.31]) by mx.groups.io with SMTP id smtpd.msgproc01-g2.2364.1796365644305899032 for ; Thu, 03 Dec 2026 22:27:24 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=khF3Psio; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=YdHZ0IEr; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.31, mailfrom: 010101a23fbc6e83-35d0d951-a787-4b0a-b473-5de8f2d91318-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1796365643; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date; bh=Axdb39vkmHMyeLMLAESDRHQrRPYky5OE1GSJpm4glJs=; b=khF3PsioJSow4CyrCJJjCSPV4kuK3PnDpBaCy7C+NBWh4+0c6URM7bMGaOSTfdzN aQLZBS/d/mCnkIAvRgH6lsAk45YdKLLEHcTmIu+xDo98c3yTM60TKqtj916GGKHCM63 4ykw8sIfm5Ug0CJGDTqmE+T9VU6QZ5QbMPF1mkpA= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1796365643; h=Content-Type:MIME-Version:From:To:Subject:Message-Id:Date:Feedback-ID; bh=Axdb39vkmHMyeLMLAESDRHQrRPYky5OE1GSJpm4glJs=; b=YdHZ0IErdS4glD5ATtUoICUZBuKEegE9xeSbRLNsQXriNUGG2wftsOyNpv3A3/uI 5s+nHB16n/4qFK5yXW2DbZ3gUQhA6i3g0jKcQyQ88ceL0kcIdoUZNfWJubiyMNFIh5c RdGRPlaLJw+KuX3Caz6Hz/1NiUW3aWuFCHMK3HvQ= MIME-Version: 1.0 From: auh@yoctoproject.org To: openembedded-core@lists.openembedded.org Subject: [AUH] pipewire: upgrading to 1.6.12 SUCCEEDED Message-ID: <010101a23fbc6e83-35d0d951-a787-4b0a-b473-5de8f2d91318-000000@us-west-2.amazonses.com> Date: Fri, 4 Dec 2026 06:27:23 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.12.04-54.240.27.31 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 06:27:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251936 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *pipewire* to *1.6.12* has Succeeded. Next steps: - apply the patch: git am 0001-pipewire-upgrade-1.6.11-1.6.12.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 074891b9b62727d731b316be16f68f0b9efddc9c Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Fri, 4 Dec 2026 06:27:12 +0000 Subject: [PATCH] pipewire: upgrade 1.6.11 -> 1.6.12 # PipeWire 1.6.12 (2026-11-26) This is a bugfix release that is API and ABI compatible with the previous 1.6.x releases. ## Highlights - Improve v4l2 error handling and compatibility. - Fix some thread issues in JACK. - Improve link permission checks. - Various small fixes and improvements. ## PipeWire - Fix race in quick start/stop of thread and data loop. - Improve permission checks on links. - An empty config file no longer causes a warning. - Fix a potential crash when globals are destroyed because of permission changes. ## Modules - Avoid potential crash when fd allocation fails in client-node. ## SPA - Do some extra checks in v4l2 for buggy drivers. - Fix v4l2 property enumeration. - Add libcamera 0.8 compatibility. - Improve v4l2 compatibility and handle errors better. ## pulse-server - Don't use monitor nodes as a default source. - Avoid updating private pipewire properties. - Avoid ringbuffer wraparounds. ## GStreamer - Improve format parsing and enumeration. - Avoid some deadlocks and add locks where needed. - Fixes for 32-bit architectures. - Fix potential crash in device probing. ## ALSA - Handle server disconnect errors better and avoid memory leak. ## JACK - Avoid deadlock in shutdown. - Respect thread creator for event queues. Fixes crashes in WINE. Older versions: --- .../0001-pipewire-compress-offload.patch | 73 +++++++++---------- ...-acp-compat.h-p-is-already-const-do-.patch | 2 +- ...a-libcamera-device-0.8-compatibility.patch | 50 ------------- ...{pipewire_1.6.11.bb => pipewire_1.6.12.bb} | 10 +-- 4 files changed, 41 insertions(+), 94 deletions(-) delete mode 100644 meta/recipes-multimedia/pipewire/pipewire/0003-spa-libcamera-device-0.8-compatibility.patch rename meta/recipes-multimedia/pipewire/{pipewire_1.6.11.bb => pipewire_1.6.12.bb} (98%) diff --git a/meta/recipes-multimedia/pipewire/pipewire/0001-pipewire-compress-offload.patch b/meta/recipes-multimedia/pipewire/pipewire/0001-pipewire-compress-offload.patch index 8a884d64cd..1a17e5a70e 100644 --- a/meta/recipes-multimedia/pipewire/pipewire/0001-pipewire-compress-offload.patch +++ b/meta/recipes-multimedia/pipewire/pipewire/0001-pipewire-compress-offload.patch @@ -1,4 +1,4 @@ -From 345e4b033c2ff69ab7aa02a123f6041b878f7fb9 Mon Sep 17 00:00:00 2001 +From 405d4e4c050c8d705339ec8052d89de1c51f3885 Mon Sep 17 00:00:00 2001 From: Harsh Rai Date: Tue, 16 Jun 2026 19:21:37 +0530 Subject: [PATCH] pulse: enable MP3 compressed offload via Pulse @@ -19,7 +19,7 @@ Signed-off-by: Harsh Rai create mode 100644 src/modules/module-protocol-pulse/modules/module-compress-offload-sink.c diff --git a/src/modules/meson.build b/src/modules/meson.build -index 59f46ae..900871d 100644 +index 59f46ae13..900871dac 100644 --- a/src/modules/meson.build +++ b/src/modules/meson.build @@ -324,6 +324,8 @@ pipewire_module_protocol_pulse_sources = [ @@ -33,7 +33,7 @@ index 59f46ae..900871d 100644 'module-protocol-pulse/modules/module-echo-cancel.c', diff --git a/src/modules/module-protocol-pulse/modules/module-compress-offload-forwarder.c b/src/modules/module-protocol-pulse/modules/module-compress-offload-forwarder.c new file mode 100644 -index 0000000..33054e4 +index 000000000..33054e4ba --- /dev/null +++ b/src/modules/module-protocol-pulse/modules/module-compress-offload-forwarder.c @@ -0,0 +1,649 @@ @@ -688,7 +688,7 @@ index 0000000..33054e4 +}; diff --git a/src/modules/module-protocol-pulse/modules/module-compress-offload-sink.c b/src/modules/module-protocol-pulse/modules/module-compress-offload-sink.c new file mode 100644 -index 0000000..243cc8e +index 000000000..243cc8e8b --- /dev/null +++ b/src/modules/module-protocol-pulse/modules/module-compress-offload-sink.c @@ -0,0 +1,293 @@ @@ -986,23 +986,23 @@ index 0000000..243cc8e + .data_size = sizeof(struct module_compress_offload_sink_data), +}; diff --git a/src/modules/module-protocol-pulse/pulse-server.c b/src/modules/module-protocol-pulse/pulse-server.c -index eb3233b..61f0dfb 100644 +index 8321fe703..d9d69de56 100644 --- a/src/modules/module-protocol-pulse/pulse-server.c +++ b/src/modules/module-protocol-pulse/pulse-server.c -@@ -84,6 +84,9 @@ struct temporary_move_data { +@@ -85,6 +85,9 @@ struct temporary_move_data { uint8_t used:1; }; - + +/* Buffer size used for compress-offload streams (frame_size == 1). */ +#define COMPRESS_OFFLOAD_BUF_SIZE 16484u + static struct sample *find_sample(struct impl *impl, uint32_t index, const char *name) { union pw_map_item *item; -@@ -1199,10 +1202,18 @@ static const struct spa_pod *get_buffers_param(struct stream *s, +@@ -1200,10 +1203,18 @@ static const struct spa_pod *get_buffers_param(struct stream *s, blocks = 1; stride = s->frame_size; - + + /* compressed offload uses byte granularity */ + if (s->frame_size == 1) { + size = COMPRESS_OFFLOAD_BUF_SIZE; @@ -1011,17 +1011,17 @@ index eb3233b..61f0dfb 100644 + } + size = defs->quantum_limit * s->frame_size; - + pw_log_info("[%s] stride %d size %u", s->client->name, stride, size); - + +build_buffers_param: param = spa_pod_builder_add_object(b, SPA_TYPE_OBJECT_ParamBuffers, SPA_PARAM_Buffers, SPA_PARAM_BUFFERS_buffers, SPA_POD_CHOICE_RANGE_Int(MIN_BUFFERS, -@@ -1228,6 +1239,23 @@ static void stream_param_changed(void *data, uint32_t id, const struct spa_pod * +@@ -1229,6 +1240,23 @@ static void stream_param_changed(void *data, uint32_t id, const struct spa_pod * if (id != SPA_PARAM_Format || param == NULL) return; - + + /* For compress-offload streams, force byte-granularity regardless + * of negotiated format (we connect with S16LE but data is compressed). */ + { @@ -1042,20 +1042,20 @@ index eb3233b..61f0dfb 100644 if ((res = format_parse_param(param, false, &stream->ss, &stream->map, NULL, NULL)) < 0) { pw_stream_set_error(stream->stream, res, "format not supported"); return; -@@ -1243,6 +1271,9 @@ static void stream_param_changed(void *data, uint32_t id, const struct spa_pod * +@@ -1244,6 +1272,9 @@ static void stream_param_changed(void *data, uint32_t id, const struct spa_pod * return; } stream->rate = stream->ss.rate; +stream_param_format_done: + pw_log_debug("[%s] stream param done: frame_size=%u rate=%u ss.format=%u", + stream->client->name, stream->frame_size, stream->rate, stream->ss.format); - + if (stream->create_tag != SPA_ID_INVALID) { struct pw_manager_object *peer; -@@ -1583,6 +1614,98 @@ static void log_format_info(struct impl *impl, enum spa_log_level level, struct +@@ -1603,6 +1634,98 @@ static void log_format_info(struct impl *impl, enum spa_log_level level, struct impl, it->key, it->value); } - + +static const struct spa_pod *build_compress_offload_format(struct spa_pod_builder *b, + uint32_t id, const struct pw_properties *props, uint32_t *rate) +{ @@ -1151,7 +1151,7 @@ index eb3233b..61f0dfb 100644 static int do_create_playback_stream(struct client *client, uint32_t command, uint32_t tag, struct message *m) { struct impl *impl = client->impl; -@@ -1609,7 +1732,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui +@@ -1629,7 +1752,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui muted_set = false, fail_on_suspend = false, relative_volume = false, @@ -1161,10 +1161,10 @@ index eb3233b..61f0dfb 100644 struct volume volume; struct pw_properties *props = NULL; uint8_t n_formats = 0; -@@ -1668,6 +1792,68 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui +@@ -1688,6 +1812,68 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui } o = find_device(client, sink_index, sink_name, true, &is_monitor); - + + if (o != NULL) { + const struct pw_node_info *ninfo = o->info; + const struct spa_dict *sp = (ninfo && ninfo->props) ? ninfo->props : NULL; @@ -1230,20 +1230,20 @@ index eb3233b..61f0dfb 100644 spa_zero(fix_ss); spa_zero(fix_map); if ((fix_format || fix_rate || fix_channels) && o != NULL) { -@@ -1715,6 +1901,9 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui +@@ -1735,6 +1921,9 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui goto error_protocol; } - + + compress_offload = pw_properties_parse_bool( + pw_properties_get(props, "compress.offload")); + if (client->version >= 21) { if (message_get(m, TAG_U8, &n_formats, -@@ -1732,7 +1921,9 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui +@@ -1752,7 +1941,9 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui TAG_INVALID) < 0) goto error_protocol; - + - if (n_params < MAX_FORMATS && + if (compress_offload) { + log_format_info(impl, SPA_LOG_LEVEL_DEBUG, &format); @@ -1251,7 +1251,7 @@ index eb3233b..61f0dfb 100644 (params[n_params] = format_info_build_param(&b, SPA_PARAM_EnumFormat, &format, &r)) != NULL) { n_params++; -@@ -1746,7 +1937,23 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui +@@ -1766,7 +1957,23 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui } } } @@ -1275,29 +1275,29 @@ index eb3233b..61f0dfb 100644 + } else if (sample_spec_valid(&ss)) { struct sample_spec sfix = ss; struct channel_map mfix = map; - -@@ -1770,6 +1977,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui + +@@ -1790,6 +1997,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui if (m->offset != m->length) goto error_protocol; - + + pw_log_debug("[%s] format check: n_valid=%u n_params=%u compress=%d passthrough=%d", + client->name, n_valid_formats, n_params, compress_offload, passthrough); if (n_valid_formats == 0) goto error_no_formats; - -@@ -1806,6 +2015,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui + +@@ -1826,6 +2035,8 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui flags = 0; if (no_move) flags |= PW_STREAM_FLAG_DONT_RECONNECT; + if (compress_offload) + flags |= PW_STREAM_FLAG_NO_CONVERT; - + if (sink_name != NULL) { if (o != NULL) -@@ -1833,14 +2044,35 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui +@@ -1853,14 +2064,35 @@ static int do_create_playback_stream(struct client *client, uint32_t command, ui &stream->stream_listener, &stream_events, stream); - + - pw_stream_connect(stream->stream, - PW_DIRECTION_OUTPUT, - SPA_ID_INVALID, @@ -1335,9 +1335,6 @@ index eb3233b..61f0dfb 100644 + PW_STREAM_FLAG_MAP_BUFFERS, + params, n_params); + } - + stream_update_tag_param(stream); - --- -2.43.0 - + diff --git a/meta/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch b/meta/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch index d6fc5866ec..4fb188758d 100644 --- a/meta/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch +++ b/meta/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch @@ -1,4 +1,4 @@ -From 1a37f445a20e67976c83360ab5830887fffe37e2 Mon Sep 17 00:00:00 2001 +From 929f3fafeccd1f250816b4223842c682f5ec9f1f Mon Sep 17 00:00:00 2001 From: Rudi Heitbaum Date: Tue, 17 Mar 2026 03:17:15 +1100 Subject: [PATCH] spa/plugins/alsa/acp/compat.h: p is already const do not diff --git a/meta/recipes-multimedia/pipewire/pipewire/0003-spa-libcamera-device-0.8-compatibility.patch b/meta/recipes-multimedia/pipewire/pipewire/0003-spa-libcamera-device-0.8-compatibility.patch deleted file mode 100644 index 1030d6aaaf..0000000000 --- a/meta/recipes-multimedia/pipewire/pipewire/0003-spa-libcamera-device-0.8-compatibility.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 15c4a92ceae560a4e8c6c14b8c338db075860a57 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Barnab=C3=A1s=20P=C5=91cze?= -Date: Tue, 27 Oct 2026 21:28:56 +0100 -Subject: [PATCH] spa: libcamera: device: 0.8 compatibility - -Version 0.8 of libcamera has incompatible changes, so adjust the code, -while keeping compatibility with older versions as well. - -(cherry picked from commit 54f2f51f5233026e608f8235f5377b9b473918e3) - -Upstream-Status: Backport [https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/15c4a92ceae560a4e8c6c14b8c338db075860a57] -Signed-off-by: Khem Raj ---- - spa/plugins/libcamera/libcamera-device.cpp | 10 ++++++++++ - 1 file changed, 10 insertions(+) - -diff --git a/spa/plugins/libcamera/libcamera-device.cpp b/spa/plugins/libcamera/libcamera-device.cpp -index 0aeaed855..c6b6106bc 100644 ---- a/spa/plugins/libcamera/libcamera-device.cpp -+++ b/spa/plugins/libcamera/libcamera-device.cpp -@@ -28,6 +28,7 @@ - - #include - #include -+#include - - using namespace libcamera; - -@@ -69,12 +70,21 @@ const char *cameraLoc(const Camera& camera) - { - if (auto location = camera.properties().get(properties::Location)) { - switch (location.value()) { -+#if LIBCAMERA_VERSION_MAJOR > 0 || (LIBCAMERA_VERSION_MAJOR == 0 && LIBCAMERA_VERSION_MINOR >= 8) -+ case properties::LocationFront: -+ return "front"; -+ case properties::LocationBack: -+ return "back"; -+ case properties::LocationExternal: -+ return "external"; -+#else - case properties::CameraLocationFront: - return "front"; - case properties::CameraLocationBack: - return "back"; - case properties::CameraLocationExternal: - return "external"; -+#endif - } - } - diff --git a/meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb b/meta/recipes-multimedia/pipewire/pipewire_1.6.12.bb similarity index 98% rename from meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb rename to meta/recipes-multimedia/pipewire/pipewire_1.6.12.bb index 5fe4f3cb90..f28591a232 100644 --- a/meta/recipes-multimedia/pipewire/pipewire_1.6.11.bb +++ b/meta/recipes-multimedia/pipewire/pipewire_1.6.12.bb @@ -12,12 +12,12 @@ LIC_FILES_CHKSUM = " \ DEPENDS = "dbus" -SRCREV = "4287f31510771fc999f8a58a024c81ca10b8d55f" +SRCREV = "d3069f761fe7d6e54980d55d59de22ce8cdf6bb4" BRANCH = "${@oe.utils.trim_version('${PV}', 2)}" -SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV}" -SRC_URI += "file://0001-pipewire-compress-offload.patch" -SRC_URI += "file://0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch" -SRC_URI += "file://0003-spa-libcamera-device-0.8-compatibility.patch" +SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV} \ + file://0001-pipewire-compress-offload.patch \ + file://0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch \ + " inherit meson pkgconfig systemd gettext useradd