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.

DM8107 , problem size display on VOUT0

Other Parts Discussed in Thread: DM8107

Hi,
I use the DVRRDK 04.01.00.02 on a custom board with a DM8107
I try ti display video on VOUT0 port.
I finally managed to get a video stream on the output of the DM8107 VOUT0 making several changes in the sources of hdvpss and mcfw .
Now, I have another problem, in my monitor the larger of my video is divided by 2.
My usecase is simply this:
CaptureLink (PAL) -> DisplayLink (PAL).

In the HDVPPS (gSystem_dctrlTriDisplayConfig) , my setup is:
BP1_INPUT -> HDCOMP_MUX -> CIG_PIP_INPUT -> DVO2_BLEND.
As can be seen on the picture my image is halved.

Does someone could give me a idea of research to solve my problem ?

An the log:

# [c6xdsp ] Remote Debug Shared Memory @ 0xbfff0000
[m3video] Remote Debug Shared Memory @ 0xbfff5020
[m3vpss ] Remote Debug Shared Memory @ 0xbfffa040

[m3vpss ] 64789: CAPTURE: Create in progress !!!

[m3vpss ] 64800: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Non-mux Embedded Sync] !!!
[m3vpss ] CAPTURE:Create args numBufsPerCh[4] < min[6]Overriding create args
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
[m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
[m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
[m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
[m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
[m3vpss ] CAPTURE::HEAPID:0 USED:328
[m3vpss ] CAPTURE::HEAPID:4 USED:24883200
[m3vpss ] 64915: CAPTURE: Create Done !!!
[m3vpss ] 64915: DISPLAY: Create in progress !!!
[m3vpss ] 64916: DISPLAY: 43: Field Separate Mode ENABLED for Que 0 !!!
[m3vpss ] 64916: DISPLAY: 1: Window size 720x576, 3840B
[m3vpss ] 2: DISPLAY:Limting driver max queue to [8]
[m3vpss ] 64917: DISPLAY: Create Done !!!
[m3vpss ] 66918: DISPLAY: Start in progress !!!
[m3vpss ] 66969: DISPLAY: Start Done !!!
[m3vpss ] 66969: DISPLAY: DVO2(BP1) : 19 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 7669 / 0 ) !!!
[m3vpss ] 66969: CAPTURE: Start in progress !!!
[m3vpss ] 66969: DISPLAY DRV: DVO2(BP1) : Q:[2] Display:[1], Repeat:[0], DQ:[0]
[m3vpss ] 67069: CAPTURE: Enabled Time Stamping !!!
[m3vpss ] 67077: CAPTURE: Start Done !!!
[m3vpss ] CAPTURE : Capture FPS: 0.0 fps ... in 4294900.2 secs
[m3vpss ] 67126: CAPTURE: Dynamic resolution change: width: 720, height: 288!
[m3vpss ]
[m3vpss ] *** Capture Driver Advanced Statistics ***
[m3vpss ]
[m3vpss ] VIP Parser Reset Count : 0
[m3vpss ]
[m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
[m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
[m3vpss ] ------------------------------------------------------------------------------------------------------------
[m3vpss ] 000 | 499 250 249 55 27 27 720 / 720 288 / 288 248 1 0/0 (0/0)
[m3vpss ]
[m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ]
[m3vpss ] *** Capture List Manager Advanced Statistics ***
[m3vpss ]
[m3vpss ] List Post Count : 1251
[m3vpss ] List Stall Count : 0
[m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
[m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 990, 1000)
[m3vpss ] Descriptor miss found count : 0
[m3vpss ]
[m3vpss ]
[m3vpss ] VIP and VPDMA registers,
[m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00000000
[m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00000000
[m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x00020000
[m3vpss ]
[m3vpss ]
[m3vpss ] 77079: CAPTURE: Fields = 251 (fps = 25, CPU Load = 0)
[m3vpss ] 77079: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 77079: SYSTEM : FREE SPACE : System Heap = 245480 B, Mbx = 10238 msgs)
[m3vpss ] 77079: SYSTEM : FREE SPACE : SR0 Heap = 1528960 B (1 MB)
[m3vpss ] 77079: SYSTEM : FREE SPACE : Frame Buffer = 123964288 B (118 MB)
[m3vpss ] 77079: SYSTEM : FREE SPACE : Bitstream Buffer = 94371712 B (89 MB)
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 3776
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 3772
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 61800448 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 1280
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1280
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 41943040 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 77081: SYSTEM : FREE SPACE : Tiler 8-bit = 61800448 B (58 MB) - TILER ON
[m3vpss ] 77081: SYSTEM : FREE SPACE : Tiler 16-bit = 41943040 B (40 MB) - TILER ON
[m3vpss ]
[m3vpss ] *** CAPTURE Statistics ***
[m3vpss ] 77081: CAPTURE: Queued to driver = 253, Dequeued from driver = 251
[m3vpss ] CAPTURE [0] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 251, rdPtr 251
[m3vpss ] 77082: DISPLAY: DVO2(BP1) : 24 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 40 / 40 ) DropCount:0 DispLatency (Min / Max) = ( 7669 / 0 ) !!!
[m3vpss ] 77082: DISPLAY DRV: DVO2(BP1) : Q:[103] Display:[254], Repeat:[152], DQ:[101]
[m3vpss ]
[m3vpss ] *** Display Statistics ***
[m3vpss ] 77082: DISPLAY: Rcvd from prev = 251, Returned to prev = 247, BufsInDriver = 4
[m3vpss ] CAPTURE : Capture FPS: 25.1 fps ... in 10.0 secs
[m3vpss ]
[m3vpss ] *** Capture Driver Advanced Statistics ***
[m3vpss ]
[m3vpss ] VIP Parser Reset Count : 0
[m3vpss ]
[m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
[m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
[m3vpss ] ------------------------------------------------------------------------------------------------------------
[m3vpss ] 000 | 999 500 499 49 25 24 720 / 720 288 / 288 498 1 0/0 (0/0)
[m3vpss ]
[m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ]
[m3vpss ] *** Capture List Manager Advanced Statistics ***
[m3vpss ]
[m3vpss ] List Post Count : 2501
[m3vpss ] List Stall Count : 0
[m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
[m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 990, 1000)
[m3vpss ] Descriptor miss found count : 0
[m3vpss ]
[m3vpss ]
[m3vpss ] VIP and VPDMA registers,
[m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00000000
[m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00000000
[m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x00020000
[m3vpss ]
[m3vpss ]
[m3vpss ] 87084: CAPTURE: Fields = 501 (fps = 25, CPU Load = 0)
[m3vpss ] 87084: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 87084: SYSTEM : FREE SPACE : System Heap = 245480 B, Mbx = 10239 msgs)
[m3vpss ] 87084: SYSTEM : FREE SPACE : SR0 Heap = 1528960 B (1 MB)
[m3vpss ] 87085: SYSTEM : FREE SPACE : Frame Buffer = 123964288 B (118 MB)
[m3vpss ] 87085: SYSTEM : FREE SPACE : Bitstream Buffer = 94371712 B (89 MB)
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 3776
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 3772
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 61800448 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 1280
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1280
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 41943040 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 87086: SYSTEM : FREE SPACE : Tiler 8-bit = 61800448 B (58 MB) - TILER ON
[m3vpss ] 87086: SYSTEM : FREE SPACE : Tiler 16-bit = 41943040 B (40 MB) - TILER ON
[m3vpss ]
[m3vpss ] *** CAPTURE Statistics ***
[m3vpss ] 87087: CAPTURE: Queued to driver = 503, Dequeued from driver = 501
[m3vpss ] CAPTURE [0] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 117, rdPtr 117
[m3vpss ] 87087: DISPLAY: DVO2(BP1) : 24 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 40 / 40 ) DropCount:0 DispLatency (Min / Max) = ( 7669 / 0 ) !!!
[m3vpss ] 87087: DISPLAY DRV: DVO2(BP1) : Q:[203] Display:[504], Repeat:[302], DQ:[201]
[m3vpss ]
[m3vpss ] *** Display Statistics ***
[m3vpss ] 87087: DISPLAY: Rcvd from prev = 501, Returned to prev = 497, BufsInDriver = 4
[m3vpss ] CAPTURE : Capture FPS: 25.0 fps ... in 10.0 secs
[m3vpss ]
[m3vpss ] *** Capture Driver Advanced Statistics ***
[m3vpss ]
[m3vpss ] VIP Parser Reset Count : 0
[m3vpss ]
[m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
[m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
[m3vpss ] ------------------------------------------------------------------------------------------------------------
[m3vpss ] 000 | 1500 751 749 50 25 24 720 / 720 288 / 288 749 1 0/0 (0/0)
[m3vpss ]
[m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
[m3vpss ]
[m3vpss ] *** Capture List Manager Advanced Statistics ***
[m3vpss ]
[m3vpss ] List Post Count : 3752
[m3vpss ] List Stall Count : 0
[m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
[m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 990, 1000)
[m3vpss ] Descriptor miss found count : 0
[m3vpss ]
[m3vpss ]
[m3vpss ] VIP and VPDMA registers,
[m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00000000
[m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00000000
[m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x00020000
[m3vpss ]
[m3vpss ]
[m3vpss ] 97089: CAPTURE: Fields = 751 (fps = 25, CPU Load = 0)
[m3vpss ] 97090: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 97090: SYSTEM : FREE SPACE : System Heap = 245480 B, Mbx = 10239 msgs)
[m3vpss ] 97090: SYSTEM : FREE SPACE : SR0 Heap = 1528960 B (1 MB)
[m3vpss ] 97090: SYSTEM : FREE SPACE : Frame Buffer = 123964288 B (118 MB)
[m3vpss ] 97090: SYSTEM : FREE SPACE : Bitstream Buffer = 94371712 B (89 MB)
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 3776
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 3772
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 61800448 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 1280
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1280
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 41943040 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 97091: SYSTEM : FREE SPACE : Tiler 8-bit = 61800448 B (58 MB) - TILER ON
[m3vpss ] 97091: SYSTEM : FREE SPACE : Tiler 16-bit = 41943040 B (40 MB) - TILER ON
[m3vpss ]
[m3vpss ] *** CAPTURE Statistics ***
[m3vpss ] 97092: CAPTURE: Queued to driver = 753, Dequeued from driver = 751
[m3vpss ] CAPTURE [0] Buf Q Status
[m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
[m3vpss ] Full Q -> count 0, wrPtr 367, rdPtr 367
[m3vpss ] 97092: DISPLAY: DVO2(BP1) : 24 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 40 / 40 ) DropCount:0 DispLatency (Min / Max) = ( 7669 / 0 ) !!!
[m3vpss ] 97092: DISPLAY DRV: DVO2(BP1) : Q:[303] Display:[754], Repeat:[452], DQ:[301]
[m3vpss ]
[m3vpss ] *** Display Statistics ***
[m3vpss ] 97093: DISPLAY: Rcvd from prev = 751, Returned to prev = 747, BufsInDriver = 4
[m3vpss ] CAPTURE : Capture FPS: 24.9 fps ... in 10.0 secs

Regards

  • Hello,

    e2e.ti.com/.../224844 or could try to search in e2e for similar issue.

    BR
    Margarita
  • This is that I do !!!
    I search similar issue but I dont found it !

    As we can see from the recorded signal on the oscilloscope, the image (payload) is not defined on a line but on half.

    I tried through a SWMS module and I added the white border.
    I see that the image is not cut but resize in width.
    The output that I use is the port VOUT0 of the DM8107 and is connected to an ADV7391 component.

    The signal is good since recognized by ADV, but the contained is invalid.

    My problem is that I can not know if the change ofthe width of the image is made in the hdvpss code or in LinkApi.

    What about you?
    A little help please !!
    Regards
  • Can you please press 'p' when demo is running? it will print the input and output size for all the links, then you could find out the link creating the problem.
    Regards,Brijesh
  • Hi Brijesh,
    Thank you for your response.
    I don't use usecase of mcfw demo. I use a custom application.
    I don't see in the programs demo (mcfw_demo, link_api_demo and link_api_sd_demo) the 'p' command to print output and input size for the links.
    Can you tell me what is the command necessart to obtain this log ?

    Regrads
  • ok, in that case, just check if display is getting half size frame, then debug back from display to check which link is providing half frame.
    If the display is getting complete frame with the correct frame size, display is configuration is somewhere wrong, which needs to be fixed in the display firmware..
    Rgds,Brijesh
  • Hi Brijesh,

    If I understand that you say, I should add debug in diplayLink_drv.c (links_m3vpss) .

    Can you tell me the functions where it is relevant to add debug and what log ?

    Thanks.

  • Please put break point in DisplayLink_drvHandleDynamicPitchChange
    DisplayLink_drvSetResolutionDisplayLink_drvSetFmtand check the input resolution.
    Rgds,Brijesh
  • Thanks,

    I do it today and I come back to you.

    Regards

  • Hi Brijesh,
    I have add debug in displayLink ( *** DISPLAY).
    My usescase is currently : CAPTURE (1x720x576i50) -> DEI -> SWMS -> DISPLAY (1x720x576i50)

    I see in the log that I never happens in DisplayLink_drvSetResolution and DisplayLink_drvHandleDynamicPitch functions.

    I tried to force the call of the function DisplayLink_drvSetResolution with DISPLAY_LINK_CMD_CHANGE_RESOLUTION system link control, but none of my debug messages appear.

    In the log bellow, i don't understand the values of the pitch Y/C input / output. In don't resize the resolution therefore, these values should be identical.

    Ca you explain me this difference ?
    How is calculated the pitch size ?

    This is the log :
    [c6xdsp ] Remote Debug Shared Memory @ 0xbfff0000
    [m3video] Remote Debug Shared Memory @ 0xbfff5020
    [m3vpss ] Remote Debug Shared Memory @ 0xbfffa040

    [m3vpss ] Debug HDVPSS: System_displayCtrlInit
    [m3vpss ] Debug HDVPSS: before System_displayUnderflowCheck
    [m3vpss ] Debug HDVPSS: tie gSystem_dctrlTriDisplayConfigHdmiDvo2
    [m3vpss ] Debug HDVPSS: before System_configVencInfo
    [m3vpss ] Debug HDVPSS: before System_dispSetPixClk
    [m3vpss ] Debug HDVPSS: before fvidDisplayCtrl
    [m3vpss ] Debug HDVPSS: before FVID2_control DVO2
    [m3vpss ] Debug HDVPSS: before FVID2_control HDCOMP
    [m3vpss ] Debug HDVPSS: tiedVencs VPS_DC_VENC_HDMI | VPS_DC_VENC_DVO2
    [m3vpss ] Debug HDVPSS: before System_platformSelectHdCompClkSrc
    [m3vpss ] Debug HDVPSS: before last FVID2_control

    [m3vpss ] 39813: CAPTURE: Create in progress !!!
    [m3vpss ] 39824: CAPTURE: VIP0 PortA capture mode is [ 8-bit, Non-mux Embedded Sync] !!!
    [m3vpss ] CAPTURE:Create args numBufsPerCh[4] < min[6]Overriding create args
    [m3vpss ] 39911: CAPTURE: 0: 0xb672c480, 960 x 1080, 001fa400 B
    [m3vpss ] 39911: CAPTURE: 1: 0xb6a23a80, 960 x 1080, 001fa400 B
    [m3vpss ] 39911: CAPTURE: 2: 0xb6d1b080, 960 x 1080, 001fa400 B
    [m3vpss ] 39911: CAPTURE: 3: 0xb7012680, 960 x 1080, 001fa400 B
    [m3vpss ] 39911: CAPTURE: 4: 0xb7309c80, 960 x 1080, 001fa400 B
    [m3vpss ] 39911: CAPTURE: 5: 0xb7601280, 960 x 1080, 001fa400 B
    [m3vpss ] 39911: CAPTURE: 0xb672c480 00bdd800 B
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
    [m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
    [m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
    [m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
    [m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
    [m3vpss ] CAPTURE::HEAPID:0 USED:328
    [m3vpss ] CAPTURE::HEAPID:4 USED:18662400
    [m3vpss ] 39912: CAPTURE: Create Done !!!
    [m3vpss ] 39913: DEI : Create in progress !!!
    [m3vpss ] DEI: Ch 0, Outformat is PROGRESSIVE
    [m3vpss ] 39937: DEI: OUT0: 0: Format: PROGRESSIVE, 0xb78f8880, 720 x 576, 6 frames
    [m3vpss ] 39938: DEI : Loading Down-scaling Co-effs
    [m3vpss ] 39938: DEI : Co-effs Loading ... DONE !!!
    [m3vpss ] 39938:DEI:Resolution LinkId[0x20000026],ChId[0],inW[1920],inH[1080],outW[720],outH[576]
    [m3vpss ] 39938:DEI:ScalerCoeff LinkId[0x20000026],DEI_SC :HorzCoeff:VPS_SC_DS_SET_5_16,VertCoeff:VPS_SC_DS_SET_8_16
    [m3vpss ] DEI:HEAPID:0 USED:64
    [m3vpss ] DEI:HEAPID:1 USED:4048
    [m3vpss ] DEI:HEAPID:4 USED:4976640
    [m3vpss ] 39939: DEI : Create Done !!!
    [m3vpss ] 39939: SWMS: Create in progress !!!
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 59 (59)
    [m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 60 (60)
    [m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 60 (0x49004780)
    [m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 67 (0x49004860)
    [m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 160 (0x49005400)
    [m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 161 (0x49005420)
    [m3vpss ] SWMS: instance 0, sc id 3, start win 0 end win 17
    [m3vpss ] 39973: SWMS0 : Loading Vertical Co-effs (UPSCALE)x ...
    [m3vpss ] 39973: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x ...
    [m3vpss ] 39973: SWMS : Co-effs Loading ... DONE !!!
    [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[1]
    [m3vpss ] 39974: SWMS: 0: Format: PROGRESSIVE, 720 x 576
    [m3vpss ] 39974: SWMS : ******* Configuring clock 37 secs...
    [m3vpss ] 39974: SWMS0 : Loading Vertical Co-effs (UPSCALE)x ...
    [m3vpss ] 39974: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x ...
    [m3vpss ] 39974: SWMS : Co-effs Loading ... DONE !!!
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ] Output FPS: 25
    [m3vpss ]
    [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Scan | Low Cost | SWMS | Data | Blank |
    [m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Fmt | ON / OFF | Inst | Format| Frame |
    [m3vpss ] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 0 | 0, 0 | 720 x 288 | 2880 / 2880 | NON-TILED | 0, 0 | 720 x 576 | 1472 / 0 | NON-TILED | PROGRESSIVE | ON | 0 | 422I | OFF |
    [m3vpss ]
    [m3vpss ] SWMS:HEAPID:0 USED:360
    [m3vpss ] SWMS:HEAPID:1 USED:47296
    [m3vpss ] SWMS:HEAPID:4 USED:5087232
    [m3vpss ] 39976: SWMS: Create Done !!!
    [m3vpss ] 39976: DISPLAY: Create in progress !!!
    [m3vpss ] 39977: DISPLAY: 1: Window size 720x576, 1472B
    [m3vpss ] *** DISPLAY DisplayLink_drvSetFmt
    [m3vpss ] *** DISPLAY : pFormat->channelNum 0
    [m3vpss ] *** DISPLAY : pFormat->width 720
    [m3vpss ] *** DISPLAY : pFormat->height 576
    [m3vpss ] *** DISPLAY : pFormat->dataFormat 1
    [m3vpss ] *** DISPLAY : pFormat->scanFormat 0
    [m3vpss ] *** DISPLAY : pFormat->bpp 5
    [m3vpss ] *** DISPLAY : 0 pFormat->pitch 1472
    [m3vpss ] *** DISPLAY : 0 pFormat->fieldMerged 1
    [m3vpss ] *** DISPLAY : 1 pFormat->pitch 0
    [m3vpss ] *** DISPLAY : 1 pFormat->fieldMerged 1
    [m3vpss ] *** DISPLAY : 2 pFormat->pitch 0
    [m3vpss ] *** DISPLAY : 2 pFormat->fieldMerged 1
    [m3vpss ] *** DISPLAY DisplayLink_drvSetFmt: not Dei
    [m3vpss ] 2: DISPLAY:Limting driver max queue to [8]
    [m3vpss ] 39978: DISPLAY: Create Done !!!
    [m3vpss ] 42979: DISPLAY: Start in progress !!!
    [m3vpss ] 43033: DISPLAY: Start Done !!!
    [m3vpss ] 43033: DISPLAY: DVO2(BP1) : 18 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 7669 / 0 ) !!!
    [m3vpss ] 43034: SWMS: Start in Progress !!!
    [m3vpss ] 43034: SWMS: Start Done !!!
    [m3vpss ] 43034: DISPLAY DRV: DVO2(BP1) : Q:[2] Display:[1], Repeat:[0], DQ:[0]
    [m3vpss ] 43034: CAPTURE: Start in progress !!!
    [m3vpss ] 43134: CAPTURE: Enabled Time Stamping !!!
    [m3vpss ] 43142: CAPTURE: Start Done !!!
    [m3vpss ] CAPTURE : Capture FPS: 0.0 fps ... in 4294924.1 secs
    [m3vpss ] 43175: CAPTURE: Dynamic resolution change: width: 720, height: 288!
    [m3vpss ] 43207:DEI:Resolution LinkId[0x20000026],ChId[0],inW[720],inH[288],outW[720],outH[576]
    [m3vpss ] 43207:DEI:ScalerCoeff LinkId[0x20000026],DEI_SC :HorzCoeff:VPS_SC_SET_1_1,VertCoeff:VPS_SC_US_SET
    [m3vpss ] SWMS0 : Output FPS: 17.3 fps , Total Window FPS: 16.9 fps ... in 10.0 secs
    [m3vpss ]
    [m3vpss ] *** Capture Driver Advanced Statistics ***
    [m3vpss ]
    [m3vpss ] VIP Parser Reset Count : 0
    [m3vpss ]
    [m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
    [m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
    [m3vpss ] ------------------------------------------------------------------------------------------------------------
    [m3vpss ] 000 | 500 250 250 55 27 27 720 / 720 288 / 288 1 0 0/0 (0/0)
    [m3vpss ]
    [m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
    [m3vpss ]
    [m3vpss ] *** Capture List Manager Advanced Statistics ***
    [m3vpss ]
    [m3vpss ] List Post Count : 1251
    [m3vpss ] List Stall Count : 0
    [m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
    [m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 990, 1000)
    [m3vpss ] Descriptor miss found count : 0
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] VIP and VPDMA registers,
    [m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00000000
    [m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00000000
    [m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x00020000
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] 53144: CAPTURE: Fields = 498 (fps = 49, CPU Load = 0)
    [m3vpss ] 53144: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
    [m3vpss ] 53144: SYSTEM : FREE SPACE : System Heap = 245056 B, Mbx = 10238 msgs)
    [m3vpss ] 53145: SYSTEM : FREE SPACE : SR0 Heap = 1528960 B (1 MB)
    [m3vpss ] 53145: SYSTEM : FREE SPACE : Frame Buffer = 120121216 B (114 MB)
    [m3vpss ] 53145: SYSTEM : FREE SPACE : Bitstream Buffer = 94371712 B (89 MB)
    [m3vpss ] TILER_STATS: CNT :8BIT
    [m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 3776
    [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 3772
    [m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
    [m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
    [m3vpss ] TILER_STATS: TOTAL FREE AREA: 61800448 (99 %)
    [m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
    [m3vpss ] TILER_STATS: CNT :16BIT
    [m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 1280
    [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1280
    [m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
    [m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
    [m3vpss ] TILER_STATS: TOTAL FREE AREA: 41943040 (100 %)
    [m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
    [m3vpss ] 53146: SYSTEM : FREE SPACE : Tiler 8-bit = 61800448 B (58 MB) - TILER ON
    [m3vpss ] 53146: SYSTEM : FREE SPACE : Tiler 16-bit = 41943040 B (40 MB) - TILER ON
    [m3vpss ]
    [m3vpss ] *** CAPTURE Statistics ***
    [m3vpss ] 53147: CAPTURE: Queued to driver = 504, Dequeued from driver = 499
    [m3vpss ] CAPTURE [0] Buf Q Status
    [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] Full Q -> count 1, wrPtr 115, rdPtr 114
    [m3vpss ]
    [m3vpss ] *** [DEI0 ] DEI Statistics ***
    [m3vpss ]
    [m3vpss ] Elasped Time : 13 secs
    [m3vpss ] Total Fields Processed : 249
    [m3vpss ] Total Fields FPS : 508 FPS
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] CH | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
    [m3vpss ] Num | FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS FPS Skip FPS Skip FPS Skip FPS Skip FPS Skip FPS Min / Max
    [m3vpss ] -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 38 19 19 19 0 0 0 0 0 19 0 0 0 0 0 0 0 0 11 / 27
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] *** [DEI0 ] DEI Statistics ***
    [m3vpss ] 53149: DEI: Rcvd from prev = 499, Returned to prev = 499
    [m3vpss ] DEI Out [0] Buf Q Status
    [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] Full Q -> count 0, wrPtr 249, rdPtr 249
    [m3vpss ] DEI Out [1] Buf Q Status
    [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] DEI Out [2] Buf Q Status
    [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] DEI Out [3] Buf Q Status
    [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] DEI Out [4] Buf Q Status
    [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Driver Statistics ***
    [m3vpss ] 0) *** Drv Inst [3], handle 8F02DAE4, NON_DEI
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Statistics ***
    [m3vpss ]
    [m3vpss ] Elasped Time: 10 secs
    [m3vpss ]
    [m3vpss ] Output Request FPS : 25 fps (253 frames)
    [m3vpss ] Output Actual FPS : 25 fps (253 frames)
    [m3vpss ] Output Drop FPS : 0 fps (0 frames)
    [m3vpss ] Output Reject FPS : 0 fps (0 frames)
    [m3vpss ] Scaling Internal : 39 ms
    [m3vpss ] Scaling Internal min : 40 ms
    [m3vpss ] Scaling Internal max : 40 ms
    [m3vpss ]
    [m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency OutBufCopy InBufCopy
    [m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max FPS FPS
    [m3vpss ] ---------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 24 0 0 24 24 0 0 ( 0/255) 0 0 0 31 / 32 0 0
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Parameters ***
    [m3vpss ]
    [m3vpss ] Output FPS: 25
    [m3vpss ]
    [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Scan | Low Cost | SWMS | Data | Blank |
    [m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Fmt | ON / OFF | Inst | Format| Frame |
    [m3vpss ] ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    [m3vpss ] 0 | 0 | 0, 0 | 720 x 288 | 2880 / 2880 | NON-TILED | 0, 0 | 720 x 576 | 1472 / 0 | NON-TILED | PROGRESSIVE | ON | 0 | 422I | OFF |
  • Hi Nocolas,

     

    Normal print statements does not come here, you need to Vps_printf statement to print the message to get them on the console. Please take the complete log from the start, it will be there once you use Vps_printf statement..

     

     

    rgds,

    Brijesh

  • I know it !
    It's that I do. I have no more information than what I posted.

    Can you explain the pitch values ?

    Thanks

  • ok, actually, there are not registers to check if frame size is configured correctly. Its all programmed in descriptor, from which it is difficult to know the frame size.
    Before this, can you dump the value at the offset 0x48100114? I want to check if the clocks are configured correctly in this registers.
    Rgds,Brijesh
  • Hi Brijesh,

    In the register 0x48100114, I read the value 0x0009010D.

    In the register 0x48100118, I read 0x0000000F.

    The HD_VENC_D_register :

    0x04810A000 : 0x5420305C

    0x04810A028 : 0x842716C0

    0x04810A030 : 0x805AA103

    0x04810A034 : 0x00000137

    0x04810A03C : 0x805A211E

    0x04810A040 : 0x00019000

    0x04810A044 : 0x00120150

    0x04810A048 0x02002120

    0x04810A04C : 0x02001142

    0x04810A050 :0x0013E13A

    0x04810A054 :0x805A2116

    0x04810A058 : 0x00018001

    0x04810A05C : 0x00120150

    0x04810A060 : 0x02001120

    0x04810A064 : 0x0200412B

    For me, all is correctly configured. The ITU's signals that are produced in DVO2 are good, but, it is the picture payload that is malformed.
    In the scope capture, the line duration is 64µs (normal) and the frame duration is 20 ms (720x576i50). All is good at this level.

    Where's the reduction factor by 2 ??? I'm searching in the sources code and datasheets, I do not find this information.

    Regards

  • Hi Nicolas,
    Did you check the hdvpss patches from the below link? PAL mode is working fine with these patches on DVO2 output. Also can you try resetting bit16 at 0x48100114?
    e2e.ti.com/.../230439
    Rgds,Brijesh
  • When I reset the bit 16 at 0x048100114, the width seems good, but the video in not correctly displayed.

    There is a line dithering problem.

    See below :

    Regarding the patch you indicate, I based him to realize the change in my environment.

  • ok, it looks like timing information is still not correct, can you use timing information for the VENC from the link i shared.
    Also please make sure that the input pclk is configured to output 27MHz clock.
    Regards,Brijesh
  • Thanks,
    When You say configure the pclk to 27MHz, can you explain where I have to make the change ?
  • In vpshal_hdvenc.c, I use this configuration :
    {FVID2_STD_PAL, 1442, 576, FVID2_SF_INTERLACED, 27000, 25, 24, 134, 128, 2, 20, 2}, 4, 4, 4},
    The pclk used is already set to 27MHz... or is not the good.

    when I try to use the values that are in the patch
    {{FVID2_STD_PAL, 720, 576, FVID2_SF_INTERLACED, 27000, 30, 12, 68, 64, 2, 19, 3}, 4, 4, 4},
    the result is not good, the VOUT0 output signals are nor recognize by the video decoder ADV7391, then, the line duration is 32µs and the frame duration is 10 ms !!
  • Ok Brijesh, it s solved.
    I have apply in vpshal_hdvenc.c the values of the patch, and i have manually reset the bit 16 at 0x048100114.
    The resolution is good.

    Thank you for your patience
    Regards
  • Glad to hear  it started working.

    Regards,

    Brijesh