[meta-freescale] Weston hangs the system on iMX6

Keskinarkaus, Teemu Teemu.Keskinarkaus at Maximatecc.com
Wed Sep 2 00:04:52 PDT 2015


Okay, inspected bit more and when using Ethernet/ssh to start Weston I get more log before system hangs. It seems serial driver was buffering stuff and it didn’t get printed out before hang. With Ethernet more stuff was printed before hang. Still don’t know if this helps.

It always stops at the same spot, but then again might be again be the printing problem.

-- -
[02:07:56.433] weston 1.5.0
               http://wayland.freedesktop.org/
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.5.0
               Build: 1.4.93 configure.ac: Bump version 1.4.93 (2014-05-12 12:51:52 -0700)
[02:07:56.434] OS: Linux, 3.10.17-rt12-1.0.2_ga+g33597e3, #1 SMP PREEMPT RT Wed Sep 2 08:35:35 EEST 2015, armv7l
[02:07:56.434] Starting with no config file.
[02:07:56.438] Loading module '/usr/lib/weston/fbdev-backend.so'
[02:07:56.495] initializing fbdev backend
[02:07:56.502] compositor->use_gal2d=0
[02:07:56.504] Loading module '/usr/lib/weston/gl-renderer.so'
[02:07:56.550] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[02:07:56.550] Creating fbdev output. /dev/fb0 x=0 y=0
[02:07:56.551] Opening fbdev frame buffer.
[02:07:56.551] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 24 (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: 0, length: 0, MSB: 0
[02:07:56.568] EGL version: 1.4
[02:07:56.568] EGL vendor: Vivante Corporation
[02:07:56.568] EGL client APIs: OpenGL_ES OpenVG
[02:07:56.568] 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_WL_bind_wayland_display
[02:07:56.569] GL version: OpenGL ES 2.0
[02:07:56.569] GLSL version: OpenGL ES GLSL ES 1.00
[02:07:56.569] GL vendor: Vivante Corporation
[02:07:56.569] GL renderer: Vivante GC2000
[02:07:56.569] GL extensions: GL_OES_compressed_ETC1_RGB8_texture
               GL_OES_compressed_paletted_texture GL_OES_EGL_image
               GL_OES_depth24 GL_OES_fbo_render_mipmap
               GL_OES_fragment_precision_high GL_OES_rgb8_rgba8
               GL_OES_stencil1 GL_OES_stencil4 GL_OES_texture_npot
               GL_OES_vertex_half_float GL_OES_depth_texture
               GL_OES_packed_depth_stencil GL_OES_standard_derivatives
               GL_OES_get_program_binary GL_EXT_texture_format_BGRA8888
               GL_IMG_read_format GL_EXT_blend_minmax GL_EXT_read_format_bgra
               GL_EXT_multi_draw_arrays GL_APPLE_texture_format_BGRA8888
               GL_APPLE_texture_max_level GL_ARM_rgba8 GL_EXT_frag_depth
               GL_VIV_shader_binary GL_VIV_direct_texture GL_OES_mapbuffer
               GL_OES_EGL_image_external GL_EXT_discard_framebuffer
               GL_EXT_multisampled_render_to_texture GL_VIV_clamp_to_border
               GL_OES_vertex_type_10_10_10_2
               GL_EXT_texture_type_2_10_10_10_REV
               GL_EXT_texture_filter_anisotropic GL_OES_element_index_uint
[02:07:56.569] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: no
               EGL Wayland extension: yes
[02:07:56.570] Chosen EGL config details:
               RGBA bits: 8 8 8 8
               swap interval range: 0 - 10
[02:07:56.570] fbdev output 1280Ã800 px
               guessing 65 Hz and 96 dpi
[02:07:56.571] warning: no input devices on entering Weston. Possible causes:
        - no permissions to read /dev/input/event*
        - seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
[02:07:56.572] Loading module '/usr/lib/weston/desktop-shell.so'
[02:07:56.576] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
-- -

Teemu Keskinarkaus
Software system engineer

maximatecc
making machines smart, safe and productive

From: Prabhu S [mailto:prabhusundar at gmail.com]
Sent: 28. elokuuta 2015 17:00
To: Keskinarkaus, Teemu
Cc: meta-freescale at yoctoproject.org
Subject: Re: [meta-freescale] Weston hangs the system on iMX6

GPU driver in Wayland image also support EGL-FB as well. Can you please try with any of the basic GLES application. this is just to makesure whether GPU setup correctly.
You can find few presbuilt samples from /opt/viv_samples/vdk/... provided you need to include to rootfs using local.conf

On Fri, Aug 28, 2015 at 7:29 AM, Keskinarkaus, Teemu <Teemu.Keskinarkaus at maximatecc.com<mailto:Teemu.Keskinarkaus at maximatecc.com>> wrote:
Hi,

I’ve successfully used Weston on iMX6 SabreSD board. Now we have our own custom board (based on SabreSD) and I’m trying to start Weston it just hangs the whole system.

The main difference between SabreSD and our hw is that our HW has 2GB RAM where as SabreSD has only 1GB. I’m puzzled because the graphical stuff is mostly inside the CPU so I’m leaning on the assumption that it’s not HW fault (unless it’s the 2GB vs. 1GB problem.). Memory should be configured okay because system is stable and doesn’t crash on any other way. I can also see normal text login on screen so graphics work at some level at least.

Any ideas what could be wrong? I’ll put it here first since this is probably imx6 issue more than Wayland.

This is the log I get. It always ends at the same spot and system is completely gone. No serial console no responses from Ethernet either etc..

[11:46:39.114] Starting with no config file.
[11:46:39.117] Loading module '/usr/lib/weston/fbdev-backend.so'
[11:46:39.175] initializing fbdev backend
[11:46:39.181] compositor->use_gal2d=0
[11:46:39.183] Loading module '/usr/lib/weston/gl-renderer.so'
[11:46:39.230] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
[11:46:39.230] Creating fbdev output. /dev/fb0 x=0 y=0
[11:46:39.230] Opening fbdev frame buffer.
[11:46:39.230] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 24 (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: 0, length: 0, MSB: 0
[11:46:39.246] EGL version: 1.4
[11:46:39.246] EGL vendor: Vivante Corporation
[11:46:39.246] EGL client APIs: OpenGL_ES OpenVG
[11:46:39.246] EGL extensions: EGL_KHR_reusable_sync EGL

Teemu Keskinarkaus
Software system engineer
Cell: +358 400 330047
Fax: +358 207 669199
www.maximatecc.com<http://www.maximatecc.com/>
maximatecc
making machines smart, safe and productive


________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.

--
_______________________________________________
meta-freescale mailing list
meta-freescale at yoctoproject.org<mailto:meta-freescale at yoctoproject.org>
https://lists.yoctoproject.org/listinfo/meta-freescale


________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20150902/d45da220/attachment.html>


More information about the meta-freescale mailing list