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@59.9, current, 88.8 MHz > 1280x800@59.9, 71.0 MHz > 1280x720@60.0, 74.2 MHz > 1280x720@60.0 16:9, 74.2 MHz > 1280x720@59.9 16:9, 74.2 MHz > 1280x720@50.0, 74.2 MHz > 1280x720@50.0 16:9, 74.2 MHz > 1024x768@70.1, 75.0 MHz > 1024x768@60.0, 65.0 MHz > 800x600@72.2, 50.0 MHz > 800x600@60.3, 40.0 MHz > 800x600@56.2, 36.0 MHz > 720x576@50.0, 27.0 MHz > 720x576@50.0 16:9, 27.0 MHz > 720x480@60.0 4:3, 27.0 MHz > 720x480@60.0 16:9, 27.0 MHz > 720x480@59.9, 27.0 MHz > 720x480@59.9 16:9, 27.0 MHz > 640x480@72.8, 31.5 MHz > 640x480@66.7, 30.2 MHz > 640x480@60.0 4:3, 25.2 MHz > 640x480@59.9, 25.2 MHz > 720x400@70.1, 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 > > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#9521): https://lists.automotivelinux.org/g/agl-dev-community/message/9521 Mute This Topic: https://lists.automotivelinux.org/mt/86838880/2167316 Mute #help:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/help Mute #koi:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/koi Mute #renesas:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/renesas Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/2167316/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-
Attachment:
signature.asc
Description: PGP signature