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.

Error at starting dvrmain from rdk 3.5(status == FVID2_SOK : failed)

Other Parts Discussed in Thread: DM8107


Hello Dear Experts!

I have dm8107 dvr and I try to build rdk 3.5 and start dvrmain.
I use "DVR_RDK_BOARD_TYPE=DM810X_UD_DVR" option for building.

When I start dvrmain as

./init.sh n
./load.sh
$dvrapp_dir/dvrmain -qws hdmi0 hdmi1 &

I get following assert:


root@dvr:~# gVIDEOMOTION_ctrl.bufSize = 25344
gVIDEOMOTION_ctrl.bufNum  = 16
app_pb: app_playback_init ... success
--------------- CHANNEL DETAILS-------------
Capture Channels => 16
Enc Channels => Primary 16, Secondary 16
Dec Channels => 16
Disp Channels => 32
-------------------------------------------

.........


 [host]  2086: IPC_BITS_IN   : Create Done !!!
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3vpss ]  10012: IPC_IN_M3   : Create in progress !!!
 [m3video] ENCLINK_H264:HEAPID:3    USED:45056
 [m3vpss ]  10012: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_0] ...
 [m3video]  9946: ENCODE: Creating CH4 of 352 x 240, pitch = (352, 352) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3vpss ]  10012: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_0] ...
 [m3vpss ]  10013: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
 [m3vpss ]  10015: IPC_IN_M3   : Create Done !!!
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3vpss ]  10017: MERGE   : Create Done !!!
 [m3video] ENCLINK_H264:HEAPID:3    USED:503808
 [m3video]  9950: ENCODE: Creating CH5 of 352 x 240, pitch = (352, 352) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3vpss ]  10022: DUP   : Create Done !!!
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3vpss ]  10022: SWMS: Create in progress !!!
 [m3video] ENCLINK_H264:HEAPID:3    USED:503808
 [m3video]  9954: ENCODE: Creating CH6 of 352 x 240, pitch = (352, 352) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3video] ENCLINK_H264:HEAPID:3    USED:503808
 [m3video]  9958: ENCODE: Creating CH7 of 352 x 240, pitch = (352, 352) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3vpss ]  UTILS: DMA: Allocated CH (TCC) = 59 (59)
 [m3video] ENCLINK_H264:HEAPID:3    USED:503808
 [m3vpss ]  UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
 [m3video]  9963: ENCODE: Creating CH8 of 704 x 480, pitch = (704, 704) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3vpss ] SWMS: instance 0, sc id 4, start win 0 end win 17
 ASSERT (multich_progressive_4d1_vcap_venc_vdec_vdis.c|MultiCh_createProgressive4D1VcapVencVdecVdis|1192)
 [m3vpss ]  10070: SWMS0    : Loading Vertical Co-effs (UPSCALE)x ...
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3vpss ]  10070: SWMS0    : Loading Horizontal Co-effs (UPSCALE)x ...
 [m3video] ENCLINK_H264:HEAPID:3    USED:1511424
 [m3vpss ]  10071: SWMS    : Co-effs Loading ... DONE !!!
 [m3video]  9972: ENCODE: Creating CH9 of 704 x 480, pitch = (704, 704) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[0]
 [m3vpss ]  10071: SWMS    : ******* Configuring clock 30 secs...
 [m3video] ENCLINK_H264:HEAPID:0    USED:11912
 [m3vpss ]  10072: SWMS0    : Loading Vertical Co-effs (11/16)x ...
 [m3video] ENCLINK_H264:HEAPID:3    USED:1511424
 [m3vpss ]  10072: SWMS0    : Loading Horizontal Co-effs (7/16)x ...
 [m3video]  9982: ENCODE: Creating CH10 of 704 x 480, pitch = (704, 704) [PROGRESSIVE] [NON-TILED  ], bitrate = 1200 Kbps ...
 [m3vpss ]  10072: SWMS    : Co-effs Loading ... DONE !!!
 [m3vpss ]  
 
 
