Part Number:TDA2PXEVM
Tool/software: Linux
Hi,
I am engaged with TIDL OD usecase Linux porting. The difference with original case is that the usecase itself and nullsrc link run on Linux OS, tidlpreproc on IPU .
Other links, the input files and config file are the same for the two case.
[IPU1-0] 46.905508 s: TIDL Configuration parameters
[IPU1-0] 46.905599 s: -----------------------------
[IPU1-0] 46.905660 s: inputWidth = 768
[IPU1-0] 46.905721 s: inputHeight = 320
[IPU1-0] 46.905782 s: inputFile = inData_OD
[IPU1-0] 46.905843 s: inputFile = inHeader_OD
[IPU1-0] 46.905904 s: netFileName = tidl_net_jdetNet_ssd.bin
[IPU1-0] 46.905965 s: paramFileName = tidl_param_jdetNet_ssd.bin
[IPU1-0] 46.906057 s: inputfps = 30
[IPU1-0] 46.906118 s: threshold = 0.300000
[IPU1-0] 46.906209 s: -----------------------------
But I encounter the below error for the linux case.
[HOST] [IPU2 ] 75.435673 s: dssPrms(Width 1536, Height 640, posX 192, posY 64, type 0), dssPrms->inFmt(width 776, height 328, pitch0 776, pitch1 776, pitch2 776)
[HOST] [IPU2 ] 75.435978 s: dispcore/src/vpscore_dss.c @ Line 1083:
[HOST] [IPU2 ] 75.436070 s: Pitch less than Width
[HOST] [IPU2 ] 75.436131 s: dispdrv/src/vpsdrv_displayCore.c @ Line 304:
[HOST] [IPU2 ] 75.436222 s: Set DSS parameter failed
[HOST] [IPU2 ] 75.436283 s: Assertion @ Line: 472 in displayLink_drv.c: status==SYSTEM_LINK_STATUS_SOK : failed !!!
while for successful TIDL OD run on BIOS, the log is as follows.
[IPU1-0] 55.424571 s: UTILS: DMA: Allocated CH (TCC) = 48 (48)
[IPU1-0] 55.424693 s: UTILS: DMA: 0 of 1: Allocated PaRAM = 48 (0x63304800)
[IPU1-0] 55.441834 s: ALGORITHM: Create Done (algId = 1) !!!
[IPU1-0] 55.442017 s: DISPLAY: Create in progress !!!
[IPU1-0] 55.442261 s: dssPrms(Width 1536, Height 640, posX 192, posY 64, type 0), dssPrms->inFmt(width 768, height 320, pitch0 768, pitch1 768, pitch2 768)
[IPU1-0] 55.442810 s: DISPLAY: Create Done !!!
[IPU1-0] 55.443115 s: GRPXSRC: Create in progress !!!
[IPU1-0] 55.978344 s: GRPXSRC: Create Done !!!
[IPU1-0] 55.978771 s: DISPLAY: Create in progress !!!
[IPU1-0] 55.979045 s: dssPrms(Width 1920, Height 376, posX 0, posY 704, type 3), dssPrms->inFmt(width 1920, height 376, pitch0 3840, pitch1 3840, pitch2 3840)
Seems the resolution and pitch value of dssPrms->inFmt for linux case is not correct. I have no idea what may cause the problem.
Can you help suggest something? Thanks a lot!
Regards,
Simon