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.

Vision SDK demo not working Green Screen is appearing

Hi Friends,

I have build the vision SDK  from scratch based on Vision_SDK_Linux_UserGuide.pdf. 

I am successfully able to boot TD2x RVP board. Now when I am following section 4.3  Run demos. I am getting multiple errors at different steps:

Error 1 : I am getting first set of errors while running command = ./load_ocl_kos.sh. Here is the error log:

Spawned daemon: /usr/bin/lad_dra7xx

[ 63.642731] CMEMK module: reference Linux version 4.4.84
[ 63.649171] allocated heap buffer 0x40400000 of size 0x100000
[ 63.656903] cmemk initialized
insmod: ERROR: could not load module /opt/vision_sdk/debugss_kmodule.ko: No such file or directory
insmod: ERROR: could not load module /opt/vision_sdk/gdbserverproxy.ko: No such file or directory

Error 2 : command = ./vision_sdk_load.sh Here is the error log:

root@dra7xx-evm:/opt/vision_sdk# source ./vision_sdk_load.sh
[ 228.287473] DMA: Module install successful, device major num = 242
[ 228.294041] DRV: Module install successful
insmod: ERROR: could not load module ./bin/cmemk.ko: No such file or directory
./disableDssInterruptsOnA15.sh: line 11: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 12: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 13: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 14: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 15: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 16: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 17: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 18: @0x4A002AD8:: command not found
./disableDssInterruptsOnA15.sh: line 19: @0x4A002AD8:: command not found
updated 0x4A002AD8 value is 00930000

Error 3: now when i launched apps.out and selected option 1 : single camera usecases  and option 1: 1CH VIP capture + SGX Copy + DISPLAY. Now I am getting green screen on my monitor. here is the log:

failed to load module: /usr/lib/gbm/gbm_dri.so: cannot open shared object file: No such file or directory
failed to load module: /usr/lib/gbm/gbm_gallium_drm.so: cannot open shared object file: No such file or directory
loaded module : gbm_pvr.so
found valid GBM backend : gbm_pvr.so
[HOST] [HOST ] 311.134295 s: SYSTEM_PVRSCOPE: FIFO /opt/vision_sdk/gpufifo opened successfully
[HOST] [HOST ] 311.148661 s: EGL: version 1.4
[HOST] [HOST ] 311.166168 s: EGL: GL Version = OpenGL ES 2.0 build 1.14@3699939 (MAIN)
[HOST] [HOST ] 311.166168 s: EGL: GL Vendor = Imagination Technologies
[HOST] [HOST ] 311.166168 s: EGL: GL Renderer = PowerVR SGX 544MP
[HOST] [HOST ] 311.166198 s: EGL: 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_ob
[HOST] [HOST ] ect GL_IMG_multisampled_render_to_texture GL_KHR_debug
[HOST] [HOST ] 311.230250 s: SGXFRMCPY: Create Done for resolution: 1920x1080 !!!
[HOST] [HOST ] 311.230342 s: IPC_OUT_0 : Create in progress !!!
[HOST] [HOST ] 311.230525 s: IPC_OUT_0 : Create Done !!!
[HOST] [IPU2 ] 311.230647 s: IPC_IN_0 : Create in progress !!!
[HOST] [IPU2 ] 311.231806 s: IPC_IN_0 : Create Done !!!
[HOST] [IPU2 ] 311.232202 s: DISPLAY: Create in progress !!!
[HOST] [IPU2 ] 311.232721 s: DISPLAY: Create Done !!!
[HOST] [IPU2 ] 311.233239 s: GRPXSRC: Create in progress !!!
[HOST] [IPU2 ] 312.802903 s: GRPXSRC: Create Done !!!
[HOST] [IPU2 ] 312.803391 s: DISPLAY: Create in progress !!!
[HOST] [IPU2 ] 312.803910 s: DISPLAY: Create Done !!!
[HOST] [IPU2 ] 312.808424 s: *** UTILS: CPU KHz = 20000 Khz ***
[HOST] [DSP1 ] 312.904776 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [DSP1 ] 312.904837 s: SYSTEM: Heap = LOCAL_L2 @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
[HOST] [DSP1 ] 312.904867 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 524288 B (512 KB), Free size = 516016 B (503 KB)
[HOST] [DSP2 ] 312.905111 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [DSP2 ] 312.905142 s: SYSTEM: Heap = LOCAL_L2 @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
[HOST] [DSP2 ] 312.905203 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 524288 B (512 KB), Free size = 516016 B (503 KB)
[HOST] [EVE1 ] 312.905691 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [EVE1 ] 312.906026 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
[HOST] [EVE1 ] 312.906575 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
[HOST] [EVE2 ] 312.907826 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [EVE2 ] 312.908162 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
[HOST] [EVE2 ] 312.908711 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
[HOST] [EVE3 ] 312.909748 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [EVE3 ] 312.910053 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
[HOST] [EVE3 ] 312.910602 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
[HOST] [EVE4 ] 312.911608 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [EVE4 ] 312.911913 s: SYSTEM: Heap = LOCAL_L2 @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
[HOST] [EVE4 ] 312.912462 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
[HOST] [IPU2 ] 312.913286 s: SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
[HOST] [IPU2 ] 312.913408 s: SYSTEM: Heap = LOCAL_DDR @ 0x00000000, Total size = 262144 B (256 KB), Free size = 248376 B (242 KB)
[HOST] [IPU2 ] 312.913560 s: SYSTEM: Heap = SR_OCMC @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
[HOST] [IPU2 ] 312.913713 s: SYSTEM: Heap = SR_DDR_CACHED @ 0x84203000, Total size = 262144000 B (250 MB), Free size = 216524800 B (206 MB)
[HOST] [IPU2 ] 312.913896 s: SYSTEM: Heap = SR_DDR_NON_CACHED @ 0xa0100000, Total size = 1045376 B (0 MB), Free size = 851840 B (0 MB)
[HOST] [IPU2 ] 312.914536 s: CHAINS: ChainsCommon_MultiCam_StartCaptureDevice
[HOST] [IPU2 ] 312.914719 s: VIDEO_SENSOR: INST1 : I2C3 : I2C Addr = 0x64
[HOST] [IPU2 ] 313.003873 s: src/bsp_deviceI2c.c @ Line 765:
[HOST] [IPU2 ] 313.003965 s: I2C3: DEV 0x64: RD 0x300a ... ERROR !!!
[HOST] [IPU2 ] 313.004300 s: src/bsp_deviceI2c.c @ Line 836:
[HOST] [IPU2 ] 313.004392 s: I2C3: Error timeout 0 ms!!!
[HOST] [IPU2 ] 313.004788 s: Assertion @ Line: 700 in /home/bharat/Downloads/tmp/vision_sdk/apps/src/rtos/video_sensor/src/vid_sensor.c: status == SYSTEM_LINK_STATUS_SOK : failed !!!

Please help me in resolving this.

Regards,

Bharat