patches and low-level development discussion
 help / color / mirror / code / Atom feed
From: Demi Marie Obenour <demiobenour@gmail.com>
To: Spectrum OS Development <devel@spectrum-os.org>
Cc: Alyssa Ross <hi@alyssa.is>
Subject: "make run-qemu" gets Wayland protocol error
Date: Sat, 19 Jul 2025 22:23:44 -0400	[thread overview]
Message-ID: <013e1c97-7fd7-4a3d-9d13-d1d93965f9be@gmail.com> (raw)


[-- Attachment #1.1.1: Type: text/plain, Size: 1347 bytes --]

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 <cachedir> elements found. Check configuration.
Fontconfig warning: adding <cachedir>/var/cache/fontconfig</cachedir>
Fontconfig warning: adding <cachedir prefix="xdg">fontconfig</cachedir>
 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")

In case it matters:

- This is with some patches to allow use of TCG and others for
  PipeWire.  I highly doubt either set are relevant here.

- I tested this with both Sway and Weston.  Each was added to
  img/app/shell.nix so that it would be available in the nix-shell
  environment.  Both ran nested under the X11 session provided by
  Qubes OS.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 7253 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

             reply	other threads:[~2025-07-20  2:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-20  2:23 Demi Marie Obenour [this message]
2025-07-20  7:55 ` "make run-qemu" gets Wayland protocol error Alyssa Ross
2025-07-20  8:02   ` Demi Marie Obenour
2025-07-20  8:20     ` Alyssa Ross
2025-07-20  8:20       ` Alyssa Ross
2025-07-20  8:22         ` Demi Marie Obenour
2025-07-20  8:33           ` Alyssa Ross
2025-07-20  9:25             ` Demi Marie Obenour
2025-07-20 14:38               ` Alyssa Ross

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=013e1c97-7fd7-4a3d-9d13-d1d93965f9be@gmail.com \
    --to=demiobenour@gmail.com \
    --cc=devel@spectrum-os.org \
    --cc=hi@alyssa.is \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).