unpredictable weston-terminal w/o input devices
Hi,
I'm using weston9.0.0 with wayland1.19.0 and libinput1.17.1 (no systemd) in linux based appliance (minimyth2).
Issue i have is unpredictable behavior of weston-terminal when appliance has no keyb/mice connected (it has only IR remote not recognized by weston). In such case launching weston-terminal gives v.show black screen and nothing more on screen.
All works correctly when keyb/mice are connected.
Also connecting keyb or mice shortly and disconnecting makes weston-terminal started to working ok without keyb/mice.
I don't have much ideas how to debug this issue as issue apperas only where there is no keyb/mice so interaction to gather more info is difficult - so i'm looking for advice how to move forward
pls advice
ps: weston log for boot without keyb/mice when weston-terminal failed:
Date: 2021-04-23 CEST
[13:37:39.632] weston 9.0.0
https://wayland.freedesktop.org
Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
Build: 9.0.0
[13:37:39.632] Command line: /usr/bin/weston --log=/var/log/weston.log --config=/etc/weston-minimal.ini
[13:37:39.632] OS: Linux, 5.11.16, #1 SMP Thu Apr 22 20:50:33 CEST 2021, x86_64
[13:37:39.633] Using config file \'/etc/weston-minimal.ini\'
[13:37:39.651] Output repaint window is 7 ms maximum.
[13:37:39.660] Loading module \'/usr/lib/libweston-9/drm-backend.so\'
[13:37:39.661] initializing drm backend
[13:37:39.662] using /dev/dri/card0
[13:37:39.662] DRM: supports atomic modesetting
[13:37:39.662] DRM: supports GBM modifiers
[13:37:39.662] DRM: supports picture aspect ratio
[13:37:39.666] Loading module \'/usr/lib/libweston-9/gl-renderer.so\'
[13:37:39.935] EGL client extensions: EGL_EXT_client_extensions
EGL_EXT_device_base EGL_EXT_device_enumeration
EGL_EXT_device_query EGL_EXT_platform_base
EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
EGL_EXT_platform_device EGL_EXT_platform_wayland
EGL_KHR_platform_wayland EGL_EXT_platform_x11
EGL_KHR_platform_x11 EGL_MESA_platform_xcb
EGL_MESA_platform_gbm EGL_KHR_platform_gbm
EGL_MESA_platform_surfaceless
[13:37:39.935] EGL version: 1.4
[13:37:39.935] EGL vendor: Mesa Project
[13:37:39.935] EGL client APIs: OpenGL OpenGL_ES
[13:37:39.935] EGL extensions: EGL_ANDROID_blob_cache
EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_config_attribs
EGL_KHR_create_context EGL_KHR_create_context_no_error
EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_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_EXT_pixel_format_float
EGL_KHR_wait_sync EGL_MESA_configless_context
EGL_MESA_drm_image EGL_MESA_image_dma_buf_export
EGL_MESA_query_driver EGL_WL_bind_wayland_display
[13:37:39.935] EGL_KHR_surfaceless_context available
[13:37:40.021] GL version: OpenGL ES 3.0 Mesa 21.1.0-rc2
[13:37:40.021] GLSL version: OpenGL ES GLSL ES 3.00
[13:37:40.021] GL vendor: Intel Open Source Technology Center
[13:37:40.021] GL renderer: Mesa DRI Intel(R) HD Graphics 4000 (IVB GT2)
[13:37:40.021] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1
GL_EXT_texture_compression_rgtc 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_standard_derivatives
GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
GL_OES_texture_float_linear GL_OES_texture_half_float
GL_OES_texture_half_float_linear GL_OES_texture_npot
GL_OES_vertex_half_float GL_EXT_draw_instanced
GL_EXT_texture_sRGB_decode GL_OES_EGL_image
GL_OES_depth_texture GL_OES_packed_depth_stencil
GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render
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_ANGLE_pack_reverse_row_order
GL_ANGLE_texture_compression_dxt3
GL_ANGLE_texture_compression_dxt5
GL_EXT_occlusion_query_boolean GL_EXT_robustness
GL_EXT_texture_rg 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_KHR_robustness GL_NV_pixel_buffer_object
GL_OES_depth_texture_cube_map GL_OES_required_internalformat
GL_OES_surfaceless_context GL_EXT_color_buffer_float
GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects
GL_EXT_shader_group_vote GL_EXT_shader_integer_mix
GL_INTEL_performance_query GL_EXT_base_instance
GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image
GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp
GL_KHR_blend_equation_advanced GL_KHR_context_flush_control
GL_OES_copy_image GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_sample_shading
GL_OES_sample_variables GL_OES_shader_multisample_interpolation
GL_OES_texture_border_clamp GL_EXT_blend_func_extended
GL_EXT_float_blend GL_EXT_texture_sRGB_R8 GL_KHR_no_error
GL_OES_EGL_image_external_essl3 GL_EXT_clip_cull_distance
GL_EXT_disjoint_timer_query
GL_EXT_texture_compression_s3tc_srgb
GL_MESA_shader_integer_functions GL_EXT_clip_control
GL_EXT_color_buffer_half_float GL_EXT_texture_compression_bptc
GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage
GL_EXT_shader_framebuffer_fetch_non_coherent
GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render
GL_MESA_framebuffer_flip_y GL_EXT_demote_to_helper_invocation
GL_EXT_depth_clamp GL_EXT_texture_query_lod
[13:37:40.021] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[13:37:40.024] event1 - Power Button: not tagged as supported input device
[13:37:40.024] event1 - not using input device \'/dev/input/event1\'
[13:37:40.024] event2 - Video Bus: not tagged as supported input device
[13:37:40.024] event2 - not using input device \'/dev/input/event2\'
[13:37:40.024] event0 - Power Button: not tagged as supported input device
[13:37:40.024] event0 - not using input device \'/dev/input/event0\'
[13:37:40.024] event3 - HDA Intel PCH HDMI/DP,pcm=3: is tagged by udev as: Switch
[13:37:40.028] event3 - not using input device \'/dev/input/event3\'
[13:37:40.028] event4 - HDA Intel PCH HDMI/DP,pcm=7: is tagged by udev as: Switch
[13:37:40.028] event4 - not using input device \'/dev/input/event4\'
[13:37:40.029] event5 - HDA Intel PCH HDMI/DP,pcm=8: is tagged by udev as: Switch
[13:37:40.029] event5 - not using input device \'/dev/input/event5\'
[13:37:40.029] event6 - Media Center Ed. eHome Infrared Remote Transceiver (0471:0815): not tagged as supported input device
[13:37:40.029] event6 - not using input device \'/dev/input/event6\'
[13:37:40.029] event7 - eventlircd: not tagged as supported input device
[13:37:40.029] event7 - not using input device \'/dev/input/event7\'
[13:37:40.029] 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)
[13:37:40.029] failed to create input devices. Continuing with no input devices ...
[13:37:40.134] DRM: head \'VGA-1\' found, connector 76 is disconnected.
[13:37:40.160] DRM: head \'HDMI-A-1\' found, connector 79 is connected, EDID make \'STK\', model \'S2-TEK TV\', serial \'SN-000000001\'
[13:37:40.397] DRM: head \'DP-1\' found, connector 87 is disconnected.
[13:37:40.399] DRM: head \'HDMI-A-2\' found, connector 92 is disconnected.
[13:37:40.400] DRM: head \'HDMI-A-3\' found, connector 96 is disconnected.
[13:37:40.400] DRM: head \'DP-2\' found, connector 100 is disconnected.
[13:37:40.400] DRM: head \'DP-3\' found, connector 104 is disconnected.
[13:37:40.400] Registered plugin API \'weston_drm_output_api_v1\' of size 24
[13:37:40.400] Chosen EGL config details: id: 5 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win vis_id: XRGB8888 (0x34325258)
[13:37:40.400] Output HDMI-A-1 (crtc 45) video modes:
1920x1080@60.0, preferred, current, 148.5 MHz
1920x1080@60.0 16:9, 148.5 MHz
1920x1080@59.9 16:9, 148.4 MHz
1920x1080@60.0 16:9, 74.2 MHz
1920x1080@59.9 16:9, 74.2 MHz
1920x1080@50.0 16:9, 148.5 MHz
1920x1080@50.0 16:9, 74.2 MHz
1280x1024@75.0, 135.0 MHz
1280x960@60.0, 108.0 MHz
1152x864@75.0, 108.0 MHz
1280x720@60.0, 74.2 MHz
1280x720@60.0 16:9, 74.2 MHz
1280x720@59.9 16:9, 74.2 MHz
1280x720@50.0 16:9, 74.2 MHz
1024x768@75.0, 78.8 MHz
1024x768@70.1, 75.0 MHz
1024x768@60.0, 65.0 MHz
832x624@74.6, 57.3 MHz
800x600@75.0, 49.5 MHz
800x600@72.2, 50.0 MHz
800x600@60.3, 40.0 MHz
800x600@56.2, 36.0 MHz
720x576@50.0 16:9, 27.0 MHz
720x576@50.0 4:3, 27.0 MHz
720x576@50.0 4:3, 13.5 MHz
720x576@50.0 16:9, 13.5 MHz
720x480@60.0 16:9, 27.0 MHz
720x480@60.0 4:3, 27.0 MHz
720x480@59.9 16:9, 27.0 MHz
720x480@59.9 4:3, 27.0 MHz
720x480@60.0 16:9, 13.5 MHz
720x480@60.0 4:3, 13.5 MHz
720x480@59.9 16:9, 13.5 MHz
720x480@59.9 4:3, 13.5 MHz
640x480@75.0, 31.5 MHz
640x480@72.8, 31.5 MHz
640x480@66.7, 30.2 MHz
640x480@60.0 4:3, 25.2 MHz
640x480@59.9, 25.2 MHz
640x480@59.9 4:3, 25.2 MHz
720x400@70.1, 28.3 MHz
[13:37:40.400] Output \'HDMI-A-1\' enabled with head(s) HDMI-A-1
[13:37:40.400] Compositor capabilities:
arbitrary surface rotation: yes
screen capture uses y-flip: yes
presentation clock: CLOCK_MONOTONIC, id 1
presentation clock resolution: 0.000000001 s
[13:37:40.404] Loading module \'/usr/lib/weston/desktop-shell.so\'
[13:37:40.404] launching \'/usr/libexec/weston-keyboard\'
[13:37:40.404] launching \'/usr/libexec/weston-desktop-shell\'