apalis-imx8:~# cat /run/platform/display/compositor.log Date: 2020-06-29 UTC [03:06:46.099] Using config file '/etc/xdg/weston/weston.ini'. [03:06:46.100] Output repaint window is 16 ms maximum. [03:06:46.102] Loading module '/usr/lib/libweston-8/drm-backend.so' [03:06:46.155] initializing drm backend [03:06:46.159] logind: not running in a systemd session [03:06:46.159] logind: cannot setup systemd-logind helper (-61), using legacy fallback [03:06:46.159] couldn't open tty /dev/tty7: Permission denied [03:06:46.159] fatal: drm backend should be run using weston-launch binary, or your system should provide the logind D-Bus API. [03:06:46.159] fatal: failed to create compositor backend. Date: 2020-06-29 UTC [03:06:46.778] Using config file '/etc/xdg/weston/weston.ini'. [03:06:46.786] Output repaint window is 16 ms maximum. [03:06:46.787] Loading module '/usr/lib/libweston-8/drm-backend.so' [03:06:46.792] initializing drm backend [03:06:46.796] logind: not running in a systemd session [03:06:46.796] logind: cannot setup systemd-logind helper (-61), using legacy fallback [03:06:46.804] using /dev/dri/card1 [03:06:46.804] DRM: supports universal planes [03:06:46.804] DRM: supports atomic modesetting [03:06:46.804] DRM: supports picture aspect ratio [03:06:46.814] Loading module '/usr/lib/libweston-8/gl-renderer.so' [03:06:47.008] EGL client extensions: EGL_EXT_client_extensions EGL_EXT_platform_base EGL_KHR_platform_wayland EGL_EXT_platform_wayland EGL_KHR_platform_gbm [03:06:47.036] EGL version: 1.5 [03:06:47.036] EGL vendor: Vivante Corporation [03:06:47.036] EGL client APIs: OpenGL_ES [03:06:47.036] EGL extensions: EGL_KHR_fence_sync EGL_KHR_reusable_sync EGL_KHR_wait_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_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_lock_surface EGL_KHR_create_context EGL_KHR_no_config_context EGL_KHR_surfaceless_context EGL_KHR_get_all_proc_addresses EGL_EXT_buffer_age EGL_ANDROID_native_fence_sync EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image EGL_KHR_partial_update EGL_EXT_swap_buffers_with_damage EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float [03:06:47.037] EGL_KHR_surfaceless_context available [03:06:47.213] GL version: OpenGL ES 3.2 V6.4.3.p1.305572 [03:06:47.213] GLSL version: OpenGL ES GLSL ES 3.20 [03:06:47.213] GL vendor: Vivante Corporation [03:06:47.213] GL renderer: Vivante GC7000XSVX [03:06:47.213] 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_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_texture_stencil8 GL_OES_shader_image_atomic GL_OES_sample_variables GL_OES_sample_shading GL_OES_texture_storage_multisample_2d_array GL_OES_shader_multisample_interpolation GL_OES_required_internalformat GL_OES_surfaceless_context GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_geometry_shader GL_OES_geometry_point_size GL_OES_gpu_shader5 GL_OES_shader_io_blocks GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_tessellation_shader GL_OES_tessellation_point_size GL_OES_texture_cube_map_array GL_OES_draw_elements_base_vertex GL_OES_texture_half_float GL_OES_texture_float GL_OES_primitive_bounding_box GL_KHR_texture_compression_astc_ldr GL_KHR_blend_equation_advanced GL_KHR_debug GL_KHR_robustness GL_EXT_texture_type_2_10_10_10_REV GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 GL_EXT_texture_compression_s3tc 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_color_buffer_half_float GL_EXT_color_buffer_float GL_EXT_robustness GL_EXT_texture_sRGB_decode GL_EXT_draw_buffers_indexed GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_tessellation_shader GL_EXT_tessellation_point_size GL_EXT_geometry_shader GL_EXT_geometry_point_size GL_EXT_copy_image GL_EXT_texture_cube_map_array GL_EXT_gpu_shader5 GL_EXT_shader_io_blocks GL_EXT_shader_implicit_conversions GL_EXT_multi_draw_indirect GL_EXT_draw_elements_base_vertex GL_EXT_texture_rg GL_EXT_primitive_bounding_box GL_EXT_sRGB GL_ANDROID_extension_pack_es31a GL_VIV_direct_texture [03:06:47.214] GL ES 2 renderer features: read-back format: BGRA wl_shm sub-image to texture: yes EGL Wayland extension: yes [03:06:47.287] event1 - gpio-keys: is tagged by udev as: Keyboard [03:06:47.291] event1 - gpio-keys: device is a keyboard [03:06:47.294] event0 - sc-powerkey: is tagged by udev as: Keyboard [03:06:47.295] event0 - sc-powerkey: device is a keyboard [03:06:47.298] event2 - imx-audio-hdmi-tx HDMI Jack: is tagged by udev as: Switch [03:06:47.380] DRM: head 'HDMI-A-1' found, connector 90 is disconnected. [03:06:47.380] Registered plugin API 'weston_drm_output_api_v1' of size 24 [03:06:47.380] Loading module '/usr/lib/libweston-8/remoting-plugin.so' [03:06:47.380] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory [03:06:47.380] Seat 0xaaaae490eea0, cursor is not set [03:06:47.380] Installing 'allow-all' policy engine [03:06:47.381] Sending ready to systemd [03:06:47.381] #####duqw TX test: init_drm_creater()##### [03:06:47.388] ####Tx: before sleep() [03:06:57.388] ####Tx: after sleep() [03:06:57.388] ####Tx: Socket successfully created.. [03:06:57.389] ####Tx: Socket successfully binded.. [03:06:57.389] ####Tx: Server listening.. [03:07:09.895] ####Tx: Server acccepted the client...connfd:28 [03:07:09.895] ####Tx: before read() [03:07:09.901] ####Tx: after read(ret = 2) [03:07:09.903] ####Tx: gbm_bo_create() OK [03:07:09.903] ####Tx: gbm_bo_get_fd(=29) OK [03:07:09.903] ~~~gntalloc is exist [03:07:09.903] ~~~open gntalloc failed [03:07:09.904] ~~~errno:Permission denied [03:07:09.904] osdep open failed [03:07:09.904] xengntshr_open() fail [03:07:09.904] ####Tx: create_dmabuf_fd() fail