clear-code / statistics

Statistics of ClearCode Inc. activity
Other
0 stars 2 forks source link

Yocto Rocko(2.4)のRaspberry Pi3向けのcore-image-westonイメージがマウスかキーボードが繋がれていないと立ち上がらない #102

Open cosmo0920 opened 6 years ago

cosmo0920 commented 6 years ago

マウスとキーボードを接続すると通常通りweston-desktop-shellが起動できる。 RZ/G1でも見られた症状と同じ症状なのだろうか。

cosmo0920 commented 6 years ago

westonのログ:

root@raspberrypi3:~# cat /var/log/weston.log 
Date: 2018-01-02 UTC
[12:02:30.695] 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:02:30.695] Command line: /usr/bin/weston --log=/var/log/weston.log
[12:02:30.695] OS: Linux, 4.9.59, #2 SMP Tue Jan 2 20:48:34 JST 2018, armv7l
[12:02:30.695] Starting with no config file.
[12:02:30.698] Output repaint window is 7 ms maximum.
[12:02:30.702] Loading module '/usr/lib/libweston-2/drm-backend.so'
[12:02:30.718] initializing drm backend
[12:02:30.722] using /dev/dri/card0
[12:02:30.724] Loading module '/usr/lib/libweston-2/gl-renderer.so'
[12:02:31.129] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
               EGL_KHR_debug EGL_EXT_platform_wayland EGL_MESA_platform_gbm
[12:02:31.131] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
[12:02:31.131] EGL_KHR_surfaceless_context available
[12:02:31.220] EGL version: 1.4 (DRI2)
[12:02:31.220] EGL vendor: Mesa Project
[12:02:31.220] EGL client APIs: OpenGL OpenGL_ES 
[12:02:31.220] EGL extensions: EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
               EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context
               EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
               EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image
               EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
               EGL_KHR_image_base EGL_KHR_image_pixmap
               EGL_KHR_no_config_context EGL_KHR_reusable_sync
               EGL_KHR_surfaceless_context EGL_KHR_wait_sync
               EGL_MESA_configless_context EGL_MESA_drm_image
               EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
[12:02:31.221] GL version: OpenGL ES 2.0 Mesa 17.1.7
[12:02:31.221] GLSL version: OpenGL ES GLSL ES 1.0.16
[12:02:31.221] GL vendor: Broadcom
[12:02:31.221] GL renderer: Gallium 0.4 on VC4 V3D 2.1
[12:02:31.221] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
               GL_EXT_texture_format_BGRA8888
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
               GL_OES_element_index_uint GL_OES_fbo_render_mipmap
               GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_stencil8
               GL_OES_texture_3D GL_OES_texture_npot GL_OES_vertex_half_float
               GL_OES_EGL_image GL_OES_depth_texture
               GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
               GL_OES_get_program_binary GL_APPLE_texture_max_level
               GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
               GL_EXT_frag_depth GL_NV_fbo_color_attachments
               GL_OES_EGL_image_external GL_OES_EGL_sync
               GL_OES_vertex_array_object GL_EXT_unpack_subimage
               GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth
               GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers
               GL_EXT_map_buffer_range GL_KHR_debug GL_OES_surfaceless_context
               GL_EXT_separate_shader_objects
               GL_EXT_compressed_ETC1_RGB8_sub_texture
               GL_EXT_draw_elements_base_vertex GL_EXT_texture_border_clamp
               GL_KHR_context_flush_control GL_OES_draw_elements_base_vertex
               GL_OES_texture_border_clamp
[12:02:31.222] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: yes
               EGL Wayland extension: yes
[12:02:31.223] 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)
[12:02:31.223] failed to create input devices
cosmo0920 commented 6 years ago

https://github.com/wayland-project/weston/commit/75b7197f4e072a4e2de124ddbe93b85cffb1c0f8 weston 3.0.0で require-input=true をweston.iniに設定すると立ち上がるようになりそう?