Screen support #koi #renesas #help


Francesco ARGENTIERI (KINETON)
 

Hi everyone, Currently, I develop for h3ulcb + kingfisher and on the standard monitor, the image is shown correctly. I am testing a new screen 15.6" 1920 x 1080 connected by micro-HDMI(h3ulcb output) - mini-HDMI(screen) cable, so the image on the screen is shown with half-height but replicated twice. Furthermore, I want to activate the HDMI port on the kingfisher board to avoid using the adapter from micro HDMI to standard size.

weston.ini configuration

[core]
backend=drm-backend.so
require-input=false
modules=systemd-notify.so
repaint-window=34

[shell]
locking=true
panel-position=none

# A display is connected to HDMI-A-1
[output]
name=HDMI-A-1
mode=1920x1080@60
force-on=true

[output]
name=HDMI-A-2
mode=1920x1080@60
force-on=true

[output]
name=LVDS-1
mode=off


Marius Vlad
 

On Fri, Nov 05, 2021 at 05:25:21AM -0700, Francesco ARGENTIERI (KINETON) wrote:
Hi everyone,
Hi Francesco,
Currently, I develop for **h3ulcb + kingfisher** and on the standard monitor, the image is shown correctly.
I am testing a new screen 15.6" 1920 x 1080 connected by
micro-HDMI(*h3ulcb output*) - mini-HDMI(*screen*) cable, so the image
on the screen is shown with half-height but replicated twice.
Just to make sure, this new screen is connected to the
micro-HDMI port of h3ulcb machine?

It shouldn't behave any differently than other displays/monitors. We
have a tool that can take screenshots of the output, it's called
agl-screenshooter. It will dump a PNG file in the current directory
where you called it, so you can use that to attach an image to better
show up the issue.

Furthermore, I want to activate the HDMI port on the kingfisher board to avoid using the adapter from micro HDMI to standard size.

weston.ini configuration
```shell
[core]
backend=drm-backend.so
require-input=false
modules=systemd-notify.so
repaint-window=34

[shell]
locking=true
panel-position=none

# A display is connected to HDMI-A-1
[output]
name=HDMI-A-1
mode=1920x1080@60
force-on=true

[output]
name=HDMI-A-2
mode=1920x1080@60
force-on=true

[output]
name=LVDS-1
mode=off
```
I assume that the ^ configuration doesn't work at all?

I would suggest in both cases you paste the compositor log, so see what
actually is being "detected" or not. Better yet, maybe also, open a JIRA
ticket and attach both the compositor log and the screenshoot there?

(PS: the compositor log is located at /run/platform/display/compositor.log).





Jan Simon Moeller
 

Could it also be related to:
https://jira.automotivelinux.org/browse/SPEC-4124 ?

Best regards,
Jan-Simon

------
Jan-Simon Möller
AGL Release Manager
The Linux Foundation

Visit us at:
www.automotivegradelinux.org
lists.automotivelinux.org
www.linuxfoundation.org

On Fri, Nov 5, 2021 at 5:30 PM Marius Vlad <marius.vlad@...> wrote:

On Fri, Nov 05, 2021 at 05:25:21AM -0700, Francesco ARGENTIERI (KINETON) wrote:
Hi everyone,
Hi Francesco,
Currently, I develop for **h3ulcb + kingfisher** and on the standard monitor, the image is shown correctly.
I am testing a new screen 15.6" 1920 x 1080 connected by
micro-HDMI(*h3ulcb output*) - mini-HDMI(*screen*) cable, so the image
on the screen is shown with half-height but replicated twice.
Just to make sure, this new screen is connected to the
micro-HDMI port of h3ulcb machine?

It shouldn't behave any differently than other displays/monitors. We
have a tool that can take screenshots of the output, it's called
agl-screenshooter. It will dump a PNG file in the current directory
where you called it, so you can use that to attach an image to better
show up the issue.

Furthermore, I want to activate the HDMI port on the kingfisher board to avoid using the adapter from micro HDMI to standard size.

weston.ini configuration
```shell
[core]
backend=drm-backend.so
require-input=false
modules=systemd-notify.so
repaint-window=34

[shell]
locking=true
panel-position=none

# A display is connected to HDMI-A-1
[output]
name=HDMI-A-1
mode=1920x1080@60
force-on=true

[output]
name=HDMI-A-2
mode=1920x1080@60
force-on=true

[output]
name=LVDS-1
mode=off
```
I assume that the ^ configuration doesn't work at all?

I would suggest in both cases you paste the compositor log, so see what
actually is being "detected" or not. Better yet, maybe also, open a JIRA
ticket and attach both the compositor log and the screenshoot there?

(PS: the compositor log is located at /run/platform/display/compositor.log).








Francesco ARGENTIERI (KINETON)
 

Hi Marius,

thank you for your reply, I share the result for configuration with monitor Samsung C24F390FHU after typing /run/platform/display/compositor.log:

h3ulcb:~# cat /run/platform/display/compositor.log
Date: 2020-06-29 CEST
[05:06:45.711] Loading module '/usr/lib/libweston-8/drm-backend.so'
[05:06:45.833] initializing drm backend
[05:06:45.834] logind: not running in a systemd session
[05:06:45.834] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[05:06:45.919] using /dev/dri/card0
[05:06:45.919] DRM: supports universal planes
[05:06:45.919] DRM: supports atomic modesetting
[05:06:45.919] DRM: supports picture aspect ratio
[05:06:45.921] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[05:06:46.217] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[05:06:46.243] EGL version: 1.4 build 1.11@5516664
[05:06:46.243] EGL vendor: Imagination Technologies
[05:06:46.243] EGL client APIs: OpenGL_ES
[05:06:46.243] 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_KHR_wait_sync
               EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs
               EGL_EXT_swap_buffers_with_damage
               EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update
               EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
               EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
               EGL_IMG_context_priority EGL_KHR_create_context
               EGL_KHR_surfaceless_context EGL_KHR_no_config_context
               EGL_REL_get_spm_event EGL_REL_create_context
               EGL_REL_query_context EGL_REL_get_meminfo
               EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display
