This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DRA718: Weston is not working with connector ID

Part Number: DRA718

Hello TI,

This are the logs when i run weston with connector id

sh-4.4# weston --tty=1 --connector=57

Date: 1970-01-01 UTC

[00:02:33.620] weston 5.0.0

wayland.freedesktop.org

Bug reports to: gitlab.freedesktop.org/.../

Build: unknown (not built from git or tarball)

[00:02:33.620] Command line: weston --tty=1 --connector=57

[00:02:33.620] OS: Linux, 4.19.73, #24 SMP PREEMPT Thu Jul 29 17:31:07 IST 2021, armv7l

[00:02:33.621] Using config file '/etc//weston.ini'

[00:02:33.631] Output repaint window is 7 ms maximum.

[00:02:33.634] Loading module '/usr/lib/libweston-5/drm-backend.so'

[00:02:33.658] initializing drm backend

[00:02:33.669] using /dev/dri/card0

[00:02:33.669] DRM: supports universal planes

[00:02:33.669] DRM: supports atomic modesetting

[00:02:33.669] DRM: supports picture aspect ratio

[00:02:33.671] Loading module '/usr/lib/libweston-5/gl-renderer.so'

[00:02:33.757] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.

[00:02:33.773] warning: EGL_EXT_buffer_age not supported. Performance could be affected.

[00:02:33.773] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.

[00:02:33.774] warning: Disabling render GPU timeline due to missing EGL_ANDROID_native_fence_sync extension

[00:02:33.774] Retrieving EGL client extension string failed.

[00:02:33.774] EGL_KHR_surfaceless_context available

[00:02:33.793] Failed to obtain a high priority context.

[00:02:33.793] EGL version: 1.4 build 1.17@4948957

[00:02:33.793] EGL vendor: Imagination Technologies

[00:02:33.793] EGL client APIs: OpenGL_ES

[00:02:33.793] EGL extensions: EGL_KHR_image EGL_KHR_image_base

EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image

EGL_KHR_gl_renderbuffer_image EGL_IMG_cl_image

EGL_KHR_fence_sync EGL_IMG_context_priority

EGL_IMG_hibernate_process EGL_IMG_image_plane_attribs

EGL_KHR_surfaceless_context EGL_KHR_wait_sync

EGL_KHR_create_context EGL_WL_bind_wayland_display

EGL_EXT_image_dma_buf_import

[00:02:33.793] GL version: OpenGL ES 2.0 build 1.17@4948957

[00:02:33.793] GLSL version: OpenGL ES GLSL ES 1.00 build 1.17@4948957

[00:02:33.793] GL vendor: Imagination Technologies

[00:02:33.793] GL renderer: PowerVR SGX 544MP

[00:02:33.793] GL extensions: GL_OES_compressed_ETC1_RGB8_texture

GL_OES_depth24 GL_OES_depth_texture GL_OES_egl_sync

GL_OES_element_index_uint GL_OES_EGL_image

GL_OES_EGL_image_external GL_OES_fbo_render_mipmap

GL_OES_fragment_precision_high GL_OES_get_program_binary

GL_OES_mapbuffer GL_OES_packed_depth_stencil

GL_OES_required_internalformat GL_OES_rgb8_rgba8

GL_OES_standard_derivatives GL_OES_surfaceless_context

GL_OES_texture_float GL_OES_texture_half_float

GL_OES_texture_npot GL_OES_vertex_array_object

GL_OES_vertex_half_float GL_EXT_blend_minmax

GL_EXT_discard_framebuffer GL_EXT_draw_buffers

GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture

GL_EXT_occlusion_query_boolean GL_EXT_shader_framebuffer_fetch

GL_EXT_shader_texture_lod GL_EXT_texture_format_BGRA8888

GL_EXT_texture_rg GL_IMG_multisampled_render_to_texture

GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary

GL_IMG_texture_compression_pvrtc

GL_IMG_texture_compression_pvrtc2

GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot

GL_IMG_uniform_buffer_object GL_KHR_debug

GL_EXT_texture_storage

[00:02:33.794] GL ES 2 renderer features:

read-back format: RGBA

wl_shm sub-image to texture: no

EGL Wayland extension: yes

[00:02:33.862] event0 - WaveShare WaveShare: is tagged by udev as: Touchscreen

[00:02:33.862] event0 - WaveShare WaveShare: device is a touch device

[00:02:33.862] Touchscreen - WaveShare WaveShare - /sys/devices/platform/44000000.ocp/488c0000.omap_dwc3_2/488d0000.usb/xhci-hcd.0.auto/usb1/1-1/1-1:1.0/0003:0712:0000

[00:02:33.862] input device event0 has no enabled output associated (none named), skipping calibration for now.

[00:02:34.123] DRM: head 'HDMI-A-1' found, connector 55 is connected, EDID make 'DEL', model 'DELL P2217H', serial 'J8KCX7CC5REU'

[00:02:34.124] DRM: head 'DPI-1' found, connector 57 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'

[00:02:34.124] Registered plugin API 'weston_drm_output_api_v1' of size 12

[00:02:34.125] Chosen EGL config details:

RGBA bits: 8 8 8 0

swap interval range: 1 - 1

[00:02:34.165] No backlight control for output 'HDMI-A-1'

[00:02:34.165] Output HDMI-A-1 (crtc 56) 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, 74.2 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

1600x900@60.0, 108.0 MHz

1280x1024@75.0, 135.0 MHz

1280x1024@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@60.0, 65.0 MHz

800x600@75.0, 49.5 MHz

800x600@60.3, 40.0 MHz

720x576@50.0 16:9, 27.0 MHz

720x576@50.0 16:9, 13.5 MHz

720x480@60.0 4:3, 27.0 MHz

720x480@60.0 16:9, 27.0 MHz

720x480@59.9, 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@59.9 16:9, 13.5 MHz

640x480@75.0, 31.5 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

[00:02:34.166] associating input device event0 with output HDMI-A-1 (none by udev)

[00:02:34.167] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1

[00:02:34.168] Chosen EGL config details:

RGBA bits: 8 8 8 0

swap interval range: 1 - 1

[00:02:34.208] No backlight control for output 'DPI-1'

[00:02:34.208] Output DPI-1 (crtc 58) video modes:

1080x1920@61.0, preferred, current, 135.6 MHz

[00:02:34.208] Output 'DPI-1' enabled with head(s) DPI-1

[00:02:34.208] Compositor capabilities:

arbitrary surface rotation: yes

screen capture uses y-flip: yes

presentation clock: CLOCK_MONOTONIC, id 1

presentation clock resolution: 0.000000001 s

[00:02:34.211] Loading module '/usr/lib/weston/desktop-shell.so'

[00:02:34.232] launching '/usr/libexec/weston-keyboard'

[00:02:34.234] fatal: unhandled option: --connector=57

[00:02:34.279] output for input device event0 removed

[00:02:34.331] event0 - WaveShare WaveShare: device removed

Failed to process Wayland connection: Broken pipe

failed to create display: Broken pipe

This is on our custom board.

when i run weston normally it comes on both display ( /etc/init.d/weston start)

can you help with this ? 

Regards,

Manish