From: Demi Marie Obenour <demiobenour@gmail.com>
To: Spectrum OS Development <devel@spectrum-os.org>
Cc: Alyssa Ross <hi@alyssa.is>, Demi Marie Obenour <demiobenour@gmail.com>
Subject: [PATCH v2] host/rootfs: Don't wait for /dev/dri/card0
Date: Tue, 26 May 2026 03:31:24 -0400 [thread overview]
Message-ID: <20260526-weston-card-fix-v2-1-784a47aea8fb@gmail.com> (raw)
In-Reply-To: <20260524-weston-card-fix-v1-1-9c6dad59c245@gmail.com>
Weston can find a card itself. If the card is not ready, it will exit,
but s6 will automatically restart it.
Signed-off-by: Demi Marie Obenour <demiobenour@gmail.com>
---
This makes Spectrum work on my AMD system.
---
Changes in v2:
- Only remove the udevadm wait.
- Rely on Weston to pick a card node.
- Link to v1: https://spectrum-os.org/lists/archives/spectrum-devel/20260524-weston-card-fix-v1-1-9c6dad59c245@gmail.com
---
host/rootfs/image/etc/s6-rc/weston/run | 1 -
1 file changed, 1 deletion(-)
diff --git a/host/rootfs/image/etc/s6-rc/weston/run b/host/rootfs/image/etc/s6-rc/weston/run
index fd59586c719391deb546c29578341e16a61ed4ce..68eff51ae127b848b56f6b3c3761b65ad1be9a0d 100644
--- a/host/rootfs/image/etc/s6-rc/weston/run
+++ b/host/rootfs/image/etc/s6-rc/weston/run
@@ -40,7 +40,6 @@ redirfd -r 0 /dev/tty1
importas -i home HOME
cd $home
-if { udevadm wait /dev/dri/card0 }
s6-setuidgid wayland
bwrap
# no --unshare-net, breaks udev hotplug
---
base-commit: 4827f7591e945f331a945fb53a9fd4e8ebfdbc12
change-id: 20260523-weston-card-fix-725c98d5245f
--
Sincerely,
Demi Marie Obenour (she/her/hers)
next prev parent reply other threads:[~2026-05-26 7:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-24 20:51 [PATCH] host/rootfs: Automatically select card node Demi Marie Obenour
2026-05-25 17:08 ` Alyssa Ross
2026-05-26 7:31 ` Demi Marie Obenour [this message]
2026-05-26 14:15 ` [PATCH v2] host/rootfs: Don't wait for /dev/dri/card0 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=20260526-weston-card-fix-v2-1-784a47aea8fb@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).