This thread has been locked.

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

Linux/BEAGLEBK: Segmentation fault when HDMI is removed

Part Number: BEAGLEBK

Tool/software: Linux

Hi,

I am using Sitara linux SDK for beaglebone black, where I am running a program on HDMI display. At the HDMI output I am using TS3DV642 as a HDMI splitter. So whenever a button is pressed the display switches between another HDMI source. As long as the display is on Beaglebone HDMI output it would work fine, but as soon as the display switches to another HDMI source, I get an error on Linux saying: The Wayland connection broke. Did the Wayland compositor die?


And when I try to run my program again then I get this error, because the HDMI was switched to another source.
"Failed to create display (No such file or directory)"

Or sometimes I get this error:

"Segmentation fault (core dumped)" and the program stops running. 

How can I keep my program running even when HDMI source is changed?

Thank you,

  • Hello,

    What is the software release that you are using here?
    Could you post the log with the error that you are observing?

    BR
    Margarita
  • Hello,

    You could check is this thread helps you for your issue:
    e2e.ti.com/.../482870

    BR
    Margarita
  • Hi Margarita,

    I am using ti-processor-sdk-linux-am335x-evm-04.02.00.09

    Following is my log:

    Date: 2017-12-23 UTC
    [13:46:13.152] weston 1.11.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 f)
    [13:46:13.152] OS: Linux, 4.9.59-ga75d8e9305, #1 PREEMPT Sat Dec 23 09:46:08 ESl
    [13:46:13.157] Using config file '/etc//weston.ini'
    [13:46:13.164] Output repaint window is 7 ms maximum.
    [13:46:13.167] Loading module '/usr/lib/weston/drm-backend.so'
    [13:46:13.231] initializing drm backend
    [13:46:13.269] using /dev/dri/card0
    [13:46:13.275] Loading module '/usr/lib/weston/gl-renderer.so'
    failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file:y
    failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared objey
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [13:46:13.377] warning: either no EGL_EXT_platform_base support or specific pla.
    [13:46:13.415] warning: EGL_EXT_buffer_age not supported. Performance could be .
    [13:46:13.415] Retrieving EGL client extension string failed.
    [13:46:13.417] warning: no input devices found, but none required as per config.
    [13:46:13.633] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [13:46:13.633] EGL vendor: Imagination Technologies
    [13:46:13.633] EGL client APIs: OpenGL_ES
    [13:46:13.633] EGL extensions: EGL_IMG_client_api_ogl 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_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
    EGL_IMG_context_priority EGL_IMG_hibernate_process
    EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
    EGL_KHR_wait_sync EGL_KHR_create_context
    EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    [13:46:13.633] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [13:46:13.633] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [13:46:13.633] GL vendor: Imagination Technologies
    [13:46:13.633] GL renderer: PowerVR SGX 530
    [13:46:13.634] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
    GL_OES_vertex_half_float GL_OES_texture_float
    GL_OES_texture_half_float GL_OES_element_index_uint
    GL_OES_mapbuffer GL_OES_fragment_precision_high
    GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
    GL_OES_EGL_image_external GL_OES_required_internalformat
    GL_OES_depth_texture GL_OES_get_program_binary
    GL_OES_packed_depth_stencil GL_OES_standard_derivatives
    GL_OES_vertex_array_object GL_OES_egl_sync
    GL_OES_surfaceless_context GL_EXT_discard_framebuffer
    GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
    GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
    GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
    GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
    GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888
    GL_IMG_read_format GL_IMG_program_binary
    GL_IMG_uniform_buffer_object
    GL_IMG_multisampled_render_to_texture GL_KHR_debug
    [13:46:13.636] GL ES 2 renderer features:
    read-back format: RGBA
    wl_shm sub-image to texture: no
    EGL Wayland extension: yes
    [13:46:13.637] Chosen EGL config details:
    RGBA bits: 8 8 8 8
    swap interval range: 1 - 1
    [13:46:13.637] cursor buffers unavailable, using gl cursors
    [13:46:13.637] Failed to initialize backlight
    [13:46:13.637] EDID data 'DEL', 'DELL P2317H', 'FDV8Y78LCHJB'
    [13:46:13.637] Output HDMI-A-1, (connector 26, crtc 24)
    mode 1280x1024@60.0
    mode 1152x864@75.0
    mode 1280x720@60.0, current
    mode 1280x720@59.9
    mode 1280x720@50.0
    mode 1024x768@75.0
    mode 1024x768@60.0
    mode 800x600@75.0
    mode 800x600@60.3
    mode 720x576@50.0
    mode 720x576@50.0
    mode 720x480@60.0
    mode 720x480@59.9
    mode 720x480@60.0
    mode 720x480@59.9
    mode 640x480@75.0
    mode 640x480@60.0
    mode 640x480@59.9
    mode 720x400@70.1
    [13:46:13.638] Compositor capabilities:
    arbitrary surface rotation: yes
    screen capture uses y-flip: yes
    presentation clock: CLOCK_MONOTONIC, id 1
    [13:46:13.645] Loading module '/usr/lib/weston/desktop-shell.so'
    [13:46:13.652] launching '/usr/libexec/weston-keyboard'
    [13:46:13.655] launching '/usr/libexec/weston-desktop-shell'
    [13:46:13.855] DRM: DPMS: failed property set for HDMI-A-1
    could not load cursor 'dnd-move'
    could not load cursor 'dnd-copy'
    could not load cursor 'dnd-none'
    could not load cursor 'dnd-move'
    could not load cursor 'dnd-copy'
    could not load cursor 'dnd-none'
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ [13:46:45.223] connector 26 disconnected
    805-> 805] < gbm_pvr_bo_import():325|ERROR> Import type <2176]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 805-> 805] < gbm_pvr_bo_import():325|ERROR> I]

  • The above log is from when I received "The Wayland connection broke" error.

    After this now I switched the HDMI source back to Beagle, but it kept showing "Please wait..." on HDMI, so I started weston by using this command: /etc/init.d/weston start
    Weston launched and I was able to run my program, but when I switched the HDMI source again then I saw "Segmentation fault (core dumped)" error and my program shutdown. I am also trying to control switching of HDMI from my running program, but whenever HDMI is switched, my program shuts off and then I have to manually switch HDMI source instead of getting input from my program. All I want is for Weston to keep running even when HDMI source is switched to another source. Weston just sees that HDMI is not present and shuts itself off, hence closing my program.

    Following is the log for this error:
    Date: 2017-12-23 UTC
    [14:01:05.508] weston 1.11.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 f)
    [14:01:05.509] OS: Linux, 4.9.59-ga75d8e9305, #1 PREEMPT Sat Dec 23 09:46:08 ESl
    [14:01:05.510] Using config file '/etc//weston.ini'
    [14:01:05.511] Output repaint window is 7 ms maximum.
    [14:01:05.512] Loading module '/usr/lib/weston/drm-backend.so'
    [14:01:05.535] initializing drm backend
    [14:01:05.542] using /dev/dri/card0
    [14:01:05.543] Loading module '/usr/lib/weston/gl-renderer.so'
    failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file:y
    failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared objey
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [14:01:05.577] warning: either no EGL_EXT_platform_base support or specific pla.
    [14:01:05.622] warning: EGL_EXT_buffer_age not supported. Performance could be .
    [14:01:05.623] Retrieving EGL client extension string failed.
    [14:01:05.627] warning: no input devices found, but none required as per config.
    [14:01:05.711] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [14:01:05.711] EGL vendor: Imagination Technologies
    [14:01:05.711] EGL client APIs: OpenGL_ES
    [14:01:05.711] EGL extensions: EGL_IMG_client_api_ogl 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_KHR_vg_parent_image EGL_IMG_cl_image EGL_KHR_fence_sync
    EGL_IMG_context_priority EGL_IMG_hibernate_process
    EGL_IMG_image_plane_attribs EGL_KHR_surfaceless_context
    EGL_KHR_wait_sync EGL_KHR_create_context
    EGL_WL_bind_wayland_display EGL_EXT_image_dma_buf_import
    [14:01:05.712] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [14:01:05.712] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [14:01:05.712] GL vendor: Imagination Technologies
    [14:01:05.712] GL renderer: PowerVR SGX 530
    [14:01:05.712] GL extensions: GL_OES_rgb8_rgba8 GL_OES_depth24
    GL_OES_vertex_half_float GL_OES_texture_float
    GL_OES_texture_half_float GL_OES_element_index_uint
    GL_OES_mapbuffer GL_OES_fragment_precision_high
    GL_OES_compressed_ETC1_RGB8_texture GL_OES_EGL_image
    GL_OES_EGL_image_external GL_OES_required_internalformat
    GL_OES_depth_texture GL_OES_get_program_binary
    GL_OES_packed_depth_stencil GL_OES_standard_derivatives
    GL_OES_vertex_array_object GL_OES_egl_sync
    GL_OES_surfaceless_context GL_EXT_discard_framebuffer
    GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
    GL_EXT_multisampled_render_to_texture GL_EXT_shader_texture_lod
    GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg
    GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc
    GL_IMG_texture_npot GL_IMG_texture_format_BGRA8888
    GL_IMG_read_format GL_IMG_program_binary
    GL_IMG_uniform_buffer_object
    GL_IMG_multisampled_render_to_texture GL_KHR_debug
    [14:01:05.712] GL ES 2 renderer features:
    read-back format: RGBA
    wl_shm sub-image to texture: no
    EGL Wayland extension: yes
    [14:01:05.712] Chosen EGL config details:
    RGBA bits: 8 8 8 8
    swap interval range: 1 - 1
    [14:01:05.712] cursor buffers unavailable, using gl cursors
    [14:01:05.712] Failed to initialize backlight
    [14:01:05.713] EDID data 'DEL', 'DELL P2317H', 'FDV8Y78LCHJB'
    [14:01:05.713] Output HDMI-A-1, (connector 26, crtc 24)
    mode 1280x1024@60.0
    mode 1152x864@75.0
    mode 1280x720@60.0, current
    mode 1280x720@59.9
    mode 1280x720@50.0
    mode 1024x768@75.0
    mode 1024x768@60.0
    mode 800x600@75.0
    mode 800x600@60.3
    mode 720x576@50.0
    mode 720x576@50.0
    mode 720x480@60.0
    mode 720x480@59.9
    mode 720x480@60.0
    mode 720x480@59.9
    mode 640x480@75.0
    mode 640x480@60.0
    mode 640x480@59.9
    mode 720x400@70.1
    [14:01:05.713] Compositor capabilities:
    arbitrary surface rotation: yes
    screen capture uses y-flip: yes
    presentation clock: CLOCK_MONOTONIC, id 1
    [14:01:05.714] Loading module '/usr/lib/weston/desktop-shell.so'
    [14:01:05.715] launching '/usr/libexec/weston-keyboard'
    [14:01:05.717] launching '/usr/libexec/weston-desktop-shell'
    [14:01:05.844] DRM: DPMS: failed property set for HDMI-A-1
    could not load cursor 'dnd-move'
    could not load cursor 'dnd-copy'
    could not load cursor 'dnd-none'
    could not load cursor 'dnd-move'
    could not load cursor 'dnd-copy'
    could not load cursor 'dnd-none'
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> I]
    PVR:(Error): [ 1111-> 1111] < gbm_pvr_bo_import():325|ERROR> Id
    [14:01:36.074] destroy output while page flip pending
    Date: 2017-12-23 UTC
    [14:01:58.261] weston 1.11.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.10.93-2-g2d825ed configure.ac: bump to version 1.11.0 f)
    [14:01:58.261] OS: Linux, 4.9.59-ga75d8e9305, #1 PREEMPT Sat Dec 23 09:46:08 ESl
    [14:01:58.262] Using config file '/etc//weston.ini'
    [14:01:58.263] Output repaint window is 7 ms maximum.
    [14:01:58.263] Loading module '/usr/lib/weston/drm-backend.so'
    [14:01:58.276] initializing drm backend
    [14:01:58.276] <stdin> is already in graphics mode, is another display server r?
    [14:01:58.276] fatal: drm backend should be run using weston-launch binary or at
    [14:01:58.276] fatal: failed to create compositor backend
  • Can somebody please solve this issue. I would really appreciate it!
  • The limitation comes from weston compositor. This is not supported use case for us.
  • Is there anyway Weston can be modified to keep the program running even when there is no HDMI display? 

  • Weston software is in public domain -  

    For PLSDK 4.x: we are using weston 1.11.

    If you are using Yocto build, then the software code link and TI patches are available at yocto  (meta-arago/meta-agaro-distro/recipes-graphics/wayland and oe-core/meta/recipe-graphics/wayland)

  • Thanks for quick reply Manisha, but I have no Idea how to do it. I am new to linux, and would really appreciate if anyone can help me with this. I just want Weston to launch without HDMI display and keep the program running even when there is no display.