weston-init: set require-outputs=none to allow startup without connected display#1880
Closed
yashgupta2126 wants to merge 1 commit intoqualcomm-linux:masterfrom
Closed
weston-init: set require-outputs=none to allow startup without connected display#1880yashgupta2126 wants to merge 1 commit intoqualcomm-linux:masterfrom
yashgupta2126 wants to merge 1 commit intoqualcomm-linux:masterfrom
Conversation
…ted 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. Signed-off-by: Yash Gupta <yash.gupta@oss.qualcomm.com>
Author
|
Hi @lumag , can you review this Pull Request ? |
Contributor
|
Hei @yashgupta2126 I am getting all notifications, no need to ping again. |
Contributor
|
Yeah, please propose to oe-core, this is not qcom specific. If not as default, at least have it in a way which we can set up a conditional in meta-qcom-distro to enable the behavior. |
anujm1
reviewed
Apr 13, 2026
| " | ||
|
|
||
| do_install:append:qcom() { | ||
| sed -i -e "/^\[core\]/a require-outputs=none" ${D}${sysconfdir}/xdg/weston/weston.ini |
Contributor
There was a problem hiding this comment.
This can introduce duplicates. The patch for oe-core, I assume, will not use sed.
Author
|
Raise change in OE-CORE layer, hence close this PR for meta-qcom https://lists.openembedded.org/g/openembedded-core/message/235114 |
Contributor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 hot plugged and HPD is asserted, Weston automatically picks up the new connector and brings up the output without requiring a service restart.