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 2A798B7C8; Wed, 16 Jul 2025 10:27:08 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id 32510B7C1; Wed, 16 Jul 2025 10:27:05 +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-b1-smtp.messagingengine.com (fout-b1-smtp.messagingengine.com [202.12.124.144]) by atuin.qyliss.net (Postfix) with ESMTPS id 32160B7BE for ; Wed, 16 Jul 2025 10:27:03 +0000 (UTC) Received: from phl-compute-01.internal (phl-compute-01.phl.internal [10.202.2.41]) by mailfout.stl.internal (Postfix) with ESMTP id 079D91D000B3; Wed, 16 Jul 2025 06:27:01 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Wed, 16 Jul 2025 06:27:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alyssa.is; h=cc :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=fm1; t=1752661620; x=1752748020; bh=1qdrqoZOZk Z9m9OrDwzQm6bS8EPmwMLOn7eVw+wjCiY=; b=ifnUhIWPmu4AYezR5Fv+OHbvNQ OT/hCJwUs7xAhM4FXyhVaGpwstVc8b2huXqib32nPUbbkfUQ7GVD9q8QheiBzi7M N+shzkonZ1jTPLPJcFV831Re7W3KIItnvnpDea8MkUQJRiK+3YF4/BzXgULIwCcm EfgZtFcRe8mBUbZ+w1wuoZnm2Qt99p4ArA2u234u/gIFxSsnaShxp8JYp7Js8hR8 CWdN4wzJ1c8P1OuJad+lVuNzsJCmmV35gOGQn0FkNK5fnNkfsxJZ2zOtpozJGdwj o1BBcom76xHPWIVgGpiKE9FpkkUTMEkZqDNpQDggrwYyHzwOR1uUDC1GIxOA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; t= 1752661620; x=1752748020; bh=1qdrqoZOZkZ9m9OrDwzQm6bS8EPmwMLOn7e Vw+wjCiY=; b=MEFFaXZFzw1Nk/RunNNEU6UVfqFV6i3xckDL/n/ftZHwsfnHmDx gFhSCPiAMzBJHp7IX0Scl9hJtZuoSAcVb65RLgSW9mPq4TU9F/huF+M0HWbW6TS6 HM2mZYxkBZN8lzrh9iXvopO74ZX5ELnuXUDImjrPj/fFBFOdYNWb+5/kkDcEP0ou xqVYcsVgzpjMDurbeyeujz72Ovtkxp5ttKNAcnP3KNsHScNzGtfrG9JI2Jfj7r7g GK4UijdO555WlskkYqbXMbkB2VnolgovduUmmvyY8ef4tuU3nyTjRH2qmjce1Rbf ans2h5qg4cCS1/H/ZtYfaz+4PXj00DR9ccA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdehjeegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvfevufgjfhffkfggtgesghdtreertddttdenucfhrhhomheptehlhihsshgrucft ohhsshcuoehhihesrghlhihsshgrrdhisheqnecuggftrfgrthhtvghrnhepleeileeiie fggfdtveeghfehledvteevuefhieehfffgkeffffdugeffteegvedtnecuffhomhgrihhn pegslhhuvgiirdhsvggrthdpmhhiughirdhnohenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehhihesrghlhihsshgrrdhishdpnhgspghrtghp thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepuggvmhhiohgsvghnoh hurhesghhmrghilhdrtghomhdprhgtphhtthhopeguvghvvghlsehsphgvtghtrhhumhdq ohhsrdhorhhg X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 16 Jul 2025 06:27:00 -0400 (EDT) Received: by mbp.qyliss.net (Postfix, from userid 1000) id ECF86113AC45; Wed, 16 Jul 2025 12:26:52 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour Subject: Re: [PATCH v3] Run PipeWire and WirePlumber in the VMs In-Reply-To: References: <638beeaa-2351-4f51-81a6-bc58883930c2@gmail.com> <87seiyg6w2.fsf@alyssa.is> Date: Wed, 16 Jul 2025 12:26:50 +0200 Message-ID: <874ivcwhw5.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: AH4L3MN5VBVCSB5KNFA52QOHOSTLOYAZ X-Message-ID-Hash: AH4L3MN5VBVCSB5KNFA52QOHOSTLOYAZ 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 CC: Spectrum OS Development 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/14/25 10:54, 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 inject >>> a large number of completely unnecessary files into the VM, notably for >>> libcamera and Bluetooth support. >>=20 >> Yeah, I saw this in the log: >>=20 >> N 14:27:54.810067 wp-internal-comp-l ../lib/wp/private/internal-comp-loa= der.c:588:on_component_loaded: optional component 'supp= ort.logind [module: libwireplumber-module-logind]' failed to load: failed t= o start systemd logind monitor: -2 (No such file or directory) >> N 14:27:54.811299 wp-internal-comp-l ../lib/wp/private/internal-comp-loa= der.c:640:wp_component_array_load_task_execute_step: sk= ipping component 'monitor.bluez.seat-monitoring [virtual]' because some of = its dependencies were not loaded >> E 14:27:54.851210 spa.dbus ../spa/plugins/support/dbus.c:333:i= mpl_connection_get: Failed to connect to system bus: Failed to connect to s= ocket /run/dbus/system_bus_socket: No such file or directory >> E 14:27:54.852143 spa.bluez5 ../spa/plugins/bluez5/bluez5-dbus.c= :6632:impl_init: failed to get dbus connection >> N 14:27:54.855904 wp-device ../lib/wp/device.c:710:wp_spa_devic= e_new_from_spa_factory: SPA handle 'api.bluez5.enum.dbus' could not be load= ed; is it installed? >> N 14:27:54.856657 s-monitors bluez.lua:411:createMonitor: PipeWi= re's BlueZ SPA plugin is missing or broken. Bluetooth devices will not be s= upported. >> E 14:27:54.859091 spa.bluez5.midi ../spa/plugins/bluez5/midi-enum.c:8= 05:impl_init: Creating GDBus connection failed: Could not connect: No such = file or directory >> N 14:27:54.859810 wp-device ../lib/wp/device.c:710:wp_spa_devic= e_new_from_spa_factory: SPA handle 'api.bluez5.midi.enum' could not be load= ed; is it installed? >> N 14:27:54.860524 s-monitors bluez-midi.lua:95:createMonitor: Pi= peWire's BlueZ MIDI SPA missing or broken. Bluetooth not supported. >> E 14:27:54.861346 spa.bluez5.midi.no ../spa/plugins/bluez5/midi-node.c:1= 989:impl_init: failed to get dbus connection: Could not connect: No such fi= le or directory >> E 14:27:54.862435 pw.resource ../src/pipewire/resource.c:255:pw_r= esource_errorf_id: can't create node: Input/output error >> W 14:27:54.863275 wp-node ../lib/wp/node.c:913:wp_impl_node_n= ew_from_pw_factory: failed to create node from factory 'spa-node-factory' >> N 14:27:54.863965 s-monitors bluez-midi.lua:130:createServers: F= ailed to create BLE MIDI server. >> [0:00:01.314658075] [123] INFO IPAManager ipa_manager.cpp:137 libcamera= is not installed. Adding '/nix/store/src/ipa' to the IPA search path >> [0:00:01.321611889] [123] INFO Camera camera_manager.cpp:326 libcamera = v0.5.0 >>=20 >> Can we set something in a config file or something to disable this extra >> stuff? > I can disable the Bluetooth and libcamera SPA plugins, > but it would be better to build PipeWire and WirePlumber > without support for various stuff that Spectrum VMs will > never need. Is this feasible? Yes, but I'd rather leave build changes to later, as there's a cost to maintaining overrides of Nixpkgs packages, so the longer we can get away with not having to do that, the better --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaHd+awAKCRBbRZGEIw/w olZoAQDprYhE0/hcCjPR1B+y5a5S5lcOOc6KxcvBqh5RpcyVQAEAxRWfaDnesc9H eLtD8cpKlH8uSHQhSUKNFpm9d0HeKAg= =Ql16 -----END PGP SIGNATURE----- --=-=-=--