[05:06:46.243] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[05:06:46.244] Retrieving EGL client extension string failed.
[05:06:46.244] EGL_KHR_surfaceless_context available
[05:06:46.326] GL version: OpenGL ES 3.2 build 1.11@5516664
[05:06:46.326] GLSL version: OpenGL ES GLSL ES 3.20 build 1.11@5516664
[05:06:46.326] GL vendor: Imagination Technologies
[05:06:46.326] GL renderer: PowerVR Rogue GX6650
[05:06:46.326] GL extensions: GL_ANDROID_extension_pack_es31a
               GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture
               GL_EXT_clip_control GL_EXT_color_buffer_float
               GL_EXT_conservative_depth GL_EXT_copy_image
               GL_EXT_discard_framebuffer GL_EXT_draw_buffers
               GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
               GL_EXT_EGL_image_array GL_EXT_float_blend
               GL_EXT_geometry_point_size GL_EXT_geometry_shader
               GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd
               GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
               GL_EXT_multisampled_render_to_texture2
               GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp
               GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB
               GL_EXT_read_format_bgra GL_EXT_robustness
               GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch
               GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions
               GL_EXT_shader_io_blocks
               GL_EXT_shader_non_constant_global_initializers
               GL_EXT_shader_pixel_local_storage
               GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod
               GL_EXT_shadow_samplers GL_EXT_sparse_texture
               GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size
               GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
               GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
               GL_EXT_texture_filter_anisotropic
               GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
               GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8
               GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target
               GL_IMG_framebuffer_downsample
               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_filter_cubic
               GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot
               GL_KHR_blend_equation_advanced
               GL_KHR_blend_equation_advanced_coherent GL_KHR_debug
               GL_KHR_robustness GL_KHR_texture_compression_astc_ldr
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
               GL_OES_depth_texture GL_OES_draw_buffers_indexed
               GL_OES_draw_elements_base_vertex GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
               GL_OES_EGL_sync GL_OES_element_index_uint
               GL_OES_fragment_precision_high 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_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_surfaceless_context
               GL_OES_tessellation_point_size GL_OES_tessellation_shader
               GL_OES_texture_border_clamp GL_OES_texture_buffer
               GL_OES_texture_cube_map_array GL_OES_texture_float
               GL_OES_texture_half_float 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_OVR_multiview GL_OVR_multiview2
               GL_OVR_multiview_multisampled_render_to_texture
               GL_REL_texture_format_ARGB1555
[05:06:46.327] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: yes
               EGL Wayland extension: yes
[05:06:46.438] event1  - keyboard: is tagged by udev as: Keyboard
[05:06:46.438] event1  - keyboard: device is a keyboard
[05:06:46.503] event0  - USB Optical Mouse: is tagged by udev as: Mouse
[05:06:46.504] event0  - USB Optical Mouse: device is a pointer
[05:06:46.730] DRM: head 'HDMI-A-1' found, connector 74 is connected, EDID make 'SAM', model 'C24F390', serial 'HTQK702048'
[05:06:46.730] DRM: head 'LVDS-1' found, connector 76 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:06:46.733] DRM: head 'HDMI-A-2' found, connector 78 is disconnected.
[05:06:46.733] Registered plugin API 'weston_drm_output_api_v1' of size 24
[05:06:46.734] Loading module '/usr/lib/libweston-8/remoting-plugin.so'
[05:06:46.734] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory
[05:06:46.735] Chosen EGL config details: id:   8 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win|pix|pbf vis_id: XRGB8888 (0x34325258)
[05:06:46.744] Output HDMI-A-1 (crtc 70) video modes:
               1920x1080@..., preferred, current, 148.5 MHz
               1920x1080@... 16:9, 148.5 MHz
               1920x1080@... 16:9, 148.4 MHz
               1920x1080@... 16:9, 148.5 MHz
               1680x1050@..., 119.0 MHz
               1600x900@..., 108.0 MHz
               1280x1024@..., 108.0 MHz
               1440x900@..., 88.8 MHz
               1280x800@..., 71.0 MHz
               1280x720@..., 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1280x720@..., 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1024x768@..., 75.0 MHz
               1024x768@..., 65.0 MHz
               800x600@..., 50.0 MHz
               800x600@..., 40.0 MHz
               800x600@..., 36.0 MHz
               720x576@..., 27.0 MHz
               720x576@... 16:9, 27.0 MHz
               720x480@... 4:3, 27.0 MHz
               720x480@... 16:9, 27.0 MHz
               720x480@..., 27.0 MHz
               720x480@... 16:9, 27.0 MHz
               640x480@..., 31.5 MHz
               640x480@..., 30.2 MHz
               640x480@... 4:3, 25.2 MHz
               640x480@..., 25.2 MHz
               720x400@..., 28.3 MHz
[05:06:46.744] associating input device event1 with output HDMI-A-1 (none by udev)
[05:06:46.744] associating input device event0 with output HDMI-A-1 (none by udev)
[05:06:46.744] Output 'HDMI-A-1' enabled with head(s) HDMI-A-1

This is the working configuration.

Shortly I will share the result for the other display.

Best Regards, FA


Francesco ARGENTIERI (KINETON)
 

I share the result for configuration with monitor Samsung C24F390FHU attached to the HDMI (standard port) on H3ULCB after typing /run/platform/display/compositor.log:

