CES2023 LXC with agl-demo
the latest progress is report in github-wiki.
https://github.com/agl-ic-eg/AGL-repo/wiki/CES2023
<Japanes follows English>
CES demo integration report 10/31-11/4
Status
Issue
# issue reason Status 1 agl-demo-platform container - - Done 2 agl-session AGL user session was skipped because of a failed condition check (ConditionPathExists=/dev/tty7).
TTY required in agl-session, etc.
Done 3 agl-compositor Graphics library error
Sep 16 12:28:33 h3ulcb-agl agl-compositor[150]: ( 150) PVR:(Error): PVRSRVTimelineCreate[TA]() failed (PVRSRV_ERROR_INVALID_DEVICE) in RGXCreateRenderContextCCB() [ :2137 ] Sep 16 12:28:33 h3ulcb-agl agl-compositor[150]: ( 150) PVR:(Error): PVRSRVTimelineCreate[TA]() failed (PVRSRV_ERROR_INVALID_DEVICE) in RGXCreateRenderContextCCB() [ :2137 ]/dev/pvr_sync permission Done 4 homescreen fail some GLIB error
Sep 16 12:25:39 h3ulcb homescreen[428]: GError set over the top of a previous GError or uninitialized memory.
This indicates a bug in someone's code. You must ensure an error is NULL before it's set.
The overwriting error message was: No technologydoesn't installed selinux in host side,
lxc config should be set mount /sys/fs/selinux
Done
build :
SW : AGL 14.0.1 ( agl-demo-platform and agl-ic-container-demo-host)
- bitbake agl-cluster-demo-lxc-host
- bitbake agl-demo-platform
Modification:
- agl-iccontainer-demo-host :
No modification. add "agl-selinux" feature - agl-demo-platform :
- add “agl-drm-lease” feature
- add "tar.bz2" in local.conf
AGL_DEFAULT_IMAGE_FSTYPES:append = " tar.bz2"
Setup :
- Flash agl-ic-container image (wic) to SD card, and expand “agl-demo-platform image” tarball into SD (/var/lib/machine/agl-ivi)
- Change lxc configuration (/var/lib/lxc/ivi-demo/config) to specify “agl-ivi” folder.
- Copy /etc/default/weston file to /etc/default/agl-compositor in agl-ivi.
- And update to “XDG_RUNTIME_DIR=/run/usr/1001”
- Change "drm-lease" parameter in agl-compositor.service
- "--drm-lease=lease0" to "--drm-lease=lease"
disable "tty7" description in usr/lib/systemd/system/agl-session\@agl-driver.service.d/agl-compositor.conf
comment-out "#StandardInput=tty-fail" line in /usr/lib/systemd/system/agl-session\@.service
chown root:202 /dev/pvr_sync
Remove output name (HDMI-A-1) in weston.ini in agl-demo-platform side- add selinux parameter in /var/lib/lxc/ivi-demo/config
- lxc.mount.entry = /sys/fs/selinux sys/fs/selinux none bind 0 0