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.

TDA2EVM5777: 1080p LCD display

Part Number: TDA2EVM5777

Hi,

1.run the apps.out on the hlos,and run '5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)'

2.i want to modify display to lcd,and i modify the config:

~\vision_sdk\apps\src\hlos\adas\include\chains.h

3.the error:

regards,

cesar

  • Hi Cesar,

    This error is from the decoder and has nothing to do with LCD>

    Did you use proper hdr file in this usecase?

    The decoder error says , decoder did not get a valid frame.

    Is this working without any of the changes?

    RamPrasad

  • Hi RamPrasad,

    the hdr file is corrected and remove the error,but the lcd is not output, i only modify the config:

    pPrm->displayType = CHAINS_DISPLAY_TYPE_LDC_10_INCH_LCDCTRL_TC358778_MIPI_DSI_1920_1200;

    regards,

    cesar

  • Hi,

    You no need to do any changes in the code for choosing the display type.

    after boot-up, press 'S' from the keyboard then choose your display type.

    Thanks

    Gaviraju

  • Hi,

    the option lcd is 1280x720,i think it is not matched,the lcd still no output.

     [HOST] [HOST  ]  ================
     [HOST] [HOST  ]  Display Settings
     [HOST] [HOST  ]  ================
     [HOST] [HOST  ]
     [HOST] [HOST  ]  1: LCD  10-inch 1280x720@60fps
     [HOST] [HOST  ]  2: HDMI 1080P60

    the log:

    ===================================================================================================================

     [HOST] [HOST  ]  ================
     [HOST] [HOST  ]  Display Settings
     [HOST] [HOST  ]  ================
     [HOST] [HOST  ]
     [HOST] [HOST  ]  1: LCD  10-inch 1280x720@60fps
     [HOST] [HOST  ]  2: HDMI 1080P60
     [HOST] [HOST  ]
     [HOST] [HOST  ]  x: Exit
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]
     [HOST] [HOST  ]     47.973464 s:
    1
     [HOST] [HOST  ]     67.766241 s:
     [HOST] [HOST  ]
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  Vision SDK Usecases
     [HOST] [HOST  ]  ====================
     [HOST] [HOST  ]  1: Single Camera Usecases
     [HOST] [HOST  ]  2: Multi-Camera LVDS Usecases
     [HOST] [HOST  ]  3: Open-Compute Usecases
     [HOST] [HOST  ]  6: Radar Usecases
     [HOST] [HOST  ]
     [HOST] [HOST  ]  7: PCIe SSD card Write Test
     [HOST] [HOST  ]  p: CPU Status
     [HOST] [HOST  ]  i: Show IP Addr (IPU + NDK + AVB)
     [HOST] [HOST  ]
     [HOST] [HOST  ]  s: System Settings
     [HOST] [HOST  ]
     [HOST] [HOST  ]  x: Exit
     [HOST] [HOST  ]  z: Exit - AND SHUTDOWN Remote CPUs
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]
    1
     [HOST] [HOST  ]     74.727078 s:
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  2: 1CH VIP capture + Encode + Decode + SGX Copy + DISPLAY
     [HOST] [HOST  ]  3: 1CH VIP capture + Alg FrameCopy (EVE1) + SGX Copy + DISPLAY - (TDA2xx ONLY)
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  6: 1CH VIP capture + Alg Frame Copy (A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  7: 1CH VIP + Alg Frame Copy (A15) + Connetor Links (Dup, Merge, Select, Gate on A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]
     [HOST] [HOST  ]  x: Exit
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]
     [HOST] [HOST  ]     74.727078 s:
     [HOST] [HOST  ]     74.727109 s:  Unsupported option '
     [HOST] [HOST  ] '. Please try again
     [HOST] [HOST  ]     74.727109 s:
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  2: 1CH VIP capture + Encode + Decode + SGX Copy + DISPLAY
     [HOST] [HOST  ]  3: 1CH VIP capture + Alg FrameCopy (EVE1) + SGX Copy + DISPLAY - (TDA2xx ONLY)
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  6: 1CH VIP capture + Alg Frame Copy (A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  7: 1CH VIP + Alg Frame Copy (A15) + Connetor Links (Dup, Merge, Select, Gate on A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]
     [HOST] [HOST  ]  x: Exit
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]
    1^H
     [HOST] [HOST  ]     79.191118 s:
     [HOST] [HOST  ]     79.191118 s:  Unsupported option '
     [HOST] [HOST  ] '. Please try again
     [HOST] [HOST  ]     79.191118 s:
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  2: 1CH VIP capture + Encode + Decode + SGX Copy + DISPLAY
     [HOST] [HOST  ]  3: 1CH VIP capture + Alg FrameCopy (EVE1) + SGX Copy + DISPLAY - (TDA2xx ONLY)
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  6: 1CH VIP capture + Alg Frame Copy (A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  7: 1CH VIP + Alg Frame Copy (A15) + Connetor Links (Dup, Merge, Select, Gate on A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]
     [HOST] [HOST  ]  x: Exit
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]

     [HOST] [HOST  ]     80.471146 s:
     [HOST] [HOST  ]     80.471146 s:  Unsupported option '
     [HOST] [HOST  ] '. Please try again
     [HOST] [HOST  ]     80.471146 s:
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Single Camera Usecases
     [HOST] [HOST  ]  ------------------------
     [HOST] [HOST  ]  1: 1CH VIP capture + SGX Copy + DISPLAY
     [HOST] [HOST  ]  2: 1CH VIP capture + Encode + Decode + SGX Copy + DISPLAY
     [HOST] [HOST  ]  3: 1CH VIP capture + Alg FrameCopy (EVE1) + SGX Copy + DISPLAY - (TDA2xx ONLY)
     [HOST] [HOST  ]  5: NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported)
     [HOST] [HOST  ]  6: 1CH VIP capture + Alg Frame Copy (A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  7: 1CH VIP + Alg Frame Copy (A15) + Connetor Links (Dup, Merge, Select, Gate on A15) + SGX Copy + DISPLAY
     [HOST] [HOST  ]  8: DispDistSrc (weston) + Display (1920x1080 HDMI)
     [HOST] [HOST  ]
     [HOST] [HOST  ]  x: Exit
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]
    5
     [HOST] [HOST  ]     82.934972 s:
     [HOST] [HOST  ]     82.935033 s:
     [HOST] [HOST  ]
     [HOST] [HOST  ]  =========================================
     [HOST] [HOST  ]  Chains Run-time Codec Type Selection Menu
     [HOST] [HOST  ]  =========================================
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter '0' for MJPEG
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter '1' for H.264
     [HOST] [HOST  ]
     [HOST] [HOST  ]  Enter Choice:
     [HOST] [HOST  ]
    1
     [HOST] [HOST  ]     84.612700 s:  IPC_OUT_0   : Create in progress !!!
     [HOST] [HOST  ]     84.612792 s:  IPC_OUT_0   : Create Done !!!
     [HOST] [IPU2  ]     84.612944 s:  IPC_IN_0   : Create in progress !!!
     [HOST] [IPU2  ]     84.614103 s:  IPC_IN_0   : Create Done !!!
     [HOST] [IPU2  ]     84.614591 s:  DECODE: Create in progress ... !!!
     [HOST] [IPU2  ]     85.042091 s:  DECODE: Creating CH0 of 1920 x 1080 [1] [0],target bitrate = 10000 Kbps ...
     [HOST] [IPU2  ]     85.042945 s:  DECODE: All CH Create ... DONE !!!
     [HOST] [IPU2  ]     85.044836 s:  DECODE: Create ... DONE !!!
     [HOST] [IPU2  ]     85.045263 s:  VPE: Create in progress !!!
     [HOST] [IPU2  ]     85.276581 s:  VPE: Loading Down-scaling Co-effs
     [HOST] [IPU2  ]     85.276825 s:  VPE: Co-effs Loading ... DONE !!!
     [HOST] [IPU2  ]     85.277038 s:  VPE: Create Done !!!
     [HOST] [IPU2  ]     85.277465 s:  DISPLAY: Create in progress !!!
     [HOST] [IPU2  ]     85.278045 s:  DISPLAY: Create Done !!!
     [HOST] [DSP1  ]     85.378759 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [DSP1  ]     85.378789 s:  SYSTEM: Heap = LOCAL_L2             @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
     [HOST] [DSP1  ]     85.378820 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 524288 B (512 KB), Free size = 516016 B (503 KB)
     [HOST] [DSP2  ]     85.379033 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [DSP2  ]     85.379094 s:  SYSTEM: Heap = LOCAL_L2             @ 0x00800000, Total size = 227264 B (221 KB), Free size = 227264 B (221 KB)
     [HOST] [DSP2  ]     85.379125 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 524288 B (512 KB), Free size = 516016 B (503 KB)
     [HOST] [EVE1  ]     85.379643 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [EVE1  ]     85.379948 s:  SYSTEM: Heap = LOCAL_L2             @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
     [HOST] [EVE1  ]     85.380467 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
     [HOST] [EVE2  ]     85.381504 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [EVE2  ]     85.381778 s:  SYSTEM: Heap = LOCAL_L2             @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
     [HOST] [EVE2  ]     85.382327 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
     [HOST] [EVE3  ]     85.383639 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [EVE3  ]     85.383944 s:  SYSTEM: Heap = LOCAL_L2             @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
     [HOST] [EVE3  ]     85.384462 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
     [HOST] [EVE4  ]     85.385469 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [EVE4  ]     85.385743 s:  SYSTEM: Heap = LOCAL_L2             @ 0x40020000, Total size = 22528 B (22 KB), Free size = 22528 B (22 KB)
     [HOST] [EVE4  ]     85.386292 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 254160 B (248 KB)
     [HOST] [IPU2  ]     85.387085 s:  SYSTEM: SW Message Box Msg Pool, Free Msg Count = 1023
     [HOST] [IPU2  ]     85.387238 s:  SYSTEM: Heap = LOCAL_DDR            @ 0x00000000, Total size = 262144 B (256 KB), Free size = 247896 B (242 KB)
     [HOST] [IPU2  ]     85.387390 s:  SYSTEM: Heap = SR_OCMC              @ 0x00000000, Total size = 0 B (0 KB), Free size = 0 B (0 KB)
     [HOST] [IPU2  ]     85.387756 s:  SYSTEM: Heap = SR_DDR_CACHED        @ 0x84203000, Total size = 314572800 B (300 MB), Free size = 258926592 B (246 MB)
     [HOST] [IPU2  ]     85.387970 s:  SYSTEM: Heap = SR_DDR_NON_CACHED    @ 0xa0100000, Total size = 1045376 B (0 MB), Free size = 851840 B (0 MB)
     [HOST] [IPU2  ]     85.388397 s:  DISPLAY: Start in progress !!!
     [HOST] [IPU2  ]     85.388519 s:  DISPLAY: Start Done !!!
     [HOST] [HOST  ]     85.392454 s:
     [HOST] [HOST  ]
    ===================================================================================================================

    regards,

    cesar

  • Hi,

    the lcd all config:

        CHAINS_DISPLAY_TYPE_LCD_7_INCH = 0,
         /**< Output displayed on 7 inch LCD */
         CHAINS_DISPLAY_TYPE_LCD_10_INCH,
         /**< Output displayed on 10-inch LCD */
         CHAINS_DISPLAY_TYPE_LDC_10_INCH_LCDCTRL_TC358778_MIPI_DSI_1920_1200,
         /**< Output is displayed on 10Inch 1920x1200 LDC */

    I tested that everything didn't work..

    regards,

    cesar

  • Hi,

    You are running use-case in Linux is (NullSrc + Decode + Display (Only 1920x1080 H264/MJPEG Video Input Bit-Stream Supported))'

    The supported display option in Linux is

    1: LCD  10-inch 1280x720@60fps
    2: HDMI 1080P60.

    By default, the HDMI display is configured & you can choose the display at run time.

    If you choose the LCD display option, then you have to do changes in use-case because in the use-case the input & display is configured for 1920x1080 resolution.

    Thanks

    Gaviraju

  • Hi,

    are you sure ? the evm lcd is 1080p and , the usecase already get the resolution from the config:

    I hope you can test it and then reply to me.

    thanks

    cesar