Demi Marie Obenour writes: > This allows Weston to launch even if there if /dev/dri/card0 does not > exist. > > This requires a shell script for string processing. It could be written > in Rust, but that's not worth it for a temporary workaround. > > It also prevents waiting for the card to be ready. Instead, let s6 > restart Weston over and over until Weston finally runs. > > Signed-off-by: Demi Marie Obenour > --- > This makes Spectrum work on my AMD system. This made me look into the underlying issue a bit more. What happens if you just remove the udevadm wait? Does everything seem to work okay? My guess would be yes, because from what I can tell, the original problem was probably that Weston was started before the DRM kernel module was loaded. (systemd-logind.service has a dependency on modprobe@drm.service, and we had no such equivalent). Nowadays, DRM is built in to Nixpkgs kernels, so that shouldn't be able to happen any more. I think we should therefore be able to just drop the wait, and its equivalents in img/app and release/checks/wayland.