libwayland: error in client communication while trying to add a surface

gep epi devilblaster82 at gmail.com
Mon Jun 4 08:28:45 EDT 2018


Hi,
i checked out weston @4.0.0 release tag, but now i get segfault while
wayland tries to emit a signal (SIGSEGV in wl_signal_emit () from
/home/ekt/Wayland/install/lib/weston/ivi-input-controller.so)
I 'll try building everything from scratch // do i need to use specific
versions for the rest of the prerequisites (e.g. wayland, protocols etc..) ?

best regards
gep

On Mon, Jun 4, 2018 at 1:31 PM Ucan, Emre (ADITG/ESB) <eucan at de.adit-jv.com>
wrote:

> Hi,
>
> Wayland-ivi-extension currently only works for 4.0. Weston did some API
> changes after 4.0.
> Therefore, it won't work.
>
> Best regards
>
> Emre Ucan
> Engineering Software Base (ADITG/ESB)
>
> Tel. +49 5121 49 6937
>
> > -----Original Message-----
> > From: genivi-ivi-layer-management [mailto:genivi-ivi-layer-management-
> > bounces at lists.genivi.org] On Behalf Of gep epi
> > Sent: Montag, 4. Juni 2018 11:53
> > To: genivi-ivi-layer-management at lists.genivi.org
> > Subject: libwayland: error in client communication while trying to add a
> > surface
> >
> > Hello,
> > i am experimenting with wayland's ivi extension but i get the following
> > error:
> >
> > export  XDG_RUNTIME_DIR=/var/run/user/1000
> >  ./layer-add-surfaces 1000 1 &
> > [12:38:49.077] libwayland: error in client communication (pid 1855)
> > wl_display at 1: error 0: invalid object 3
> > Error communicating with wayland: Invalid argument
> > layer-add-surfaces: layer (1000) destination region: x:0 y:0 w:0 h:0
> > layer-add-surfaces: layer (1000) visibility TRUE
> > Error communicating with wayland: Invalid argument
> > (or)
> > LayerManagerControl create layer 1000 600 400
> > [12:44:19.720] libwayland: error in client communication (pid 2598)
> > wl_display at 1: error 0: invalid object 3
> > LayerManagerControl set layer 1000 render order 10
> > The surface with id: 10 does not exist
> > layer_add_surface: the surface with given id does not exist
> > libwayland: error in client communication (pid 2732)
> > wl_display at 1: error 0: invalid object 3
> >
> > I am using latest weston/wayland which runs fine without ivi extensions..
> > also when i try to run EGLWLMockNavigation, i get a "Shader setup
> > complete", but nothing is drawn/rendered on weston's window.
> > Any hints ?
> >
> > export  XDG_RUNTIME_DIR=/var/run/user/1000
> > ./weston &
> > Date: 2018-06-04 EEST
> > [12:37:45.234] weston 4.0.90
> >                http://wayland.freedesktop.org
> >                Bug reports to:
> > https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component
> > =weston&version=4.0.90
> >                Build: 4.0.0-125-gbfaaedc doc: add example
> > calibration-helper script (2018-05-30 14:46:24 +0300)
> > [12:37:45.234] Command line: ./weston
> > [12:37:45.234] OS: Linux, 4.13.0-43-generic, #48~16.04.1-Ubuntu SMP Thu
> > May
> > 17 12:56:46 UTC 2018, x86_64
> > [12:37:45.234] Using config file '/home/ekt/.config/weston.ini'
> > [12:37:45.234] Output repaint window is 7 ms maximum.
> > [12:37:45.234] Loading module
> > '/home/ekt/Wayland/install/lib/libweston-5/x11-backend.so'
> > ekt at ekt ~/W/i/bin> [12:37:45.239] Loading module
> > '/home/ekt/Wayland/install/lib/libweston-5/gl-renderer.so'
> > [12:37:45.239] 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_EXT_platform_x11
> >                EGL_MESA_platform_gbm
> > [12:37:45.247] warning: EGL_EXT_buffer_age not supported. Performance
> > could
> > be affected.
> > [12:37:45.247] warning: neither EGL_EXT_swap_buffers_with_damage or
> > EGL_KHR_swap_buffers_with_damage is supported. Performance could be
> > affected.
> > [12:37:45.247] EGL_KHR_surfaceless_context available
> > [12:37:45.248] EGL version: 1.4 (DRI2)
> > [12:37:45.248] EGL vendor: Mesa Project
> > [12:37:45.248] EGL client APIs: OpenGL OpenGL_ES
> > [12:37:45.248] EGL extensions: EGL_ANDROID_blob_cache
> >                EGL_ANDROID_native_fence_sync EGL_CHROMIUM_sync_control
> >                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_NOK_swap_region EGL_NOK_texture_from_pixmap
> >                EGL_NV_post_sub_buffer EGL_WL_bind_wayland_display
> > [12:37:45.248] GL version: OpenGL ES 3.1 Mesa 18.2.0-devel
> (git-67eccd6aa2)
> > [12:37:45.248] GLSL version: OpenGL ES GLSL ES 3.10
> > [12:37:45.248] GL vendor: Intel Open Source Technology Center
> > [12:37:45.248] GL renderer: Mesa DRI Intel(R) Haswell Desktop
> > [12:37:45.248] GL extensions: GL_ANGLE_texture_compression_dxt3
> >                GL_ANGLE_texture_compression_dxt5
> > GL_APPLE_texture_max_level
> >                GL_EXT_blend_func_extended GL_EXT_blend_minmax
> >                GL_EXT_buffer_storage GL_EXT_clip_cull_distance
> >                GL_EXT_color_buffer_float
> >                GL_EXT_compressed_ETC1_RGB8_sub_texture
> >                GL_EXT_discard_framebuffer GL_EXT_disjoint_timer_query
> >                GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed
> >                GL_EXT_draw_elements_base_vertex GL_EXT_frag_depth
> >                GL_EXT_geometry_point_size GL_EXT_geometry_shader
> >                GL_EXT_gpu_shader5 GL_EXT_map_buffer_range
> >                GL_EXT_multi_draw_arrays GL_EXT_occlusion_query_boolean
> >                GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box
> >                GL_EXT_read_format_bgra GL_EXT_robustness
> >                GL_EXT_separate_shader_objects
> >                GL_EXT_shader_framebuffer_fetch_non_coherent
> >                GL_EXT_shader_integer_mix GL_EXT_shader_io_blocks
> >                GL_EXT_shader_samples_identical
> > GL_EXT_tessellation_point_size
> >                GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
> >                GL_EXT_texture_buffer GL_EXT_texture_compression_dxt1
> >                GL_EXT_texture_cube_map_array
> > GL_EXT_texture_filter_anisotropic
> >                GL_EXT_texture_format_BGRA8888 GL_EXT_texture_norm16
> >                GL_EXT_texture_rg GL_EXT_texture_sRGB_decode
> >                GL_EXT_texture_type_2_10_10_10_REV GL_EXT_unpack_subimage
> >                GL_INTEL_performance_query GL_KHR_blend_equation_advanced
> >                GL_KHR_context_flush_control GL_KHR_debug GL_KHR_no_error
> >                GL_KHR_robust_buffer_access_behavior GL_KHR_robustness
> >                GL_MESA_shader_integer_functions GL_NV_draw_buffers
> >                GL_NV_fbo_color_attachments GL_NV_image_formats
> >                GL_NV_read_buffer GL_NV_read_depth
> > GL_NV_read_depth_stencil
> >                GL_NV_read_stencil GL_OES_EGL_image
> > GL_OES_EGL_image_external
> >                GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
> >                GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
> >                GL_OES_depth_texture GL_OES_depth_texture_cube_map
> >                GL_OES_draw_buffers_indexed
> > GL_OES_draw_elements_base_vertex
> >                GL_OES_element_index_uint GL_OES_fbo_render_mipmap
> >                GL_OES_geometry_point_size GL_OES_geometry_shader
> >                GL_OES_get_program_binary GL_OES_gpu_shader5
> > GL_OES_mapbuffer
> >                GL_OES_packed_depth_stencil GL_OES_primitive_bounding_box
> >                GL_OES_required_internalformat GL_OES_rgb8_rgba8
> >                GL_OES_sample_shading GL_OES_sample_variables
> >                GL_OES_shader_image_atomic GL_OES_shader_io_blocks
> >                GL_OES_shader_multisample_interpolation
> >                GL_OES_standard_derivatives GL_OES_stencil8
> >                GL_OES_surfaceless_context GL_OES_tessellation_point_size
> >                GL_OES_tessellation_shader GL_OES_texture_3D
> >                GL_OES_texture_border_clamp GL_OES_texture_buffer
> >                GL_OES_texture_cube_map_array 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_texture_stencil8
> >                GL_OES_texture_storage_multisample_2d_array
> >                GL_OES_vertex_array_object GL_OES_vertex_half_float
> >                GL_OES_viewport_array
> > [12:37:45.248] GL ES 2 renderer features:
> >                read-back format: BGRA
> >                wl_shm sub-image to texture: yes
> >                EGL Wayland extension: yes
> > [12:37:45.248] Using gl renderer
> > [12:37:45.252] Registered plugin API 'weston_windowed_output_api_v1' of
> > size 16
> > [12:37:45.253] Chosen EGL config details:
> >                RGBA bits: 8 8 8 0
> >                swap interval range: 0 - 1000
> > [12:37:45.253] x11 output 1024x600, window id 111149061
> > [12:37:45.253] Output 'screen0' enabled with head(s) screen0
> > [12:37:45.253] Compositor capabilities:
> >                arbitrary surface rotation: yes
> >                screen capture uses y-flip: yes
> >                presentation clock: CLOCK_MONOTONIC_RAW, id 4
> >                presentation clock resolution: 0.000000001 s
> > [12:37:45.253] Loading module
> > '/home/ekt/Wayland/install/lib/weston/ivi-shell.so'
> > [12:37:45.253] launching '/home/ekt/Wayland/install/libexec/weston-
> > keyboard'
> > [12:37:45.254] Registered plugin API 'ivi_layout_api_v1' of size 360
> > [12:37:45.254] Loading module
> > '/home/ekt/Wayland/install/lib/weston/ivi-controller.so'
> > [12:37:45.254] Loading module
> > '/home/ekt/Wayland/install/lib/weston/ivi-input-controller.so'
> > [12:37:45.254] ivi-input-controller module loaded successfully!
> > [12:37:45.254] launching
> > '/home/ekt/Wayland/install/bin/simple-weston-client'
> > [12:37:45.260] set_bkgnd_surface_prop: o_name:screen0 x:0 y:0
> > o_width:1024
> > o_height:600
> > [12:37:45.260] set_bkgnd_surface_prop: x:0 y:0 s_width:1 s_height:1
> > d_width:1024 d_height:600
> > ENTER EGLWLINPUT PointerHandleEnter: x(0), y(0)
> >
> > (weston.ini)
> > [core]
> > shell=ivi-shell.so
> > modules=ivi-controller.so
> > require-input=false
> >
> > [ivi-shell]
> > #ivi-module=ivi-controller.so
> > ivi-input-module=ivi-input-controller.so
> > ivi-client-name=/home/ekt/Wayland/install/bin/simple-weston-client
> > bkgnd-surface-id=1000000
> > bkgnd-color=0xFF000000
> > _______________________________________________
> > genivi-ivi-layer-management mailing list
> > genivi-ivi-layer-management at lists.genivi.org
> > https://lists.genivi.org/mailman/listinfo/genivi-ivi-layer-management
>


-- 
Epitropou Georgios
Electronics Laboratory, Optoelectronics Group
Dept. of Electronics & Comp. Engineering
Technical University of Crete
University Campus, Kounoupidiana
73100 Chania, CRETE
GREECE

Tel.: +30 2821037223
Fax: +30 2821037542

email: gepitropou at electronics.tuc.gr
          devilblaster82 at gmail.com



More information about the genivi-ivi-layer-management mailing list