0

I'm trying to launch Weston 10.0.3 on my RISCV development platform which does have a support for GPU and provides a pre-build SDK for launching Weston. Upon Launching Weston i'm noticing errors as below and unable to proceed further, and noticed error as "Error: cannot enable output 'DSI-1' without heads", although i'm not exactly sure if that's the main reason for this issue, But any suggestions are welcome.

root@Ubuntu-riscv64:~/.config# weston -B drm-backend.so --tty=2 &
[1] 1930
root@Ubuntu-riscv64:~/.config# Date: 2025-01-24 IST
[18:46:47.338] weston 10.0.3
               https://wayland.freedesktop.org
               Bug reports to: https://gitlab.freedesktop.org/wayland/weston/issues/
               Build: 10.0.3
[18:46:47.338] Command line: weston -B drm-backend.so --tty=2
[18:46:47.338] OS: Linux, #1 SMP Thu Nov 28 11:48:33 UTC 2024, riscv64
[18:46:47.338] Flight recorder: enabled
[18:46:47.339] Using config file '/root/.config/weston.ini'
[18:46:47.339] Output repaint window is 7 ms maximum.
[18:46:47.339] Loading module '/usr/local/lib/libweston-10/drm-backend.so'
[18:46:47.341] initializing drm backend
[18:46:47.341] Trying libseat launcher...
[18:46:47.343] libseat: session control granted
[18:46:47.347] using /dev/dri/card0
[18:46:47.347] DRM: supports atomic modesetting
[18:46:47.347] DRM: supports GBM modifiers
[18:46:47.347] DRM: supports picture aspect ratio
[18:46:47.347] Loading module '/usr/local/lib/libweston-10/gl-renderer.so'
[18:46:47.387] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_device_base EGL_EXT_device_enumeration
               EGL_EXT_device_query EGL_EXT_platform_base
               EGL_KHR_client_get_all_proc_addresses EGL_KHR_debug
               EGL_EXT_platform_device EGL_EXT_platform_wayland
               EGL_KHR_platform_wayland EGL_MESA_platform_gbm
               EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless
[18:46:47.389] EGL device extensions: EGL_EXT_device_drm
[18:46:47.389] EGL version: 1.5
[18:46:47.389] EGL vendor: Mesa Project
[18:46:47.389] EGL client APIs: OpenGL_ES 
[18:46:47.389] EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
               EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
               EGL_EXT_image_dma_buf_import_modifiers
               EGL_EXT_image_gl_colorspace EGL_EXT_yuv_surface
               EGL_IMG_context_priority EGL_KHR_cl_event2
               EGL_KHR_config_attribs EGL_KHR_create_context
               EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses
               EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image
               EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
               EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
               EGL_KHR_image_base EGL_KHR_image_pixmap
               EGL_KHR_no_config_context EGL_KHR_partial_update
               EGL_KHR_reusable_sync EGL_KHR_surfaceless_context
               EGL_EXT_pixel_format_float EGL_KHR_wait_sync
               EGL_MESA_configless_context EGL_MESA_drm_image
               EGL_MESA_image_dma_buf_export EGL_MESA_query_driver
               EGL_WL_bind_wayland_display EGL_IMG_cl_image
[18:46:47.389] EGL_KHR_surfaceless_context available
[18:46:47.404] GL version: OpenGL ES 3.2 
[18:46:47.404] GLSL version: OpenGL ES GLSL ES 3.20 
[18:46:47.404] GL vendor: Imagination Technologies
[18:46:47.404] GL renderer: PowerVR Rogue
[18:46:47.404] GL extensions: GL_ANDROID_extension_pack_es31a
               GL_APPLE_texture_format_BGRA8888 GL_EXT_EGL_image_array
               GL_EXT_YUV_target GL_EXT_blend_minmax GL_EXT_buffer_storage
               GL_EXT_clear_texture GL_EXT_clip_control
               GL_EXT_color_buffer_float GL_EXT_color_buffer_half_float
               GL_EXT_compressed_ETC1_RGB8_sub_texture
               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_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_sRGB
               GL_EXT_sRGB_write_control 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_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_format_BGRA8888
               GL_EXT_texture_format_sRGB_override GL_EXT_texture_rg
               GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8
               GL_EXT_texture_sRGB_decode GL_EXT_texture_shadow_lod
               GL_EXT_texture_type_2_10_10_10_REV GL_EXT_unpack_subimage
               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_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_EGL_image GL_OES_EGL_image_external
               GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
               GL_OES_depth_texture GL_OES_depth_texture_cube_map
               GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex
               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_3D 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_half_float_linear 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
[18:46:47.756] GL ES 3.2 - renderer features:
               read-back format: BGRA
               EGL Wayland extension: yes
[18:46:47.772] event3  - PixArt Dell MS116 USB Optical Mouse: is tagged by udev as: Mouse
[18:46:47.772] event3  - PixArt Dell MS116 USB Optical Mouse: device set to 1000 DPI
[18:46:47.773] event3  - PixArt Dell MS116 USB Optical Mouse: device is a pointer
[18:46:47.778] event0  - LiteOn Lenovo Calliope USB Keyboard: is tagged by udev as: Keyboard
[18:46:47.779] event0  - LiteOn Lenovo Calliope USB Keyboard: device is a keyboard
[18:46:47.785] event1  - LiteOn Lenovo Calliope USB Keyboard System Control: is tagged by udev as: Keyboard
[18:46:47.785] event1  - LiteOn Lenovo Calliope USB Keyboard System Control: device is a keyboard
[18:46:47.791] event2  - LiteOn Lenovo Calliope USB Keyboard Consumer Control: is tagged by udev as: Keyboard Joystick
[18:46:47.791] event2  - LiteOn Lenovo Calliope USB Keyboard Consumer Control: device is a joystick or a gamepad, ignoring
[18:46:47.828] event2  - not using input device '/dev/input/event2'
[18:46:47.828] libinput: configuring device "PixArt Dell MS116 USB Optical Mouse".
[18:46:47.849] libinput: configuring device "LiteOn Lenovo Calliope USB Keyboard".
[18:46:47.849] libinput: configuring device "LiteOn Lenovo Calliope USB Keyboard System Control".
[18:46:47.849] DRM: head 'DSI-1' updated, connector 49 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[18:46:47.849] DRM: head 'DSI-1' found, connector 49 is connected, EDID make 'unknown', model 'unknown', serial 'unknown'
[18:46:47.850] Registered plugin API 'weston_drm_output_api_v1' of size 24
[18:46:47.850] Color manager: no-op
[18:46:47.850] Output 'DSI-1' using color profile: built-in default sRGB SDR profile
[18:46:47.850] format 0x34325258 not supported by output DSI-1
[18:46:47.850] failed to create gbm surface
[18:46:47.850] Failed to init output gl state
[18:46:47.850] Enabling output "DSI-1" failed.
[18:46:47.850] Error: cannot enable output 'DSI-1' without heads.
[18:46:47.851] event3  - PixArt Dell MS116 USB Optical Mouse: device removed
[18:46:47.884] event0  - LiteOn Lenovo Calliope USB Keyboard: device removed
[18:46:47.900] event1  - LiteOn Lenovo Calliope USB Keyboard System Control: device removed

It’ll be highly appreciated if you could provide us with some details which will help us fix this.

Thanks,

0 Answers0