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/AM3358: Weston issues

Part Number: AM3358

Tool/software: Linux

Hi TI,

     I designed a custom board based on BBB with a 10.1'  touchscreen.I met a problem : the matrix-gui doesn't respond to the touch normally.For example, I have to touch a number button for several times before the number value is showed up in QT5-calculator.I recalibrated the touchscreen following the instrument How_to_Recalibrate_the_Touchscreen,but the problem still exsits.Then I checked the weston log and saw the error information below:

Date: 2017-06-28 UTC
[20:20:30.986] weston 1.11.0
http://wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 for the official release (2016-05-31 17:10:
40 -0700)
[20:20:30.987] OS: Linux, 4.9.28-geed43d1050, #3 PREEMPT Fri Dec 29 14:23:54 CST 2017, armv7l
[20:20:30.989] Using config file '/etc//weston.ini'
[20:20:30.992] Output repaint window is 7 ms maximum.
[20:20:30.994] Loading module '/usr/lib/weston/drm-backend.so'
[20:20:31.027] initializing drm backend
[20:20:31.036] using /dev/dri/card0
[20:20:31.040] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[20:20:31.116] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDispl
ay.
[20:20:31.145] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[20:20:31.145] Retrieving EGL client extension string failed.
[20:20:31.152] input device 'ti-tsc', /dev/input/event0 is tagged by udev as: Touchscreen
[20:20:31.152] input device 'ti-tsc', /dev/input/event0 is a touch device
[20:20:31.225] EGL version: 1.4 build 1.14@3699939 (MAIN)
[20:20:31.225] EGL vendor: Imagination Technologies
[20:20:31.225] EGL client APIs: OpenGL_ES
[20:20:31.225] 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
[20:20:31.226] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[20:20:31.226] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[20:20:31.226] GL vendor: Imagination Technologies
[20:20:31.226] GL renderer: PowerVR SGX 530
[20:20:31.226] 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_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_texture_rg
GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
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
[20:20:31.226] GL ES 2 renderer features:
read-back format: RGBA
wl_shm sub-image to texture: no
EGL Wayland extension: yes
[20:20:31.226] Chosen EGL config details:
RGBA bits: 8 8 8 8
swap interval range: 1 - 1
[20:20:31.226] cursor buffers unavailable, using gl cursors
[20:20:31.227] Initialized backlight, device /sys/class/backlight/backlight
[20:20:31.228] EDID data 'LNX', 'Linux WXGA', 'Linux #0'
[20:20:31.228] Output LVDS-1, (connector 26, crtc 24)
mode 1280x800@60.0, preferred, current
[20:20:31.229] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
[20:20:31.231] Loading module '/usr/lib/weston/desktop-shell.so'
[20:20:31.238] launching '/usr/libexec/weston-keyboard'
[20:20:31.240] launching '/usr/libexec/weston-desktop-shell'
[20:20:31.404] DRM: DPMS: failed property set for LVDS-1
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[20:20:41.405] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:20:42.888] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:20:45.154] caught signal 15
PVR:(Error): [ 747-> 747] < gbm_pvr_bo_import():327|ERROR> Import type <21761> not supported [0, ]
PVR:(Error): [ 747-> 747] < gbm_pvr_bo_import():327|ERROR> Import type <21761> not supported [0, ]
Date: 2017-06-28 UTC
[20:20:47.392] weston 1.11.0
http://wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 for the official release (2016-05-31 17:10:
40 -0700)
[20:20:47.412] OS: Linux, 4.9.28-geed43d1050, #3 PREEMPT Fri Dec 29 14:23:54 CST 2017, armv7l
[20:20:47.420] Using config file '/etc//weston.ini'
[20:20:47.421] Output repaint window is 7 ms maximum.
[20:20:47.421] Loading module '/usr/lib/weston/drm-backend.so'
[20:20:47.462] initializing drm backend
[20:20:47.514] using /dev/dri/card0
[20:20:47.514] Loading module '/usr/lib/weston/gl-renderer.so'
failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[20:20:47.600] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDispl
ay.
[20:20:47.748] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[20:20:47.748] Retrieving EGL client extension string failed.
[20:20:47.828] input device 'ti-tsc', /dev/input/event0 is tagged by udev as: Touchscreen
[20:20:47.829] input device 'ti-tsc', /dev/input/event0 is a touch device
[20:20:48.163] EGL version: 1.4 build 1.14@3699939 (MAIN)
[20:20:48.163] EGL vendor: Imagination Technologies
[20:20:48.163] EGL client APIs: OpenGL_ES
[20:20:48.163] 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
[20:20:48.163] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[20:20:48.163] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[20:20:48.163] GL vendor: Imagination Technologies
[20:20:48.163] GL renderer: PowerVR SGX 530
[20:20:48.163] 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_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_texture_rg
GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
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
[20:20:48.164] GL ES 2 renderer features:
read-back format: RGBA
wl_shm sub-image to texture: no
EGL Wayland extension: yes
[20:20:48.164] Chosen EGL config details:
RGBA bits: 8 8 8 8
swap interval range: 1 - 1
[20:20:48.164] cursor buffers unavailable, using gl cursors
[20:20:48.164] Initialized backlight, device /sys/class/backlight/backlight
[20:20:48.165] Applying calibration: 1.043520 0.046038 -41.525909 -0.012207 1.068980 -18.765503 (normalized -0.032442 -0.
023457)
[20:20:48.166] EDID data 'LNX', 'Linux WXGA', 'Linux #0'
[20:20:48.166] Output LVDS-1, (connector 26, crtc 24)
mode 1280x800@60.0, preferred, current
[20:20:48.226] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
[20:20:48.226] Loading module '/usr/lib/weston/desktop-shell.so'
[20:20:48.228] launching '/usr/libexec/weston-keyboard'
[20:20:48.230] launching '/usr/libexec/weston-desktop-shell'
[20:20:48.502] DRM: DPMS: failed property set for LVDS-1
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
[20:25:47.230] notify_touch: weston_compositor_pick_view(1327, 466) failed to find a view!
[20:25:48.175] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:25:54.241] notify_touch: weston_compositor_pick_view(1349, 783) failed to find a view!
[20:25:59.042] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:26:06.098] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:26:06.141] notify_touch: weston_compositor_pick_view(1351, 815) failed to find a view!
[20:26:06.141] notify_touch: weston_compositor_pick_view(1350, 799) failed to find a view!
[20:26:06.149] notify_touch: weston_compositor_pick_view(1350, 799) failed to find a view!
[20:26:06.192] notify_touch: weston_compositor_pick_view(1351, 810) failed to find a view!
[20:26:06.192] notify_touch: weston_compositor_pick_view(1351, 813) failed to find a view!
[20:26:06.192] notify_touch: weston_compositor_pick_view(1351, 813) failed to find a view!
[20:26:06.192] notify_touch: weston_compositor_pick_view(1352, 826) failed to find a view!
[20:26:06.192] notify_touch: weston_compositor_pick_view(1351, 806) failed to find a view!
[20:26:06.193] notify_touch: weston_compositor_pick_view(1350, 793) failed to find a view!
[20:26:06.193] notify_touch: weston_compositor_pick_view(1351, 809) failed to find a view!
[20:26:06.193] notify_touch: weston_compositor_pick_view(1351, 812) failed to find a view!
[20:26:06.193] notify_touch: weston_compositor_pick_view(1350, 789) failed to find a view!
[20:26:06.193] notify_touch: weston_compositor_pick_view(1351, 807) failed to find a view!
[20:26:09.624] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:26:09.942] notify_touch: weston_compositor_pick_view(1350, 796) failed to find a view!
[20:26:10.341] notify_touch: weston_compositor_pick_view(1349, 775) failed to find a view!
[20:26:10.441] notify_touch: weston_compositor_pick_view(1350, 794) failed to find a view!
[20:26:10.541] notify_touch: weston_compositor_pick_view(1349, 775) failed to find a view!
[20:26:10.741] notify_touch: weston_compositor_pick_view(1352, 818) failed to find a view!
[20:26:10.841] notify_touch: weston_compositor_pick_view(1350, 803) failed to find a view!
[20:26:11.358] SYN_DROPPED event from "ti-tsc" - some input events have been lost.
[20:26:11.358] WARNING: log rate limit exceeded (5 msgs per 30000ms). Discarding future messages.
[20:26:11.658] notify_touch: weston_compositor_pick_view(1352, 820) failed to find a view!
[20:26:11.658] notify_touch: weston_compositor_pick_view(1349, 784) failed to find a view!

 I don't understand why that happened.

 the version of the TI SDK used : 04.00.00.04

 Any ideas would be helpful!!