emptty: upgrade from v0.15.0 to v0.16.1+git
PATCH 1/2 emptty: upgrade from v0.15.0 to v0.16.1+git
From: Randolph Sapp <[email protected]>
This adds a new configuration option to wait for a particular number of DRI devices to be present. This value will need to be tuned per-platform unfortunately, but it will ensure all required devices are present before attempting to start a session.
---
.../recipes-graphics/emptty/{emptty_0.15.0.bb => emptty.bb} | 0
meta-arago-distro/recipes-graphics/emptty/emptty.inc | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
rename meta-arago-distro/recipes-graphics/emptty/{emptty_0.15.0.bb => emptty.bb} (100%)meta-arago-distro/recipes-graphics/emptty/emptty.bb renamed from meta-arago-distro/recipes-graphics/emptty/emptty_0.15.0.bb +0 -0
meta-arago-distro/recipes-graphics/emptty/emptty.inc +2 -2
@@ -19,9 +19,9 @@ SRC_URI = "\ git://${GO_IMPORT_pam}.git;protocol=https;branch=master;name=pam;destsuffix=src/${GO_IMPORT_pam} \ file://pamconf \ " -SRCREV = "bb203ad0a224731a7a2ff50deeb342ab79c4af09" +SRCREV = "bc471001fdea13a6cece38d25cfb7d2f3ce08b06" SRCREV_pam = "50ded1b0e7864b9bf75005eb945a8ec826bcf69d" SRCREV_FORMAT .= "_pam" -PR = "r1" +PV = "0.16.1+git"
Signature · 1 line
2.55.0
PATCH 2/2 weston-init-arago: set WAIT_CARD_DEVICE_COUNT
From: Randolph Sapp <[email protected]>
Update the emptty configuration template and define WAIT_CARD_DEVICE_COUNT for this usecase. We're not doing anything with a remote head or fake display right now, so a default value of 1 will make emptty wait for tidss to initialize. In the devices with a GPU we should set it to a value of 2 to ensure both expected DRI devices are present.
--- .../recipes-graphics/wayland/weston-init-arago.bb | 12 ++++++++++++ .../wayland/weston-init-arago/emptty.conf | 5 ++++- 2 files changed, 16 insertions(+), 1 deletion(-)
meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb +12 -0
@@ -23,9 +23,21 @@ PACKAGECONFIG[use-pixman] = ",," DEFAULTBACKEND ??= "" DEFAULTBACKEND:qemuall ?= "drm" +DRI_CARD_COUNT ??= "1" +DRI_CARD_COUNT:j721e = "2" +DRI_CARD_COUNT:j721s2 = "2" +DRI_CARD_COUNT:j784s4 = "2" +DRI_CARD_COUNT:j742s2 = "2" +DRI_CARD_COUNT:am62xx = "2" +DRI_CARD_COUNT:am62pxx = "2" +DRI_CARD_COUNT:j722s = "2" + do_install() { install -D -p -m0644 weston.ini ${D}${sysconfdir}/xdg/weston/weston.ini install -D -p -m0644 emptty.conf ${D}${sysconfdir}/emptty/conf + if [ -n "${DRI_CARD_COUNT}" ]; then + sed -i -e "/^#WAIT_CARD_DEVICE_COUNT=/c WAIT_CARD_DEVICE_COUNT=${DRI_CARD_COUNT}" ${D}${sysconfdir}/emptty/conf + fi if [ -n "${DEFAULTBACKEND}" ]; then sed -i -e "/^\[core\]/a backend=${DEFAULTBACKEND}-backend.so" ${D}${sysconfdir}/xdg/weston/weston.ini
meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf +4 -1
@@ -20,7 +20,7 @@ AUTOLOGIN=true AUTOLOGIN_SESSION=Weston # If Autologin is enabled and session does not start correctly, the number of retries in short period is kept to eventually stop the infinite loop of restarts. -1 is for infinite retries, 0 is for no retry. -AUTOLOGIN_MAX_RETRY=-1 +# AUTOLOGIN_MAX_RETRY=2 # Default LANG, if user does not have set own in init script. #LANG=en_US.UTF-8
@@ -75,3 +75,6 @@ SESSION_ERROR_LOGGING=rotate #If set true, environmental groups are printed to differ Xorg/Wayland/Custom/UserCustom desktops. IDENTIFY_ENVS=false + +# Number of DRI card devices to wait for before starting the session. A machine with 2 GPUs may want to set this to 2. +#WAIT_CARD_DEVICE_COUNT=0
Signature · 1 line
2.55.0
meta-arago / na / 20261002222954.3580000-1-rs
PRC Results: FAIL
=========================================================
check-yocto-patches: PASS
=========================================================
Patches
----------------------------------------
All patches passed
=========================================================
apply-yocto-patch: PASS
=========================================================
master
=====================
Summary:
- Patch Series: [meta-arago][master/wrynose][PATCH 1/2] emptty: upgrade from v0.15.0 to v0.16.1+git
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Fri, 2 Oct 2026 17:29:53 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 908c5325f0a5d9e756acfe0934ef7248815946d7
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: master-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: arago.conf: Remove "x11" requirement for mesa-demos
- Commit SHA: 2a226d3d7228e03f9fa9e944728161e26a872e82
Patches
----------------------------------------
All patches applied
wrynose
=====================
Summary:
- Patch Series: [meta-arago][master/wrynose][PATCH 1/2] emptty: upgrade from v0.15.0 to v0.16.1+git
- Submitter: From: <[email protected]>
From: Randolph Sapp <[email protected]>
- Date: Date: Fri, 2 Oct 2026 17:29:53 -0500
- Num Patches: 2
- Mailing List (public inbox) Commit SHA: 908c5325f0a5d9e756acfe0934ef7248815946d7
Applied to:
- Repository: lcpd-prc-meta-arago
- Base Branch: wrynose-wip
- Commit Author: Ryan Eatmon <[email protected]>
- Commit Subject: check_yocto_rules: Add exception for pipewire update
- Commit SHA: cc1013940d3b41154ab5e3e6e82a9b584a02820f
Patches
----------------------------------------
All patches applied
=========================================================
check-yocto-repo: FAIL
=========================================================
master
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty.bb:10
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pam', '', ',nopam', d)}"
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty.bb:11
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ',noxlib', d)}"
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887
wrynose
=====================
FAIL
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty.bb:10
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'pam', '', ',nopam', d)}"
WARN: You might need a " " as the first character for the :append. (APPEND-2)
meta-arago-distro/recipes-graphics/emptty/emptty.bb:11
GO_TAGS:append = "${@bb.utils.contains('PACKAGECONFIG', 'x11', '', ',noxlib', d)}"
For details on the above errors/warnings visit: https://lists.yoctoproject.org/g/meta-ti/wiki/40887