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 E03D2112D0 for ; Sun, 20 Jul 2025 07:56:07 +0000 (UTC) Received: by atuin.qyliss.net (Postfix, from userid 993) id DEEE51125C; Sun, 20 Jul 2025 07:56: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-b2-smtp.messagingengine.com (fout-b2-smtp.messagingengine.com [202.12.124.145]) by atuin.qyliss.net (Postfix) with ESMTPS id 123981125A for ; Sun, 20 Jul 2025 07:56:05 +0000 (UTC) Received: from phl-compute-02.internal (phl-compute-02.phl.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 1677B1D0002A; Sun, 20 Jul 2025 03:56:04 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-02.internal (MEProxy); Sun, 20 Jul 2025 03:56:04 -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=fm1; t=1752998163; x=1753084563; bh=LKKwRm8wW9 DYAFLu/cHTeulOjckwBuMJXxaBe8JUQIU=; b=RlOYP2E0uW4VSXNe1hfAL7cd/a aDYTsRdQV7ErTqrX5w8xa4fQbi4QKxBnZCs7wQNW02G8NZOT57/jWvDrc+UFUbSF OczyNG+So2Y7x0mKVJ+NM1eMjYIX3GELdxBd4KRBIOweH5vRtgqypjPWBun2FXah VEJiQXzvVQ+SEhikQgG1lAV1oKHmxP4Z6pdwTvHoUvgipmo5P2F/M+66h41DmKt6 9r6fGrwoYEcGVum4AJPvZ4Y4CLl4/l70fcjNoVaMp77lTv5z5OdHjske9fONeS0y 4K42EJOAzakJdXpa+4dmpu8vm5mLkKj08iQZZs6G1amslWf3PxhaEbx82zAQ== 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=fm2; t= 1752998163; x=1753084563; bh=LKKwRm8wW9DYAFLu/cHTeulOjckwBuMJXxa Be8JUQIU=; b=Wx8gm3RtXVWawOFNyOHxgjyz0NGXVSwpGgI6nE7V7jBr8JpvVyK mN2yacUfvj7wdYJVXhrzDk92zIA/TT+HiWYxMKyTQH7vGC3/spUsC9pukk2msb4u jUYScvBP6tGCfEJpusTvOSI3EPGv0BPdOltFEVX6UCrwWo4PSl76q1O3DGXSswkq Csz1sDVApSR/HOx13g66QHOi3LXdIADWSDPPjSLFfCz+omtRX+vichFcDAe7Z1x4 UxE/Lvd56LPYkko+dyieDS0kcezcI8iMhsziIR55SrBVFXCX8hgmLb2+EC6Lym8S fKEp9gbRj80JU78CwsEp3lvf5bt2zJquFcA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeeihecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefhvffujghffffkgggtsehgtderredttddtnecuhfhrohhmpeetlhihshhsrgcutfho shhsuceohhhisegrlhihshhsrgdrihhsqeenucggtffrrghtthgvrhhnpeellefgkefhle ehieeuffejhfffgefhleekhfeileeuteevieekkeevieeguefgjeenucffohhmrghinhep ghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrg hilhhfrhhomhephhhisegrlhihshhsrgdrihhspdhnsggprhgtphhtthhopedvpdhmohgu vgepshhmthhpohhuthdprhgtphhtthhopeguvghmihhosggvnhhouhhrsehgmhgrihhlrd gtohhmpdhrtghpthhtohepuggvvhgvlhesshhpvggtthhruhhmqdhoshdrohhrgh X-ME-Proxy: Feedback-ID: i12284293:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 20 Jul 2025 03:56:02 -0400 (EDT) Received: by sf.qyliss.net (Postfix, from userid 1000) id 1EDEC2C5A7706; Sun, 20 Jul 2025 09:56:00 +0200 (CEST) From: Alyssa Ross To: Demi Marie Obenour , Spectrum OS Development Subject: Re: "make run-qemu" gets Wayland protocol error In-Reply-To: <013e1c97-7fd7-4a3d-9d13-d1d93965f9be@gmail.com> References: <013e1c97-7fd7-4a3d-9d13-d1d93965f9be@gmail.com> Date: Sun, 20 Jul 2025 09:55:58 +0200 Message-ID: <87frerjnxt.fsf@alyssa.is> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Message-ID-Hash: R6IKDVAHHZIJBLHN7LGPOSNLLVB26FPY X-Message-ID-Hash: R6IKDVAHHZIJBLHN7LGPOSNLLVB26FPY 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 Demi Marie Obenour writes: > If I run `make run-qemu` under a Wayland compositor (tested with both > Sway and Weston), I get a Wayland protocol error ("invalid object 0") > and QEMU exits. It appears that there is a problem with > wayland-proxy-virtwl. I get the following error from foot: > > warn: main.c:437: 'C' is not a UTF-8 locale, falling back to 'C.UTF-8' > warn: config.c:3520: no configuration found, using defaults > Fontconfig warning: no elements found. Check configuration. > Fontconfig warning: adding /var/cache/fontconfig > Fontconfig warning: adding fontconfig > err: wayland.c:1714: no compositor > err: wayland.c:2248: failed to flush wayland socket: Connection reset by peer > > And the following from wayland-proxy-virtwl: > > 2025-07-20 02:14:48.638 wl-proxy [WARNING]: Error handling client: Invalid_argument("invalid bounds in Cstruct.LE.get_uint32 [0,0](4096) off=0 len=4") This is partially fixed with , which is more recent than Spectrum's pinned Nixpkgs. I expect to update that in the next few days, but until then, you can apply it on top of the Nixpkgs revision in lib/nixpkgs.default.nix, and then pass --arg config '{pkgsFun = import /path/to/nixpkgs;}' to any Spectrum Nix command. With that change, I'm able to run foot fine in QEMU. gnome-text-editor runs but prints errors and looks weird, and Firefox doesn't even start. crosvm built from the same tag as rutabaga_gfx used by QEMU works fine, so I think it must be a QEMU bug. I spent some time yesterday trying to debug it, but didn't get anywhere so far. If I can't figure it out soon I'll open an upstream bug report. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRV/neXydHjZma5XLJbRZGEIw/wogUCaHyhDgAKCRBbRZGEIw/w ojgjAPsEYMSO5RvOGHTNp+ceXUuxVS1+93LV3bwa0FQgbU630QD/TmceB1+Dn9HI Pf8NrxUZEm/SiZh76riTYPyMo46iuw0= =gZBv -----END PGP SIGNATURE----- --=-=-=--