This ssert is "OSA_assert(inChInfo.numCh == gVdecModuleContext.vdecConfig.numChn);"
I found out that inChInfo.numCh is 4 but gVdecModuleContext.vdecConfig.numChn is 16!

Then I changed gVdecModuleContext.vdecConfig.numChn on 4!

Now I get another assert :

 [m3video]  10072: IPC_BITS_OUT   : Create in progress !!!
 [m3vpss ]  10147: DISPLAY: Create Done !!!
 [m3vpss ]  10148: DISPLAY: Create in progress !!!
 [m3vpss ]  10148: DISPLAY: 43: Field Separate Mode ENABLED for Que 0 !!!
 [m3video]  10075: IPC_BITS_OUT   : Create Done !!!
 [m3vpss ]  10149: DISPLAY: Create Done !!!
 [m3video]  10081: IPC_OUT_M3   : Create in progress !!!
 [m3video]  10082: IPC_OUT_M3   : Create Done !!!
 [m3vpss ]  10502: DISPLAY: Start in progress !!!
 [m3vpss ]  10557: DISPLAY: Start Done !!!
 [m3vpss ]  10557: DISPLAY: AUX PATH: 36 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 8947 / 0 ) !
 [m3vpss ]  10557: DISPLAY: Start in progress !!!
 [m3vpss ]  10623: DISPLAY: Start Done !!!
 [m3vpss ]  10624: DISPLAY: DVO2(BP1)  : 14 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 8947 / 0  
 [m3vpss ]  10624: SWMS: Start in Progress !!!
 [m3vpss ]  10624: SWMS: Start Done !!!
 [m3vpss ]  11065: CAPTURE: Start in progress !!!
 [m3vpss ]  11065: CAPTURE: Start Done !!!
 [m3vpss ]  11165: CAPTURE: Enabled Time Stamping !!!
 [m3vpss ]  11173: CAPTURE: Enabled Time Stamping !!!
 [m3vpss ]  11192: DISPLAY: Stop in progress !!!
 [m3vpss ]  CAPTURE : Capture FPS: 0.0 fps ... in 4294956.1 secs
 [m3vpss ]  11239: CAPTURE: Dynamic resolution change: width: 720, height: 576!
 [m3vpss ]  11257: DISPLAY: Stop Done !!!
 [m3vpss ]  11257: DISPLAY: Stop in progress !!!
 [m3vpss ]  11257: Assertion @ Line: 1745 in links_m3vpss/display/displayLink_drv.c: status == FVID2_SOK : failed !!!
 [m3video]  14287: SCD: CH4: NO Tamper Detected !!!
 [m3video]  14298: SCD: CH5: NO Tamper Detected !!!
 [m3video]  14310: SCD: CH6: NO Tamper Detected !!!
 [m3video]  14320: SCD: CH7: NO Tamper Detected !!!
 [m3video]  14473: SCD: CH4: Tamper Detected !!!
 [m3video]  14480: SCD: CH5: Tamper Detected !!!
 [m3video]  14489: SCD: CH6: Tamper Detected !!!
 [m3video]  14495: SCD: CH7: Tamper Detected !!!
 [m3vpss ]  CAPTURE : Capture FPS: 238.3 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 239.2 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 238.4 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 239.2 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 238.8 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 238.4 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 239.2 fps ... in 10.0 secs
 [m3vpss ]  CAPTURE : Capture FPS: 238.4 fps ... in 10.0 secs
 
 
 Could you help me with this problem?
 
 Thank you!

  • Only console UI demos for DM8107 are supported in 3.5 TI release. Check the release notes. dvrmain (GUI App) is not ported in 3.5 release for DM8107 and would not work correctly.

    You will have to refer console UI demo and modify GUI App accordingly (or) try using latest DVR RDK release - 4.1.

    Console UI demo can be run via this option

    ./init.sh n
    ./load.sh
    ./run.sh