ivi-shell does not work on imx6 (black screen)

Description

imx6qsabrelite:~# weston-info
interface: 'wl_compositor', version: 4, name: 1
interface: 'wl_subcompositor', version: 1, name: 2
interface: 'wp_viewporter', version: 1, name: 3
interface: 'wp_presentation', version: 1, name: 4
        presentation clock id: 4 (CLOCK_MONOTONIC_RAW)
interface: 'zwp_relative_pointer_manager_v1', version: 1, name: 5
interface: 'zwp_pointer_constraints_v1', version: 1, name: 6
interface: 'wl_data_device_manager', version: 3, name: 7
interface: 'wl_shm', version: 1, name: 8
        formats: unknown(56595559) unknown(3231564e) unknown(32315559) RGB565 XRGB8888 ARGB8888
interface: 'wl_viv', version: 1, name: 9
interface: 'wl_viv', version: 1, name: 10
interface: 'wl_seat', version: 5, name: 11
        name: default
        capabilities: keyboard touch
        keyboard repeat rate: 40
        keyboard repeat delay: 400
interface: 'wl_output', version: 3, name: 12
        x: 0, y: 0, scale: 1,
        physical_width: -1 mm, physical_height: -1 mm,
        make: 'unknown', model: 'DISP4 BG',
        subpixel_orientation: unknown, output_transform: 270°,
        mode:
                width: 1920 px, height: 1080 px, refresh: 61.497 Hz,
                flags: current preferred
interface: 'zwp_input_panel_v1', version: 1, name: 13
interface: 'zwp_input_method_v1', version: 1, name: 14
interface: 'zwp_text_input_manager_v1', version: 1, name: 15
interface: 'zxdg_shell_v6', version: 1, name: 16
interface: 'xdg_shell', version: 1, name: 17
interface: 'wl_shell', version: 1, name: 18
interface: 'ivi_application', version: 1, name: 19
interface: 'ivi_controller', version: 1, name: 20
interface: 'ivi_input', version: 1, name: 21

 

imx6qsabrelite:~# cat /run/platform/display/weston.log
Date: 2017-12-08 UTC
[12:48:08.180] weston 2.0.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0
               Build: 1.99.94-2-g4c4f13d configure.ac: bump to version 2.0.0 for the official release (2017-02-24 16:19:03 -0800)
[12:48:08.180] Command line: /usr/bin/weston --idle-time=0 --tty=1 --use-gl --log=/run/platform/display/weston.log
[12:48:08.180] OS: Linux, 4.1.15-2.0.0-ga+yocto+g0898c203628d, #6 SMP PREEMPT Wed Dec 13 14:18:29 EET 2017, armv7l
[12:48:08.180] warning: XDG_RUNTIME_DIR "/run/platform/display" is not configured
correctly.  Unix access mode must be 0700 (current mode is 770),
and must be owned by the user (current owner is UID 200).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[12:48:08.200] Using config file '/etc/xdg/weston/weston.ini'
[12:48:08.222] Output repaint window is 7 ms maximum.
[12:48:08.228] Loading module '/usr/lib/libweston-2/fbdev-backend.so'
[12:48:08.270] initializing fbdev backend
[12:48:08.271] logind: not running in a systemd session
[12:48:08.271] logind: cannot setup systemd-logind helper (-6), using legacy fallback
[12:48:08.274] Loading module '/usr/lib/libweston-2/gl-renderer.so'
[12:48:08.344] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[12:48:08.425] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
[12:48:08.425] Retrieving EGL client extension string failed.
[12:48:08.425] EGL_KHR_surfaceless_context available
[12:48:08.528] EGL version: 1.4
[12:48:08.528] EGL vendor: Vivante Corporation
[12:48:08.528] EGL client APIs: OpenGL_ES OpenVG
[12:48:08.528] EGL extensions: EGL_KHR_reusable_sync EGL_KHR_fence_sync
               EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
               EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
               EGL_KHR_gl_renderbuffer_image EGL_KHR_lock_surface
               EGL_KHR_create_context EGL_KHR_surfaceless_context
               EGL_EXT_create_context_robustness EGL_EXT_buffer_age
               EGL_EXT_protected_surface EXT_image_dma_buf_import
               EGL_WL_bind_wayland_display
               EGL_WL_create_wayland_buffer_from_image
