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/DRA72XEVM: Unable to run QT application on our custom board with SoC: TDA2xx + Vision SDK 3.0.7

Part Number: DRA72XEVM

Tool/software: Linux

Hi TI Forum,

We are trying to run QT application on our custom board having TDA2xx SoC, but getting the below error: We are using Vision SDK 3.0.7

QIconvCodec::convertFromUnicode: using Latin-1 for conversion, iconv_open failed                                                
QIconvCodec::convertToUnicode: using Latin-1 for conversion, iconv_open failed                                                  
This application failed to start because it could not find or load the Qt platform plugin "wayland-egl"                          
in "/opt/qt562wayland/plugins/platforms/".

Available platform plugins are: eglfs (from /opt/qt562wayland/plugins/platforms/), linuxfb (from /opt/at562wayland/plugins)

When checked in the /opt/qt562wayland/plugins/platforms/ folder the library libqwayland-egl.so is present.

Also, in Kernel Config File: .config  th below is enabled:

CONFIG_DRM_FBDEV_EMULATION=y

Could you pls help resolve the issue.

Thanks & Regards,

SK

                                                                                                                      

  • Hi Sudhi,

    TI has not validated QT applications on vDRM based weston. Few wayland client applications like simple-egl have been tested.

    Please refer this link

    http://processors.wiki.ti.com/index.php/Virtual_DRM_:_An_User_Guide_for_Developing_Usecases

    FBDEV is no more supported.

    Thanks

    Ramprasad

  • Hi Ramprasad,

    Thanks for the pointer. According to pointer, we started debugging and found the below issue is occurring. Due to the below issue weston is not up and running successfully after running "$ps" command

    When we check for status of weston we see the below error message on our custom board.

    [19:56:01.661] weston 1.9.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:56:01.661] OS: Linux, 4.4.84, #2 SMP PREEMPT Thu Jul 4 15:31:14 IST 2019, armv7l
    [19:56:01.663] Using config file '/etc//weston.ini'
    [19:56:01.667] Loading module '/usr/lib/weston/drm-backend.so'
    [19:56:01.713] Output repaint window is 7 ms maximum.
    [19:56:01.713] initializing drm backend
    [19:56:01.715] using /dev/dri/card0
    [19:56:01.718] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:56:01.826] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:56:01.839] failed to initialize display
    [19:56:01.839] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:56:01.839] failed to initialize egl
    [19:56:01.839] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]

    /etc/init.d/rc.pvr is present

    /etc/init.d/weston is present

    /etc/powervr.ini has below

    [weston]
    DbmDriverName=vdrm


    CMA is set to 128M in uenv.txt

    Then running below gives:
    # weston --tty=2 --backend=drm-backend.so --idle-time=0

    When checked on EVM we are getting below logs:

    [19:54:25.460] weston 1.9.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:54:25.460] OS: Linux, 4.4.84-00027-g018eb62-dirty, #18 SMP PREEMPT Tue Feb 5 11:10:54 IST 2019, armv7l
    [19:54:25.468] Using config file '/etc//weston.ini'
    [19:54:25.489] Loading module '/usr/lib/weston/drm-backend.so'
    [19:54:25.614] Output repaint window is 7 ms maximum.
    [19:54:25.614] initializing drm backend
    [19:54:25.616] using /dev/dri/card0
    [19:54:25.627] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:54:25.776] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:54:25.815] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
    [19:54:25.815] Retrieving EGL client extension string failed.
    [19:54:25.816] warning: no input devices on entering Weston. Possible causes:
    - no permissions to read /dev/input/event*
    - seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
    [19:54:25.816] failed to create input devices
    [19:54:25.904] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [19:54:25.904] EGL vendor: Imagination Technologies
    [19:54:25.904] EGL client APIs: OpenGL_ES
    [19:54:25.904] 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
    [19:54:25.904] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [19:54:25.904] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [19:54:25.904] GL vendor: Imagination Technologies
    [19:54:25.904] GL renderer: PowerVR SGX 544MP
    [19:54:25.904] 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_texture_npot
    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_occlusion_query_boolean
    GL_EXT_texture_rg GL_EXT_draw_buffers
    GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary
    GL_IMG_texture_compression_pvrtc
    GL_IMG_texture_compression_pvrtc2 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

    We suspect that EGL is not getting enabled. Could you please help us the steps involved in enabling EGL and overcome the error:

    [19:56:01.839] failed to initialize display
    [19:56:01.839] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:56:01.839] failed to initialize egl





  • Hi Sudhi,

    Weston should come up without any issue with default vision-sdk3.07 with option

    [HOST] [HOST  ]  1: Single Camera Usecases

    followed by

     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
    before launching the QT application.
    Please check this first.

    Ramprasad
  • Hi Ramprasad,

    Thanks for the input. We tried the steps suggested by you:

    Single Camera USecases

    followed by 

    DispDistSrc (weston) + Display (1920x1080 HDMI)

    But still weston is not running after above are executed.

    Running $ps command do not show weston. Attached logs for reference.

    We also tried to launch Weston manually, but still getting below error:

    root@dra7xx-evm:/opt/vision_sdk# weston --tty=1 --backend=drm-backend.so
    Date: 2019-05-13 UTC
    [19:59:28.480] weston 1.9.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:59:28.480] OS: Linux, 4.4.84, #2 SMP PREEMPT Mon Jul 1 20:35:43 IST 2019, armv7l
    [19:59:28.481] Using config file '/etc//weston.ini'
    [19:59:28.481] Loading module '/usr/lib/weston/drm-backend.so'
    [19:59:28.486] Output repaint window is 7 ms maximum.
    [19:59:28.486] initializing drm backend
    [19:59:28.489] using /dev/dri/card0
    [19:59:28.489] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:59:28.497] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    [19:59:28.499] failed to initialize display
    [19:59:28.499] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:59:28.499] failed to initialize egl
    [19:59:28.500] fatal: failed to create compositor backend

    As could be seen in above logs it is failing to initialise display and then failing to initialise EGL. Could you please help us with steps to initialise EGL manually.

    Thanks & Regards,

    Sudheendra

    root@dra7xx-evm:/opt/vision_sdk# sh vision_sdk_load.sh 
    DMA: Module install successful, device major num = 244 
    DRV: Module install successful
    CMEMK module: reference Linux version 4.4.84
    cmemk initialized
    root@dra7xx-evm:/opt/vision_sdk# ./apps.out_ju
    apps.out_july1   apps.out_jun29   apps.out_jun29a  
    root@dra7xx-evm:/opt/vision_sdk# ./apps.out_july1
     [HOST]  OSA: MEM: 0: Mapped 0xa0100000 to 0xb6959000 of size 0x00100000 
     [HOST]  OSA: MEM: 1: Mapped 0x84203000 to 0xa3d59000 of size 0x12c00000 
     [HOST]  OSA: MEM: 2: Mapped 0xa0200000 to 0xa3c99000 of size 0x00040000 
     [HOST]  OSA: MEM: 3: Mapped 0xa02c0000 to 0xa3cd9000 of size 0x00080000 
     [HOST]  OSA: MEM: 4: Mapped 0x00000000 to 0x00000000 of size 0x00000000 
     [HOST]  OSA: IPU1-0 Remote Log Shared Memory @ 0xa0200000
     [HOST]  OSA: HOST Remote Log Shared Memory @ 0xa024f140
     [HOST]  OSA: DSP1 Remote Log Shared Memory @ 0xa02769e0
     [HOST]  OSA: IPU2 Remote Log Shared Memory @ 0xa0363da0
    map_l3_noc 44000000.ocp: L3 application error: target 3 mod:2 (unclearable)
    omap_l3_noc 44000000.ocp: L3 debug error: target 3 mod:2 (unclearable)
    [ HOST] [IPU1-0]     29.261178 s:  ***** IPU1_0 Firmware build tie 18:32:41 Jun 28 2019 
     [HOST] [IPU1-0]     29.261361 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
     [HOST] [IPU1-0]     29.264015 s:  SYSTEM: System Common Init in progress !!!
     [HOST] [IPU1-0]     29.265113 s:  UTILS: CIO: Init Done !!!
     [HOST] [IPU1-0]     29.265204 s:  SYSTEM: IPC init in progress !!!
     [HOST] [IPU1-0]     29.265296 s:  SYSTEM: Attaching to [IPU2] ... 
     [HOST] [IPU1-0]     29.517720 s:  SYSTEM: Attaching to [IPU2] ... SUCCESS !!!
     [HOST] [IPU1-0]     29.522601 s:  SYSTEM: Attaching to [DSP1] ... SUCCESS !!!
     [HOST] [IPU1-0]     29.522723 s:  SYSTEM: Notify register to [IPU2] line 0, event 15... 
     [HOST] [IPU1-0]     29.522845 s:  SYSTEM: Notify register to [DSP1] line 0, event 15... 
     [HOST] [IPU1-0]     29.522967 s:  SYSTEM: Notify init done !!!
     [HOST] [IPU1-0]     29.524736 s:  SYSTEM: MsgQ init done !!!
     [HOST] [IPU1-0]     29.525712 s: RpmsgInit in progress...
     [HOST] [IPU1-0]     29.525803 s: Connection established with HLOS, calling rpmsgInit
     [HOST] [IPU1-0]     29.526169 s: System_ipcConnectToHLOSThread() line 219
     [HOST] [IPU1-0]     29.526261 s: System_ipcConnectToHLOSThread() line 221
     [HOST] [IPU1-0]     29.526596 s: System_ipcConnectToHLOSThread() line 229
     [HOST] [IPU1-0]     29.526688 s:  SYSTEM: IPC init DONE !!!
     [HOST] [IPU1-0]     29.533459 s:  SYSTEM: System Common Init Done !!!
     [HOST] [IPU1-0]     29.533550 s:  SYSTEM: System IPU2 Init in progress !!!
     [HOST] [IPU1-0]     29.534404 s:  UTILS: DMA: HWI Create for INT34 !!!
     [HOST] [IPU1-0]     29.534648 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024 
     [HOST] [IPU1-0]     29.534770 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 258496 B (252 )
     [HOST] [IPU1-0]     29.534923 s:  SYSTEM: Initializing Links !!! 
     [HOST] [IPU1-0]     29.637619 s:  UTILS: PRF: ##### Cannot allocate Object for SYNC1 ####
     [HOST] [IPU1-0]     29.640303 s:  UTILS: PRF: ##### Cannot allocate Object for SYNC2 ####
     [HOST] [IPU1-0]     29.643079 s:  UTILS: PRF: ##### Cannot allocate Object for SYNC3 ####
     [HOST] [IPU1-0]     29.646007 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM0 ####
     [HOST] [IPU1-0]     29.648935 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM1 ####
     [HOST] [IPU1-0]     29.651894 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM2 ####
     [HOST] [IPU1-0]     29.654883 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM3 ####
     [HOST] [IPU1-0]     29.657872 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM4 ####
     [HOST] [IPU1-0]     29.660922 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM5 ####
     [HOST] [IPU1-0]     29.664002 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM6 ####
     [HOST] [IPU1-0]     29.667083 s:  UTILS: PRF: ##### Cannot allocate Object for ALGORITHM7 ####
     [HOST] [IPU1-0]     29.667236 s:  SYSTEM: Initializing Links ... DONE !!! 
     [HOST] [IPU1-0]     29.667358 s:  SYSTEM: System IPU2 Init Done !!!
     [HOST] [HOST  ]    122.400292 s:  SYSTEM: System A15 Init in progress !!!
     [HOST] [HOST  ]    122.400414 s:  SYSTEM: IPC: Init in progress !!!
     [HOST] [HOST  ]    122.400414 s:  SYSTEM: IPC: Notify init in progress !!!
     [HOST] [HOST  ]    122.401390 s:  SYSTEM: IPC: [IPU1-0] socket bind success !!! (dst vproc = 0, endpt = 81)
     [HOST] [HOST  ]    122.401451 s:  SYSTEM: IPC: [IPU1-0] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
     [HOST] [HOST  ]    122.401482 s:  SYSTEM: IPC: [IPU1-0] socket connect success !!! (dst vproc = 0, endpt = 80)
     [HOST] [HOST  ]    122.401482 s:  SYSTEM: IPC: [IPU1-0] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
     [HOST] [HOST  ]    122.404135 s:  SYSTEM: IPC: [IPU2] socket bind success !!! (dst vproc = 1, endpt = 81)
     [HOST] [HOST  ]    122.404135 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
     [HOST] [HOST  ]    122.404166 s:  SYSTEM: IPC: [IPU2] socket connect success !!! (dst vproc = 1, endpt = 80)
     [HOST] [HOST  ]    122.404196 s:  SYSTEM: IPC: [IPU2] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
     [HOST] [HOST  ]    122.406911 s:  SYSTEM: IPC: [DSP1] socket bind success !!! (dst vproc = 2, endpt = 81)
     [HOST] [HOST  ]    122.406911 s:  SYSTEM: IPC: [DSP1] socket info (family = 41, dst proc id = -1, endpt = 81) !!!
     [HOST] [HOST  ]    122.406941 s:  SYSTEM: IPC: [DSP1] socket connect success !!! (dst vproc = 2, endpt = 80)
     [HOST] [HOST  ]    122.406972 s:  SYSTEM: IPC: [DSP1] socket info (family = 41, dst proc id = -1, endpt = 1024) !!!
     [HOST] [HOST  ]    122.407246 s:  SYSTEM: IPC: Notify init DONE !!!
     [HOST] [HOST  ]    122.407246 s:  SYSTEM: MSGQ: MsgQ init in progress !!!
     [HOST] [HOST  ]    122.407368 s:  SYSTEM: MSGQ: MsgQ init DONE !!!
     [HOST] [HOST  ]    122.407368 s:  SYSTEM: IPC: Init DONE !!!
     [HOST] [HOST  ]    122.407368 s:  SYSTEM: Initializing A15 Links !!! 
     [HOST] [HOST  ]    122.407491 s:  IPC_OUT_0 : Init done - linkid-0x2000000
     [HOST] [HOST  ]    122.407613 s:  IPC_OUT_1 : Init done - linkid-0x2000001
     [HOST] [HOST  ]    122.407704 s:  IPC_OUT_2 : Init done - linkid-0x2000002
     [HOST] [HOST  ]    122.407826 s:  IPC_OUT_3 : Init done - linkid-0x2000003
     [HOST] [HOST  ]    122.407918 s:  IPC_OUT_4 : Init done - linkid-0x2000004
     [HOST] [HOST  ]    122.408040 s:  IPC_IN_0 : Init done - linkid-0x200000a
     [HOST] [HOST  ]    122.408162 s:  IPC_IN_1 : Init done - linkid-0x200000b
     [HOST] [HOST  ]    122.408284 s:  IPC_IN_2 : Init done - linkid-0x200000c
     [HOST] [HOST  ]    122.408497 s:  IPC_IN_3 : Init done - linkid-0x200000d
     [HOST] [HOST  ]    122.408619 s:  IPC_IN_4 : Init done - linkid-0x200000e
     [HOST] [HOST  ]    122.408741 s:  IPC_IN_5 : Init done - linkid-0x200000f
     [HOST] [HOST  ]    122.408833 s:  IPC_IN_6 : Init done - linkid-0x2000010
     [HOST] [HOST  ]    122.408955 s:  NULL_0 : Init done - linkid-0x2000014
     [HOST] [HOST  ]    122.409046 s:  NULL_1 : Init done - linkid-0x2000015
     [HOST] [HOST  ]    122.409199 s:  NULL_SRC_0 : Init done - linkid-0x2000039
     [HOST] [HOST  ]    122.409412 s:  DISP_DIST_SRC_0 : Init done - linkid-0x2000062
     [HOST] [HOST  ]    122.409504 s:  DISP_DIST_SRC_1 : Init done - linkid-0x2000063
     [HOST] [HOST  ]    122.409595 s:  DISP_DIST_SRC_2 : Init done - linkid-0x2000064
     [HOST] [HOST  ]    122.409687 s:  DISP_DIST_SRC_3 : Init done - linkid-0x2000065
     [HOST] [HOST  ]    122.409839 s:  ALGORITHM_0 : Init done - linkid-0x2000031
     [HOST] [HOST  ]    122.409961 s:  ALGORITHM_1 : Init done - linkid-0x2000032
     [HOST] [HOST  ]    122.410053 s:  ALGORITHM_2 : Init done - linkid-0x2000033
     [HOST] [HOST  ]    122.410175 s:  ALGORITHM_3 : Init done - linkid-0x2000034
     [HOST] [HOST  ]    122.410297 s:  ALGORITHM_4 : Init done - linkid-0x2000035
     [HOST] [HOST  ]    122.410480 s:  ALGORITHM_5 : Init done - linkid-0x2000036
     [HOST] [HOST  ]    122.410632 s:  ALGORITHM_6 : Init done - linkid-0x2000037
     [HOST] [HOST  ]    122.415116 s:  ALGORITHM_7 : Init done - linkid-0x2000038
     [HOST] [HOST  ]    122.415299 s:  DUP0 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.415512 s:  DUP1 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.415726 s:  DUP2 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.415909 s:  DUP3 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416122 s:  DUP4 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416336 s:  SYNC_0 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416458 s:  SYNC_1 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416580 s:  SYNC_2 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416702 s:  SYNC_3 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416824 s:  MERGE_0 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.416946 s:  MERGE_1 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417098 s:  MERGE_2 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417220 s:  MERGE_3 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417373 s:  MERGE_4 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417525 s:  SELECT_0 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417647 s:  SELECT_1 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417739 s:  GATE_0 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417861 s:  GATE_1 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.417952 s:  GATE_2 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.418044 s:  GATE_3 : Init done - linkid-0x0
     [HOST] [HOST  ]    122.418898 s:  SGXFRMCPY_0 : Init done - linkid-0x200004a
     [HOST] [HOST  ]    122.418898 s:  SYSTEM: Initializing A15 Links ... DONE !!! 
     [HOST] [HOST  ]    122.419691 s:  OSA: Adjusting global time, timeH by 0 units!!!
     [HOST] [HOST  ]    122.419721 s:  SYSTEM: System A15 Init Done !!!
     [HOST] [HOST  ]    122.419874 s:  NETWORK_CTRL: Starting Server (port=5000) !!!
     [HOST] [HOST  ]    122.419996 s:  NETWORK_CTRL: Starting Server ... DONE (port=5000) !!!
     [HOST] [HOST  ]    122.966632 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  Vision SDK Usecases
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  1: Single Camera Usecases
     [HOST] [HOST  ]  2: Multi-Camera LVDS Usecases
     [HOST] [HOST  ]  3: Open-Compute Usecases
     [HOST] [HOST  ]  6: Radar Usecases
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  7: PCIe SSD card Write Test
     [HOST] [HOST  ]  p: CPU Status
     [HOST] [HOST  ]  i: Show IP Addr (IPU + NDK + AVB) 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  s: System Settings 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
     [HOST] [DSP1  ]     29.388275 s:  ***** DSP1 Firmware build time 18:31:16 Jun 28 2019
     [HOST] [DSP1  ]     29.388336 s:  *** SYSTEM: CPU Frequency <ORG = 600000000 Hz>, <NEW = 750000000 Hz>
     [HOST] [DSP1  ]     29.388519 s:  SYSTEM: System Common Init in progress !!!
     [HOST] [DSP1  ]     29.388671 s:  UTILS: CIO: Init Done !!!
     [HOST] [DSP1  ]     29.388702 s:  SYSTEM: IPC init in progress !!!
     [HOST] [DSP1  ]     29.388732 s:  SYSTEM: Attaching to [IPU2] ... 
     [HOST] [DSP1  ]     29.520679 s:  SYSTEM: Attaching to [IPU2] ... SUCCESS !!!
     [HOST] [DSP1  ]     29.522601 s:  SYSTEM: Attaching to [IPU1-0] ... SUCCESS !!!
     [HOST] [DSP1  ]     29.522631 s:  SYSTEM: Notify register to [IPU1-0] line 0, event 15... 
     [HOST] [DSP1  ]     29.522692 s:  SYSTEM: Notify register to [IPU2] line 0, event 15... 
     [HOST] [DSP1  ]     29.522723 s:  SYSTEM: Notify init done !!!
     [HOST] [DSP1  ]     29.522845 s:  SYSTEM: MsgQ init done !!!
     [HOST] [DSP1  ]     29.522936 s: RpmsgInit in progress...
     [HOST] [DSP1  ]     29.522936 s: Connection established with HLOS, calling rpmsgInit
     [HOST] [DSP1  ]     29.523058 s: System_ipcConnectToHLOSThread() line 219
     [HOST] [DSP1  ]     29.523089 s: System_ipcConnectToHLOSThread() line 221
     [HOST] [DSP1  ]     29.523150 s: System_ipcConnectToHLOSThread() line 229
     [HOST] [DSP1  ]     29.523180 s:  SYSTEM: IPC init DONE !!!
     [HOST] [DSP1  ]     29.523729 s:  SYSTEM: System Common Init Done !!!
     [HOST] [DSP1  ]     29.523760 s:  SYSTEM: System DSP Init in progress !!!
     [HOST] [DSP1  ]     29.523943 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024 
     [HOST] [DSP1  ]     29.523973 s:  SYSTEM: Heap = LOCAL_L2             @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 )
     [HOST] [DSP1  ]     29.524004 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 524288 B (512 KB), Free size = 520664 B (508 )
     [HOST] [DSP1  ]     29.524034 s:  SYSTEM: Initializing Links !!! 
     [HOST] [DSP1  ]     29.530775 s:  SYSTEM: Initializing Links ... DONE !!! 
     [HOST] [DSP1  ]     29.530836 s:  SYSTEM: System DSP Init Done !!!
     [HOST] [DSP1  ]     29.867534 s:  SYSTEM: CACHE: L1P = 32 KB, L1D = 32 KB, L2 = 32 KB ... after boot !!!
     [HOST] [DSP1  ]     29.867565 s:  SYSTEM: CACHE: L1P = 32 KB, L1D = 32 KB, L2 = 32 KB ... after update by APP !!!
     [HOST] [IPU2  ]     29.501860 s:  ***** IPU2 Firmware build time 18:32:44 Jun 28 2019
     [HOST] [IPU2  ]     29.502043 s:  *** SYSTEM: CPU Frequency <ORG = 212800000 Hz>, <NEW = 212800000 Hz>
     [HOST] [IPU2  ]     29.504971 s:  SYSTEM: System Common Init in progress !!!
     [HOST] [IPU2  ]     29.514670 s:  UTILS: CIO: Init Done !!!
     [HOST] [IPU2  ]     29.514762 s:  SYSTEM: IPC init in progress !!!
     [HOST] [IPU2  ]     29.514823 s:  SYSTEM: Attaching to [IPU1-0] ... 
     [HOST] [IPU2  ]     29.517720 s:  SYSTEM: Attaching to [IPU1-0] ... SUCCESS !!!
     [HOST] [IPU2  ]     29.520679 s:  SYSTEM: Attaching to [DSP1] ... SUCCESS !!!
     [HOST] [IPU2  ]     29.520771 s:  SYSTEM: Notify register to [IPU1-0] line 0, event 15... 
     [HOST] [IPU2  ]     29.520923 s:  SYSTEM: Notify register to [DSP1] line 0, event 15... 
     [HOST] [IPU2  ]     29.521015 s:  SYSTEM: Notify init done !!!
     [HOST] [IPU2  ]     29.522784 s:  SYSTEM: MsgQ init done !!!
     [HOST] [IPU2  ]     29.523729 s: RpmsgInit in progress...
     [HOST] [IPU2  ]     29.523821 s: Connection established with HLOS, calling rpmsgInit
     [HOST] [IPU2  ]     29.524217 s: System_ipcConnectToHLOSThread() line 219
     [HOST] [IPU2  ]     29.524339 s: System_ipcConnectToHLOSThread() line 221
     [HOST] [IPU2  ]     29.524644 s: System_ipcConnectToHLOSThread() line 229
     [HOST] [IPU2  ]     29.524736 s:  SYSTEM: IPC init DONE !!!
     [HOST] [IPU2  ]     29.529951 s:  SYSTEM: System Common Init Done !!!
     [HOST] [IPU2  ]     29.530043 s:  SYSTEM: System Init in progress !!!
     [HOST] [IPU2  ]     29.530104 s:  SYSTEM: BSP Common Init in progress !!!
     [HOST] [IPU2  ]     29.530195 s:  SYSTEM: BSP Common Init Done !!!
     [HOST] [IPU2  ]     29.530256 s:  SYSTEM: BSP Platform Init in progress !!!
     [HOST] [IPU2  ]     29.530409 s:  SYSTEM: BSP Platform Init Done !!!
     [HOST] [IPU2  ]     29.530470 s:  SYSTEM: FVID2 Init in progress !!!
     [HOST] [IPU2  ]     29.530622 s:  SYSTEM: FVID2 Init Done !!!
     [HOST] [IPU2  ]     29.530683 s:  SYSTEM: VPS Init in progress !!!
     [HOST] [IPU2  ]     29.530744 s:  SYSTEM: VPDMA Descriptor Memory Address translation ENABLED [0x80000000 -> 0x80000000]
     [HOST] [IPU2  ]     29.533764 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU2  ]     29.533886 s: VPDMA Firmware Address = 0xa03dc4c0
     [HOST] [IPU2  ]     29.533977 s: VPDMA Load Address     = 0x4897d004
     [HOST] [IPU2  ]     29.534069 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU2  ]     29.534160 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU2  ]     29.534252 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU2  ]     29.534618 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU2  ]     29.534709 s: VPDMA Firmware Address = 0xa03dc4c0
     [HOST] [IPU2  ]     29.534770 s: VPDMA Load Address     = 0x4899d004
     [HOST] [IPU2  ]     29.534892 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU2  ]     29.534953 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU2  ]     29.535045 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU2  ]     29.535380 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU2  ]     29.535472 s: VPDMA Firmware Address = 0xa03dc4c0
     [HOST] [IPU2  ]     29.535563 s: VPDMA Load Address     = 0x489bd004
     [HOST] [IPU2  ]     29.535655 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU2  ]     29.535746 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU2  ]     29.535838 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU2  ]     29.536143 s: *** VPDMA Firmware Loading... ***
     [HOST] [IPU2  ]     29.536234 s: VPDMA Firmware Address = 0xa03dc4c0
     [HOST] [IPU2  ]     29.536356 s: VPDMA Load Address     = 0x489dd004
     [HOST] [IPU2  ]     29.536448 s: VPDMA Firmware Version = 0x4d0001b8
     [HOST] [IPU2  ]     29.536539 s: VPDMA List Busy Status = 0x00000000
     [HOST] [IPU2  ]     29.536600 s: *** VPDMA Firmware Load Success ***
     [HOST] [IPU2  ]     29.595894 s:  SYSTEM: VPS Init Done !!!
     [HOST] [IPU2  ]     29.596809 s:  UTILS: DMA: HWI Create for INT25 !!!
     [HOST] [IPU2  ]     29.597053 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1024 
     [HOST] [IPU2  ]     29.597145 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 258392 B (252 )
     [HOST] [IPU2  ]     29.597358 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
     [HOST] [IPU2  ]     29.597511 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 314572800 B (300 MB), Free size = 314572800 B)
     [HOST] [IPU2  ]     29.597724 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1046912 B (0 MB), Free size = 1019264 B (0 MB)
     [HOST] [IPU2  ]     29.597877 s:  SYSTEM: Initializing Links !!! 
     [HOST] [IPU2  ]     29.861800 s:  SYSTEM: Initializing Links ... DONE !!! 
     [HOST] [IPU2  ]     29.867534 s:  CHAINS: Application Started !!!
     [HOST] [IPU2  ]     29.878057 s:  BOARD: Board Init in progress !!!
     [HOST] [IPU2  ]     29.878606 s:  BOARD: Board Init Done !!!
     [HOST] [IPU2  ]     29.886994 s:  
    s
     [HOST] [HOST  ]    138.370249 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ===============
     [HOST] [HOST  ]  System Settings
     [HOST] [HOST  ]  ===============
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  1: Display Settings
     [HOST] [HOST  ]  2: Capture Settings
     [HOST] [HOST  ]  3: Calibration Settings
     [HOST] [HOST  ]  4: ISS Settings
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]    138.370279 s:  
     [HOST] [HOST  ]    138.370310 s:  Unsupported option '
     [HOST] [HOST  ] '. Please try again
     [HOST] [HOST  ]    138.370310 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ===============
     [HOST] [HOST  ]  System Settings
     [HOST] [HOST  ]  ===============
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  1: Display Settings
     [HOST] [HOST  ]  2: Capture Settings
     [HOST] [HOST  ]  3: Calibration Settings
     [HOST] [HOST  ]  4: ISS Settings
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]    138.370340 s:  
    1
     [HOST] [HOST  ]    140.594339 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ================
     [HOST] [HOST  ]  Display Settings
     [HOST] [HOST  ]  ================
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  1: LCD  10-inch 1280x720@60fps
     [HOST] [HOST  ]  2: HDMI 1080P60 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]    140.594369 s:  
    2
     [HOST] [HOST  ]    144.585859 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  Vision SDK Usecases
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  1: Single Camera Usecases
     [HOST] [HOST  ]  2: Multi-Camera LVDS Usecases
     [HOST] [HOST  ]  3: Open-Compute Usecases
     [HOST] [HOST  ]  6: Radar Usecases
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  7: PCIe SSD card Write Test
     [HOST] [HOST  ]  p: CPU Status
     [HOST] [HOST  ]  i: Show IP Addr (IPU + NDK + AVB) 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  s: System Settings 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
    1
     [HOST] [HOST  ]    148.289574 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]    148.289605 s:  
     [HOST] [HOST  ]    148.289605 s:  Unsupported option '
     [HOST] [HOST  ] '. Please try again
     [HOST] [HOST  ]    148.289605 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
    8
     [HOST] [HOST  ]    151.665283 s:  
     [HOST] [HOST  ]    152.670469 s:  IPC_OUT_0   : Create in progress !!!
     [HOST] [HOST  ]    152.670530 s:  IPC_OUT_0   : Create Done !!!
     [HOST] [IPU2  ]    152.670682 s:  IPC_IN_0   : Create in progress !!!
     [HOST] [IPU2  ]    152.671902 s:  IPC_IN_0   : Create Done !!!
     [HOST] [IPU2  ]    152.672299 s:  DISPLAY: Create in progress !!!
     [HOST] [IPU2  ]    152.672848 s:  DISPLAY: Create Done !!!
     [HOST] [DSP1  ]    152.774690 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 
     [HOST] [DSP1  ]    152.774720 s:  SYSTEM: Heap = LOCAL_L2             @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 )
     [HOST] [DSP1  ]    152.774751 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 524288 B (512 KB), Free size = 520464 B (508 )
     [HOST] [IPU2  ]    152.773683 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 
     [HOST] [IPU2  ]    152.773805 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 253016 B (247 )
     [HOST] [IPU2  ]    152.773988 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
     [HOST] [IPU2  ]    152.774110 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 314572800 B (300 MB), Free size = 314572800 B)
     [HOST] [IPU2  ]    152.774324 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1046912 B (0 MB), Free size = 1019264 B (0 MB)
     [HOST] [IPU2  ]    152.775025 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023 
     [HOST] [IPU2  ]    152.775117 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 253016 B (247 )
     [HOST] [IPU2  ]    152.775300 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
     [HOST] [IPU2  ]    152.775422 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 314572800 B (300 MB), Free size = 314572800 B)
     [HOST] [IPU2  ]    152.775605 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1046912 B (0 MB), Free size = 1019264 B (0 MB)
     [HOST] [IPU2  ]    152.776062 s:  DISPLAY: Start in progress !!!
     [HOST] [HOST  ]    152.777435 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  Chains Run-time Menu
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  0: Stop Chain
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  p: Print Performance Statistics 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
     [HOST] [IPU2  ]    152.776123 s:  DISPLAY: Start Done !!!
    0
     [HOST] [HOST  ]    172.585036 s:  IPC_OUT_0   : Stop Done !!!
     [HOST] [HOST  ]    172.586835 s:  IPC_OUT_0   : Delete in progress !!!
     [HOST] [HOST  ]    172.586866 s:  IPC_OUT_0   : Delete Done !!!
     [HOST] [IPU2  ]    172.584273 s:  DISPLAY: Stop in progress !!!
     [HOST] [IPU2  ]    172.584426 s:  DISPLAY: Stop Done !!!
     [HOST] [IPU2  ]    172.584761 s:  IPC_IN_0   : Stop Done !!!
     [HOST] [IPU2  ]    172.585585 s:  DISPLAY: Delete in progress !!!
     [HOST] [IPU2  ]    172.585737 s:  DISPLAY: Delete Done !!!
     [HOST] [IPU2  ]    172.586073 s:  IPC_IN_0   : Delete in progress !!!
     [HOST] [IPU2  ]    172.586530 s:  IPC_IN_0   : Delete Done !!!
     [HOST] [IPU2  ]    172.589214 s:  
     [HOST] [IPU2  ]    172.589336 s:  #### EVE CLK =   20.0      Mhz 
     [HOST] [IPU2  ]    172.589458 s:  #### DSP CLK =  750.0      Mhz 
     [HOST] [IPU2  ]    172.589611 s:  #### IPU CLK =  212.800000 Mhz 
     [HOST] [IPU2  ]    172.589702 s:  #### A15 CLK =  800.0      Mhz 
     [HOST] [IPU2  ]    172.589794 s:  
     [HOST] [IPU2  ]    172.589824 s:  
     [HOST] [IPU2  ]    172.589855 s:  LOAD: CPU: 3.6% HWI: 0.5%, SWI:0.4% 
     [HOST] [IPU2  ]    172.589977 s:  
     [HOST] [IPU2  ]    172.590099 s:  LOAD: TSK: STAT_COLL           : 2.5% 
     [HOST] [IPU2  ]    172.590221 s:  LOAD: TSK: MISC                : 0.2% 
     [HOST] [IPU2  ]    172.590312 s:  
     [HOST] [DSP1  ]    172.691179 s:  
     [HOST] [DSP1  ]    172.691209 s:  LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0% 
     [HOST] [DSP1  ]    172.691209 s:  
     [HOST] [DSP1  ]    172.691240 s:  LOAD: TSK: MISC                : 0.2% 
     [HOST] [DSP1  ]    172.691240 s:  
     [HOST] [IPU2  ]    172.791984 s:  
     [HOST] [IPU2  ]    172.792106 s:  #### EVE CLK =   20.0      Mhz 
     [HOST] [IPU2  ]    172.792258 s:  #### DSP CLK =  750.0      Mhz 
     [HOST] [IPU2  ]    172.792380 s:  #### IPU CLK =  212.800000 Mhz 
     [HOST] [IPU2  ]    172.792502 s:  #### A15 CLK =  800.0      Mhz 
     [HOST] [IPU2  ]    172.792563 s:  
     [HOST] [HOST  ]    172.893186 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
    x
     [HOST] [HOST  ]    175.448087 s:  
     [HOST] [HOST  ]    175.448087 s: 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  Vision SDK Usecases
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  1: Single Camera Usecases
     [HOST] [HOST  ]  2: Multi-Camera LVDS Usecases
     [HOST] [HOST  ]  3: Open-Compute Usecases
     [HOST] [HOST  ]  6: Radar Usecases
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  7: PCIe SSD card Write Test
     [HOST] [HOST  ]  p: CPU Status
     [HOST] [HOST  ]  i: Show IP Addr (IPU + NDK + AVB) 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  s: System Settings 
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  x: Exit 
     [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
     [HOST] [HOST  ]  
     [HOST] [HOST  ]  Enter Choice: 
     [HOST] [HOST  ]  
    x
     [HOST] [HOST  ]    176.527786 s:  SYSTEM: System A15 De-Init in progress !!!
     [HOST] [HOST  ]    176.527786 s:  SYSTEM: De-Initializing A15 Links !!! 
     [HOST] [HOST  ]    176.527908 s:  IPC_OUT_0 : DeInit done - linkid-0x2000000
     [HOST] [HOST  ]    176.528030 s:  IPC_OUT_1 : DeInit done - linkid-0x2000001
     [HOST] [HOST  ]    176.528182 s:  IPC_OUT_2 : DeInit done - linkid-0x2000002
     [HOST] [HOST  ]    176.528304 s:  IPC_OUT_3 : DeInit done - linkid-0x2000003
     [HOST] [HOST  ]    176.528457 s:  IPC_OUT_4 : DeInit done - linkid-0x2000004
     [HOST] [HOST  ]    176.528609 s:  IPC_IN_0 : DeInit done - linkid-0x200000a
     [HOST] [HOST  ]    176.528731 s:  IPC_IN_1 : DeInit done - linkid-0x200000b
     [HOST] [HOST  ]    176.528884 s:  IPC_IN_2 : DeInit done - linkid-0x200000c
     [HOST] [HOST  ]    176.529036 s:  IPC_IN_3 : DeInit done - linkid-0x200000d
     [HOST] [HOST  ]    176.529189 s:  IPC_IN_4 : DeInit done - linkid-0x200000e
     [HOST] [HOST  ]    176.529341 s:  IPC_IN_5 : DeInit done - linkid-0x200000f
     [HOST] [HOST  ]    176.529494 s:  IPC_IN_6 : DeInit done - linkid-0x2000010
     [HOST] [HOST  ]    176.529616 s:  NULL_0 : DeInit done - linkid-0x2000014
     [HOST] [HOST  ]    176.529768 s:  NULL_1 : DeInit done - linkid-0x2000015
     [HOST] [HOST  ]    176.529921 s:  NULL_SRC_0 : DeInit done - linkid-0x2000039
     [HOST] [HOST  ]    176.530073 s:  DISP_DIST_SRC_0 : DeInit done - linkid-0x2000062
     [HOST] [HOST  ]    176.530226 s:  DISP_DIST_SRC_1 : DeInit done - linkid-0x2000063
     [HOST] [HOST  ]    176.530378 s:  DISP_DIST_SRC_2 : DeInit done - linkid-0x2000064
     [HOST] [HOST  ]    176.530500 s:  DISP_DIST_SRC_3 : DeInit done - linkid-0x2000065
     [HOST] [HOST  ]    176.530653 s:  ALGORITHM_0 : DeInit done - linkid-0x2000031
     [HOST] [HOST  ]    176.530744 s:  ALGORITHM_1 : DeInit done - linkid-0x2000032
     [HOST] [HOST  ]    176.530866 s:  ALGORITHM_2 : DeInit done - linkid-0x2000033
     [HOST] [HOST  ]    176.530958 s:  ALGORITHM_3 : DeInit done - linkid-0x2000034
     [HOST] [HOST  ]    176.531049 s:  ALGORITHM_4 : DeInit done - linkid-0x2000035
     [HOST] [HOST  ]    176.531171 s:  ALGORITHM_5 : DeInit done - linkid-0x2000036
     [HOST] [HOST  ]    176.531263 s:  ALGORITHM_6 : DeInit done - linkid-0x2000037
     [HOST] [HOST  ]    176.531354 s:  ALGORITHM_7 : DeInit done - linkid-0x2000038
     [HOST] [HOST  ]    176.531507 s:  DUP0 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.531659 s:  DUP1 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.531812 s:  DUP2 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.531964 s:  DUP3 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.532208 s:  DUP4 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.532361 s:  SYNC_0 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.532513 s:  SYNC_1 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.532666 s:  SYNC_2 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.532818 s:  SYNC_3 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.532971 s:  MERGE_0 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533093 s:  MERGE_1 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533245 s:  MERGE_2 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533398 s:  MERGE_3 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533550 s:  MERGE_4 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533672 s:  SELECT_0 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533825 s:  SELECT_1 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.533977 s:  GATE_0 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.534130 s:  GATE_1 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.534282 s:  GATE_2 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.534435 s:  GATE_3 : DeInit done - linkid-0x0
     [HOST] [HOST  ]    176.534587 s:  SGXFRMCPY_0 : DeInit done - linkid-0x200004a
     [HOST] [HOST  ]    176.534587 s:  SYSTEM: De-Initializing A15 Links ... DONE !!! 
     [HOST] [HOST  ]    176.534587 s:  SYSTEM: IPC: De-init in progress !!!
     [HOST] [HOST  ]    176.534618 s:  SYSTEM: MSGQ: MsgQ de-init in progress !!!
     [HOST] [HOST  ]    176.534740 s:  SYSTEM: MSGQ: MsgQ de-init DONE !!!
     [HOST] [HOST  ]    176.534770 s:  SYSTEM: IPC: Notify de-init in progress !!!
     [HOST] [HOST  ]    176.535472 s:  SYSTEM: IPC: Notify de-init DONE !!!
     [HOST] [HOST  ]    176.535472 s:  SYSTEM: IPC: De-init DONE !!!
     [HOST] [HOST  ]    176.535472 s:  SYSTEM: System A15 De-Init Done !!!
    root@dra7xx-evm:/opt/vision_sdk# ps
      PID USER       VSZ STAT COMMAND
        1 root      4856 S    {systemd} /sbin/init
        2 root         0 SW   [kthreadd]
        3 root         0 SW   [ksoftirqd/0]
        4 root         0 SW   [kworker/0:0]
        5 root         0 SW<  [kworker/0:0H]
        6 root         0 SW   [kworker/u4:0]
        7 root         0 SW   [rcu_preempt]
        8 root         0 SW   [rcu_sched]
        9 root         0 SW   [rcu_bh]
       10 root         0 SW   [migration/0]
       11 root         0 SW   [migration/1]
       12 root         0 SW   [ksoftirqd/1]
       13 root         0 SW   [kworker/1:0]
       14 root         0 SW<  [kworker/1:0H]
       15 root         0 SW   [kdevtmpfs]
       16 root         0 SW<  [netns]
       17 root         0 SW<  [perf]
       18 root         0 SW   [kworker/0:1]
       19 root         0 SW<  [writeback]
       20 root         0 SW<  [crypto]
       21 root         0 SW<  [bioset]
       22 root         0 SW<  [kblockd]
       23 root         0 SW<  [ata_sff]
       24 root         0 SW   [irq/333-4807000]
       25 root         0 SW   [irq/334-4807200]
       26 root         0 SW   [irq/335-4806000]
       27 root         0 SW<  [edac-poller]
       28 root         0 SW   [kswapd0]
       29 root         0 SW<  [vmstat]
       30 root         0 SW   [fsnotify_mark]
       39 root         0 SW   [irq/378-OMAP HD]
       40 root         0 SW<  [bioset]
       41 root         0 SW<  [bioset]
       42 root         0 SW<  [bioset]
       43 root         0 SW<  [bioset]
       44 root         0 SW<  [bioset]
       45 root         0 SW<  [bioset]
       46 root         0 SW<  [bioset]
       47 root         0 SW<  [bioset]
       48 root         0 SW   [scsi_eh_0]
       49 root         0 SW<  [scsi_tmf_0]
       50 root         0 SW   [kworker/u4:1]
       51 root         0 SW   [spi1]
       52 root         0 SW   [spi2]
       53 root         0 SW   [kworker/1:1]
       54 root         0 SW   [irq/27-talert]
       55 root         0 SW   [kworker/u4:2]
       56 root         0 SW<  [krfcommd]
       57 root         0 SW<  [bioset]
       58 root         0 SW   [mmcqd/0]
       59 root         0 SW<  [deferwq]
       61 root         0 SW<  [kworker/0:1H]
       62 root         0 SW   [jbd2/mmcblk0p2-]
       63 root         0 SW<  [ext4-rsv-conver]
       64 root         0 SW<  [bioset]
       65 root         0 SW   [mmcqd/1]
       66 root         0 SW<  [bioset]
       67 root         0 SW   [mmcqd/1boot0]
       68 root         0 SW<  [bioset]
       69 root         0 SW   [mmcqd/1boot1]
       70 root         0 SW<  [ipv6_addrconf]
       84 root         0 SW<  [kworker/1:1H]
      101 root         0 SW   [kworker/1:2]
      127 root      5828 S    /lib/systemd/systemd-journald
      140 root         0 SW   [kworker/0:2]
      154 root     11920 S    /lib/systemd/systemd-udevd
      189 systemd- 11992 S    /lib/systemd/systemd-timesyncd
      194 root     10500 S    /lib/systemd/systemd-udevd
      196 root     10560 S    /lib/systemd/systemd-udevd
      197 root     10560 S    /lib/systemd/systemd-udevd
      199 root     10204 S    /lib/systemd/systemd-udevd
      200 root     10528 S    /lib/systemd/systemd-udevd
      201 root     10204 S    /lib/systemd/systemd-udevd
      203 root     10240 D    /lib/systemd/systemd-udevd
      204 root     10560 S    /lib/systemd/systemd-udevd
      209 root     10240 S    /lib/systemd/systemd-udevd
      210 root     10204 S    /lib/systemd/systemd-udevd
      211 root     10240 S    /lib/systemd/systemd-udevd
      228 root         0 SW   [kworker/1:3]
      333 root      1976 S    /sbin/syslogd -n -C
      335 messageb  4192 S    /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
      352 root         0 SW   [irq/354-4846800]
      353 root         0 SW   [irq/353-4846800]
      356 root     11248 S    /lib/systemd/systemd-udevd
      360 systemd-  2676 S    /lib/systemd/systemd-networkd
      362 root      2600 S    /lib/systemd/systemd-logind
      364 root      1960 S    /sbin/klogd -n
      366 root      2668 S    {rc.pvr} /bin/sh /etc/init.d/rc.pvr start
      368 root      2068 D    /sbin/modprobe -q pvrsrvkm
      373 systemd-  2984 S    /lib/systemd/systemd-resolved
      375 root      1784 S    /sbin/agetty --noclear tty1 linux
      377 root      4864 S    /bin/login --
      457 root         0 SW   [irq/443-4806a00]
      459 root      5220 S    /lib/systemd/systemd --user
      461 root      7116 S    (sd-pam)
      464 root      2672 S    -sh
      538 root      2372 R    ps
    root@dra7xx-evm:/opt/vision_sdk# cat /var/lo     
    lock/ log/  
    root@dra7xx-evm:/opt/vision_sdk# cat /var/lo
    lock/ log/  
    root@dra7xx-evm:/opt/vision_sdk# cat /var/log/werandom: nonblocking pool is initialized
     
    root@dra7xx-evm:/opt/vision_sdk# ls /var/
    cache     lib       lock      log       run       spool     tmp       volatile
    root@dra7xx-evm:/opt/vision_sdk# ls /var/run
    agetty.reload  dbus           lock           mount          systemd        udev           utmp
    blkid          klogd.pid      log            syslogd.pid    tmpfiles.d     user
    root@dra7xx-evm:/opt/vision_sdk# ls /var/log        
    btmp     lastlog  wtmp
    root@dra7xx-evm:/opt/vision_sdk# /etc/init.d/weston restart
    Stopping Weston
    /etc/init.d/weston: line 26:   543 Terminated              $0 stop
    root@dra7xx-evm:/opt/vision_sdk# ls /var/log/
    btmp        lastlog     weston.log  wtmp        
    root@dra7xx-evm:/opt/vision_sdk# ls /var/log/weston.log 
    /var/log/weston.log
    root@dra7xx-evm:/opt/vision_sdk# cat /var/log/weston.log                                                                                        
    Date: 2019-05-13 UTC
    [19:56:58.592] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:56:58.592] OS: Linux, 4.4.84, #2 SMP PREEMPT Mon Jul 1 20:35:43 IST 2019, armv7l
    [19:56:58.593] Using config file '/etc//weston.ini'
    [19:56:58.597] Loading module '/usr/lib/weston/drm-backend.so'
    [19:56:58.629] Output repaint window is 7 ms maximum.
    [19:56:58.629] initializing drm backend
    [19:56:58.631] using /dev/dri/card0
    [19:56:58.634] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:56:58.722] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:56:58.733] failed to initialize display
    [19:56:58.733] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:56:58.733] failed to initialize egl
    [19:56:58.733] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    root@dra7xx-evm:/opt/vision_sdk# weston --tty=1 --backend=drm-backend.so
    Date: 2019-05-13 UTC
    [19:59:28.480] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:59:28.480] OS: Linux, 4.4.84, #2 SMP PREEMPT Mon Jul 1 20:35:43 IST 2019, armv7l
    [19:59:28.481] Using config file '/etc//weston.ini'
    [19:59:28.481] Loading module '/usr/lib/weston/drm-backend.so'
    [19:59:28.486] Output repaint window is 7 ms maximum.
    [19:59:28.486] initializing drm backend
    [19:59:28.489] using /dev/dri/card0
    [19:59:28.489] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:59:28.497] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    [19:59:28.499] failed to initialize display
    [19:59:28.499] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:59:28.499] failed to initialize egl
    [19:59:28.500] fatal: failed to create compositor backend
    root@dra7xx-evm:/opt/vision_sdk# /etc/init.d/weston stop   
    Stopping Weston
    Terminated
    root@dra7xx-evm:/opt/vision_sdk# /etc/init.d/weston start
    root@dra7xx-evm:/opt/vision_sdk# cat /var/log/weston.log
    Date: 2019-05-13 UTC
    [19:56:58.592] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:56:58.592] OS: Linux, 4.4.84, #2 SMP PREEMPT Mon Jul 1 20:35:43 IST 2019, armv7l
    [19:56:58.593] Using config file '/etc//weston.ini'
    [19:56:58.597] Loading module '/usr/lib/weston/drm-backend.so'
    [19:56:58.629] Output repaint window is 7 ms maximum.
    [19:56:58.629] initializing drm backend
    [19:56:58.631] using /dev/dri/card0
    [19:56:58.634] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:56:58.722] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:56:58.733] failed to initialize display
    [19:56:58.733] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:56:58.733] failed to initialize egl
    [19:56:58.733] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    Date: 2019-05-13 UTC
    [19:57:49.061] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:57:49.063] OS: Linux, 4.4.84, #2 SMP PREEMPT Mon Jul 1 20:35:43 IST 2019, armv7l
    [19:57:49.063] Using config file '/etc//weston.ini'
    [19:57:49.063] Loading module '/usr/lib/weston/drm-backend.so'
    [19:57:49.068] Output repaint window is 7 ms maximum.
    [19:57:49.069] initializing drm backend
    [19:57:49.071] using /dev/dri/card0
    [19:57:49.071] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:57:49.086] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:57:49.088] failed to initialize display
    [19:57:49.088] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:57:49.088] failed to initialize egl
    [19:57:49.088] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ]
    PVR:(Error): Couldn't connect to services [0, ]
    Date: 2019-05-13 UTC
    [19:59:52.704] weston 1.9.0
                   http://wayland.freedesktop.org
                   Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
                   Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:59:52.704] OS: Linux, 4.4.84, #2 SMP PREEMPT Mon Jul 1 20:35:43 IST 2019, armv7l
    [19:59:52.705] Using config file '/etc//weston.ini'
    [19:59:52.705] Loading module '/usr/lib/weston/drm-backend.so'
    [19:59:52.710] Output repaint window is 7 ms maximum.
    [19:59:52.710] initializing drm backend
    [19:59:52.712] using /dev/dri/card0
    [19:59:52.712] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:59:52.720] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:59:52.723] failed to initialize display
    [19:59:52.723] EGL error state: EGL_BAD_ALLOC (0x3003)
    [19:59:52.723] failed to initialize egl
    [19:59:52.723] fatal: failed to create compositor backend
    PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ]
    PVR:(Error): PVRSRVConnect: Unable to open conn
    

  • Hi Sudhi,

    This is because graphics drivers modules are not inserted.

    Please run this command

    lsmod | grep pvr

    It should show something like

    pvrsrvkm              412372  5 bc_example

    pvrsrvkm and bc_example modules need to be inserted.

    Looks like you have made some modification in kernel and you didn't not rebuild sgx kernel modules.

    Thanks

    Ram

  • Hi Ramprasad,

    Thanks for the pointer. As directed by you we looked into reason for SGX driver not getting inserted and found dts to be updated with the correct resolution set by VGA driver. With that change now we are seeing pvrsrvkm 329568 1 bc_example

    $lsmod

    root@dra7xx-evm:~# lsmod
    Module Size Used by
    rpmsg_proto 5440 0
    virtio_rpmsg_bus 7880 1 rpmsg_proto
    snd_soc_simple_card 5408 0
    dwc3_omap 3584 1
    extcon 7044 1 dwc3_omap
    rtc_omap 6020 1
    bc_example 4768 0
    snd_soc_davinci_mcasp 13824 1
    snd_soc_edma 704 1 snd_soc_davinci_mcasp
    snd_soc_omap 2240 1 snd_soc_davinci_mcasp
    omap_rng 3392 0
    rng_core 4444 1 omap_rng
    snd_soc_tlv320adc3101 15616 0
    snd_soc_tlv320aic3x 39296 0
    snd_soc_core 76628 6 snd_soc_davinci_mcasp,snd_soc_edma,snd_soc_omap,snd_soc_tlv320adc3101,snd_soc_tlv320aic3x,snd_soc_simple_card
    snd_pcm_dmaengine 2240 2 snd_soc_core,snd_soc_omap
    snd_pcm 54600 6 snd_soc_davinci_mcasp,snd_soc_core,snd_soc_omap,snd_soc_tlv320adc3101,snd_soc_tlv320aic3x,snd_pcm_dmaengine
    snd_timer 14608 1 snd_pcm
    snd 30176 3 snd_soc_core,snd_timer,snd_pcm
    soundcore 644 1 snd
    ch7026_vga 1540 0
    pvrsrvkm 329568 1 bc_example

    But still weston is not running successfully, by doing /varlog/weston.log we could see below logs:

    [19:56:50.767] weston 1.9.0
    http://wayland.freedesktop.org
    Bug reports to: bugs.freedesktop.org/enter_bug.cgi
    Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
    [19:56:50.767] OS: Linux, 4.4.84, #1 SMP PREEMPT Wed Jul 10 12:48:47 IST 2019, armv7l
    [19:56:50.768] Using config file '/etc//weston.ini'
    [19:56:50.768] Loading module '/usr/lib/weston/drm-backend.so'
    [19:56:50.773] Output repaint window is 7 ms maximum.
    [19:56:50.773] initializing drm backend
    [19:56:50.775] using /dev/dri/card0
    [19:56:50.775] Loading module '/usr/lib/weston/gl-renderer.so'
    loaded module : gbm_pvr.so
    found valid GBM backend : gbm_pvr.so
    [19:56:50.783] warning: either no EGL_EXT_platform_base support or specific platform support; falling back to eglGetDisplay.
    [19:56:50.794] warning: EGL_EXT_buffer_age not supported. Performance could be affected.
    [19:56:50.794] Retrieving EGL client extension string failed.
    [19:56:50.795] warning: no input devices on entering Weston. Possible causes:
    - no permissions to read /dev/input/event*
    - seats misconfigured (Weston backend option 'seat', udev device property ID_SEAT)
    [19:56:50.795] failed to create input devices
    [19:56:50.814] EGL version: 1.4 build 1.14@3699939 (MAIN)
    [19:56:50.814] EGL vendor: Imagination Technologies
    [19:56:50.814] EGL client APIs: OpenGL_ES
    [19:56:50.814] 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
    [19:56:50.815] GL version: OpenGL ES 2.0 build 1.14@3699939 (MAIN)
    [19:56:50.815] GLSL version: OpenGL ES GLSL ES 1.00 build 1.14@3699939 (MAIN)
    [19:56:50.815] GL vendor: Imagination Technologies
    [19:56:50.815] GL renderer: PowerVR SGX 544MP
    [19:56:50.815] 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_texture_npot
    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_occlusion_query_boolean
    GL_EXT_texture_rg GL_EXT_draw_buffers
    GL_EXT_shader_framebuffer_fetch GL_IMG_shader_binary
    GL_IMG_texture_compression_pvrtc
    GL_IMG_texture_compression_pvrtc2 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
    [19:56:50.815] GL ES 2 renderer features:
    read-back format: RGBA
    wl_shm sub-image to texture: no
    EGL Wayland extension: yes
    [19:56:50.815] Chosen EGL config details:
    RGBA bits: 8 8 8 8
    swap interval range: 1 - 1
    [19:56:50.815] cursor buffers unavailable, using gl cursors
    [19:56:50.815] Failed to initialize backlight
    [19:56:50.815] Output Virtual-1, (connector 24, crtc 26)
    mode 640x480@60.0, preferred, current
    [19:56:50.816] Compositor capabilities:
    arbitrary surface rotation: yes
    screen capture uses y-flip: yes
    presentation clock: CLOCK_MONOTONIC, id 1
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-0.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-1.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-2.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-3.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-4.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-5.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-6.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-7.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-8.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-9.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-10.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-11.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-12.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-13.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-14.lock, maybe another compositor is running
    [19:56:50.816] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-15.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-16.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-17.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-18.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-19.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-20.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-21.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-22.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-23.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-24.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-25.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-26.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-27.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-28.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-29.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-30.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-31.lock, maybe another compositor is running
    [19:56:50.817] libwayland: unable to lock lockfile /tmp/0-runtime-dir/wayland-32.lock, maybe another compositor is running
    [19:56:50.818] fatal: failed to add socket: Invalid argument

    Now unable to lock lockfile /tmp/0-runtime-dir/wayland-28.lock, maybe another compositor is running. May we know is there another compositor supported Could you pls help us??

    Thanks & Regards,

    Sudhi

  • Hi Sudhi,

    This error is set from wayland library when it fails to lock the socket. TI's SDK supports drm as the only compositor.

    Weston can support other compositors like fbdev, wayland, rpi etc but these are not supported by TI's SDK. In your post you have mentioned, you have enabled configuration of fbdev. Have you disabled this now? 

    Thanks

    Ramprasad

  • Hi Ramprasad,

    Thanks for the inputs. However, we have not configured fbdev because already we know it is not supported in VSDK 3.0.4

    Thanks & Regards,

    Sudhi

  • Hi Ramprasad,

    [Please ignore my previous reply because I mentioned 3.0.4 it should have been 3.0.7]

    Thanks for the inputs. However, we have not configured fbdev because already we know it is not supported in VSDK 3.0.7. We are using 3.0.7

    Thanks & Regards,

    Sudhi

  • Hi Ramprasad,

    You meant to say the below flag has to be disabled in kernel config.

    CONFIG_DRM_FBDEV_EMULATION=y

    to 

    CONFIG_DRM_FBDEV_EMULATION=n

    Thanks & Regards,

    Sudhi

  • Hi Sudhi,

    Yes, I

    But I am not sure if this configuration makes this difference.

    We have never seen this issue earlier.

    Thanks

    RamPrasad

  • Hi Ramprasad,

    Thanks a lot for the pointer. Having disabled CONFIG_DRM_FBDEV_EMULATION=n flag in kernel config file(.config) Weston is now successfully running as service. 

    After the above Weston is successfully running,  we tested QT application, but no display is seen. Since ours is custom board we only support VGA. However, we feel by default on 3.0.7 SDK HDMI would have been set as default output and hence no display on VGA device. So could you please point us where do we need to configure the display type to be VGA for our QT application to display. 

    Thanks & Regards,

    Sudhi

  • Hi Suhdi,

    Can you check if you are able to launch weston-simple-egl application and able to see rendering happening on display?

    Have you modified /etc/powervr.ini with this change?

    Please go through this FAQ

    http://processors.wiki.ti.com/index.php/Virtual_DRM_:_An_User_Guide_for_Developing_Usecases#FAQs

    Thanks

    Ramprasad