h3ulcb:~# cat /run/platform/display/compositor.log
Date: 2020-06-29 CEST
[05:06:45.672] Loading module '/usr/lib/libweston-8/drm-backend.so'
[05:06:45.739] initializing drm backend
[05:06:45.740] logind: not running in a systemd session
[05:06:45.741] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[05:06:45.781] using /dev/dri/card0
[05:06:45.781] DRM: supports universal planes
[05:06:45.781] DRM: supports atomic modesetting
[05:06:45.781] DRM: supports picture aspect ratio
[05:06:45.785] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[05:06:45.989] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[05:06:46.020] EGL version: 1.4 build 1.11@5516664
[05:06:46.021] EGL vendor: Imagination Technologies
[05:06:46.021] EGL client APIs: OpenGL_ES
[05:06:46.021] 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_KHR_wait_sync
               EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs
               EGL_EXT_swap_buffers_with_damage
               EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update
               EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
               EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
               EGL_IMG_context_priority EGL_KHR_create_context
               EGL_KHR_surfaceless_context EGL_KHR_no_config_context
               EGL_REL_get_spm_event EGL_REL_create_context
               EGL_REL_query_context EGL_REL_get_meminfo
               EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display
[05:06:46.022] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[05:06:46.022] Retrieving EGL client extension string failed.
[05:06:46.022] EGL_KHR_surfaceless_context available
[05:06:46.107] GL version: OpenGL ES 3.2 build 1.11@5516664
[05:06:46.107] GLSL version: OpenGL ES GLSL ES 3.20 build 1.11@5516664
[05:06:46.107] GL vendor: Imagination Technologies
[05:06:46.107] GL renderer: PowerVR Rogue GX6650
[05:06:46.107] GL extensions: GL_ANDROID_extension_pack_es31a
               GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture
               GL_EXT_clip_control GL_EXT_color_buffer_float
               GL_EXT_conservative_depth GL_EXT_copy_image
               GL_EXT_discard_framebuffer GL_EXT_draw_buffers
               GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
               GL_EXT_EGL_image_array GL_EXT_float_blend
               GL_EXT_geometry_point_size GL_EXT_geometry_shader
               GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd
               GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
               GL_EXT_multisampled_render_to_texture2
               GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp
               GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB
               GL_EXT_read_format_bgra GL_EXT_robustness
               GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch
               GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions
               GL_EXT_shader_io_blocks
               GL_EXT_shader_non_constant_global_initializers
               GL_EXT_shader_pixel_local_storage
               GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod
               GL_EXT_shadow_samplers GL_EXT_sparse_texture
               GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size
               GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
               GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
               GL_EXT_texture_filter_anisotropic
               GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
               GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8
               GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target
               GL_IMG_framebuffer_downsample
               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_filter_cubic
               GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot
               GL_KHR_blend_equation_advanced
               GL_KHR_blend_equation_advanced_coherent GL_KHR_debug
               GL_KHR_robustness GL_KHR_texture_compression_astc_ldr
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
               GL_OES_depth_texture GL_OES_draw_buffers_indexed
               GL_OES_draw_elements_base_vertex GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
               GL_OES_EGL_sync GL_OES_element_index_uint
               GL_OES_fragment_precision_high 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_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_surfaceless_context
               GL_OES_tessellation_point_size GL_OES_tessellation_shader
               GL_OES_texture_border_clamp GL_OES_texture_buffer
               GL_OES_texture_cube_map_array GL_OES_texture_float
               GL_OES_texture_half_float 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_OVR_multiview GL_OVR_multiview2
               GL_OVR_multiview_multisampled_render_to_texture
               GL_REL_texture_format_ARGB1555
[05:06:46.108] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: yes
               EGL Wayland extension: yes
[05:06:46.198] event1  - keyboard: is tagged by udev as: Keyboard
[05:06:46.198] event1  - keyboard: device is a keyboard
[05:06:46.261] event0  - USB Optical Mouse: is tagged by udev as: Mouse
[05:06:46.261] event0  - USB Optical Mouse: device is a pointer
[05:06:46.296] DRM: head 'HDMI-A-1' found, connector 74 is disconnected.
[05:06:46.296] DRM: head 'LVDS-1' found, connector 76 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:06:46.333] DRM: head 'HDMI-A-2' found, connector 78 is connected, EDID make 'SAM', model 'C24F390', serial 'HTQK702048'
[05:06:46.334] Registered plugin API 'weston_drm_output_api_v1' of size 24
[05:06:46.334] Loading module '/usr/lib/libweston-8/remoting-plugin.so'
[05:06:46.334] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory
[05:06:46.335] Chosen EGL config details: id:   8 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win|pix|pbf vis_id: XRGB8888 (0x34325258)
[05:06:46.343] Output HDMI-A-2 (crtc 72) video modes:
               1440x900@..., current, 88.8 MHz
               1280x800@..., 71.0 MHz
               1280x720@..., 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1280x720@..., 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1024x768@..., 75.0 MHz
               1024x768@..., 65.0 MHz
               800x600@..., 50.0 MHz
               800x600@..., 40.0 MHz
               800x600@..., 36.0 MHz
               720x576@..., 27.0 MHz
               720x576@... 16:9, 27.0 MHz
               720x480@... 4:3, 27.0 MHz
               720x480@... 16:9, 27.0 MHz
               720x480@..., 27.0 MHz
               720x480@... 16:9, 27.0 MHz
               640x480@..., 31.5 MHz
               640x480@..., 30.2 MHz
               640x480@... 4:3, 25.2 MHz
               640x480@..., 25.2 MHz
               720x400@..., 28.3 MHz
[05:06:46.344] associating input device event1 with output HDMI-A-2 (none by udev)
[05:06:46.344] associating input device event0 with output HDMI-A-2 (none by udev)
[05:06:46.344] Output 'HDMI-A-2' enabled with head(s) HDMI-A-2

In this case, the resolution is wrong and the resolution desired 1920x1080@60 is missing.


Marius Vlad
 

