diff mbox series

weston-init: set require-outputs=none to allow startup without connected display

Message ID 20260413143112.126439-1-yash.gupta@oss.qualcomm.com
State Under Review
Headers show
Series weston-init: set require-outputs=none to allow startup without connected display | expand

Commit Message

Yash Gupta April 13, 2026, 2:31 p.m. UTC
By default, Weston exits at startup if no output connector is reported
as connected by the DRM subsystem. On platforms where displays are
connected after boot via HPD (Hot Plug Detect), this causes the weston
service to be killed during early boot and remain down until manually
restarted.

Setting require-outputs=none in the [core] section instructs Weston to
start and remain running even when no connector is active at boot time.
When a display is subsequently hotplugged and HPD is asserted, Weston
automatically picks up the new connector and brings up the output without
requiring a service restart.

Signed-off-by: Yash Gupta <yash.gupta@oss.qualcomm.com>
---
 meta/recipes-graphics/wayland/weston-init/weston.ini | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta/recipes-graphics/wayland/weston-init/weston.ini b/meta/recipes-graphics/wayland/weston-init/weston.ini
index c2f9d19c01..41360bdbbc 100644
--- a/meta/recipes-graphics/wayland/weston-init/weston.ini
+++ b/meta/recipes-graphics/wayland/weston-init/weston.ini
@@ -6,6 +6,7 @@ 
 #gbm-format=xrgb2101010
 require-input=false
 repaint-window=10
+require-outputs=none
 
 #[shell]
 #background-image=/usr/share/backgrounds/gnome/Aqua.jpg