crosswalk が動かない
おはようございます。
この週末も相変わらず Jetson TK1 を弄り倒してました。 Tizen で corsswalk が動かなかったので、解析してましたが、さっぱりわかりません。
↓こんなログが出てます。
root:~> xwalk /home/app/hello.html [0131/162138:INFO:desktop_factory_wayland.cc(15)] Ozone: DesktopFactoryWayland [0131/162140:INFO:desktop_factory_wayland.cc(15)] Ozone: DesktopFactoryWayland libEGL warning: MESA-LOADER: malformed or no PCI ID [0131/162140:WARNING:xwalk_browser_main_parts.cc(171)] Ignoring non-existent extension directory: /usr/lib/tizen-extensions-crosswalk [16:21:40.177] libwayland: disconnect from client 0x29cb78 [0131/162140:ERROR:desktop_drag_drop_client_wayland.cc(14)] Not implemented reached in views::DesktopDragDropClientWayland::DesktopDragDropClientWayland(aura::Window*) [0131/162140:ERROR:desktop_window_tree_host_wayland.cc(632)] Not implemented reached in virtual void views::DesktopWindowTreeHostWayland::OnRootViewLayout() const [0131/162140:ERROR:desktop_window_tree_host_wayland.cc(632)] Not implemented reached in virtual void views::DesktopWindowTreeHostWayland::OnRootViewLayout() const [0131/162140:WARNING:proxy_service.cc(903)] PAC support disabled because there is no system implementation [0131/162140:ERROR:tizen_platform_sensor.cc(53)] Connection to accelerometer sensor failed [0131/162140:ERROR:tizen_platform_sensor.cc(68)] Connection to gyroscope sensor failed [0131/162140:ERROR:tizen_platform_sensor.cc(53)] Connection to accelerometer sensor failed [0131/162140:ERROR:tizen_platform_sensor.cc(68)] Connection to gyroscope sensor failed [0131/162140:ERROR:desktop_window_tree_host_wayland.cc(611)] Not implemented reached in virtual void views::DesktopWindowTreeHostWayland::SetWindowIcons(const gfx::ImageSkia&, const gfx::ImageSkia&) [0131/162140:ERROR:display.cc(140)] Not implemented reached in virtual void ozonewayland::WaylandDisplay::SetWidgetState(unsigned int, ui::WidgetState, unsigned int, unsigned int) SHOW 1 [0131/162140:INFO:cursor.cc(132)] The current cursor theme does not have a cursor for type 13. Falling back to the default cursor. [16:21:41.007] already in the native mode [ 82.944256] nouveau E[ PFB][57000000.gpu] gk20a_ram_get: cannot allocate memory! [ 82.956571] nouveau E[ PFB][57000000.gpu] gk20a_ram_get: cannot allocate memory! [0131/162141:ERROR:gles2_cmd_decoder.cc(9078)] Context lost because SwapBuffers failed. [0131/162141:ERROR:gpu_scheduler.cc(94)] [0x2957000] GPU PARSE ERROR: 5 [16:21:41.065] libwayland: disconnect from client 0xc95f8 [0131/162141:ERROR:command_buffer_proxy_impl.cc(151)] Could not send GpuCommandBufferMsg_Initialize. [0131/162141:ERROR:webgraphicscontext3d_command_buffer_impl.cc(394)] CommandBufferProxy::Initialize failed. [0131/162141:ERROR:webgraphicscontext3d_command_buffer_impl.cc(413)] Failed to initialize command buffer. [0131/162142:INFO:desktop_factory_wayland.cc(15)] Ozone: DesktopFactoryWayland libEGL warning: MESA-LOADER: malformed or no PCI ID [16:21:42.306] libwayland: disconnect from client 0xc95f8 [0131/162142:ERROR:command_buffer_proxy_impl.cc(151)] Could not send GpuCommandBufferMsg_Initialize. [0131/162142:ERROR:webgraphicscontext3d_command_buffer_impl.cc(394)] CommandBufferProxy::Initialize failed. [0131/162142:ERROR:webgraphicscontext3d_command_buffer_impl.cc(413)] Failed to initialize command buffer. [0131/162142:ERROR:command_buffer_proxy_impl.cc(151)] Could not send GpuCommandBufferMsg_Initialize. [0131/162142:ERROR:webgraphicscontext3d_command_buffer_impl.cc(394)] CommandBufferProxy::Initialize failed. [0131/162142:ERROR:webgraphicscontext3d_command_buffer_impl.cc(413)] Failed to initialize command buffer. [0131/162142:FATAL:window_state_change_handler.cc(26)] Check failed: !impl_. Replacing set WindowStateChangeHandler implementation. Aborted
eglSwapBuffers が失敗しているのかな。
nouveau drm ドライバがエラーを吐いていることから、 weston では使っていない、nouveau drm ドライバが対応していない機能を、crosswalk が使っちゃっているんでしょうか。
さすがに疲れてきました。 crosswalk はしばらく置いておこうかな。
gbs / mic 実行時にエラーとなっているパッケージがそれなりにあるので、 それによって、なんか足りないパッケージがあることに起因しているという可能性が微レ存。
というか、mic 実行時に dependency じゃなく、rpm インストール時にエラーが発生しているパッケージがあるのが気になります。
[06/15 21:06:50 UTC] Installing: linux-firmware-ivi-2 + [ 19/383] [06/15 21:06:50 UTC] error: Not allowed character in access type: l error: Failed to parse manifest for default-ac-domains error: default-ac-domains-0.1-1.noarch: install failed [06/15 21:06:51 UTC] Installing: elm-misc-0.1.31-1.no ++ [ 24/383] [06/15 21:06:51 UTC] /var/tmp/rpm-tmp.fTrFmh: line 1: chown: command not found /var/tmp/rpm-tmp.fTrFmh: line 2: chown: command not found warning: %post(elm-misc-0.1.31-1.noarch) scriptlet failed, exit status 127 [06/15 21:06:58 UTC] Installing: fontconfig-2.10.91-0 ++++++++ [ 94/383] [06/15 21:06:59 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.Cz30Xa: line 12: 8203 Segmentation fault (core dumped) HOME=/root /usr/bin/fc-cache -f warning: %post(fontconfig-2.10.91-0.armv7l) scriptlet failed, exit status 139 [06/15 21:07:00 UTC] Installing: shared-mime-info-1.0 ++++++++ [101/383] [06/15 21:07:00 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.OyrW0i: line 1: 8216 Segmentation fault (core dumped) /usr/bin/update-mime-database /usr/share/mime [06/15 21:07:08 UTC] Installing: ail-0.2.73-1.armv7l. +++++++++++++++++ [196/383] [06/15 21:07:09 UTC] /bin/rm: cannot remove '/opt/dbspace/.app_info.db': No such file or directory /bin/rm: cannot remove '/opt/dbspace/.app_info.db-journal': No such file or directory [AIL_INITDB][D][main,257] AIL_INITDB : 0 [AIL_INITDB][D][initdb_load_directory,131] Loading desktop files from /opt/share/applications [AIL_INITDB][D][initdb_load_directory,154] Application-Desktop process : Success [0], fail[0], total[0] [AIL_INITDB][D][initdb_load_directory,131] Loading desktop files from /usr/share/applications [AIL_INITDB][E][_desktop_to_package,101] defaults.list is not a desktop file [AIL_INITDB][E][initdb_load_directory,142] Failed to convert file to package[defaults.list] [AIL_INITDB][D][initdb_load_directory,154] Application-Desktop process : Success [0], fail[1], total[1] [AIL_INITDB][E][initdb_change_perm,181] FAIL : chown /opt/dbspace/.app_info.db 0.6010, because No such file or directory [AIL_INITDB][E][main,276] cannot chown. [06/15 21:07:11 UTC] Installing: privacy-manager-serv +++++++++++++++++++ [223/383] [06/15 21:07:12 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /usr/bin/privacy_manager_create_clean_db.sh: line 16: 8379 Segmentation fault (core dumped) sqlite3 /opt/dbspace/.$name.db "$SQL" [06/15 21:07:14 UTC] Installing: gcr-data-3.8.2-0.arm ++++++++++++++++++++++ [259/383] [06/15 21:07:14 UTC] /var/tmp/rpm-tmp.kPc7C9: line 2: 8421 Segmentation fault (core dumped) /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null /var/tmp/rpm-tmp.kPc7C9: line 3: fg: no job control warning: %post(gcr-data-3.8.2-0.armv7l) scriptlet failed, exit status 1 [06/15 21:07:14 UTC] Installing: libfolks-data-0.9.3- +++++++++++++++++++++++ [260/383] [06/15 21:07:15 UTC] /var/tmp/rpm-tmp.2iYjdF: line 2: 8424 Segmentation fault (core dumped) /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null [06/15 21:07:21 UTC] Installing: ca-certificates-1-0. +++++++++++++++++++++++ [270/383] [06/15 21:07:21 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.9ltFoz: line 9: 8432 Segmentation fault (core dumped) update-ca-certificates -f [06/15 21:07:23 UTC] Installing: tizen-branding-defau +++++++++++++++++++++++++ [289/383] [06/15 21:07:23 UTC] /var/tmp/rpm-tmp.T52HNA: line 1: /usr/sbin/plymouth-set-default-theme: No such file or directory warning: %post(tizen-branding-default-0.2-0.noarch) scriptlet failed, exit status 127 [06/15 21:07:23 UTC] Installing: ca-certificates-mozi +++++++++++++++++++++++++ [290/383] [06/15 21:07:23 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.tEAuaD: line 1: 8449 Segmentation fault (core dumped) update-ca-certificates [06/15 21:07:26 UTC] Installing: cantarell-fonts-0.0. ++++++++++++++++++++++++++ [294/383] [06/15 21:07:26 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.cGRSS2: line 1: 8469 Segmentation fault (core dumped) /usr/bin/fc-cache /usr/share/fonts/cantarell [06/15 21:07:26 UTC] Installing: google-droid-fonts-2 ++++++++++++++++++++++++++ [295/383] [06/15 21:07:28 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.PirZfr: line 3: 8472 Segmentation fault (core dumped) /usr/bin/fc-cache /usr/share/fonts/truetype [06/15 21:07:31 UTC] Installing: pkgmgr-0.2.89-1.armv +++++++++++++++++++++++++++ [314/383] [06/15 21:07:31 UTC] qemu: uncaught target signal 11 (Segmentation fault) - core dumped /var/tmp/rpm-tmp.uGZ6js: line 5: 8498 Segmentation fault (core dumped) update-mime-database /usr/share/mime warning: %post(pkgmgr-0.2.89-1.armv7l) scriptlet failed, exit status 139 [06/15 21:07:33 UTC] Installing: evolution-data-serve +++++++++++++++++++++++++++++ [332/383] [06/15 21:07:33 UTC] /var/tmp/rpm-tmp.KKCvlK: line 2: 8517 Segmentation fault (core dumped) /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas &>/dev/null
エラーが多い気がします。 Ubuntu 14.04 環境がよろしくないのかなぁ。