On Mon, Nov 08, 2021 at 12:32:49AM -0800, Francesco ARGENTIERI (KINETON) wrote:
I share the result for configuration with monitor Samsung C24F390FHU attached to the HDMI (standard port) on H3ULCB after typing `/run/platform/display/compositor.log`:

```sh
h3ulcb:~# cat /run/platform/display/compositor.log
Date: 2020-06-29 CEST
[05:06:45.672] Loading module '/usr/lib/libweston-8/drm-backend.so'
[05:06:45.739] initializing drm backend
[05:06:45.740] logind: not running in a systemd session
[05:06:45.741] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[05:06:45.781] using /dev/dri/card0
[05:06:45.781] DRM: supports universal planes
[05:06:45.781] DRM: supports atomic modesetting
[05:06:45.781] DRM: supports picture aspect ratio
[05:06:45.785] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[05:06:45.989] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[05:06:46.020] EGL version: 1.4 build 1.11@5516664
[05:06:46.021] EGL vendor: Imagination Technologies
[05:06:46.021] EGL client APIs: OpenGL_ES
[05:06:46.021] 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_KHR_wait_sync
EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs
EGL_EXT_swap_buffers_with_damage
EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update
EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
EGL_IMG_context_priority EGL_KHR_create_context
EGL_KHR_surfaceless_context EGL_KHR_no_config_context
EGL_REL_get_spm_event EGL_REL_create_context
EGL_REL_query_context EGL_REL_get_meminfo
EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display
[05:06:46.022] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[05:06:46.022] Retrieving EGL client extension string failed.
[05:06:46.022] EGL_KHR_surfaceless_context available
[05:06:46.107] GL version: OpenGL ES 3.2 build 1.11@5516664
[05:06:46.107] GLSL version: OpenGL ES GLSL ES 3.20 build 1.11@5516664
[05:06:46.107] GL vendor: Imagination Technologies
[05:06:46.107] GL renderer: PowerVR Rogue GX6650
[05:06:46.107] GL extensions: GL_ANDROID_extension_pack_es31a
GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture
GL_EXT_clip_control GL_EXT_color_buffer_float
GL_EXT_conservative_depth GL_EXT_copy_image
GL_EXT_discard_framebuffer GL_EXT_draw_buffers
GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
GL_EXT_EGL_image_array GL_EXT_float_blend
GL_EXT_geometry_point_size GL_EXT_geometry_shader
GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd
GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2
GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp
GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB
GL_EXT_read_format_bgra GL_EXT_robustness
GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch
GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions
GL_EXT_shader_io_blocks
GL_EXT_shader_non_constant_global_initializers
GL_EXT_shader_pixel_local_storage
GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod
GL_EXT_shadow_samplers GL_EXT_sparse_texture
GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size
GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8
GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target
GL_IMG_framebuffer_downsample
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_filter_cubic
GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot
GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_KHR_debug
GL_KHR_robustness GL_KHR_texture_compression_astc_ldr
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_depth_texture GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
GL_OES_EGL_sync GL_OES_element_index_uint
GL_OES_fragment_precision_high 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_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_surfaceless_context
GL_OES_tessellation_point_size GL_OES_tessellation_shader
GL_OES_texture_border_clamp GL_OES_texture_buffer
GL_OES_texture_cube_map_array GL_OES_texture_float
GL_OES_texture_half_float 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_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture
GL_REL_texture_format_ARGB1555
[05:06:46.108] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[05:06:46.198] event1 - keyboard: is tagged by udev as: Keyboard
[05:06:46.198] event1 - keyboard: device is a keyboard
[05:06:46.261] event0 - USB Optical Mouse: is tagged by udev as: Mouse
[05:06:46.261] event0 - USB Optical Mouse: device is a pointer
[05:06:46.296] DRM: head 'HDMI-A-1' found, connector 74 is disconnected.
[05:06:46.296] DRM: head 'LVDS-1' found, connector 76 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:06:46.333] DRM: head 'HDMI-A-2' found, connector 78 is connected, EDID make 'SAM', model 'C24F390', serial 'HTQK702048'
[05:06:46.334] Registered plugin API 'weston_drm_output_api_v1' of size 24
[05:06:46.334] Loading module '/usr/lib/libweston-8/remoting-plugin.so'
[05:06:46.334] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory
[05:06:46.335] Chosen EGL config details: id: 8 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf vis_id: XRGB8888 (0x34325258)
[05:06:46.343] Output HDMI-A-2 (crtc 72) video modes:
1440x900@..., current, 88.8 MHz
1280x800@..., 71.0 MHz
1280x720@..., 74.2 MHz
1280x720@... 16:9, 74.2 MHz
1280x720@... 16:9, 74.2 MHz
1280x720@..., 74.2 MHz
1280x720@... 16:9, 74.2 MHz
1024x768@..., 75.0 MHz
1024x768@..., 65.0 MHz
800x600@..., 50.0 MHz
800x600@..., 40.0 MHz
800x600@..., 36.0 MHz
720x576@..., 27.0 MHz
720x576@... 16:9, 27.0 MHz
720x480@... 4:3, 27.0 MHz
720x480@... 16:9, 27.0 MHz
720x480@..., 27.0 MHz
720x480@... 16:9, 27.0 MHz
640x480@..., 31.5 MHz
640x480@..., 30.2 MHz
640x480@... 4:3, 25.2 MHz
640x480@..., 25.2 MHz
720x400@..., 28.3 MHz
[05:06:46.344] associating input device event1 with output HDMI-A-2 (none by udev)
[05:06:46.344] associating input device event0 with output HDMI-A-2 (none by udev)
[05:06:46.344] Output 'HDMI-A-2' enabled with head(s) HDMI-A-2
```

