ICO
Redirect to:
Contents
ICO-UXF
Various notes on this IVI GUI based on EFL with Wayland layout management from GENIVI
Alternate HMI is Modello
Install
Install it from IVI profile :
zypper rm weston-ivi-shell-config weston-ivi-config zypper ref ; zypper in -t pattern ivi-ux-ico
zypper in libwebsockets-devel libjson-glib murphy-devel murphy-ecore zypper in ico-uxf-homescreen ico-uxf-utilities zypper in genivi-shell-devel genivi-shell ico-uxf-weston-plugin-devel ico-uxf-weston-plugin-devel ico-uxf-utilities-devel zypper in ico-vic-amb-plugin ico-vic-carsimulator
# TODO: zypper in ico-uxf-homescreen-sample-apps # weston-ivi-shell-clients
WIP on Tizen IVI 2014-08
- weston-ivi-shell : sandbox/pcoval/devel : under review (needs verify)
- wayland-ivi-extensions : sandbox/pcoval/devel : under review (needs verify)
- ico-uxf-weston-plugin (I pushed my fixes for review)
- efl : tizen
- aul-1 : that includes User:jankovac503 fix
- murphy : sandbox/jankovac503/glm-system-controller
WIP on Tizen IVI 2014-07
I think I made some progress by fixing tizen platform (systemd services etc) but the screen is still back
Various tricks may be needed to make it work
Please take may changes at :
For conveinance they're also in my sandbox/pcoval/devel too
- weston-ivi-shell
- wayland-ivi-extension
- ico-uxf-weston-plugin
- ico-uxf-homescreen
- ico-uxf-utilities
- ico-vic-amb-plugin
- ico-uxf-homescreen-sample-apps
- ico-vic-carsimulator
Setup :
Make sure to apply this :
# rebuild and upgrade zypper rm ico-uxf-utilities ico-uxf-utilities-devel zypper in ico-uxf-homescreen ico-uxf-utilities ico-uxf-utilities-devel ico-vic-amb-plugin ico-vic-carsimulator
# check for existing db and if ico is there : ls -aF /home/app/.applications/dbspace/
Multiuser changes are needed too ( I suspect the main issues are related to this new feature)
Since ico is not part of the image , it is needed to update databases , so we adapt :
. /etc/tizen-platform.conf export user=app cp $TZ_SYS_DB/.app_info.db /home/$user/.applications/dbspace/.app_info.db
Make sure to have this tool , if not :
ln -fs /usr/bin/LayerManagerControl /usr/bin/IVISurfaceCreator
Get more log :
/etc/xdg/weston/weston.ini [ivi-option] log=5 [input-method] #path=/bin/weekeyboard
Some errors :
juin 02 10:59:40 ivi_box systemd[1]: user@5000.service: Got notification message from PID 292, but reception only permitted for PID 246
app 292 0.2 0.5 50000 11412 ? Ssl 03:00 0:00 \_ /usr/apps/org.tizen.ico.system-controller/bin/IcoSysconDaemon --user app app 246 0.0 0.1 4612 2220 ? Ss 03:00 0:00 /usr/lib/systemd/systemd --user
Some hints :
cat /usr/lib/systemd/system/user@.service NotifyAccess=all
If everything is fine you should have those running process :
app 233 0.0 0.1 4612 2280 ? Ss 02:51 0:00 /usr/lib/systemd/systemd --user app 237 0.0 0.0 5512 908 ? S 02:51 0:00 \_ (sd-pam) app 246 0.0 0.1 8240 1944 ? Ss 02:51 0:00 \_ /usr/bin/amd_session_agent app 317 0.1 2.6 98724 50352 ? Ssl 02:52 0:00 | \_ /usr/apps/org.tizen.ico.homescreen/bin/HomeScreen `zaybxcwdveuftgsh` HS_PARAM_U IQAAAAEEAAALAAAASFNfUEFSQU1fVQAGAAAARGFkZHkA HS_PARAM_D PwAAAAEEAAALAAAASFNfUEFSQU1fRAAkAAAAL2hvbWUvYXBwL2ljby9EYWRkeS app 320 1.2 1.1 78896 21656 ? Ssl 02:52 0:05 | \_ /usr/apps/org.tizen.ico.onscreen/bin/OnScreen `zaybxcwdveuftgsh` __AUL_STARTTIME__ NAAAAAEEAAASAAAAX19BVUxfU1RBUlRUSU1FX18AEgAAADE0MDE3MzE0NDIvMTAyNDQ0AA== __AUL_CALLER_PID__ JwAAAAEEAAATAAAAX19BVUx app 321 0.1 1.1 77564 21468 ? Ssl 02:52 0:00 | \_ /usr/apps/org.tizen.ico.statusbar/bin/StatusBar `zaybxcwdveuftgsh` __AUL_STARTTIME__ NAAAAAEEAAASAAAAX19BVUxfU1RBUlRUSU1FX18AEgAAADE0MDE3MzE0NDIvMTYxODg3AA== __AUL_CALLER_PID__ JwAAAAEEAAATAAAAX19BV app 247 0.0 0.2 20708 3892 ? Ssl 02:51 0:00 \_ /usr/bin/udisks-automount-agent root 250 0.0 0.0 2752 808 tty1 Ss+ 02:51 0:00 \_ /usr/bin/weston-launch -- -i0 --current-mode app 251 0.0 0.6 25104 11976 tty1 S+ 02:51 0:00 | \_ /usr/bin/weston -i0 --current-mode app 275 0.1 1.0 60960 20136 tty1 Sl+ 02:52 0:00 | \_ /bin/weekeyboard app 301 0.0 0.0 3352 1560 ? Ss 02:52 0:00 \_ /usr/bin/dbus-daemon --session --address=systemd: --nofork --systemd-activation app 310 0.0 0.1 11232 3488 ? SN 02:52 0:00 \_ /usr/bin/efreetd app 417 0.2 0.5 49552 11148 ? Ssl 02:56 0:00 \_ /usr/apps/org.tizen.ico.system-controller/bin/IcoSysconDaemon --user app
Now I am facing security issues (maybe introduced by systemd --user) :
juin 01 16:43:00 ivi_box HomeScreen[316]: connect fail , m_handle : 19 , sock_ptr : 0x90bcfc4 , len : 110 ,No such file or directory juin 01 16:43:00 ivi_box IcoSysconDaemon[279]: app_signal.c: __app_dbus_signal_filter(54) > reject by security issue - no allowed sender
ERRORS, HINTS AND SOLUTIONS
ivi_layout_getScreenResolution
[05:08:11.355] TRC>ico_window_mgr_get_usurf_client: client=08b4e018 has no surface (ico_window_mgr.c:608) [05:08:11.355] TRC>uifw_set_animation: surf=00000000,type=3,anim=fade,time=600 (ico_window_mgr.c:1563) [05:08:11.355] TRC>uifw_set_animation: Surface(00000000) Not exist (ico_window_mgr.c:1660)
août 26 05:58:14 ivi_box sh[306]: === start Status Bar main entry août 26 05:58:15 ivi_box systemd[1]: user@5000.service: Got notification message from PID 732, but reception only permitted for PID 295 août 26 05:58:15 ivi_box murphyd[151]: resource-native: peer closed connection août 26 05:58:15 ivi_box murphyd[151]: Transport to client ico-homescreen closed. août 26 05:58:15 ivi_box murphyd[151]: Destroying client ico-homescreen. août 26 05:58:15 ivi_box systemd[295]: ico-system-controller.service: main process exited, code=exited, status=255/n/a août 26 05:58:15 ivi_box systemd[295]: Unit ico-system-controller.service entered failed state. août 26 05:58:15 ivi_box kernel: OnScreen[749]: segfault at 8634610 ip 08634610 sp b68d3f8c error 15 août 26 05:58:15 ivi_box systemd[1]: user@5000.service: Got notification message from PID 637, but reception only permitted for PID 295 août 26 05:58:15 ivi_box sh[306]: (process:739): GLib-CRITICAL **: g_main_loop_is_running: assertion `loop != NULL' failed août 26 05:58:15 ivi_box systemd[1]: user@5000.service: Got notification message from PID 739, but reception only permitted for PID 295
EFL/APP FRAMEWORK
juil. 16 05:27:20 ivi_box dbus-daemon[408]: ERR<416>:ecore_system_tizen modules/ecore/system/tizen/ecore_system_tizen.c:158 _ecore_system_tizen_init() Unable to register a vconf changed cb to db/menu_widget/regionformat. juil. 16 05:27:20 ivi_box dbus-daemon[408]: ERR<417>:ecore_system_tizen modules/ecore/system/tizen/ecore_system_tizen.c:158 _ecore_system_tizen_init() Unable to register a vconf changed cb to db/menu_widget/regionformat. juil. 16 05:27:21 ivi_box weston-launch[361]: [05:27:21.192] caught signal 15 vconftool set -t string "db/menu_widget/regionformat" "en_US.UTF8" -F vconftool set -t string db/menu_widget/language "en_US.UTF-8" -f vconftool set -t int db/menu_widget/regionformat_time1224 1 -f
WESTON
It should run as user app, to get more traces edit :
/usr/lib/systemd/user/weston.target.wants/weston.service ExecStart=/usr/bin/weston-launch -- -i0 --current-mode --log=/tmp/weston-%u.txt
Root should not start weston this is fixed by unreleased change in :
https://review.tizen.org/gerrit/#/c/23699/
-session optional pam_systemd.so
MISC
bash-4.2# systemctl | grep failed launchpad-preload@5000.service loaded failed failed Start the preload/preinit daemon
Links
- https://bugs.tizen.org/jira/issues/?jql=labels%20%3D%20ico
- https://bugs.tizen.org/jira/browse/TC-1353 ToDo
- https://bugs.tizen.org/jira/browse/TC-211
- http://lists.genivi.org/pipermail/genivi-ivi-layer-management/2014-July/001307.html
- https://bugs.tizen.org/jira/browse/TC-1208
- https://review.tizen.org/gerrit/#/q/ico-uxf+status:open,n,z