Hi Ray,

On 16.10.2015 09:00, RayBloodworth wrote:
Hi, Leon, everyone

I have built Tizen-IVI image(tizen-ivi-image-dev) with single seat using yocto and run it on MCIMX6Q-SDP:

    tizen-distro : tizen-ivi branch
meta-fsl-arm/meta-fsl-arm-extra: dizzy (kernel is upgraded to 3.14.28, imx-gpu-viv is upgraded to 5.0.11)


Honestly I am not sure what is the current status of tizen-ivi branch. Nowadays my work is focused on Tizen:Common, the tizen branch. In my opinion instead of branches, the additional packages needed for IVI (or other Tizen 3 profiles) should be provided by a separate meta layer. Anyway, this is another story :)

    Then I configed boot params to lvds video(default is hdmi) output.

    After booting the system, tty1 turn to black screen.

According to multi-user case, there should be a weston(A) running with genivi user and another one(B) with app user. A should use fbdev-backend and B should use wayland-backend.

    Using pstree I got this:
root@imx6qsabresd:~# pstree
systemd-+-ambd---{gdbus}
        |-amd
        |-avahi-daemon---avahi-daemon
        |-bluetoothd
        |-connmand
        |-dbus-daemon
        |-ofonod
        |-sshd---sh---pstree
        |-system_server
        |-systemd-journal
        |-systemd-logind
        |-systemd-udevd---systemd-udevd
