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/DRA716: Could you please give us some 3D SRV boot up time optimize suggest?

Part Number: DRA716
Other Parts Discussed in Thread: TDA2E

Tool/software: Linux

Hi Expert:

Now we enter 3D SRV need ~10s. It need too long time.

Please give us some suggest about how to optimize it?

Best Regards!

Han Tao

Those four item need too long time.

Kernel boot time optimize are follow Linux APN now. (http://www.ti.com/lit/an/sprac82/sprac82.pdf)

Hardware: TDA2E 17*17 800MHz,   MLO+uboot+kernel+filesystem store at QSPI

Software: VisionSDK 2.12.02

 

  1. IPC shake hand need ~540ms.  

[HOST] [IPU1-0]     28.710638 s:  SYSTEM: IPC init in progress !!!

[HOST] [IPU1-0]     28.710730 s:  SYSTEM: Attaching to [IPU2] ...

[HOST] [IPU1-0]     28.998688 s:  SYSTEM: Attaching to [IPU2] ... SUCCESS !!!

[HOST] [IPU1-0]     29.266302 s:  SYSTEM: Attaching to [DSP1] ... SUCCESS !!!

  1. VIP initial need ~480ms

[HOST] [IPU2  ]     35.792228 s:  CAPTURE: Create in progress !!!                                                                                                                                                                                                                            

[HOST] [IPU2  ]     35.792624 s:  CAPTURE: VIP1 Slice1 PortA capture mode is [ 8-bit] !!!

[HOST] [IPU2  ]     35.913926 s:  CAPTURE: VIP1 Slice0 PortA capture mode is [ 8-bit] !!!

[HOST] [IPU2  ]     36.035197 s:  CAPTURE: VIP1 Slice1 PortB capture mode is [ 8-bit] !!!

[HOST] [IPU2  ]     36.156560 s:  CAPTURE: VIP1 Slice0 PortB capture mode is [ 8-bit] !!!

[HOST] [IPU2  ]     36.277923 s:  CAPTURE: Create Done !!!    

  1. GPU module initial need ~860ms.

[HOST] [IPU2  ]     36.280333 s:  IPC_OUT_0   : Create Done !!!

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  ]     37.145915 s:  EGL: version 1.4 

  1. Encoder used ~930ms   

[HOST] [IPU2  ]     37.947325 s:  ENCODE: Create in progress ... !!!                                                                                                                                                                                                                                                                                                                                                                                               

[HOST] [IPU2  ]     38.539986 s:  ENCODE: Creating CH0 of 1280 x 720,  pitch = (1280, 1280) [1] [0], bitrate = 5000 Kbps ...

[HOST] [IPU2  ]     38.619990 s:  ENCODE: CH0: H264EncCreated:H264ENC_TI DEV.500.V.H264AVC.E.IVAHD.02.00.09.01

[HOST] [IPU2  ]     38.620264 s:  ENCODE: Creating CH1 of 1280 x 720,  pitch = (1280, 1280) [1] [0], bitrate = 5000 Kbps ...

[HOST] [IPU2  ]     38.705209 s:  ENCODE: CH1: H264EncCreated:H264ENC_TI DEV.500.V.H264AVC.E.IVAHD.02.00.09.01

[HOST] [IPU2  ]     38.705484 s:  ENCODE: Creating CH2 of 1280 x 720,  pitch = (1280, 1280) [1] [0], bitrate = 5000 Kbps ...

[HOST] [HOST  ]     38.775422 s: cam config i2c time =0

[HOST] [IPU2  ]     38.785609 s:  ENCODE: CH2: H264EncCreated:H264ENC_TI DEV.500.V.H264AVC.E.IVAHD.02.00.09.01

[HOST] [IPU2  ]     38.785884 s:  ENCODE: Creating CH3 of 1280 x 720,  pitch = (1280, 1280) [1] [0], bitrate = 5000 Kbps ...

[HOST] [HOST  ]     38.874184 s:  IPC_IN_1   : Create in progress !!!

[HOST] [HOST  ]     38.874763 s:  IPC_IN_1   : Create Done !!!

[HOST] [HOST  ]     38.874824 s:  NULL Link: Create in progress !!!

[HOST] [HOST  ]     38.874824 s:  NULL Link: Create done !!!

[HOST] [IPU2  ]     38.870920 s:  ENCODE: CH3: H264EncCreated:H264ENC_TI DEV.500.V.H264AVC.E.IVAHD.02.00.09.01

[HOST] [IPU2  ]     38.871195 s:  ENCODE: All CH Create ... DONE !!!

[HOST] [IPU2  ]     38.872872 s:  ENCODE: Create ... DONE !!!

  • Hi,

    I have forwarded your question to VisionSDK expert.

    Regards,
    Yordan
  • Here are some optimization you could try.

    1. Parallelize SGX-init with Blend-LUT creation – The SGX link initialization is the long poll in the 3D-SRV use-case, we can parallelize the blend lut creation when the SGX link is being initialized. This saves ~1s in start-up up time 
    2. Bypass Geometric alignment link – The geometric alignment link of the DSP takes ~4s to compute the geometric alignment LUT. This can be bypassed if a CALMAT / Calibtable is being used (specifically disable the call to SV_GalignRun).