diff mbox series

[meta-arago,scarthgap/master] weston-init: do not require any outputs to start

Message ID 20250306190801.3185864-2-rs@ti.com
State Under Review
Delegated to: Ryan Eatmon
Headers show
Series [meta-arago,scarthgap/master] weston-init: do not require any outputs to start | expand

Commit Message

Randolph Sapp March 6, 2025, 7:08 p.m. UTC
From: Randolph Sapp <rs@ti.com>

We're in a bit of a bind now. With the addition of display hotplug, the
very real possibility of Weston trying to start before all displays are
correctly enumerated, and the lack of display managers available in
Yocto there is a need for Weston to start without any displays being
present.

This change will allow Weston to start so long as the seat has graphic
capabilities, regardless of whether or not a display is currently connected. As
displays are connected they will be enumerated as usual under the Weston
session.

This will likely come back to bite us. Users will need to remember to
disable Weston for headless applications to save on startup time and
resources. That being said, this is part of the weston-init package.
That alone should make it clear that this is only required behavior in
the event a display manager or greeter service is unable to detect and
wait for resources.

Signed-off-by: Randolph Sapp <rs@ti.com>
---
 .../recipes-graphics/wayland/weston-init/weston.ini              | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.ini b/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.ini
index b9610fa8..1bc7a010 100644
--- a/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.ini
+++ b/meta-arago-distro/recipes-graphics/wayland/weston-init/weston.ini
@@ -1,6 +1,7 @@ 
 [core]
 idle-time=0
 require-input=false
+require-outputs=none
 
 [shell]
 locking=false