|-tlm-+-tlm-sessiond-+-genivi-session----weston-launch---weston---{weston}
        |     |              |-{gdbus}
        |     |              `-{gmain}
        | |-tlm-sessiond-+-user-session---weston-+-weston-desktop-
        |     |              | `-{weston}
        |     |              |-{gdbus}
        |     |              `-{gmain}
        |     |-{gdbus}
        |     `-{gmain}
        `-wpa_supplicant

    It's looks like OK.

    And I checked the genivi-weston log:

Date: 1970-01-01 UTC
[00:06:14.141] weston 1.6.0
               http://wayland.freedesktop.org/
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0 Build: tizen_3.0_ivi_release-dirty Fixed weston transfromation problem (2015-01-08 18:51:08 +0200) [00:06:14.142] OS: Linux, 3.14.28-1.0.0_ga+g91cf351, #1 SMP PREEMPT Sun Oct 11 02:05:20 CST 2015, armv7l
[00:06:14.147] Using config file '/etc/xdg/weston/weston-genivi.ini'
[00:06:14.150] Loading module '/usr/lib/weston/fbdev-backend.so'
[00:06:14.267] initializing fbdev backend
[00:06:14.281] compositor->use_gal2d=0
[00:06:14.289] Loading module '/usr/lib/weston/gl-renderer.so'
[00:06:14.356] Creating fbdev output. /dev/fb0 x=0 y=0
[00:06:14.356] Opening fbdev frame buffer.
[00:06:14.356] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 16 (grayscale: 0)
                - red: offset: 11, length: 5, MSB: 0
                - green: offset: 5, length: 6, MSB: 0
                - blue: offset: 0, length: 5, MSB: 0
                - transp: offset: 0, length: 0, MSB: 0
[00:06:14.425] EGL version: 1.4
[00:06:14.425] EGL vendor: Vivante Corporation
[00:06:14.425] EGL client APIs: OpenGL_ES OpenVG
[00:06:14.425] 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_EXT_create_context_robustness
               EGL_EXT_buffer_age EGL_EXT_protected_surface
               EGL_WL_bind_wayland_display
[00:06:14.425] GL version: OpenGL ES 3.0 V5.0.11.p4.25762
[00:06:14.425] GLSL version: OpenGL ES GLSL ES 3.00
[00:06:14.425] GL vendor: Vivante Corporation
[00:06:14.425] GL renderer: Vivante GC2000
[00:06:14.425] 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_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_tex_direct
[00:06:14.426] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[00:06:14.426] Chosen EGL config details:
               RGBA bits: 8 8 8 0
               swap interval range: 0 - 10
[00:06:14.426] fbdev output 1024×768 px
               guessing 63 Hz and 96 dpi
[00:06:14.428] input device 'gpio-keys.21', /dev/input/event7 is a keyboard [00:06:14.429] input device 'DELL Dell USB Entry Keyboard', /dev/input/event5 is a keyboard
[00:06:14.430] not using input device '/dev/input/event6'.
[00:06:14.431] input device 'max11801_ts', /dev/input/event1 is a touch device [00:06:14.432] input device 'EETI eGalax Touch Screen', /dev/input/event0 is a touch device
[00:06:14.433] not using input device '/dev/input/event2'.
[00:06:14.433] not using input device '/dev/input/event3'.
[00:06:14.434] not using input device '/dev/input/event4'.
[00:06:14.434] launching '/usr/libexec/weston-keyboard'
[00:06:14.438] seat created with name default
[00:06:14.531] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
[00:06:14.534] Loading module '/usr/lib/weston/fullscreen-shell.so'
[00:06:14.707] input_method died, respawning...
[00:06:14.707] launching '/usr/libexec/weston-keyboard'
[00:06:14.792] input_method died, respawning...
[00:06:14.792] launching '/usr/libexec/weston-keyboard'
[00:06:14.868] input_method died, respawning...
[00:06:14.868] launching '/usr/libexec/weston-keyboard'
[00:06:14.938] input_method died, respawning...
[00:06:14.938] launching '/usr/libexec/weston-keyboard'
[00:06:15.006] input_method died, respawning...
[00:06:15.006] launching '/usr/libexec/weston-keyboard'
[00:06:15.074] input_method died, giving up.


 weston(PID:5000) log:
[00:01:23.662] weston 1.6.0
               http://wayland.freedesktop.org/
Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.6.0 Build: tizen_3.0_ivi_release-dirty Fixed weston transfromation problem (2015-01-08 18:51:08 +0200) [00:01:23.663] OS: Linux, 3.14.28-1.0.0_ga+g91cf351, #1 SMP PREEMPT Sun Oct 11 02:05:20 CST 2015, armv7l
[00:01:23.663] Using config file '/etc/xdg/weston/weston-user.ini'
[00:01:23.663] Loading module '/usr/lib/weston/wayland-backend.so'
[00:01:23.676] Multiseat enabled 0
[00:01:23.683] create input with id 10
[00:01:23.684] initialise input with seat name (null)
[00:01:23.684] launching '/bin/weekeyboard'
[00:01:23.685] compositor: executing '/bin/weekeyboard' failed: No such file or directory
[00:01:23.685] Loading module '/usr/lib/weston/gl-renderer.so'
[00:01:23.715] input_handle_capabilities input with seatname  and caps 7
[00:01:23.743] Creating 1024x768 wayland output at (0, 0)
[00:01:23.759] EGL version: 1.4
[00:01:23.759] EGL vendor: Vivante Corporation
[00:01:23.759] EGL client APIs: OpenGL_ES OpenVG
[00:01:23.759] 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_EXT_create_context_robustness
               EGL_EXT_buffer_age EGL_EXT_protected_surface
               EGL_WL_bind_wayland_display
[00:01:23.760] GL version: OpenGL ES 3.0 V5.0.11.p4.25762
[00:01:23.760] GLSL version: OpenGL ES GLSL ES 3.00
[00:01:23.760] GL vendor: Vivante Corporation
[00:01:23.760] GL renderer: Vivante GC2000
[00:01:23.760] 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_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_tex_direct
[00:01:23.760] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[00:01:23.760] Chosen EGL config details:
               RGBA bits: 8 8 8 8
               swap interval range: 0 - 10
[00:01:23.760] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
[00:01:23.770] Loading module '/usr/lib/weston/desktop-shell.so'
[00:01:23.784] launching '/usr/libexec/weston-desktop-shell'
[00:01:23.789] input_method died, respawning...
[00:01:23.789] launching '/bin/weekeyboard'
[00:01:23.796] compositor: executing '/bin/weekeyboard' failed: No such file or directory
[00:01:23.799] input_method died, respawning...
[00:01:23.799] launching '/bin/weekeyboard'
[00:01:23.815] compositor: executing '/bin/weekeyboard' failed: No such file or directory
[00:01:23.818] input_method died, respawning...
[00:01:23.819] launching '/bin/weekeyboard'
[00:01:23.823] compositor: executing '/bin/weekeyboard' failed: No such file or directory
[00:01:23.827] input_method died, respawning...
[00:01:23.827] launching '/bin/weekeyboard'
[00:01:23.831] compositor: executing '/bin/weekeyboard' failed: No such file or directory
[00:01:23.834] input_method died, respawning...
[00:01:23.834] launching '/bin/weekeyboard'
[00:01:23.838] compositor: executing '/bin/weekeyboard' failed: No such file or directory
[00:01:23.841] input_method died, giving up.

   I couldn't find any error. Could anyone give me any advices?


Based on my experience you should apply i.MX6 specific patches in Weston 1.6 and after that you should launch Weston with fbdev-backend.

You might be also experiencing incompatibility between the driver version for Vivante GPU in the kernel and the firmware blobs in the user space. Which kernel version are you using? Is it 3.14?

Btw I see that weekeyboard is not available. You should either built it or just replace it with weston-keyboard in weston configuration file.

Best regards,
Leon


Thanks !

BR,
Ray




--
Leon Anavi
Software Engineer
konsulko.com

_______________________________________________
Dev mailing list
[email protected]
https://lists.tizen.org/listinfo/dev

Reply via email to