[12:48:08.528] GL version: OpenGL ES 3.0 V5.0.11.p8.41671
[12:48:08.528] GLSL version: OpenGL ES GLSL ES 3.00
[12:48:08.528] GL vendor: Vivante Corporation
[12:48:08.529] GL renderer: Vivante GC2000
[12:48:08.529] GL extensions: GL_OES_vertex_type_10_10_10_2
               GL_OES_vertex_half_float GL_OES_element_index_uint
               GL_OES_mapbuffer GL_OES_vertex_array_object
               GL_OES_compressed_ETC1_RGB8_texture
               GL_OES_compressed_paletted_texture GL_OES_texture_npot
               GL_OES_rgb8_rgba8 GL_OES_depth_texture
               GL_OES_depth_texture_cube_map GL_OES_depth24 GL_OES_depth32
               GL_OES_packed_depth_stencil GL_OES_fbo_render_mipmap
               GL_OES_get_program_binary GL_OES_fragment_precision_high
               GL_OES_standard_derivatives GL_OES_EGL_image GL_OES_EGL_sync
               GL_OES_required_internalformat GL_OES_surfaceless_context
               GL_EXT_texture_type_2_10_10_10_REV
               GL_EXT_texture_filter_anisotropic
               GL_EXT_texture_format_BGRA8888 GL_EXT_read_format_bgra
               GL_EXT_multi_draw_arrays GL_EXT_frag_depth
               GL_EXT_discard_framebuffer GL_EXT_blend_minmax
               GL_EXT_multisampled_render_to_texture GL_EXT_robustness
               GL_VIV_direct_texture
[12:48:08.529] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[12:48:08.529] Creating fbdev output.
[12:48:08.530] Opening fbdev frame buffer.
[12:48:08.530] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 32 (grayscale: 0)
                - red: offset: 16, length: 8, MSB: 0
                - green: offset: 8, length: 8, MSB: 0
                - blue: offset: 0, length: 8, MSB: 0
                - transp: offset: 24, length: 8, MSB: 0
[12:48:08.562] input device 'gpio-keys', /dev/input/event2 is tagged by udev as: Keyboard
[12:48:08.563] input device 'gpio-keys', /dev/input/event2 is a keyboard
[12:48:08.626] input device 'Chalkboard Electronics HID Multi-touch', /dev/input/event0 is tagged by udev as: Touchscreen
[12:48:08.626] input device 'Chalkboard Electronics HID Multi-touch', /dev/input/event0 is a touch device
[12:48:08.631] input device 'Chalkboard Electronics HID Multi-touch', /dev/input/event1 is tagged by udev as: Keyboard
[12:48:08.631] input device 'Chalkboard Electronics HID Multi-touch', /dev/input/event1 is a keyboard
[12:48:09.131] Opening fbdev frame buffer.
[12:48:09.131] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 32 (grayscale: 0)
                - red: offset: 16, length: 8, MSB: 0
                - green: offset: 8, length: 8, MSB: 0
                - blue: offset: 0, length: 8, MSB: 0
                - transp: offset: 24, length: 8, MSB: 0
[12:48:09.132] Chosen EGL config details:
               RGBA bits: 8 8 8 0
               swap interval range: 0 - 10
[12:48:09.132] fbdev output 1920×1080 px
               guessing 61 Hz and 96 dpi
[12:48:09.134] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC_RAW, id 4
               presentation clock resolution: 0.000000001 s
[12:48:09.158] Loading module '/usr/lib/weston/ivi-shell.so'
[12:48:09.183] launching '/usr/libexec/weston-keyboard'
[12:48:09.196] Loading module '/usr/lib/weston/ivi-controller.so'
[12:48:09.210] Loading module '/usr/lib/weston/ivi-input-controller.so'
[12:48:09.212] ivi-input-controller module loaded successfully!
[12:48:09.213] Loading module '/usr/lib/weston/simple-id-agent.so'
[12:48:09.214] id_agent_module_init: success

Environment

None

Activity

Michael Grigorov 
February 27, 2018 at 10:58 AM

solved by Change-Id: If81cb3245fac01a32a97b02106ff23b65856d565

Walt Miner 
January 19, 2018 at 3:30 PM

Reopen pending cherry pick to eel

Michael Grigorov 
January 19, 2018 at 8:33 AM
(edited)

Positive for u-boot fixes, but i'm not very sure for the fix in ivi-shell.

Jan-Simon Moeller 
January 17, 2018 at 3:55 PM

This and the other i.mx u-boot fixes are candidates imho. - what do you think ?

Walt Miner 
January 17, 2018 at 3:25 PM

  Should this be cherry picked to eel as well?

Fixed

Details

Assignee

Reporter

Fix versions

Labels

Due date

Priority

Created December 14, 2017 at 3:01 PM
Updated March 7, 2018 at 3:51 PM
Resolved February 27, 2018 at 10:59 AM