Hi GyeongHwan Hong,

On 27.08.2015 15:13, GyeongHwan Hong wrote:
Hi Leon Anavi,

I installed an web app (/usr/share/widget_demo/go.wgt) and tried to run the app with app_launcher, as you mentioned.
It shows no error on command line.
However, any change does not happen on the display.

$ pkgcmd -i -t wgt -p /usr/share/widget_demo/annex.wgt -q

path is /usr/share/widget_demo/go.wgt

__return_cb req_id[1] pkg_type[wgt] pkgid[SM31mV8fq9] key[start] val[install]

__return_cb req_id[1] pkg_type[wgt] pkgid[SM31mV8fq9] key[end] val[ok]

spend time for pkgcmd is [3765]ms

$ app_launcher -l

Application List for user 5001

User's Application

Name    AppID           Type

=================================================

'annex'  '33CFo0eFJe.annex'      wgt

        'Go'     'SM31mV8fq9.go'         wgt

'crosswalk'      'crosswalk'     rpm

'Elementary Configuration'       'elementary_config'     rpm

'Elementary Test'        'elementary_test'       rpm

'Calculator'     'org.tizen.calculator'  rpm

'syspopup-app'   'org.tizen.syspopup-app'        rpm

        'Qt Designer'    'qt-designer'   rpm

        'Qt Declarative examples'        'qt5-qtdeclarative-examples' rpm

'Weston-Terminal'        'weston-terminal'       rpm

=================================================

$ app_launcher -s SM31mV8fq9.go
... successfully launched whit debug 0

How could I fix this issue?
Based on my experience most probably Crosswalk fails to work because of an issue with hardware graphics acceleration in Weston. Can you please confirm that hardware graphics acceleration for Weston is enabled on your board?

If it is not enabled have a look at the following articles for tips how to get it working:
https://wiki.tizen.org/wiki/How_to_Build_and_Load_Tizen_on_Odroid_U3#3D_acceleration

Best regards,
Leon


Best regards,
Gyeonghwan Hong.

2015-08-27 20:53 GMT+09:00 Leon Anavi <[email protected] <mailto:[email protected]>>:

    Hi Gyeonghwan Hong,

    For Tizen:Common and other Tizen 3 profiles, I recommend you to
    use pkgcmd to install wgt (aka HTML5 apps for Crosswalk) and to
    run installed application using app_launcher as I have described
    in the following wiki article:
    
https://wiki.tizen.org/wiki/Installing_Web_Applications_on_Tizen:Common_and_Tizen_IVI

    Best regards,
    Leon


    On 27.08.2015 14:44, GyeongHwan Hong wrote:
    Hello,

    I am trying to run Tizen 3.0 common on Odroid-U3 board.

    I downloaded the pre-built Tizen 3.0 common image for Odroid-U3,
    from following URL. (2015.Q2 version, both kernel & platform.)
    
