This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TDA2PXEVM: [VisionSDK] Configure the ivi-shell for weston

Part Number: TDA2PXEVM

Tool/software: Linux

Hi:

   In visionSDK, we want to configure the ivi-shell for weston, but seems the weston not read the /etc/weston.ini

root@dra7xx-evm:~# cat /etc/weston.ini
[core]
shell=ivi-shell.so

[ivi-shell]
ivi-module=hmi-controller.so
ivi-shell-user-interface=/usr/libexec/weston-ivi-shell-user-interface

base-layer-id=1000
workspace-background-layer-id=2000
workspace-layer-id=3000
application-layer-id=4000


background-icon=/usr/share/weston/background.png
background-id=1001
panel-icon=/usr/share/weston/panel.png
panel-id=1002
tiling-icon=/usr/share/weston/tiling.png
tiling-id=1003
sidebyside-icon=/usr/share/weston/sidebyside.png
sidebyside-id=1004
fullscreen-icon=/usr/share/weston/fullscreen.png
fullscreen-id=1005
random-icon=/usr/share/weston/random.png
random-id=1006
home-icon=/usr/share/weston/home.png
home-id=1007
workspace-background-color=0x99000000
workspace-background-id=2001


[ivi-launcher]
workspace-id=0
icon-id=4001
icon=/usr/share/weston/icon_ivi_flower.png
path=/usr/bin/weston-flower


[ivi-launcher]
workspace-id=1
icon-id=4003
icon=/usr/share/weston/icon_ivi_simple-egl.png
path=/usr/bin//weston-simple-egl

[ivi-launcher]
workspace-id=1
icon-id=4004
icon=/usr/share/weston//icon_ivi_simple-shm.png
path=/usr/bin/weston-simple-shm

[screensaver]
# Uncomment path to disable screensaver
#path=@libexecdir@/weston-screensaver

root@dra7xx-evm:~# cat /var/log/weston.log 
Date: 2018-09-17 UTC
[09:22:46.553] weston 1.9.0
               http://wayland.freedesktop.org
               Bug reports to: bugs.freedesktop.org/enter_bug.cgi
               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
[09:22:46.553] OS: Linux, 4.4.84, #1 SMP PREEMPT Thu Jul 4 03:14:32 PDT 2019, armv7l
malformed section header: [core]

[09:22:46.558] Starting with no config file.
[09:22:46.565] Loading module '/usr/lib/weston/drm-backend.so'
[09:22:46.600] Output repaint window is 7 ms maximum.
[09:22:46.600] initializing drm backend
[09:22:46.601] using /dev/dri/card0
[09:22:46.602] Loading module '/usr/lib/weston/gl-renderer.so'
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[09:22:46.668] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[09:22:46.678] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[09:22:46.678] Retrieving EGL client extension string failed.
[09:22:46.678] warning: no input devices on entering Weston. Possible causes:
        - no permissions to read /dev/input/event*
        - seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
[09:22:46.678] failed to create input devices
[09:22:46.712] EGL version: 1.4 build 1.14@3699939 (MAIN)
[09:22:46.712] EGL vendor: Imagination Technologies
[09:22:46.712] EGL client APIs: OpenGL_ES 
[09:22:46.712] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
               EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
               EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
               EGL_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
               EGL_IMG_context_priority EGL_IMG_hibernate_process
               EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
               EGL_KHR_wait_sync EGL_KHR_create_context
               EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
[09:22:46.712] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[09:22:46.712] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[09:22:46.712] GL vendor: Imagination Technologies
[09:22:46.712] GL renderer: PowerVR SGX 544MP
[09:22:46.712] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
               GL_OES_vertex_half_float GL_OES_texture_float
               GL_OES_texture_half_float GL_OES_element_index_uint
               GL_OES_mapbuffer GL_OES_fragment_precision_high
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_required_internalformat
               GL_OES_depth_texture GL_OES_get_program_binary
               GL_OES_packed_depth_stencil GL_OES_standard_derivatives
               GL_OES_vertex_array_object GL_OES_egl_sync GL_OES_texture_npot
               GL_OES_surfaceless_context GL_EXT_discard_framebuffer
               GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
               GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
               GL_EXT_texture_format_BGRA8888 GL_EXT_occlusion_query_boolean
               GL_EXT_texture_rg GL_EXT_draw_buffers
               GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary
               GL_IMG_texture_compression_pvrtc
               GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_npot
               GL_IMG_texture_format_BGRA8888 GL_IMG_read_format
               GL_IMG_program_binary GL_IMG_uniform_buffer_object
               GL_IMG_multisampled_render_to_texture GL_KHR_debug
[09:22:46.712] GL ES 2 renderer features:
               read-back format: RGBA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[09:22:46.712] Chosen EGL config details:
               RGBA bits: 8 8 8 8
               swap interval range: 1 - 1
[09:22:46.712] cursor buffers unavailable, using gl cursors
[09:22:46.712] Failed to initialize backlight
[09:22:46.712] Output Virtual-1, (connector 24, crtc 26)
               mode 1280x720@60.0, preferred, current
[09:22:46.713] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC, id 1
[09:22:46.714] Loading module '/usr/lib/weston/desktop-shell.so'
[09:22:46.717] launching '/usr/libexec/weston-desktop-shell'
[09:22:46.858] Warning: computed repaint delay is insane: -8879 msec
[09:25:43.272] queueing pageflip failed: Invalid argument
[09:25:46.887] unexpectedly large timestamp jump (from 185290 to 188905)