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.

AM3359: Weston doesn't start

Part Number: AM3359
Other Parts Discussed in Thread: ADS7846,

root@am335x-evm:~# weston --tty=1
Date: 2018-09-12 UTC
[15:01:44.340] 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)
[15:01:44.341] OS: Linux, 4.9.65-rt23-g7069a470d5, #17 PREEMPT RT Wed Sep 12 00:23:11 HKT 2018, armv7l
[15:01:44.342] Using config file '/etc//weston.ini'
[15:01:44.342] Output repaint window is 7 ms maximum.
[15:01:44.343] Loading module '/usr/lib/weston/drm-backend.so'
[15:01:44.355] initializing drm backend
[15:01:44.365] using /dev/dri/card0
[15:01:44.370] 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
[15:01:44.423] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[15:01:44.456] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[15:01:44.456] Retrieving EGL client extension string failed.
[15:01:44.476] input device 'matrix_keypad0', /dev/input/event2 is tagged by udev as: Keyboard
[15:01:44.476] input device 'matrix_keypad0', /dev/input/event2 is a keyboard
[15:01:44.482] input device 'SEM HCT Keyboard', /dev/input/event3 is tagged by udev as: Keyboard
[15:01:44.482] input device 'SEM HCT Keyboard', /dev/input/event3 is a keyboard
[15:01:44.488] input device 'SEM HCT Keyboard', /dev/input/event4 is tagged by udev as: Keyboard
[15:01:44.488] input device 'SEM HCT Keyboard', /dev/input/event4 is a keyboard
[15:01:44.492] input device 'ADS7846 Touchscreen', /dev/input/event0 is tagged by udev as: Touchscreen
[15:01:44.492] input device 'ADS7846 Touchscreen', /dev/input/event0 is a touch device
[15:01:44.496] input device 'volume_keys0', /dev/input/event1 is tagged by udev as: Keyboard
[15:01:44.496] input device 'volume_keys0', /dev/input/event1 is a keyboard
[ 669.751619] bytes_read = 128[15:01:44.772] EGL version: 1.4 build 1.14@3699939 (MAIN)
[15:01:44.772] EGL vendor: Imagination Technologies
[15:01:44.772] EGL client APIs: OpenGL_ES
[15:01:44.772] 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
[15:01:44.772] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[15:01:44.772] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
[15:01:44.772] GL vendor: Imagination Technologies
[15:01:44.773] GL renderer: PowerVR SGX 530
[15:01:44.773] 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
[15:01:44.773] GL ES 2 renderer features:
read-back format: RGBA
wl_shm sub-image to texture: no
EGL Wayland extension: yes
[15:01:44.773] Chosen EGL config details:
RGBA bits: 8 8 8 8
swap interval range: 1 - 1
[15:01:44.774] cursor buffers unavailable, using gl cursors
[15:01:44.774] Failed to initialize backlight
[15:01:44.775] EDID data 'SAM', 'S24D360', '810175286'
[15:01:44.776] Output HDMI-A-1, (connector 26, crtc 24)
mode 1280x1024@60.0, current
mode 1440x900@59.9
mode 1280x800@59.9
mode 1152x864@75.0
mode 1280x720@60.0
mode 1280x720@59.9
mode 1280x720@50.0
mode 1024x768@75.0
mode 1024x768@70.1
mode 1024x768@60.0
mode 832x624@74.6
mode 800x600@75.0
mode 800x600@72.2
mode 800x600@60.3
mode 800x600@56.2
mode 720x576@50.0
mode 720x480@60.0
mode 720x480@59.9
mode 640x480@75.0
mode 640x480@72.8
mode 640x480@66.7
mode 640x480@60.0
mode 640x480@59.9
mode 720x400@70.1
[15:01:44.777] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
[15:01:44.783] Loading module '/usr/lib/weston/desktop-shell.so'
[15:01:44.788] launching '/usr/libexec/weston-keyboard'
[15:01:44.792] launching '/usr/libexec/weston-desktop-shell'
[15:01:44.943] set mode failed: No such file or directory
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'
[15:01:45.561] set mode failed: No such file or directory
[15:01:45.607] set mode failed: No such file or directory
[15:02:45.198] set mode failed: No such file or directory
[15:02:45.198] unexpectedly large timestamp jump (from 670692 to 730283)
[15:03:45.188] set mode failed: No such file or directory
[15:04:45.188] set mode failed: No such file or directory
[15:05:45.188] set mode failed: No such file or directory
[15:06:45.188] set mode failed: No such file or directory
[15:07:45.189] set mode failed: No such file or directory
[15:08:45.189] set mode failed: No such file or directory
[15:09:45.188] set mode failed: No such file or directory
[15:10:45.188] set mode failed: No such file or directory
[15:11:45.188] set mode failed: No such file or directory
[15:12:45.188] set mode failed: No such file or directory
[15:13:45.188] set mode failed: No such file or directory
[15:14:45.189] set mode failed: No such file or directory
[15:15:45.188] set mode failed: No such file or directory
[15:16:45.188] set mode failed: No such file or directory
[15:17:45.188] set mode failed: No such file or directory
[15:18:45.188] set mode failed: No such file or directory

  • Hello XiaoXiao Chen,

    Please check this guide and follow it:
    software-dl.ti.com/.../Foundational_Components_Graphics.html

    BR
    Margarita
  • Part Number: AM3359

    root@am335x-evm:/var/log# weston --tty=1
    Date: 2018-09-12 UTC
    [15:48:54.567] 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)
    [15:48:54.567] OS: Linux, 4.9.65-rt23-g7069a470d5, #17 PREEMPT RT Wed Sep 12 00:23:11 HKT 2018, armv7l
    [15:48:54.568] Using config file '/etc//weston.ini'
    [15:48:54.569] Output repaint window is 7 ms maximum.
    [15:48:54.570] Loading module '/usr/lib/weston/drm-backend.so'
    [15:48:54.582] initializing drm backend
    [15:48:54.591] using /dev/dri/card0
    [15:48:54.592] 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
    PVR:(Error): [ 1178-> 1178] < gbm_pvr_create_device():592|ERROR> Failed to create DBM device: No such device [0, ]
    [15:48:54.604] failed to initialize egl
    [15:48:54.618] fatal: failed to create compositor backend

  • Thank you for your answer!
    This resoled my issue!
    But sometimes another issue happended like the below ,and I don't the reason
    root@am335x-evm:~# weston --tty=1
    Date: 2018-09-12 UTC
    [16:33:19.921] 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)
    [16:33:19.921] OS: Linux, 4.9.65-rt23-g7069a470d5, #17 PREEMPT RT Wed Sep 12 00:23:11 HKT 2018, armv7l
    [16:33:19.922] Using config file '/etc//weston.ini'
    [16:33:19.923] Output repaint window is 7 ms maximum.
    [16:33:19.923] Loading module '/usr/lib/weston/drm-backend.so'
    [16:33:19.936] initializing drm backend
    [16:33:19.945] using /dev/dri/card0
    [16:33:19.946] 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
    PVR:(Error): [ 1104-> 1104] < gbm_pvr_create_device():592|ERROR> Failed to create DBM device: No such device [0, ]
    [16:33:19.958] failed to initialize egl
    [16:33:19.973] fatal: failed to create compositor backend
  • Please post complete details of what you are trying to do, what board you use, what Linux version you use and any additional information necessary. Posting only log files is not enough information for us to service your request.
  • Thank you for your attention
    I want to start the weston on the my own design board basing on am3359.
    The linux version is linux-rt-4.9.69+gitAUTOINC+7069a470d5-g7069a470d5.