In this case, the resolution is wrong and the resolution desired 1920x1080@60 is missing.
If you know for a fact the display does have 1920x1080 resolution I
suggest you try providing a full video timing mode for that particular
resolution. For instace you could try adding to the mode:

173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync

to the mode entry in for that particular output section.

Alternatively, assuming that the EDID supplied by the display
is missing that mode, you could also specify one that contains it [1]
(note that link is not direct, you'll need to search in the page for
edid_firmware). For that, you'll need to generate an EDID yourself.
There are tools for doing it, but I don't know any to recommend.

Lastly, you could also supply the mode directly in the kernel command
line, for the frame buffer configuration [2], and then supply
'mode=current' to pick that one. It might work.

Obviously ^ will *only* work if indeed the display actually supports it.

Hope this helps,

[1] https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html?highlight=edid_firmware
[2] https://www.kernel.org/doc/Documentation/fb/modedb.rst





Francesco ARGENTIERI (KINETON)
 

Hi everyone, in the following log, I share the configuration for the new display, called SKW - JEYO LCD 15.6" 1920x1080, connected HDMI standard port to kingfisher HDMI-A-2. Same configuration used in weston.ini as above.

cat /run/platform/display/compositor.log
Date: 2020-06-29 CEST
[05:06:45.552] Loading module '/usr/lib/libweston-8/drm-backend.so'
[05:06:45.599] initializing drm backend
[05:06:45.600] logind: not running in a systemd session
[05:06:45.600] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[05:06:45.698] using /dev/dri/card0
[05:06:45.699] DRM: supports universal planes
[05:06:45.699] DRM: supports atomic modesetting
[05:06:45.699] DRM: supports picture aspect ratio
[05:06:45.703] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[05:06:45.904] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[05:06:45.930] EGL version: 1.4 build 1.11@5516664
[05:06:45.931] EGL vendor: Imagination Technologies
[05:06:45.931] EGL client APIs: OpenGL_ES
[05:06:45.931] 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_KHR_wait_sync
               EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs
               EGL_EXT_swap_buffers_with_damage
               EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update
               EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
               EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
               EGL_IMG_context_priority EGL_KHR_create_context
               EGL_KHR_surfaceless_context EGL_KHR_no_config_context
               EGL_REL_get_spm_event EGL_REL_create_context
               EGL_REL_query_context EGL_REL_get_meminfo
               EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display
[05:06:45.932] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[05:06:45.932] Retrieving EGL client extension string failed.
[05:06:45.932] EGL_KHR_surfaceless_context available
[05:06:46.039] GL version: OpenGL ES 3.2 build 1.11@5516664
[05:06:46.039] GLSL version: OpenGL ES GLSL ES 3.20 build 1.11@5516664
[05:06:46.039] GL vendor: Imagination Technologies
[05:06:46.039] GL renderer: PowerVR Rogue GX6650
[05:06:46.039] GL extensions: GL_ANDROID_extension_pack_es31a
               GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture
               GL_EXT_clip_control GL_EXT_color_buffer_float
               GL_EXT_conservative_depth GL_EXT_copy_image
               GL_EXT_discard_framebuffer GL_EXT_draw_buffers
               GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
               GL_EXT_EGL_image_array GL_EXT_float_blend
               GL_EXT_geometry_point_size GL_EXT_geometry_shader
               GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd
               GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
               GL_EXT_multisampled_render_to_texture2
               GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp
               GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB
               GL_EXT_read_format_bgra GL_EXT_robustness
               GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch
               GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions
               GL_EXT_shader_io_blocks
               GL_EXT_shader_non_constant_global_initializers
               GL_EXT_shader_pixel_local_storage
               GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod
               GL_EXT_shadow_samplers GL_EXT_sparse_texture
               GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size
               GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
               GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
               GL_EXT_texture_filter_anisotropic
               GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
               GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8
               GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target
               GL_IMG_framebuffer_downsample
               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_filter_cubic
               GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot
               GL_KHR_blend_equation_advanced
               GL_KHR_blend_equation_advanced_coherent GL_KHR_debug
               GL_KHR_robustness GL_KHR_texture_compression_astc_ldr
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
               GL_OES_depth_texture GL_OES_draw_buffers_indexed
               GL_OES_draw_elements_base_vertex GL_OES_EGL_image
               GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
               GL_OES_EGL_sync GL_OES_element_index_uint
               GL_OES_fragment_precision_high 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_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_surfaceless_context
               GL_OES_tessellation_point_size GL_OES_tessellation_shader
               GL_OES_texture_border_clamp GL_OES_texture_buffer
               GL_OES_texture_cube_map_array GL_OES_texture_float
               GL_OES_texture_half_float 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_OVR_multiview GL_OVR_multiview2
               GL_OVR_multiview_multisampled_render_to_texture
               GL_REL_texture_format_ARGB1555
[05:06:46.040] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: yes
               EGL Wayland extension: yes
