]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
weston-init: set require-outputs=none to allow startup without connected display
authorYash Gupta <yash.gupta@oss.qualcomm.com>
Mon, 13 Apr 2026 14:31:12 +0000 (20:01 +0530)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 16 Apr 2026 10:09:38 +0000 (11:09 +0100)
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>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-graphics/wayland/weston-init/weston.ini

index c2f9d19c014bb79a20723773c22a4f0b2daa7dcb..41360bdbbcc14fd65324e070f65b352299498600 100644 (file)
@@ -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