All of lore.kernel.org
 help / color / mirror / Atom feed
From: <rs@ti.com>
To: <reatmon@ti.com>, <denys@konsulko.com>
Cc: <meta-arago@lists.yoctoproject.org>, <afd@ti.com>,
	<detheridge@ti.com>, <vijayp@ti.com>
Subject: [meta-arago][scarthgap][PATCH 0/2] Add display manager and required configs
Date: Wed, 12 Mar 2025 18:26:27 -0500	[thread overview]
Message-ID: <20250312232628.1260171-2-rs@ti.com> (raw)

From: Randolph Sapp <rs@ti.com>

Add emptty and relevant configs to replace weston-init. This is a modified
version of the proposal I made to oe-core to get around a sequencing bug that's
been around for a while, but has recently become an issue for us.

As it stands weston-init has no idea what drm devices it should wait on or bind
to. We could introduce a udev rule to track tidss and pvrsrvkm registered
devices and introduce systemd dependencies around those new .device units, or we
could add a proper display manager that's already capable of waiting for drm
devices and has the potential to handle hotplug events in the future.

I'm preferable to the second option instead of making rules and modifications to
the service file for multiple platform configs.

This series adds emptty as a display manager and converts our bbappend for
weston-init to a stand alone version of weston-init named weston-init-arago.
This package has the required config files for emptty to automatically login the
weston user like weston-init does.

This does remove the weston systemd unit and global weston socket. This was
probably for the best as it was not really standard behavior. It just made it
"easy" to run arbitrary GUI applications as root, which is never advised.

Randolph Sapp (2):
  emptty: add version 0.13.0
  weston-init: weston-init -> weston-init-arago

 meta-arago-distro/conf/distro/arago.conf      |  3 +-
 meta-arago-distro/conf/layer.conf             |  4 +-
 .../packagegroup-arago-tisdk-graphics.bb      |  2 +-
 .../recipes-graphics/emptty/emptty/init       | 26 +++++++
 .../recipes-graphics/emptty/emptty/pamconf    | 10 +++
 .../recipes-graphics/emptty/emptty_0.13.0.bb  | 78 +++++++++++++++++++
 .../wayland/weston-init-arago.bb              | 72 +++++++++++++++++
 .../beaglebone/weston.ini                     |  0
 .../wayland/weston-init-arago/emptty.conf     | 77 ++++++++++++++++++
 .../weston-launch-calibrator.sh               |  0
 .../weston.ini                                |  0
 .../wayland/weston-init.bbappend              | 14 ----
 12 files changed, 268 insertions(+), 18 deletions(-)
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/init
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty/pamconf
 create mode 100644 meta-arago-distro/recipes-graphics/emptty/emptty_0.13.0.bb
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init-arago.bb
 rename meta-arago-distro/recipes-graphics/wayland/{weston-init => weston-init-arago}/beaglebone/weston.ini (100%)
 create mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init-arago/emptty.conf
 rename meta-arago-distro/recipes-graphics/wayland/{weston-init => weston-init-arago}/weston-launch-calibrator.sh (100%)
 rename meta-arago-distro/recipes-graphics/wayland/{weston-init => weston-init-arago}/weston.ini (100%)
 delete mode 100644 meta-arago-distro/recipes-graphics/wayland/weston-init.bbappend

-- 
2.48.1



             reply	other threads:[~2025-03-12 23:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-12 23:26 rs [this message]
2025-03-12 23:26 ` [meta-arago][scarthgap][PATCH 1/2] emptty: add version 0.13.0 rs
2025-03-18 16:33   ` Denys Dmytriyenko
2025-03-12 23:26 ` [meta-arago][scarthgap][PATCH 2/2] weston-init: weston-init -> weston-init-arago rs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250312232628.1260171-2-rs@ti.com \
    --to=rs@ti.com \
    --cc=afd@ti.com \
    --cc=denys@konsulko.com \
    --cc=detheridge@ti.com \
    --cc=meta-arago@lists.yoctoproject.org \
    --cc=reatmon@ti.com \
    --cc=vijayp@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.