From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GPWcKFwwP2KPRQAAgWs5BA (envelope-from ) for ; Sat, 26 Mar 2022 16:25:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SMf8IFwwP2K8EgEAG6o9tA (envelope-from ) for ; Sat, 26 Mar 2022 16:25:16 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 030E73B099 for ; Sat, 26 Mar 2022 16:25:16 +0100 (CET) Received: from localhost ([::1]:56566 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nY8Hz-0002oF-36 for larch@yhetil.org; Sat, 26 Mar 2022 11:25:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY8Ha-0002n9-My for guix-devel@gnu.org; Sat, 26 Mar 2022 11:24:51 -0400 Received: from jpoiret.xyz ([206.189.101.64]:49040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nY8HY-0005vi-FO; Sat, 26 Mar 2022 11:24:49 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 4DD651851E9; Sat, 26 Mar 2022 15:24:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1648308283; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=134opGigEPi3nVDS/OBIi2O6UWO3h4DUjmaAK4g3XKg=; b=uwQc5cqLkjWIWZ19YnY5yPut533Tvo4AhMmwcTQAiuRpb/Td0EMu/Jddl+vxuAxkLa1NcQ p/CqiCwc5Hbp3kO/HQK1++7qtj1BvbmplYNHQUBwHka762jKeJFiRRDDmEodXIpbPklMNA unkvngpbDs8WG65W0kclrDKHE0swwkpll9YRV9dKhp0RxZ7hWkFa2KsGkMY/UA0M0MnMTB HOK2na3lM6TJcRypvW0gCz/BcSMdGCUDBYZThXgJJdYxwhrcEkgvImxqbG5CVZi+QvezHX J8SDdplJokCdlgG5P7Pjb608fBRY0E1hp1fKs0pGTs3JXRuQDcSF+vgl9yeVyw== From: Josselin Poiret To: Brendan Tildesley , "ludo@gnu.org" , "guix-devel@gnu.org" Subject: PipeWire as a PulseAudio replacement (was Re: The Shepherd on Fibers) In-Reply-To: <780223431.610773.1648104505746@office.mailbox.org> References: <780223431.610773.1648104505746@office.mailbox.org> Date: Sat, 26 Mar 2022 16:24:42 +0100 Message-ID: <87a6dchh39.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.997, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1648308316; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=134opGigEPi3nVDS/OBIi2O6UWO3h4DUjmaAK4g3XKg=; b=q4EwiGAhrNW+yh23ZC5m9drHne1kMlYsFKRjxuFkE6R7mT2Hfqpe2ZghnciCtWMOBWt+zH GGYyfQ9hbXR+XWj5Fa0yLYfeZixMrc7c2De+tWer/niV/1lhthfWSpoywKJZxwRdpMqmAR dfZvXjpIkGmsMUv379QB4Z/aM5S6msFVk+kJhcDSWn4AlOAj7rEe+gWg/UYCdXHHgTcrX1 5VBIOoshn664rHENKx/ON05h/FjPkoHFSqnXmB9rkZsdoWVGaBZae1mcuGlUGR9dTXz+35 +gu1IVy/2vi/vTiT7CM8xfABoE2iK5HwdNuDIZTdRN0qX/XSmMI78EAlVeNZOQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648308316; a=rsa-sha256; cv=none; b=iakUoFumuHqZzBnEXW/pjDVAEhxReU/71UzNhs7C6AyXEAQ0OvKtxeAaJo1a4erfMv9x13 MbsgOdTyFqWbPJoIS0WBxWK5B/Wj8MaauDSv49bvO8IYOlXrPDRtM/WPBKS81ar3AKGTCv NGUKixFqcjuNZLQkXyA61W56bf9KkPHmJnk7UTeBsgftxt8B1ZG6eqTGjc0mkk9VEvDoV8 6/9261yz0T2dv1LyNKvvxudqdi7p5l9qc6srTSaMjMPAVfRbYu3jNPpUKMEd54KTLcVueT GW0Ybj4sSbYJSwLC0OdmfI3GYGzAiETfQJEy899keCe1LSMSsPkapmhSZs95Cw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=uwQc5cqL; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.08 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=uwQc5cqL; dmarc=pass (policy=reject) header.from=jpoiret.xyz; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 030E73B099 X-Spam-Score: -4.08 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7BIWSTvleFv5 Hello Brendan, Brendan Tildesley writes: > I would like to replace pulseaudio with pipewire as the default in > %desktop-services, the only hurdle is how to launch the user daemons in all the > different desktop configurations one might use. Other distros use systemd's > socket activation to magically launch pipewire. > > Otherwise XDG autostarts or some kind of guix home service could > launch it? The main issue for PipeWire is that it really doesn't support running a single system-wide daemon as we're doing with PulseAudio, so you would need to launch it through XDG autostart, guix home or something similar like you said! One thing that I think is blocking right now is that PipeWire (or actually WirePlumber, I don't remember) would need to see some environment variables set by other user services eg. session D-Bus or even the compositor, which isn't possible yet with Shepherd. Best, -- Josselin Poiret