From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from atuin.qyliss.net (localhost [IPv6:::1]) by atuin.qyliss.net (Postfix) with ESMTP id 5159618139; Sat, 26 Jul 2025 10:11:40 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id ECDA51812A; Sat, 26 Jul 2025 10:11:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on atuin.qyliss.net X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DMARC_MISSING,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=4.0.1 Received: from fout-b7-smtp.messagingengine.com (fout-b7-smtp.messagingengine.com [202.12.124.150]) by atuin.qyliss.net (Postfix) with ESMTPS id 5396E18129 for ; Sat, 26 Jul 2025 10:11:37 +0000 (UTC) Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfout.stl.internal (Postfix) with ESMTP id 4D2821D00123; Sat, 26 Jul 2025 06:11:36 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Sat, 26 Jul 2025 06:11:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm2; t=1753524696; x=1753611096; bh=2wlAgDUmS4 F06q9HExG2ssn6IA51xak3QQS8J4CCaYI=; b=vNSnmLh5ZNdW4+Uhk2HHrb8/CA 1XLplD1+k59Mf/6xbJIIOJ52xDef7B3menn/RS67mwfl5am6lnshTjdnpMTGceRO 8uSbyPD/l8q0x4armbGfzJ1YJDSeEvLogEuESFZSyMgAA+yJMTmbte3sC98MeDaU a+kseE/sZJmxZvvp3WoB6hQMSPd5mNpfTsdFnGRaNsqkkxq31HyqXjjUJma3Q+Wb XVc0hd7IZCyIMPTKkCPZemYsAih7W/AKi9k26MdR/Ozk8QeeFvhY4hazGi8fcRrU B1uSS6DEDWi8XsioqoKq9GsNy5tTmZBbOjBoe8t91pazFElB6gDpw35KXNxw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1753524696; x=1753611096; bh=2wlAgDUmS4F06q9HExG2ssn6IA51xak3QQS 8J4CCaYI=; b=PKY7RN04tZHVwW16i/2/E0j9E+C9NBuOta8dMkAWEqJmCWYz8nO YVX1G+/IWrNETcDaqlT8FnCUUHFyqpYul6SUlPVq8ISHv4+Jipnz0hs2x7txuEs3 Ey7Ow4gyZv6nW2rldaGCvvj5ZGDpCphBBqn17rLuFgaZPyU/P0nCyxvY5MbF1SIq w97QSla+SSWu6oj0reufTL/rK1rojFEdlu6tovFczBZis0M5s9ZLTxhC6z+IVleD gL1hEdvnojlocNxuaUA/OYSt0oCuTFZ+WKf3p5QrRzGE9kFohqbhp5hRiuC/dYgi DXsMI6keqIvBoh6/+FMapIYCSnrCa6TabiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdekiedugecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcutfho shhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeeftdduudeutd egkefhhefhvdegffeuvdfgjeekvedtudfgvedvtdffkeeggeejtdenucffohhmrghinhep shhhuhhtughofihnrdhfihhnrghlnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrg hmpehmrghilhhfrhhomhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthhopedv pdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeguvghmihhosggvnhhouhhrsehgmh grihhlrdgtohhmpdhrtghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdrohhr gh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Jul 2025 06:11:35 -0400 (EDT) Received: by sf.qyliss.net (Postfix, from userid 1000) id 960B22D6A38EF; Sat, 26 Jul 2025 12:11:29 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: [PATCH v5 8/8] img/app: Run PipeWire and WirePlumber in the VMs In-Reply-To: References: <7f88f09b-5671-4f1e-86d7-df08dc2561eb@gmail.com> <87seiplw2d.fsf@alyssa.is> Date: Sat, 26 Jul 2025 12:11:27 +0200 Message-ID: <87jz3vfei8.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: NWZK5XJ5TS3IBJME47BRFTFPDG63FF5P X-Message-ID-Hash: NWZK5XJ5TS3IBJME47BRFTFPDG63FF5P X-MailFrom: hi@alyssa.is X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-devel.spectrum-os.org-0; header-match-devel.spectrum-os.org-1; header-match-devel.spectrum-os.org-2; header-match-devel.spectrum-os.org-3; header-match-devel.spectrum-os.org-4; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: Patches and low-level development discussion Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Demi Marie Obenour writes: > On 7/21/25 05:42, Alyssa Ross wrote: >> Demi Marie Obenour writes: >>=20 >>> WirePlumber is completely overkill as a session manager here, and >>> ideally a trivial session manager would be used instead. I did build a >>> Spectrum OS image and found that PipeWire and WirePlumber both >>> successfully started. PipeWire is configured to listen on the >>> PulseAudio socket, so PulseAudio compatibility works. This does bring a >>> log of unnecessary files into the VMs, which will hopefully be removed >>> later as part of a debloating effort. >>> >>> Signed-off-by: Demi Marie Obenour >>> --- >>> img/app/Makefile | 17 +- >>> img/app/default.nix | 3 + >>> img/app/etc/mdev.conf | 3 + >>> img/app/etc/pipewire/pipewire.conf | 199 +++++++ >>> .../etc/s6-rc/app/dependencies.d/wireplumber | 0 >>> .../s6-rc/pipewire/dependencies.d/directories | 0 >>> .../etc/s6-rc/pipewire/dependencies.d/mdevd | 0 >>> img/app/etc/s6-rc/pipewire/notification-fd | 1 + >>> .../s6-rc/pipewire/notification-fd.license | 2 + >>> img/app/etc/s6-rc/pipewire/run | 25 + >>> img/app/etc/s6-rc/pipewire/type | 1 + >>> img/app/etc/s6-rc/pipewire/type.license | 2 + >>> .../etc/s6-rc/wireplumber/dependencies.d/dbus | 0 >>> .../s6-rc/wireplumber/dependencies.d/pipewire | 0 >>> img/app/etc/s6-rc/wireplumber/run | 4 + >>> img/app/etc/s6-rc/wireplumber/type | 1 + >>> img/app/etc/s6-rc/wireplumber/type.license | 2 + >>> img/app/etc/wireplumber/wireplumber.conf | 536 ++++++++++++++++++ >>> 18 files changed, 794 insertions(+), 2 deletions(-) >>> create mode 100644 img/app/etc/pipewire/pipewire.conf >>> create mode 100644 img/app/etc/s6-rc/app/dependencies.d/wireplumber >>> create mode 100644 img/app/etc/s6-rc/pipewire/dependencies.d/directori= es >>> create mode 100644 img/app/etc/s6-rc/pipewire/dependencies.d/mdevd >>> create mode 100644 img/app/etc/s6-rc/pipewire/notification-fd >>> create mode 100644 img/app/etc/s6-rc/pipewire/notification-fd.license >>> create mode 100644 img/app/etc/s6-rc/pipewire/run >>> create mode 100644 img/app/etc/s6-rc/pipewire/type >>> create mode 100644 img/app/etc/s6-rc/pipewire/type.license >>> create mode 100644 img/app/etc/s6-rc/wireplumber/dependencies.d/dbus >>> create mode 100644 img/app/etc/s6-rc/wireplumber/dependencies.d/pipewi= re >>> create mode 100644 img/app/etc/s6-rc/wireplumber/run >>> create mode 100644 img/app/etc/s6-rc/wireplumber/type >>> create mode 100644 img/app/etc/s6-rc/wireplumber/type.license >>> create mode 100644 img/app/etc/wireplumber/wireplumber.conf >>> >>> diff --git a/img/app/Makefile b/img/app/Makefile >>> index e11be09a3c6ca801d9211e49b58e3d05d57e344e..734a76f018dfc1deaa9bf2c= fbd4fa0d6885f0546 100644 >>> --- a/img/app/Makefile >>> +++ b/img/app/Makefile >>> @@ -53,7 +53,10 @@ VM_FILES =3D \ >>> etc/s6-linux-init/scripts/rc.init \ >>> etc/s6-linux-init/scripts/rc.shutdown \ >>> etc/s6-linux-init/scripts/rc.shutdown.final \ >>> - etc/xdg/xdg-desktop-portal/portals.conf >>> + etc/xdg/xdg-desktop-portal/portals.conf \ >>> + etc/pipewire/pipewire.conf \ >>> + etc/wireplumber/wireplumber.conf >>=20 >> Sorting > > Will fix in v6. Does Unix or Vim `sort` give the order you want? I'd say LC_ALL=3DC.UTF-8 sort would probably be canonical, but usually I do M-x sort-lines in Emacs, and I don't think our paths have really been complicated enough to diverge between any of those so far. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaISpzwAKCRBbRZGEIw/w otbuAP0UTFaoeW2F/YD1wvfOWb8TEJMfuf5WGW1c/HcwiQUe0QEA3BR9qy8mqCvF mIWXA2C6HSu8wek3bBC3gYFH9ViceAA= =htlj -----END PGP SIGNATURE----- --=-=-=--