[05:06:46.135] event2  - keyboard: is tagged by udev as: Keyboard
[05:06:46.136] event2  - keyboard: device is a keyboard
[05:06:46.211] event0  - ILITEK ILITEK-TP: is tagged by udev as: Touchscreen
[05:06:46.211] event0  - ILITEK ILITEK-TP: device is a touch device
[05:06:46.222] event1  - ILITEK ILITEK-TP Mouse: is tagged by udev as: Mouse
[05:06:46.223] event1  - ILITEK ILITEK-TP Mouse: device is a pointer
[05:06:46.294] Touchscreen - ILITEK ILITEK-TP - /sys/devices/platform/soc/ee000000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:222A:0001.0001/input/input1/event0
[05:06:46.294] input device event0 has no enabled output associated (none named), skipping calibration for now.
[05:06:46.294] input device event1 has no enabled output associated (none named), skipping calibration for now.
[05:06:46.295] DRM: head 'HDMI-A-1' found, connector 74 is disconnected.
[05:06:46.295] DRM: head 'LVDS-1' found, connector 76 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:06:46.335] DRM: head 'HDMI-A-2' found, connector 78 is connected, EDID make 'SKW', model 'JEYO  LCD', serial 'unknown'
[05:06:46.336] Registered plugin API 'weston_drm_output_api_v1' of size 24
[05:06:46.336] Loading module '/usr/lib/libweston-8/remoting-plugin.so'
[05:06:46.336] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory
[05:06:46.338] Chosen EGL config details: id:   8 rgba: 8 8 8 0 buf: 24 dep:  0 stcl: 0 int: 1-1 type: win|pix|pbf vis_id: XRGB8888 (0x34325258)
[05:06:46.344] Output HDMI-A-2 (crtc 72) video modes:
               720x480@..., preferred, current, 27.0 MHz
               1360x850@..., 94.6 MHz
               1366x768@..., 85.0 MHz
               1280x720@... 16:9, 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1280x720@..., 74.2 MHz
               1280x720@... 16:9, 74.2 MHz
               1024x768@..., 78.8 MHz
               1024x768@..., 75.0 MHz
               1024x768@..., 65.0 MHz
               832x624@..., 57.3 MHz
               800x600@..., 49.5 MHz
               800x600@..., 50.0 MHz
               800x600@..., 40.0 MHz
               800x600@..., 36.0 MHz
               720x576@..., 27.0 MHz
               720x576@... 4:3, 27.0 MHz
               720x480@... 4:3, 27.0 MHz
               720x480@... 4:3, 27.0 MHz
               640x480@..., 31.5 MHz
               640x480@..., 31.5 MHz
               640x480@..., 30.2 MHz
               640x480@... 4:3, 25.2 MHz
               640x480@..., 25.2 MHz
               640x480@... 4:3, 25.2 MHz
               720x400@..., 28.3 MHz
[05:06:46.345] associating input device event2 with output HDMI-A-2 (none by udev)
[05:06:46.345] associating input device event0 with output HDMI-A-2 (none by udev)
[05:06:46.346] associating input device event1 with output HDMI-A-2 (none by udev)
[05:06:46.348] Output 'HDMI-A-2' enabled with head(s) HDMI-A-2

I have the same problem, regarding the required resolution is not available, furthermore, the display is completely blank.

Best regards, FA


Stephane Desneux
 

Two ideas to investigate:

