Skip to contentSkip to conversation

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

PATCH New Yash Gupta 1 participant 1 message Apr 13

lore
Share & tools
lore

Yash Gupta

author
#0 lore raw

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

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.

---
 meta/recipes-graphics/wayland/weston-init/weston.ini | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-graphics/wayland/weston-init/weston.ini +1 -0
index c2f9d19c01..41360bdbbc 100644
@@ -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
Signature · 1 line
2.34.1