wayland/Weston crash in Qt

  • We have custom Qt application running on "Embedded Linux OS" on "am3354 processor".
    We are using TI SDK: 03.03 for rootfs and kernel
    Kernel: "Linux am335x-evm 4.4.41-gf9f6f0db2d #43 PREEMPT Mon Feb 26 18:32:45 UTC 2018 armv7l GNU/Linux"
    QT version:

    QT application is running with wayland/weston.
    When the QT application starts, we observed "weston", "weston-keyboard" and "weston-desktop-shell" are running.

    We observed blank screen between 2 screen transition. In case we tap in blank screen or continuous multiple tap, we are getting below error and QT application is getting crashed with "Please Wait..." text in the LCD :
    Error in QT app:
    "The Wayland connection broke. Did the Wayland compositor die?"

    In the blank screen error is:
    /usr/bin/runWeston:line39:1896 Trace/Breakpoint trap (core dumped) weston --idle-time=0>>/var/log/weston.log 2>&1

    At this time, we can not see "weston", "weston-keyboard" and "weston-desktop-shell" processes running.

    Can you please help to fix this wayland/Weston crash ?

  • Qt Champions 2018

    @Jitendra-Kumar said in wayland/Weston crash in Qt:


    Did you check the content of that log file?

  • @jsulm

    The log file looks like below [after crashing]: --> Last line extra because of crash

    Date: 2017-05-13 UTC
    [13:37:29.405] weston 1.9.0
    Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
    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)
    [13:37:29.406] OS: Linux, 4.4.41-gf9f6f0db2d, #45 PREEMPT Tue Feb 27 19:25:18 UTC 2018, armv7l
    [13:37:29.408] Using config file '/etc//weston.ini'
    [13:37:29.420] Loading module '/usr/lib/weston/drm-backend.so'
    [13:37:29.476] Output repaint window is 7 ms maximum.
    [13:37:29.476] initializing drm backend
    [13:37:29.500] using /dev/dri/card0
    [13:37:29.502] 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
    [13:37:29.652] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [13:37:29.981] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
    [13:37:29.981] Retrieving EGL client extension string failed.
    [13:37:30.065] input device 'matrix_keypad@0', /dev/input/event1 is tagged by udev as: Keyboard
    [13:37:30.065] input device 'matrix_keypad@0', /dev/input/event1 is a keyboard
    [13:37:30.070] input device 'EP0790M09', /dev/input/event2 is tagged by udev as: Touchscreen
    [13:37:30.070] input device 'EP0790M09', /dev/input/event2 is a touch device
    [13:37:30.116] input device 'volume_keys@0', /dev/input/event0 is tagged by udev as: Keyboard
    [13:37:30.116] input device 'volume_keys@0', /dev/input/event0 is a keyboard
    [13:37:30.537] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [13:37:30.537] EGL vendor: Imagination Technologies
    [13:37:30.537] EGL client APIs: OpenGL_ES
    [13:37:30.537] 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
    [13:37:30.537] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [13:37:30.537] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [13:37:30.537] GL vendor: Imagination Technologies
    [13:37:30.537] GL renderer: PowerVR SGX 530
    [13:37:30.537] 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_multisampled_render_to_texture GL_KHR_debug
    [13:37:30.538] GL ES 2 renderer features:
    read-back format: RGBA
    wl_shm sub-image to texture: no
    EGL Wayland extension: yes
    [13:37:30.538] Chosen EGL config details:
    RGBA bits: 8 8 8 8
    swap interval range: 1 - 1
    [13:37:30.538] cursor buffers unavailable, using gl cursors
    [13:37:30.539] Initialized backlight, device /sys/class/backlight/backlight
    [13:37:30.549] Output LVDS-1, (connector 26, crtc 24)
    mode 800x480@58.2, preferred, current
    mode 800x480@58.2, preferred
    [13:37:30.549] Compositor capabilities:
    arbitrary surface rotation: yes
    screen capture uses y-flip: yes
    presentation clock: CLOCK_MONOTONIC, id 1
    [13:37:30.558] Loading module '/usr/lib/weston/desktop-shell.so'
    [13:37:30.594] launching '/usr/libexec/weston-keyboard'
    [13:37:30.598] launching '/usr/libexec/weston-desktop-shell'
    [13:37:30.870] DRM: DPMS: failed property set for LVDS-1
    file: No such file or directory
    [13:40:09.303] caught signal: 11

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.