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.

Problem with SD output (ti8148) in DVRRDK_02.00.00.23

HI:

my SD output has half second latency , but HDMI output almost no latency , is there buffering my output frame , then cause the SD output latency??

if has the buffer , how can i empty it??

or any suggestion  for me??

my package is DVRRDK_02.00.00.23

Thanks everyone ~~

  • It is expected for SD to have higher latency than HDMI because SD operates at 30 fps whereas HDMI operates at 60 fps. Also SD display driver holds three frames internally contributing to additional delay. There are some changes that can reduce latency:

    1.Set swMsPrm.numOutBuf  = 4 for the SwMs before the SD display.

    2. Drop buffers in display link when more than 3 buffer is there,( in Displaylink_processdata in file /dvr_rdk/mcfw/src_bios6/links_m3vpss/display/displayLink_drv.c)

                pFrame = frameList.frames[frameIdx];

                frameIdx++;

                UTILS_assert(pFrame != NULL);

    ++            if ((pFrame->channelNum == pObj->curDisplayChannelNum)

    ++                && (pObj->numBufsInDriver <= 3)) /* Limiting queuing to max 3 buffers */

                {

                    Bool frameReject;

                    UInt32 pitch0,pitch1;

    Also Pls migrate to latest RDK release if possible (Latest RDK release 3.0.1). This release supports a feature of synchronizing the SwMs scaling to the display interrupt and will prevent SwMs from buffering too many frames in display .

  • HI Badri Narayanan:

    thx for ur reply , it looks have some effect for latency, i got lower latency but still not real_time

    anyway, i will update to drk 3.0

    big thank for your help