Resistive touch Hdmi touch screen calibration

Ok I was working on this in a previous thread and I have got to the point where I am trying to launch the calibration with the weston.ini file modified. If I have done this correctly I am still getting a DPI-1 was not found.

here is my new weston.ini

[core]
idle-time=0
require-input=false
xwayland=true

[libinput]
touchscreen_calibrator=true
calibration_helper=/usr/bin/save-calibration.sh

[shell]
panel-position=top
locking=false
allow-zap=true
num-workspaces=1

[output]
name=HDMI-A-1

here is the docker command:

docker run -ti --rm -e ACCEPT_FSL_EULA=1 --privileged -v /home/torizon/weston.ini:/etc/xdg/weston-dev/weston.ini -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WESTON_TOUCH_CALIBRATOR --developer 

and the output of the session:

HEAD: DPI-1
Date: 2023-09-25 UTC
[19:58:30.621] weston 10.0.1
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: lf-5.15.52-2.1.0-10-g9452feba
[19:58:30.622] Command line: weston -Bdrm-backend.so -Swayland-0
[19:58:30.622] OS: Linux, 5.15.77-6.3.0+git.ddc6ca4d76ea, #1-TorizonCore SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023, aarch64
[19:58:30.622] Flight recorder: enabled
[19:58:30.622] warning: XDG_RUNTIME_DIR "/tmp/weston-xdg" is not configured
correctly.  Unix access mode must be 0700 (current mode is 0755),
and must be owned by the user UID 0 (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[19:58:30.622] Using config file '/etc/xdg/weston/weston.ini'
[19:58:30.623] Output repaint window is 7 ms maximum.
[19:58:30.623] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[19:58:30.634] initializing drm backend
[19:58:30.635] Trying libseat launcher...
[19:58:30.638] libseat: session control granted
[19:58:30.643] using /dev/dri/card1
[19:58:30.643] DRM: supports atomic modesetting
[19:58:30.644] DRM: supports GBM modifiers
[19:58:30.644] DRM: supports picture aspect ratio
[19:58:30.644] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[19:58:30.656] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
               EGL_EXT_device_drm EGL_EXT_device_drm_render_node
               EGL_KHR_platform_gbm
[19:58:30.661] EGL device extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
               EGL_EXT_device_drm EGL_EXT_device_drm_render_node
               EGL_KHR_platform_gbm
[19:58:30.661] EGL version: 1.5
[19:58:30.661] EGL vendor: Vivante Corporation
[19:58:30.661] EGL client APIs: OpenGL_ES OpenVG
[19:58:30.661] 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
[19:58:30.662] EGL_KHR_surfaceless_context available
[19:58:30.669] GL version: OpenGL ES 3.2 V6.4.3.p4.398061
[19:58:30.669] GLSL version: OpenGL ES GLSL ES 3.20
[19:58:30.669] GL vendor: Vivante Corporation
[19:58:30.669] GL renderer: Vivante GC7000XSVX
[19:58:30.669] 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_EXT_unpack_subimage
               GL_VIV_direct_texture
[19:58:30.734] GL ES 3.2 - renderer features:
               read-back format: BGRA
               EGL Wayland extension: yes
[19:58:30.764] event3  - iKey Keyboard Mouse  Keyboard: is tagged by udev as: Keyboard
[19:58:30.764] event3  - iKey Keyboard Mouse  Keyboard: device is a keyboard
[19:58:30.844] event4  - iKey Keyboard Mouse : is tagged by udev as: Mouse
[19:58:30.844] event4  - iKey Keyboard Mouse : device is a pointer
[19:58:30.924] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : is tagged by udev as: Mouse
[19:58:30.925] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : device is a pointer
[19:58:30.929] event0  - sc-powerkey: is tagged by udev as: Keyboard
[19:58:30.929] event0  - sc-powerkey: device is a keyboard
[19:58:30.934] event5  - imx-audio-hdmi-tx HDMI Jack: is tagged by udev as: Switch
[19:58:31.033] event5  - not using input device '/dev/input/event5'
[19:58:31.073] libinput: configuring device "iKey Keyboard Mouse  Keyboard".
[19:58:31.073] libinput: configuring device "iKey Keyboard Mouse ".
[19:58:31.073] libinput: configuring device "ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 ".
[19:58:31.073] input device event1 has no enabled output associated (none named), skipping calibration for now.
[19:58:31.074] libinput: configuring device "sc-powerkey".
[19:58:31.104] DRM: head 'HDMI-A-1' updated, connector 148 is connected, EDID make 'ELO', model 'ELO ET1790L', serial '9312'
[19:58:31.104] DRM: head 'HDMI-A-1' found, connector 148 is connected, EDID make 'ELO', model 'ELO ET1790L', serial '9312'
[19:58:31.105] Registered plugin API 'weston_drm_output_api_v1' of size 24
[19:58:31.105] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
[19:58:31.105] Color manager: no-op
[19:58:31.106] Module '/usr/lib/libgbm.so' already loaded
[19:58:31.106] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[19:58:31.107] Chosen EGL config details: id:  21 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[19:58:31.108] Output HDMI-A-1 (crtc 38) video modes:
               1280x1024@60.0, preferred, current, 108.0 MHz
               1280x800@59.9, 71.0 MHz
               1280x720@60.0 16:9, 74.2 MHz
               1280x720@59.9 16:9, 74.2 MHz
               1024x768@60.0, 65.0 MHz
               800x600@60.3, 40.0 MHz
               800x600@56.2, 36.0 MHz
               720x576@50.0 4:3, 27.0 MHz
               800x500@59.5, 30.8 MHz
               720x480@60.0 4:3, 27.0 MHz
               720x480@60.0 16:9, 27.0 MHz
               720x480@59.9 4:3, 27.0 MHz
               720x480@59.9 16:9, 27.0 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
[19:58:31.108] associating input device event3 with output HDMI-A-1 (none by udev)
[19:58:31.108] associating input device event4 with output HDMI-A-1 (none by udev)
[19:58:31.109] associating input device event1 with output HDMI-A-1 (none by udev)
[19:58:31.110] associating input device event0 with output HDMI-A-1 (none by udev)
[19:58:31.111] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[19:58:31.111] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               cursor planes: yes
               arbitrary resolutions: no
               view mask clipping: yes
               explicit sync: yes
               color operations: no
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[19:58:31.112] Loading module '/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so'
[19:58:31.114] launching '/usr/lib/aarch64-linux-gnu/weston-keyboard'
[19:58:31.127] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[19:58:31.128] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/xwayland.so'
[19:58:31.159] Registered plugin API 'weston_xwayland_v1' of size 32
[19:58:31.159] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[19:58:31.160] xserver listening on display :0
[19:58:31.160] launching '/usr/lib/aarch64-linux-gnu/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-none'
wayland-0
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
weston-touch-calibrator error: "DPI-1" was not found.
^C[20:00:44.483] caught signal 2
[20:00:44.508] output for input device event3 removed
[20:00:44.508] output for input device event4 removed
[20:00:44.508] output for input device event1 removed
[20:00:44.508] output for input device event0 removed
[20:00:44.514] event3  - iKey Keyboard Mouse  Keyboard: device removed
[20:00:44.613] event4  - iKey Keyboard Mouse : device removed
[20:00:44.723] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : device removed
[20:00:44.813] event0  - sc-powerkey: device removed
[20:00:44.917] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.
torizon@apalis-imx8-14760601:~$ 

I am trying to use this screen setup to evaluate GUI’s for our project conversion but it is difficult to test much with the touch screen off as far as it is. once I can verify a possible solution. my plan is to start setting up a container that will be a starting point for our project and hardware.

Hey @Lon,

For this command you are seeing it still search for DPI-1 because this is the default behavior. You will need to add the flag to modify for HDMI-A-1. via the flag: -e HEAD=LVDS-1

Here is our article on it (example run command included):

-Eric

sorry if I am a bit slow at this Eric. still have a lot of learning to do with the whole docker, container Linux bit :wink:

when I run that I now receive and error saying HDMI-A1-1 was not found.

torizon@apalis-imx8-14760601:~$ docker run -ti --rm -e ACCEPT_FSL_EULA=1 -e HEAD=HDMI-A1-1 --privileged -v /home/torizon/weston.ini:/etc/xdg/w
eston-dev/weston.ini -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WEST
ON_TOUCH_CALIBRATOR --developer
HEAD: HDMI-A1-1
Date: 2023-09-25 UTC
[20:37:29.999] weston 10.0.1
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: lf-5.15.52-2.1.0-10-g9452feba
[20:37:29.999] Command line: weston -Bdrm-backend.so -Swayland-0
[20:37:29.999] OS: Linux, 5.15.77-6.3.0+git.ddc6ca4d76ea, #1-TorizonCore SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023, aarch64
[20:37:29.999] Flight recorder: enabled
[20:37:29.999] warning: XDG_RUNTIME_DIR "/tmp/weston-xdg" is not configured
correctly.  Unix access mode must be 0700 (current mode is 0755),
and must be owned by the user UID 0 (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[20:37:30.000] Using config file '/etc/xdg/weston/weston.ini'
[20:37:30.000] Output repaint window is 7 ms maximum.
[20:37:30.000] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[20:37:30.007] initializing drm backend
[20:37:30.007] Trying libseat launcher...
[20:37:30.009] libseat: session control granted
[20:37:30.019] using /dev/dri/card1
[20:37:30.019] DRM: supports atomic modesetting
[20:37:30.019] DRM: supports GBM modifiers
[20:37:30.019] DRM: supports picture aspect ratio
[20:37:30.020] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[20:37:30.038] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
               EGL_EXT_device_drm EGL_EXT_device_drm_render_node
               EGL_KHR_platform_gbm
[20:37:30.042] EGL device extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
               EGL_EXT_device_drm EGL_EXT_device_drm_render_node
               EGL_KHR_platform_gbm
[20:37:30.042] EGL version: 1.5
[20:37:30.042] EGL vendor: Vivante Corporation
[20:37:30.042] EGL client APIs: OpenGL_ES OpenVG
[20:37:30.042] 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
[20:37:30.043] EGL_KHR_surfaceless_context available
[20:37:30.050] GL version: OpenGL ES 3.2 V6.4.3.p4.398061
[20:37:30.050] GLSL version: OpenGL ES GLSL ES 3.20
[20:37:30.050] GL vendor: Vivante Corporation
[20:37:30.050] GL renderer: Vivante GC7000XSVX
[20:37:30.050] 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_EXT_unpack_subimage
               GL_VIV_direct_texture
[20:37:30.116] GL ES 3.2 - renderer features:
               read-back format: BGRA
               EGL Wayland extension: yes
[20:37:30.145] event3  - iKey Keyboard Mouse  Keyboard: is tagged by udev as: Keyboard
[20:37:30.146] event3  - iKey Keyboard Mouse  Keyboard: device is a keyboard
[20:37:30.224] event4  - iKey Keyboard Mouse : is tagged by udev as: Mouse
[20:37:30.224] event4  - iKey Keyboard Mouse : device is a pointer
[20:37:30.304] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : is tagged by udev as: Mouse
[20:37:30.305] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : device is a pointer
[20:37:30.312] event0  - sc-powerkey: is tagged by udev as: Keyboard
[20:37:30.312] event0  - sc-powerkey: device is a keyboard
[20:37:30.316] event5  - imx-audio-hdmi-tx HDMI Jack: is tagged by udev as: Switch
[20:37:30.423] event5  - not using input device '/dev/input/event5'
[20:37:30.463] libinput: configuring device "iKey Keyboard Mouse  Keyboard".
[20:37:30.463] libinput: configuring device "iKey Keyboard Mouse ".
[20:37:30.463] libinput: configuring device "ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 ".
[20:37:30.463] input device event1 has no enabled output associated (none named), skipping calibration for now.
[20:37:30.463] libinput: configuring device "sc-powerkey".
[20:37:30.494] DRM: head 'HDMI-A-1' updated, connector 148 is connected, EDID make 'ELO', model 'ELO ET1790L', serial '9312'
[20:37:30.495] DRM: head 'HDMI-A-1' found, connector 148 is connected, EDID make 'ELO', model 'ELO ET1790L', serial '9312'
[20:37:30.496] Registered plugin API 'weston_drm_output_api_v1' of size 24
[20:37:30.496] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
[20:37:30.496] Color manager: no-op
[20:37:30.497] Module '/usr/lib/libgbm.so' already loaded
[20:37:30.497] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[20:37:30.498] Chosen EGL config details: id:  21 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[20:37:30.498] Output HDMI-A-1 (crtc 38) video modes:
               1280x1024@60.0, preferred, current, 108.0 MHz
               1280x800@59.9, 71.0 MHz
               1280x720@60.0 16:9, 74.2 MHz
               1280x720@59.9 16:9, 74.2 MHz
               1024x768@60.0, 65.0 MHz
               800x600@60.3, 40.0 MHz
               800x600@56.2, 36.0 MHz
               720x576@50.0 4:3, 27.0 MHz
               800x500@59.5, 30.8 MHz
               720x480@60.0 4:3, 27.0 MHz
               720x480@60.0 16:9, 27.0 MHz
               720x480@59.9 4:3, 27.0 MHz
               720x480@59.9 16:9, 27.0 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
[20:37:30.499] associating input device event3 with output HDMI-A-1 (none by udev)
[20:37:30.499] associating input device event4 with output HDMI-A-1 (none by udev)
[20:37:30.499] associating input device event1 with output HDMI-A-1 (none by udev)
[20:37:30.501] associating input device event0 with output HDMI-A-1 (none by udev)
[20:37:30.501] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[20:37:30.501] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               cursor planes: yes
               arbitrary resolutions: no
               view mask clipping: yes
               explicit sync: yes
               color operations: no
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[20:37:30.502] Loading module '/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so'
[20:37:30.505] launching '/usr/lib/aarch64-linux-gnu/weston-keyboard'
[20:37:30.514] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[20:37:30.516] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/xwayland.so'
[20:37:30.551] Registered plugin API 'weston_xwayland_v1' of size 32
[20:37:30.551] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[20:37:30.551] xserver listening on display :0
[20:37:30.551] launching '/usr/lib/aarch64-linux-gnu/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-none'
wayland-0
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
weston-touch-calibrator error: "HDMI-A1-1" was not found.

^C[20:37:43.185] caught signal 2
[20:37:43.215] output for input device event3 removed
[20:37:43.215] output for input device event4 removed
[20:37:43.215] output for input device event1 removed
[20:37:43.215] output for input device event0 removed
[20:37:43.226] event3  - iKey Keyboard Mouse  Keyboard: device removed
[20:37:43.303] event4  - iKey Keyboard Mouse : device removed
[20:37:43.383] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : device removed
[20:37:43.513] event0  - sc-powerkey: device removed
[20:37:43.626] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.
torizon@apalis-imx8-14760601:~$   

Hey @Lon,

No worries, I think you have an extra 1. in your HDMI-A1-1

-Eric

well that I did. but I get the same error “HDMI-A-1” was not found.

Hey @Lon,

Has your setup changed from your last post? It seem these are the same issues as before that were resolved?

-Eric

no we never resolved them. you asked me to start a new post after I managed to get the weston.ini to work and or the torizoncore-build to work. I am able to calibrate a different smaller capacitive touch screen from the same manufacturer but this display which is resistive will not work. And I won’t lie I may have misunderstood you with that. I have tried so many different attempts at this that I am starting to go in circles.

Hey @Lon,

Ah ok. Small miscommunications, no worries. We can focus on this one your still having. Can you give me the new output errors messages with the latest HDMI-A-1 name correction?

And also, from the last post, does running libdrm-tests still give your the name: HDMI-A-1?

-Eric

Here you go.

torizon@apalis-imx8-14760601:~$ docker run -ti --rm -e ACCEPT_FSL_EULA=1 -e HEAD=HDMI-A-1 --privileged -v /home/torizon/weston.ini:/etc/xdg/we
ston-dev/weston.ini -v /dev:/dev -v /run/udev/:/run/udev/ -v /etc/udev/rules.d:/etc/udev/rules.d torizon/weston-touch-calibrator:$CT_TAG_WESTO
N_TOUCH_CALIBRATOR --developer
HEAD: HDMI-A-1
Date: 2023-09-25 UTC
[20:54:07.724] weston 10.0.1
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: lf-5.15.52-2.1.0-10-g9452feba
[20:54:07.725] Command line: weston -Bdrm-backend.so -Swayland-0
[20:54:07.725] OS: Linux, 5.15.77-6.3.0+git.ddc6ca4d76ea, #1-TorizonCore SMP PREEMPT Thu Jun 29 10:14:22 UTC 2023, aarch64
[20:54:07.725] Flight recorder: enabled
[20:54:07.725] warning: XDG_RUNTIME_DIR "/tmp/weston-xdg" is not configured
correctly.  Unix access mode must be 0700 (current mode is 0755),
and must be owned by the user UID 0 (current owner is UID 0).
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[20:54:07.725] Using config file '/etc/xdg/weston/weston.ini'
[20:54:07.726] Output repaint window is 7 ms maximum.
[20:54:07.726] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/drm-backend.so'
[20:54:07.737] initializing drm backend
[20:54:07.737] Trying libseat launcher...
[20:54:07.740] libseat: session control granted
[20:54:07.747] using /dev/dri/card1
[20:54:07.747] DRM: supports atomic modesetting
[20:54:07.747] DRM: supports GBM modifiers
[20:54:07.747] DRM: supports picture aspect ratio
[20:54:07.747] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/gl-renderer.so'
[20:54:07.760] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
               EGL_EXT_device_drm EGL_EXT_device_drm_render_node
               EGL_KHR_platform_gbm
[20:54:07.764] EGL device extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_platform_wayland
               EGL_EXT_platform_wayland EGL_EXT_device_query
               EGL_EXT_device_drm EGL_EXT_device_drm_render_node
               EGL_KHR_platform_gbm
[20:54:07.764] EGL version: 1.5
[20:54:07.764] EGL vendor: Vivante Corporation
[20:54:07.764] EGL client APIs: OpenGL_ES OpenVG
[20:54:07.764] 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
[20:54:07.765] EGL_KHR_surfaceless_context available
[20:54:07.772] GL version: OpenGL ES 3.2 V6.4.3.p4.398061
[20:54:07.772] GLSL version: OpenGL ES GLSL ES 3.20
[20:54:07.772] GL vendor: Vivante Corporation
[20:54:07.773] GL renderer: Vivante GC7000XSVX
[20:54:07.773] 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_EXT_unpack_subimage
               GL_VIV_direct_texture
[20:54:07.838] GL ES 3.2 - renderer features:
               read-back format: BGRA
               EGL Wayland extension: yes
[20:54:07.868] event3  - iKey Keyboard Mouse  Keyboard: is tagged by udev as: Keyboard
[20:54:07.868] event3  - iKey Keyboard Mouse  Keyboard: device is a keyboard
[20:54:07.944] event4  - iKey Keyboard Mouse : is tagged by udev as: Mouse
[20:54:07.944] event4  - iKey Keyboard Mouse : device is a pointer
[20:54:08.024] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : is tagged by udev as: Mouse
[20:54:08.025] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : device is a pointer
[20:54:08.031] event0  - sc-powerkey: is tagged by udev as: Keyboard
[20:54:08.031] event0  - sc-powerkey: device is a keyboard
[20:54:08.036] event5  - imx-audio-hdmi-tx HDMI Jack: is tagged by udev as: Switch
[20:54:08.123] event5  - not using input device '/dev/input/event5'
[20:54:08.163] libinput: configuring device "iKey Keyboard Mouse  Keyboard".
[20:54:08.163] libinput: configuring device "iKey Keyboard Mouse ".
[20:54:08.163] libinput: configuring device "ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 ".
[20:54:08.163] input device event1 has no enabled output associated (none named), skipping calibration for now.
[20:54:08.163] libinput: configuring device "sc-powerkey".
[20:54:08.194] DRM: head 'HDMI-A-1' updated, connector 148 is connected, EDID make 'ELO', model 'ELO ET1790L', serial '9312'
[20:54:08.195] DRM: head 'HDMI-A-1' found, connector 148 is connected, EDID make 'ELO', model 'ELO ET1790L', serial '9312'
[20:54:08.196] Registered plugin API 'weston_drm_output_api_v1' of size 24
[20:54:08.196] Registered plugin API 'weston_drm_virtual_output_api_v1' of size 48
[20:54:08.196] Color manager: no-op
[20:54:08.197] Module '/usr/lib/libgbm.so' already loaded
[20:54:08.197] Output 'HDMI-A-1' using color profile: built-in default sRGB SDR profile
[20:54:08.198] Chosen EGL config details: id:  21 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-60 type: win|pix|pbf|swap_preserved vis_id: XRGB8888 (0x34325258)
[20:54:08.198] Output HDMI-A-1 (crtc 38) video modes:
               1280x1024@60.0, preferred, current, 108.0 MHz
               1280x800@59.9, 71.0 MHz
               1280x720@60.0 16:9, 74.2 MHz
               1280x720@59.9 16:9, 74.2 MHz
               1024x768@60.0, 65.0 MHz
               800x600@60.3, 40.0 MHz
               800x600@56.2, 36.0 MHz
               720x576@50.0 4:3, 27.0 MHz
               800x500@59.5, 30.8 MHz
               720x480@60.0 4:3, 27.0 MHz
               720x480@60.0 16:9, 27.0 MHz
               720x480@59.9 4:3, 27.0 MHz
               720x480@59.9 16:9, 27.0 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
[20:54:08.199] associating input device event3 with output HDMI-A-1 (none by udev)
[20:54:08.199] associating input device event4 with output HDMI-A-1 (none by udev)
[20:54:08.199] associating input device event1 with output HDMI-A-1 (none by udev)
[20:54:08.201] associating input device event0 with output HDMI-A-1 (none by udev)
[20:54:08.201] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1
[20:54:08.201] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               cursor planes: yes
               arbitrary resolutions: no
               view mask clipping: yes
               explicit sync: yes
               color operations: no
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[20:54:08.202] Loading module '/usr/lib/aarch64-linux-gnu/weston/desktop-shell.so'
[20:54:08.205] launching '/usr/lib/aarch64-linux-gnu/weston-keyboard'
[20:54:08.214] Note: support for the deprecated wl_shell interface is disabled. If a legacy client still needs it, it can be re-enabled by passing -Ddeprecated-wl-shell=true to Meson when building Weston.
[20:54:08.215] Loading module '/usr/lib/aarch64-linux-gnu/libweston-10/xwayland.so'
[20:54:08.250] Registered plugin API 'weston_xwayland_v1' of size 32
[20:54:08.250] Registered plugin API 'weston_xwayland_surface_v1' of size 16
[20:54:08.251] xserver listening on display :0
[20:54:08.251] launching '/usr/lib/aarch64-linux-gnu/weston-desktop-shell'
could not load cursor 'dnd-move'
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
could not load cursor 'dnd-none'
wayland-0
could not load cursor 'dnd-move'
could not load cursor 'dnd-copy'
could not load cursor 'dnd-none'
weston-touch-calibrator error: "HDMI-A-1" was not found.
^C[20:58:21.489] caught signal 2
[20:58:21.519] output for input device event3 removed
[20:58:21.519] output for input device event4 removed
[20:58:21.519] output for input device event1 removed
[20:58:21.519] output for input device event0 removed
[20:58:21.530] event3  - iKey Keyboard Mouse  Keyboard: device removed
[20:58:21.593] event4  - iKey Keyboard Mouse : device removed
[20:58:21.673] event1  - ELO Touch Solutions  ELO Touch Solutions AccuTouch 2218 : device removed
[20:58:21.753] event0  - sc-powerkey: device removed
[20:58:21.863] BUG: layer_list is not empty after shutdown. Calls to weston_layer_fini() are missing somwhere.
torizon@apalis-imx8-14760601:~$ 

and from the mode test I get the following:

Encoders:
id      crtc    type    possible crtcs  possible clones
147     38      TMDS    0x00000001      0x00000001

Connectors:
id      encoder status          name            size (mm)       modes   encoders
148     147     connected       HDMI-A-1        340x270         14      147
  modes:
        index name refresh (Hz) hdisp hss hse htot vdisp vss vse vtot
 

Hey @Lon,

This is a bit of a strange behavior, Are you able to link the datasheet of your screen?

-Eric

17 inch resisitve the model having issues with

this is the 5 wire resistive version. we also use a 10 inch capacitive touch model which appears to work.

10.1 inch cap that works

so what would be the next step in trying to trouble shoot this? I am still trying to wrap my head around the whole container bit. if you were to try to change drivers you would do that to the main image? but then how do you get that to follow to the container?

Hey Lon,

I’m pulling in a few other team-members thoughts. Hopefully we can get some progress soon.

-Eric

1 Like

Hey @Lon,

I reached out to our team and somebody will be reaching out to you to get a bit more info and see about possible other solutions. Are you set on using this display? I know previous you were working with a capacitance touch screen.

When you are running the container, can you validate that you are stopping all running containers previously? There is also the option of trying to calibration the screen manually without the automated assistance from the container.

-Eric

Sry for the Delay I was busy working schematics and PCB layout for the module.

The display is a must. we need to be able to retrofit existing equipment in the field. And it is one of the few displays that will survive our environment.

I was running it in a container and was stopping all other containers.

How would you do the screen manually?

@eric.tx any thoughts on this?

Hey @Lon,

Re-reading the message, I see that you have a 5-wire resistive touch… The Apalis IMX6 uses the STMPE811 touch interface, which is a 4-wire resistive touch. These are not compatible touch interfaces.
I apologizes, I should have notice this piece of information sooner.

If the question is still applicable…
The touch screen calibration container ultimate creates a new udev rule that gets saved on the module. The container will create and store it at /etc/udev/rules.d/touchscreen.rules.
You can get a bit more information here:.

What you can do is have a separate display screen showing the calibration container visuals while having the resistive touch screen working with the touch input. The file then can be generated and able to modify it if needed. This of course is dependent on the touch screen wire compatibility.

-Eric

@erik.weber
These displays have an integrated touch controller that comes in through USB. the software appears to identify them just fine.

@Lon,

Are you able to try and generate the calibration file via the alternative method?

-Eric

I will see what I can do. I only have the one display so I would need to vnc or rdp to the device for the alternate display. give me a couple days to play with this.