http://download.tizen.org/snapshots/tizen/common-3.0.2015.Q2/tizen-3.0.2015.Q2-common_20150630.1/images/arm-wayland/

    Launcher and an EFL app(org.tizen.calculator) are launched
    successfully.

    When I click web app icons on launcher such as Annex, however, it
    does not show any response.
    I had expected that windows for those apps are opened.

    I tried to run the Crosswalk app via sdb with following command,
    but an error occured. (xwalkctl told me that annex's app id is
    33CFo0eFJe.annex)

    $ xwalk-launcher 33CFo0eFJe.annex
    /usr/bin/xwalk-launcher: line 9: /usr/lib64/xwalk/xwalk: No such
    file or directory

    Inspecting /usr/bin/xwalk-launcher, it was indicating binaries
    and libraries of 64bit crosswalk, not included in the platform image.
    Therefore, I modified line 9 of xwalk-launcher to indicate 32bit
    crosswalk's binaries and libraries.

    /usr/lib/xwalk/xwalk --process-per-site
    --disable-shared-process-mode --disable-setuid-sandbox
    --external-extensions-path=/usr/lib/tizen-extensions-crosswalk "$@"

    However, in this case, other errors are occured as follows.

    [1231/194236:ERROR:browser_main_loop.cc(164)] Running without the
    SUID sandbox! See
    https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment
    for more information on developing with the sandbox on.
    [1231/194236:INFO:desktop_factory_wayland.cc(17)] Ozone:
    DesktopFactoryWayland
    [1231/194236:INFO:audio_manager_pulse.cc(258)] Failed to connect
    to the context.  Error: Connection refused
    [1231/194236:INFO:desktop_factory_wayland.cc(17)] Ozone:
    DesktopFactoryWayland
     [CoreGL] <1279> (Mon Mar  9 05:59:30 UTC 2015) Library
    initializing... [CoreGL] Driver GL version 2.0
      -> Completed
     [CoreGL] <Fastpath> :  (0) Default API path enabled...
    [1231/194236:WARNING:proxy_service.cc(899)] PAC support disabled
    because there is no system implementation
    [1231/194237:WARNING:xwalk_external_extension.cc(47)] Error
    loading extension
    '/usr/lib/tizen-extensions-crosswalk/libtizen_time.so':
    libicui18n.so.48: cannot open shared object file: No such file or
    directory
    [1231/194237:WARNING:xwalk_extension_server.cc(411)] Failed to
    initialize extension:
    /usr/lib/tizen-extensions-crosswalk/libtizen_time.so
    [1231/194237:WARNING:xwalk_external_extension.cc(47)] Error
    loading extension
    '/usr/lib/tizen-extensions-crosswalk/libtizen_system_info.so':
    /usr/lib/tizen-extensions-crosswalk/libtizen_system_info.so:
    undefined symbol: _ZN19SysInfoNetworkTizen14StartListeningEv
    [1231/194237:WARNING:xwalk_extension_server.cc(411)] Failed to
    initialize extension:
    /usr/lib/tizen-extensions-crosswalk/libtizen_system_info.so
    [/home/abuild/rpmbuild/BUILD/vconf-buxton-0.3/src/vconf-buxton.c:769]
    Error 2 while getting buxton key memory/data-provider-master/started
    [/home/abuild/rpmbuild/BUILD/vconf-buxton-0.3/src/vconf-buxton.c:769]
    Error 2 while getting buxton key memory/data-provider-master/started
    [/home/abuild/rpmbuild/BUILD/vconf-buxton-0.3/src/vconf-buxton.c:1788]
    key memory/data-provider-master/started doesn't exist
    [1231/194237:ERROR:desktop_drag_drop_client_wayland.cc(14)] Not
    implemented reached in
    
views::DesktopDragDropClientWayland::DesktopDragDropClientWayland(aura::Window*)
    [1231/194237:ERROR:desktop_window_tree_host_ozone.cc(601)] Not
    implemented reached in virtual void
    views::DesktopWindowTreeHostOzone::OnRootViewLayout()
    [1231/194237:ERROR:desktop_window_tree_host_ozone.cc(622)] Not
    implemented reached in virtual void
    views::DesktopWindowTreeHostOzone::SizeConstraintsChanged()
    [1231/194237:ERROR:desktop_window_tree_host_ozone.cc(601)] Not
    implemented reached in virtual void
    views::DesktopWindowTreeHostOzone::OnRootViewLayout()
    [1231/194237:ERROR:desktop_window_tree_host_ozone.cc(580)] Not
    implemented reached in virtual void
    views::DesktopWindowTreeHostOzone::SetWindowIcons(const
    gfx::ImageSkia&, const gfx::ImageSkia&)
    [/home/abuild/rpmbuild/BUILD/vconf-buxton-0.3/src/vconf-buxton.c:769]
    Error 2 while getting buxton key db/setting/auto_rotate_screen
    [1231/194237:ERROR:surface_factory_ozone.cc(53)] Not implemented
    reached in virtual scoped_ptr<ui::SurfaceOzoneCanvas>
    ui::SurfaceFactoryOzone::CreateCanvasForWidget(gfx::AcceleratedWidget)
    [1231/194237:FATAL:software_output_device_ozone.cc(22)] Failed to
    initialize canvas
/usr/bin/xwalk-launcher: line 10: 1260 Aborted /usr/lib/xwalk/xwalk --process-per-site
    --disable-shared-process-mode --disable-setuid-sandbox
    --external-extensions-path=/usr/lib/tizen-extensions-crosswalk "$@"

    How could I fix this problem?
    Do you have any idea?

    Regards,
    Gyeonghwan Hong.

-- Gyeonghwan Hong (RedCarrottt)
    Embedded Software Lab.
    Sungkyunkwan University
    [email protected] <mailto:[email protected]>


    _______________________________________________
    Dev mailing list
    [email protected] <mailto:[email protected]>
    https://lists.tizen.org/listinfo/dev

-- Leon Anavi
    Software Engineer
    konsulko.com <http://konsulko.com>




--
Gyeonghwan Hong (RedCarrottt)
Embedded Software Lab.
Sungkyunkwan University
[email protected] <mailto:[email protected]>


_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

--
Leon Anavi
Software Engineer
konsulko.com

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to