<HTML>
<HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<div>Hi,</div>
<div>
<br /></div>
<div>As you mentioned in last email about using latest version of weston, I have compiled weston-7.0.0 from it's official release.</div>
<div>However, when I run it with the previous /etc/weston.ini configuration, I am getting following logs:
<br /></div>
<div>
<br /></div>
<div>-------------------------------------------------------</div>
<div>
<br /></div>
<div>Date: 2019-12-13 UTC
<br />[10:51:55.118] weston 7.0.0
<br /> https://wayland.freedesktop.org
<br /> Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
<br /> Build: 7.0.0
<br />[10:51:55.118] Command line: weston --idle-time=0
<br />[10:51:55.118] OS: Linux, 4.14.79-ge669d52447, #1 SMP PREEMPT Fri Nov 29 11:48:31 IST 2019, armv7l
<br />[10:51:55.118] Using config file '/etc//weston.ini'
<br />[10:51:55.119] Output repaint window is 7 ms maximum.
<br />[10:51:55.119] Loading module '/home/darsh/Weston_ARM/weston-7.0.0/install/usr/local/lib/libweston-7/drm-backend.so'
<br />[10:51:55.125] initializing drm backend
<br />[10:51:55.126] logind: not running in a systemd session
<br />[10:51:55.126] logind: cannot setup systemd-logind helper (-61), using legacy fallback
<br />[10:51:55.129] using /dev/dri/card0
<br />[10:51:55.129] DRM: supports universal planes
<br />[10:51:55.129] DRM: supports atomic modesetting
<br />[10:51:55.129] DRM: does not support picture aspect ratio
<br />[10:51:55.129] Loading module '/home/darsh/Weston_ARM/weston-7.0.0/install/usr/local/lib/libweston-7/gl-renderer.so'
<br />gbm: failed to open any driver (search paths /home/darsh/Xorg/install/usr/local/lib/dri)
<br />gbm: Last dlopen error: /home/darsh/Xorg/install/usr/local/lib/dri/omapdrm_dri.so: cannot open shared object file: No such file or directory
<br />failed to load driver: omapdrm
<br />[10:51:55.155] EGL client extensions: EGL_EXT_client_extensions
<br /> EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
<br /> EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11
<br /> EGL_MESA_platform_gbm
<br />[10:51:55.156] EGL version: 1.4 (DRI2)
<br />[10:51:55.156] EGL vendor: Mesa Project
<br />[10:51:55.156] EGL client APIs: OpenGL OpenGL_ES
<br />[10:51:55.156] EGL extensions: EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
<br /> EGL_KHR_config_attribs EGL_KHR_create_context
<br /> EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image
<br /> EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image
<br /> EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap
<br /> EGL_KHR_no_config_context EGL_KHR_reusable_sync
<br /> EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float
<br /> EGL_MESA_configless_context
<br />[10:51:55.156] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
<br />[10:51:55.156] warning: Disabling explicit synchronization dueto missing EGL_KHR_wait_sync extension
<br />[10:51:55.156] EGL_KHR_surfaceless_context available
<br />[10:51:55.181] GL version: OpenGL ES 3.0 Mesa 10.4.4
<br />[10:51:55.181] GLSL version: OpenGL ES GLSL ES 3.0
<br />[10:51:55.181] GL vendor: VMware, Inc.
<br />[10:51:55.181] GL renderer: Gallium 0.4 on softpipe
<br />[10:51:55.181] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
<br /> GL_EXT_texture_filter_anisotropic
<br /> GL_EXT_texture_format_BGRA8888
<br /> GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
<br /> GL_OES_element_index_uint GL_OES_fbo_render_mipmap
<br /> GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
<br /> GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot
<br /> GL_OES_EGL_image GL_OES_depth_texture
<br /> GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
<br /> GL_OES_get_program_binary GL_APPLE_texture_max_level
<br /> GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
<br /> GL_NV_fbo_color_attachments GL_OES_EGL_image_external
<br /> GL_OES_vertex_array_object GL_EXT_texture_rg
<br /> GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer
<br /> GL_EXT_map_buffer_range GL_OES_depth_texture_cube_map
<br /> GL_OES_surfaceless_context GL_EXT_color_buffer_float
<br /> GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix
<br /> GL_KHR_context_flush_control
<br />[10:51:55.181] GL ES 2 renderer features:
<br /> read-back format: BGRA
<br /> wl_shm sub-image to texture: yes
<br /> EGL Wayland extension: no
<br />[10:51:55.190] event1 - [10:51:55.191] pixcir_tangoc: [10:51:55.191] is tagged by udev as: Touchscreen
<br />[10:51:55.191] event1 - [10:51:55.191] pixcir_tangoc: [10:51:55.191] device is a touch device
<br />[10:51:55.192] event0 - [10:51:55.192] gpio_keys: [10:51:55.192] is tagged by udev as: Keyboard
<br />[10:51:55.192] event0 - [10:51:55.192] gpio_keys: [10:51:55.192] device is a keyboard
<br />[10:51:55.192] Touchscreen - pixcir_tangoc - /sys/devices/platform/44000000.ocp/4807c000.i2c/i2c-4/4-005c/input/input1/event1
<br />[10:51:55.192] libinput: configuring device "pixcir_tangoc".
<br />[10:51:55.192] input device event1 has no enabled output associated (none named), skipping calibration for now.
<br />[10:51:55.206] libinput: configuring device "gpio_keys".
<br />[10:51:55.206] DRM: head 'DPI-1' found, connector 35 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
<br />[10:51:55.206] DRM: head 'HDMI-A-1' found, connector 41 is disconnected.
<br />[10:51:55.207] Registered plugin API 'weston_drm_output_api_v1' of size 12
<br />[10:51:55.207] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 24
<br />[10:51:55.207] Chosen EGL config details:
<br /> RGBA bits: 8 8 8 0
<br /> swap interval range: 1 - 1
<br />[10:51:55.207] Output DPI-1 (crtc 39) video modes:
<br /> 800x480@59.5, preferred, current, 33.0 MHz
<br />[10:51:55.207] associating input device event1 with output DPI-1 (none by udev)
<br />[10:51:55.207] Warning: input device event1 has WL_CALIBRATION property set. Support for it will be removed in the future. Please use LIBINPUT_CALIBRATION_MATRIX instead.
<br />[10:51:55.207] input device event1: applying calibration:
<br /> 240.000000 -9.638554 -233.880722
<br /> 48.000000 -1.445783 -77.695175
<br /> raw translation -187104.578125 -37293.683594 for output DPI-1
<br />[10:51:55.208] associating input device event0 with output DPI-1 (none by udev)
<br />[10:51:55.208] Output 'DPI-1' enabled with head(s) DPI-1
<br />[10:51:55.208] Compositor capabilities:
<br /> arbitrary surface rotation: yes
<br /> screen capture uses y-flip: yes
<br /> presentation clock: CLOCK_MONOTONIC, id 1
<br /> presentation clock resolution: 0.000000001 s
<br />[10:51:55.208] Loading module '/home/darsh/Weston_ARM/weston-7.0.0/install/usr/local/lib/weston/desktop-shell.so'
<br />[10:51:55.209] launching '/home/darsh/Weston_ARM/weston-7.0.0/install/usr/local/libexec/weston-keyboard'
<br />[10:51:55.211] launching '/home/darsh/Weston_ARM/weston-7.0.0/install/usr/local/libexec/weston-desktop-shell'
<br />[10:51:55.971] failed to create kms fb: No such file or directory
<br />[10:51:55.971] failed to get drm_fb for bo
<br />could not load cursor 'dnd-move'
<br />could not load cursor 'dnd-copy'
<br />could not load cursor 'dnd-none'
<br />could not load cursor 'dnd-move'
<br />could not load cursor 'dnd-copy'
<br />could not load cursor 'dnd-none'
<br />xkbcommon: ERROR: couldn't find a Compose file for locale "C"
<br />could not create XKB compose table for locale 'C'. Disabiling compose
<br />xkbcommon: ERROR: couldn't find a Compose file for locale "C"
<br />could not create XKB compose table for locale 'C'. Disabiling compose
<br />[10:51:57.807] failed to create kms fb: No such file or directory
<br />[10:51:57.807] failed to get drm_fb for bo
<br />[10:52:57.761] failed to create kms fb: No such file or directory
<br />[10:52:57.762] failed to get drm_fb for bo
<br />[10:53:57.774] failed to create kms fb: No such file or directory
<br />[10:53:57.774] failed to get drm_fb for bo
<br />[10:54:57.765] failed to create kms fb: No such file or directory
<br />[10:54:57.766] failed to get drm_fb for bo</div>
<div>
<br /></div>
<div> ------------------------------------------------------</div>
<div>
<br /></div>
<div>I compared these logs to my weston-2.0.0 logs and I noticed "EGL Wayland extension: yes" which is "no" in weston-7.0.0.</div>
<div>Apart from these, there are some other differences between two log files.</div>
<div>
<br /></div>
<div>Can you help?
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<font size="2"><b>On Thu, 12 Dec 2019 12:12:22 +0200, Pekka Paalanen wrote</b></font><font size="2">On Thu, 12
Dec 2019 10:40:13 +0530
<br />
"Devashish Tiwari" <devashish@cdot.in> wrote:
<br />
<br />
> Hi,
<br />
>
<br />
> I am nowhere close to getting those 3 lines you mentioned in the
<br />
> trailing mail.
<br />
>
<br />
> Also note that, my $WAYLAND_DISPLAY variable is set to wayland-0 and
<br />
> $DISPLAY is set to :0. Is that alright?
<br />
<br />
Yes, they have absolutely nothing to do with each other.
<br />
<br />
>
<br />
> I am once again attaching my weston logs here for your analysis.
<br />
> Please let me know how to get those three lines in the log, as in,
<br />
> how should I make Xwayland spawn as a separate pid.
<br />
>
<br />
> Right now I am not getting any trace of Xwayland in "ps -ef" or
<br />
> anywhere else. The only silver lining I see here is the log "xserver
<br />
> listening on display :0" in weston.log
<br />
<br />
So have you actually tried to 'strace' an X11 app like I have asked
<br />
twice before? Any errors there related to opening the X11 socket? There
<br />
should be, since X11 apps cannot connect, but what exactly is the error?
<br />
<br />
>
<br />
> ------------------------Weston log start------------------
<br />
>
<br />
> Date: 2019-12-12 IST
<br />
> [12:06:24.838] weston 2.0.0
<br />
> <a href="http://wayland.freedesktop.org/" target="_blank">http://wayland.freedesktop.org</a>
<br />
> Bug reports to: <a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0" target="_blank">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=2.0.0</a>
<br />
> 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)
<br />
> [12:06:24.838] Command line: weston --idle-time=0
<br />
> [12:06:24.838] OS: Linux, 4.14.79-ge669d52447, #1 SMP PREEMPT Fri Nov 29
11:48:31 IST 2019, armv7l
<br />
> [12:06:24.843] Using config file '/etc//weston.ini'
<br />
> [12:06:24.877] Output repaint window is 7 ms maximum.
<br />
> [12:06:24.927] Loading module '/usr/lib/libweston-2/drm-backend.so'
<br />
> [12:06:24.939] initializing drm backend
<br />
> [12:06:24.944] using /dev/dri/card0
<br />
> [12:06:24.959] Loading module '/usr/lib/libweston-2/gl-renderer.so'
<br />
> failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object
file: No such file or directory
<br />
> failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared
object file: No such file or directory
<br />
> loaded module : gbm_pvr.so
<br />
> found valid GBM backend : gbm_pvr.so
<br />
> [12:06:25.146] warning: either no EGL_EXT_platform_base support or specific
platform support; falling back to eglGetDisplay.
<br />
> [12:06:25.166] warning: EGL_EXT_buffer_age not supported. Performance could
be affected.
<br />
> [12:06:25.166] warning: neither EGL_EXT_swap_buffers_with_damage or
EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
<br />
> [12:06:25.166] Retrieving EGL client extension string failed.
<br />
> [12:06:25.166] EGL_KHR_surfaceless_context available
<br />
> [12:06:25.251] EGL version: 1.4 build 1.14@3699939 (MAIN)
<br />
> [12:06:25.251] EGL vendor: Imagination Technologies
<br />
> [12:06:25.251] EGL client APIs: OpenGL_ES
<br />
> [12:06:25.251] EGL extensions: EGL_IMG_client_api_ogl EGL_KHR_image
<br />
> EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
<br />
> EGL_KHR_gl_texture_cubemap_image
EGL_KHR_gl_renderbuffer_image
<br />
> EGL_KHR_vg_parent_image EGL_IMG_cl_image
EGL_KHR_fence_sync
<br />
> EGL_IMG_context_priority
EGL_IMG_hibernate_process
<br />
> EGL_IMG_image_plane_attribs
EGL_KHR_surfaceless_context
<br />
> EGL_KHR_wait_sync EGL_KHR_create_context
<br />
> EGL_WL_bind_wayland_display
EGL_EXT_image_dma_buf_import
<br />
> [12:06:25.251] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
<br />
> [12:06:25.251] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939
(MAIN)
<br />
> [12:06:25.251] GL vendor: Imagination Technologies
<br />
> [12:06:25.251] GL renderer: PowerVR SGX 544MP
<br />
> [12:06:25.251] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
<br />
> GL_OES_vertex_half_float GL_OES_texture_float
<br />
> GL_OES_texture_half_float
GL_OES_element_index_uint
<br />
> GL_OES_mapbuffer
GL_OES_fragment_precision_high
<br />
> GL_OES_compressed_ETC1_RGB8_texture
GL_OES_EGL_image
<br />
> GL_OES_EGL_image_external
GL_OES_required_internalformat
<br />
> GL_OES_depth_texture GL_OES_get_program_binary
<br />
> GL_OES_packed_depth_stencil
GL_OES_standard_derivatives
<br />
> GL_OES_vertex_array_object GL_OES_egl_sync
GL_OES_texture_npot
<br />
> GL_OES_surfaceless_context
GL_EXT_discard_framebuffer
<br />
> GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
<br />
> GL_EXT_multisampled_render_to_texture
GL_EXT_shader_texture_lod
<br />
> GL_EXT_texture_format_BGRA8888
GL_EXT_occlusion_query_boolean
<br />
> GL_EXT_texture_rg GL_EXT_draw_buffers
<br />
> GL_EXT_shader_framebuffer_fetch
GL_IMG_shader_binary
<br />
> GL_IMG_texture_compression_pvrtc
<br />
> GL_IMG_texture_compression_pvrtc2
GL_IMG_texture_npot
<br />
> GL_IMG_texture_format_BGRA8888
GL_IMG_read_format
<br />
> GL_IMG_program_binary
GL_IMG_uniform_buffer_object
<br />
> GL_IMG_multisampled_render_to_texture
GL_KHR_debug
<br />
> [12:06:25.251] GL ES 2 renderer features:
<br />
> read-back format: RGBA
<br />
> wl_shm sub-image to texture: no
<br />
> EGL Wayland extension: yes
<br />
> [12:06:25.267] event1 - [12:06:25.267] pixcir_tangoc: [12:06:25.267] is
tagged by udev as: Touchscreen
<br />
> [12:06:25.267] event1 - [12:06:25.267] pixcir_tangoc: [12:06:25.267]
device is a touch device
<br />
> [12:06:25.269] event3 - [12:06:25.269] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:25.269] is tagged by
udev as: Keyboard
<br />
> [12:06:25.269] event3 - [12:06:25.269] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:25.269] device is a
keyboard
<br />
> [12:06:25.272] event4 - [12:06:25.272] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:25.272] is tagged by
udev as: Keyboard
<br />
> [12:06:25.272] event4 - [12:06:25.272] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:25.272] device is a
keyboard
<br />
> [12:06:25.354] event2 - [12:06:25.354] HID 04b3:310d: [12:06:25.354] is
tagged by udev as: Mouse
<br />
> [12:06:25.354] event2 - [12:06:25.354] HID 04b3:310d: [12:06:25.354]
device is a pointer
<br />
> [12:06:25.355] event0 - [12:06:25.355] gpio_keys: [12:06:25.355] is
tagged by udev as: Keyboard
<br />
> [12:06:25.355] event0 - [12:06:25.356] gpio_keys: [12:06:25.356] device
is a keyboard
<br />
> [12:06:25.557] Registered plugin API 'weston_drm_output_api_v1' of size 12
<br />
> [12:06:25.558] Chosen EGL config details:
<br />
> RGBA bits: 8 8 8 8
<br />
> swap interval range: 1 - 1
<br />
> [12:06:25.567] cursor buffers unavailable, using gl cursors
<br />
> [12:06:25.567] Failed to initialize backlight
<br />
> [12:06:25.567] Output UNNAMED-1, (connector 35, crtc 39)
<br />
> mode 800x480@59.5, preferred, current
<br />
> [12:06:25.568] Applying calibration: 240.000000 -9.638554 -187104.578125
48.000000 -1.445783 -37293.683594 (normalized -233.880722 -77.695175)
<br />
> [12:06:25.568] Compositor capabilities:
<br />
> arbitrary surface rotation: yes
<br />
> screen capture uses y-flip: yes
<br />
> presentation clock: CLOCK_MONOTONIC, id 1
<br />
> presentation clock resolution: 0.000000001 s
<br />
> [12:06:25.659] Loading module '/usr/lib/weston/desktop-shell.so'
<br />
> [12:06:25.770] launching '/usr/libexec/weston-keyboard'
<br />
> [12:06:25.804] Loading module '/usr/lib/libweston-2/xwayland.so'
<br />
> [12:06:26.231] Registered plugin API 'weston_xwayland_v1' of size 16
<br />
> [12:06:26.231] Registered plugin API 'weston_xwayland_surface_v1' of size 8
<br />
> [12:06:26.231] xserver listening on display :0
<br />
> [12:06:26.231] launching '/usr/libexec/weston-desktop-shell'
<br />
> [12:06:26.235] event3 - [12:06:26.235] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:26.235] is tagged by
udev as: Keyboard
<br />
> [12:06:26.235] event3 - [12:06:26.235] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:26.235] device is a
keyboard
<br />
> [12:06:26.238] event4 - [12:06:26.238] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:26.238] is tagged by
udev as: Keyboard
<br />
> [12:06:26.238] event4 - [12:06:26.238] Lite-On Technology USB
Productivity Option Keyboard( has the hub in # 1 ): [12:06:26.238] device is a
keyboard
<br />
> could not load cursor 'dnd-move'
<br />
> could not load cursor 'dnd-copy'
<br />
> could not load cursor 'dnd-none'
<br />
> could not load cursor 'dnd-move'
<br />
> could not load cursor 'dnd-copy'
<br />
> could not load cursor 'dnd-none'
<br />
> xkbcommon: ERROR: couldn't find a Compose file for locale "C"
<br />
> could not create XKB compose table for locale 'C'. Disabiling compose
<br />
> xkbcommon: ERROR: couldn't find a Compose file for locale "C"
<br />
> could not create XKB compose table for locale 'C'. Disabiling compose
<br />
>
<br />
<br />
I'm sorry, but I have no idea.
<br />
<br />
Somehow on your system there is no error from the bit of Weston code
<br />
that attempts to exec() Xwayland program, yet it does not seem to do
<br />
anything. Maybe that exec() never runs, maybe it exec()s something bad.
<br />
<br />
You *are* using a very old version of Weston though, so maybe the
<br />
error prints I expect if anything fails are not in the code.
<br />
<br />
Or maybe your /usr/bin/Xwayland is symlink to /bin/true for all I know.
<br />
There are far too many things that could go wrong for me to list so
<br />
that you could check each thing one by one, because by everything I
<br />
have seen from you, it should work already.
<br />
<br />
Thanks,
<br />
pq
<br />
<br />
<br />--
<br />
<br />
Thanks & Regards,
<br />
<br />
Devashish Tiwari
<br />
Fault Tolerance
<br />
#8587
<br />
<br />
</font>
</BODY>
</HTML>