* did you check with another more recent AGL release? (LL or master: Renesas BSPs have different versions)
* any way to read DDC/EDID data using for example [read-edid](http://www.polypux.org/projects/read-edid/)? Should work on ARM boards, but never tested myself (or I don't even remember :) )

HTH
---
Stephane Desneux - CTO - IoT.bzh
stephane.desneux@... - www.iot.bzh

On 09/11/2021 11:46, Francesco ARGENTIERI (KINETON) wrote:
Hi everyone, in the following log, I share the configuration for the new display, called *SKW - JEYO LCD* 15.6" 1920x1080, connected /HDMI standard port/ to kingfisher HDMI-A-2. Same configuration used in /weston.ini/ as above.
|cat /run/platform/display/compositor.log Date: 2020-06-29 CEST [05:06:45.552] Loading module '/usr/lib/libweston-8/drm-backend.so' [05:06:45.599] initializing drm backend [05:06:45.600] logind: not running in a systemd session [05:06:45.600] logind: cannot setup systemd-logind helper (-61), using legacy fallback [05:06:45.698] using /dev/dri/card0 [05:06:45.699] DRM: supports universal planes [05:06:45.699] DRM: supports atomic modesetting [05:06:45.699] DRM: supports picture aspect ratio [05:06:45.703] Loading module '/usr/lib/libweston-8/gl-renderer.so' [05:06:45.904] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay. [05:06:45.930] EGL version: 1.4 build 1.11@5516664 [05:06:45.931] EGL vendor: Imagination Technologies [05:06:45.931] EGL client APIs: OpenGL_ES [05:06:45.931] 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_KHR_wait_sync EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs EGL_EXT_swap_buffers_with_damage EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface EGL_IMG_context_priority EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_KHR_no_config_context EGL_REL_get_spm_event EGL_REL_create_context EGL_REL_query_context EGL_REL_get_meminfo EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display [05:06:45.932] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension [05:06:45.932] Retrieving EGL client extension string failed. [05:06:45.932] EGL_KHR_surfaceless_context available [05:06:46.039] GL version: OpenGL ES 3.2 build 1.11@5516664 [05:06:46.039] GLSL version: OpenGL ES GLSL ES 3.20 build 1.11@5516664 [05:06:46.039] GL vendor: Imagination Technologies [05:06:46.039] GL renderer: PowerVR Rogue GX6650 [05:06:46.039] GL extensions: GL_ANDROID_extension_pack_es31a GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_clip_control GL_EXT_color_buffer_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_EGL_image_array GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_multisampled_render_to_texture2 GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_pixel_local_storage GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target GL_IMG_framebuffer_downsample 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_filter_cubic GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high 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_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_surfaceless_context GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_float GL_OES_texture_half_float 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_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture GL_REL_texture_format_ARGB1555 [05:06:46.040] GL ES 2 renderer features: read-back format: BGRA wl_shm sub-image to texture: yes EGL Wayland extension: yes [05:06:46.135] event2 - keyboard: is tagged by udev as: Keyboard [05:06:46.136] event2 - keyboard: device is a keyboard [05:06:46.211] event0 - ILITEK ILITEK-TP: is tagged by udev as: Touchscreen [05:06:46.211] event0 - ILITEK ILITEK-TP: device is a touch device [05:06:46.222] event1 - ILITEK ILITEK-TP Mouse: is tagged by udev as: Mouse [05:06:46.223] event1 - ILITEK ILITEK-TP Mouse: device is a pointer [05:06:46.294] Touchscreen - ILITEK ILITEK-TP - /sys/devices/platform/soc/ee000000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:222A:0001.0001/input/input1/event0 [05:06:46.294] input device event0 has no enabled output associated (none named), skipping calibration for now. [05:06:46.294] input device event1 has no enabled output associated (none named), skipping calibration for now. [05:06:46.295] DRM: head 'HDMI-A-1' found, connector 74 is disconnected. [05:06:46.295] DRM: head 'LVDS-1' found, connector 76 is connected, EDID make 'unknown', model 'unknown', serial 'unknown' [05:06:46.335] DRM: head 'HDMI-A-2' found, connector 78 is connected, EDID make 'SKW', model 'JEYO LCD', serial 'unknown' [05:06:46.336] Registered plugin API 'weston_drm_output_api_v1' of size 24 [05:06:46.336] Loading module '/usr/lib/libweston-8/remoting-plugin.so' [05:06:46.336] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory [05:06:46.338] Chosen EGL config details: id: 8 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf vis_id: XRGB8888 (0x34325258) [05:06:46.344] Output HDMI-A-2 (crtc 72) video modes: 720x480@..., preferred, current, 27.0 MHz 1360x850@..., 94.6 MHz 1366x768@..., 85.0 MHz 1280x720@... 16:9, 74.2 MHz 1280x720@... 16:9, 74.2 MHz 1280x720@..., 74.2 MHz 1280x720@... 16:9, 74.2 MHz 1024x768@..., 78.8 MHz 1024x768@..., 75.0 MHz 1024x768@..., 65.0 MHz 832x624@..., 57.3 MHz 800x600@..., 49.5 MHz 800x600@..., 50.0 MHz 800x600@..., 40.0 MHz 800x600@..., 36.0 MHz 720x576@..., 27.0 MHz 720x576@... 4:3, 27.0 MHz 720x480@... 4:3, 27.0 MHz 720x480@... 4:3, 27.0 MHz 640x480@..., 31.5 MHz 640x480@..., 31.5 MHz 640x480@..., 30.2 MHz 640x480@... 4:3, 25.2 MHz 640x480@..., 25.2 MHz 640x480@... 4:3, 25.2 MHz 720x400@..., 28.3 MHz [05:06:46.345] associating input device event2 with output HDMI-A-2 (none by udev) [05:06:46.345] associating input device event0 with output HDMI-A-2 (none by udev) [05:06:46.346] associating input device event1 with output HDMI-A-2 (none by udev) [05:06:46.348] Output 'HDMI-A-2' enabled with head(s) HDMI-A-2 |
I have the same problem, regarding the required resolution is not available, furthermore, the display is completely blank.
Best regards, FA


Marius Vlad
 

On Tue, Nov 09, 2021 at 02:46:27AM -0800, Francesco ARGENTIERI (KINETON) wrote:
Hi everyone,
in the following log, I share the configuration for the new display, called **SKW - JEYO LCD** 15.6" 1920x1080, connected *HDMI standard port* to kingfisher HDMI-A-2.
Same configuration used in *weston.ini* as above.
Hi Francesco, the same things should should apply here like in your previous
email. Have you tried them so far? These seem identical to me.

```sh
cat /run/platform/display/compositor.log
Date: 2020-06-29 CEST
[05:06:45.552] Loading module '/usr/lib/libweston-8/drm-backend.so'
[05:06:45.599] initializing drm backend
[05:06:45.600] logind: not running in a systemd session
[05:06:45.600] logind: cannot setup systemd-logind helper (-61), using legacy fallback
[05:06:45.698] using /dev/dri/card0
[05:06:45.699] DRM: supports universal planes
[05:06:45.699] DRM: supports atomic modesetting
[05:06:45.699] DRM: supports picture aspect ratio
[05:06:45.703] Loading module '/usr/lib/libweston-8/gl-renderer.so'
[05:06:45.904] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
[05:06:45.930] EGL version: 1.4 build 1.11@5516664
[05:06:45.931] EGL vendor: Imagination Technologies
[05:06:45.931] EGL client APIs: OpenGL_ES
[05:06:45.931] 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_KHR_wait_sync
EGL_EXT_create_context_robustness EGL_IMG_image_plane_attribs
EGL_EXT_swap_buffers_with_damage
EGL_KHR_swap_buffers_with_damage EGL_KHR_partial_update
EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import
EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_yuv_surface
EGL_IMG_context_priority EGL_KHR_create_context
EGL_KHR_surfaceless_context EGL_KHR_no_config_context
EGL_REL_get_spm_event EGL_REL_create_context
EGL_REL_query_context EGL_REL_get_meminfo
EGL_REL_get_pds_fragbuffer_info EGL_WL_bind_wayland_display
[05:06:45.932] warning: Disabling render GPU timeline and explicit synchronization due to missing EGL_ANDROID_native_fence_sync extension
[05:06:45.932] Retrieving EGL client extension string failed.
[05:06:45.932] EGL_KHR_surfaceless_context available
[05:06:46.039] GL version: OpenGL ES 3.2 build 1.11@5516664
[05:06:46.039] GLSL version: OpenGL ES GLSL ES 3.20 build 1.11@5516664
[05:06:46.039] GL vendor: Imagination Technologies
[05:06:46.039] GL renderer: PowerVR Rogue GX6650
[05:06:46.039] GL extensions: GL_ANDROID_extension_pack_es31a
GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture
GL_EXT_clip_control GL_EXT_color_buffer_float
GL_EXT_conservative_depth GL_EXT_copy_image
GL_EXT_discard_framebuffer GL_EXT_draw_buffers
GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
GL_EXT_EGL_image_array GL_EXT_float_blend
GL_EXT_geometry_point_size GL_EXT_geometry_shader
GL_EXT_gpu_shader5 GL_EXT_memory_object GL_EXT_memory_object_fd
GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture
GL_EXT_multisampled_render_to_texture2
GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp
GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB
GL_EXT_read_format_bgra GL_EXT_robustness
GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch
GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions
GL_EXT_shader_io_blocks
GL_EXT_shader_non_constant_global_initializers
GL_EXT_shader_pixel_local_storage
GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod
GL_EXT_shadow_samplers GL_EXT_sparse_texture
GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size
GL_EXT_tessellation_shader GL_EXT_texture_border_clamp
GL_EXT_texture_buffer GL_EXT_texture_cube_map_array
GL_EXT_texture_filter_anisotropic
GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8
GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target
GL_IMG_framebuffer_downsample
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_filter_cubic
GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot
GL_KHR_blend_equation_advanced
GL_KHR_blend_equation_advanced_coherent GL_KHR_debug
GL_KHR_robustness GL_KHR_texture_compression_astc_ldr
GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
GL_OES_depth_texture GL_OES_draw_buffers_indexed
GL_OES_draw_elements_base_vertex GL_OES_EGL_image
GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3
GL_OES_EGL_sync GL_OES_element_index_uint
GL_OES_fragment_precision_high 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_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_surfaceless_context
GL_OES_tessellation_point_size GL_OES_tessellation_shader
GL_OES_texture_border_clamp GL_OES_texture_buffer
GL_OES_texture_cube_map_array GL_OES_texture_float
GL_OES_texture_half_float 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_OVR_multiview GL_OVR_multiview2
GL_OVR_multiview_multisampled_render_to_texture
GL_REL_texture_format_ARGB1555
[05:06:46.040] GL ES 2 renderer features:
read-back format: BGRA
wl_shm sub-image to texture: yes
EGL Wayland extension: yes
[05:06:46.135] event2 - keyboard: is tagged by udev as: Keyboard
[05:06:46.136] event2 - keyboard: device is a keyboard
[05:06:46.211] event0 - ILITEK ILITEK-TP: is tagged by udev as: Touchscreen
[05:06:46.211] event0 - ILITEK ILITEK-TP: device is a touch device
[05:06:46.222] event1 - ILITEK ILITEK-TP Mouse: is tagged by udev as: Mouse
[05:06:46.223] event1 - ILITEK ILITEK-TP Mouse: device is a pointer
[05:06:46.294] Touchscreen - ILITEK ILITEK-TP - /sys/devices/platform/soc/ee000000.usb/usb5/5-1/5-1.1/5-1.1:1.0/0003:222A:0001.0001/input/input1/event0
[05:06:46.294] input device event0 has no enabled output associated (none named), skipping calibration for now.
[05:06:46.294] input device event1 has no enabled output associated (none named), skipping calibration for now.
[05:06:46.295] DRM: head 'HDMI-A-1' found, connector 74 is disconnected.
[05:06:46.295] DRM: head 'LVDS-1' found, connector 76 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[05:06:46.335] DRM: head 'HDMI-A-2' found, connector 78 is connected, EDID make 'SKW', model 'JEYO LCD', serial 'unknown'
[05:06:46.336] Registered plugin API 'weston_drm_output_api_v1' of size 24
[05:06:46.336] Loading module '/usr/lib/libweston-8/remoting-plugin.so'
[05:06:46.336] Failed to load module: /usr/lib/libweston-8/remoting-plugin.so: cannot open shared object file: No such file or directory
[05:06:46.338] Chosen EGL config details: id: 8 rgba: 8 8 8 0 buf: 24 dep: 0 stcl: 0 int: 1-1 type: win|pix|pbf vis_id: XRGB8888 (0x34325258)
[05:06:46.344] Output HDMI-A-2 (crtc 72) video modes:
720x480@..., preferred, current, 27.0 MHz
1360x850@..., 94.6 MHz
1366x768@..., 85.0 MHz
1280x720@... 16:9, 74.2 MHz
1280x720@... 16:9, 74.2 MHz
1280x720@..., 74.2 MHz
1280x720@... 16:9, 74.2 MHz
1024x768@..., 78.8 MHz
1024x768@..., 75.0 MHz
1024x768@..., 65.0 MHz
832x624@..., 57.3 MHz
800x600@..., 49.5 MHz
800x600@..., 50.0 MHz
800x600@..., 40.0 MHz
800x600@..., 36.0 MHz
720x576@..., 27.0 MHz
720x576@... 4:3, 27.0 MHz
720x480@... 4:3, 27.0 MHz
720x480@... 4:3, 27.0 MHz
640x480@..., 31.5 MHz
640x480@..., 31.5 MHz
640x480@..., 30.2 MHz
640x480@... 4:3, 25.2 MHz
640x480@..., 25.2 MHz
640x480@... 4:3, 25.2 MHz
720x400@..., 28.3 MHz
[05:06:46.345] associating input device event2 with output HDMI-A-2 (none by udev)
[05:06:46.345] associating input device event0 with output HDMI-A-2 (none by udev)
[05:06:46.346] associating input device event1 with output HDMI-A-2 (none by udev)
[05:06:46.348] Output 'HDMI-A-2' enabled with head(s) HDMI-A-2
```

I have the same problem, regarding the required resolution is not available, furthermore, the display is completely blank.

Best regards,
FA





Francesco ARGENTIERI (KINETON)
 

Hi Stephane,

Thank you for your reply and suggestion, I will investigate.

Best regards,

FA


Francesco ARGENTIERI (KINETON)
 

Hi everyone,

thank you for your message.

I used the following command 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync in weston.ini and resolve the problem for the screen when attached to micro-HDMI (HDMI-A-1).

For the HDMI port on the kingfisher board, the problem remains. I suspect it is related to the JIRA ticket as mentioned before in message by Jan-Simon.

Thank everyone I appreciate your help.

Best regards,
FA