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.

Black screen on HDMI and Composite video



After loading uImage on my custom board and start Matrix GUI, the monitor displays a black screen as the HDMI and the composite video output.

The same image loaded on EVM  is working: dispay matrix GUI app.

Almost any manipulation of the driver VPSS, the following error:

VPSS_FVID2: contrl event 0x1004001a timeout
VPSS_DCTRL: failed to get venc info.
VPSS_FVID2: queue timeout
detected fb_set_par error, error code: -110
ioctl FBIOPUT_VSCREENINFO: Connection timed out


What could be the reason for the error? The only difference between my board of EVM is that the DDR3 is clocked at 400MHz.

  • Hello,

    Could you check the resolution that you are setup?

    What is the software release that you are using here?

    Best Regards,

    Margarita

  • I'm using settings by default with latest EZSDK 5.05.02.00, filesystem also by default: ezsdk-dm816x-evm-rootfs.tar.gz, make with mkimage

    bootargs:

    bootargs=console=ttyO2,115200n8 root=/dev/mmcblk0p2 mem=300M@0x80000000 rw rootwait rootdelay=3 notifyk.vpssm3_sva=0xbf900000 vram=50M ti816xfb.vram=0:16M,1:16M,2:6M

    ....

    Starting system message bus: dbus.
    Starting telnet daemon.
    Starting syslogd/klogd: done
    Starting thttpd.
    Starting PVR
    Starting Matrix GUI application.

     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|

    Arago Project http://arago-project.org dm816x-evm ttyO2
    Arago 2011.09 dm816x-evm ttyO2
    dm816x-evm login: root
    root@dm816x-evm:~# /etc/init.d/matrix-gui-e stop
    Stopping Matrix GUI application.
    root@dm816x-evm:~# /etc/init.d/pvr-init stop
    Stopping PVR

    root@dm816x-evm:~# echo 0 > /sys/devices/platform/vpss/graphics0/enabled
    VPSS_FVID2: contrl event 0x6 timeout
    root@dm816x-evm:~#

    root@dm816x-evm:~# echo 0 > /sys/devices/platform/vpss/display0/enabled
    VPSS_FVID2: contrl event 0x1004001a timeout
    VPSS_DCTRL: failed to get venc info.
    VPSS_DCTRL: faild to get venc info.
    VPSS_DCTRL: failed to disable hdmi venc
    root@dm816x-evm:~#

  • root@dm816x-evm:~# cat < /sys/devices/platform/vpss/display0/timings
    VPSS_FVID2: contrl event 0x1004001a timeout
    VPSS_DCTRL: failed to get venc info.
    148500,1920/88/148/44,1080/4/36/5,1
    root@dm816x-evm:~# cat < /sys/devices/platform/vpss/display0/name
    hdmi
    root@dm816x-evm:~# cat < /sys/devices/platform/vpss/display0/mode
    VPSS_FVID2: contrl event 0x1004001a timeout
    VPSS_DCTRL: failed to get venc info.
    1080p-60
    root@dm816x-evm:~# cat < /sys/devices/platform/vpss/display0/edid
               EDID Information

          00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
    -----------------------------------------------------
    0000: 00 ff ff ff ff ff ff 00 31 90 54 4c 01 00 00 00
    0010: 01 14 01 03 81 46 27 78 8a a5 8e a6 54 4a 9c 26
    0020: 12 45 46 af cf 00 95 00 95 0f 95 19 01 01 01 01
    0030: 01 01 01 01 01 01 01 1d 00 72 51 d0 1e 20 6e 28
    0040: 55 00 b9 88 21 00 00 1e 8c 0a d0 8a 20 e0 2d 10
    0050: 10 3e 96 00 b9 88 21 00 00 18 00 00 00 fd 00 32
    0060: 4b 18 3c 0b 00 0a 20 20 20 20 20 20 00 00 00 fc
    0070: 00 33 32 56 33 48 2d 48 36 41 0a 20 20 20 01 45
    0080: 02 03 21 71 4e 06 07 02 03 15 96 11 12 13 04 14
    0090: 05 1f 90 23 09 07 07 83 01 00 00 65 03 0c 00 10
    00a0: 00 8c 0a d0 90 20 40 31 20 0c 40 55 00 b9 88 21
    00b0: 00 00 18 01 1d 80 18 71 1c 16 20 58 2c 25 00 b9
    00c0: 88 21 00 00 9e 01 1d 80 d0 72 1c 16 20 10 2c 25
    00d0: 80 b9 88 21 00 00 9e 01 1d 00 bc 52 d0 1e 20 b8
    00e0: 28 55 40 b9 88 21 00 00 1e 02 3a 80 d0 72 38 2d
    00f0: 40 10 2c 45 80 b9 88 21 00 00 1e 00 00 00 00 d0

    root@dm816x-evm:~# cat < /sys/class/graphics/fb0/modes
    U:1920x1080p-60

    root@dm816x-evm:~#

  • Hello,

    I tried to reproduce the issue:

    root@dm816x-evm:/usr/share/ti/ti-media-controller-utils# firmware_loader 2 dm816
    x_hdvpss.xem3 stop
    FIRMWARE: I2cInit will be done by M3
    FIRMWARE: Memory map bin file not passed
    Usage : firmware_loader <Processor Id> <Location of Firmware> <start|stop> [-mmap <memory_map_file>] [-i2c <0|1>]
    ===Mandatory arguments===
    <Processor Id>         0: DSP, 1: Video-M3, 2: Vpss-M3
    <Location of Firmware> firmware binary file
    <start|stop>           to start/stop the firmware
    ===Optional arguments===
    -mmap                  input memory map bin file name
    -i2c                   0: i2c init not done by M3, 1(default): i2c init done by M3
    FIRMWARE: isI2cInitRequiredOnM3: 1
    FIRMWARE: Default memory configuration is used
    Firmware Loader debugging not configured
    Default FL_DEBUG: warning
    Allowed FL_DEBUG levels: error, warning, info, debug, log
    MemCfg: DCMM (Dynamically Configurable Memory Map) Version :  2.1.2.1
    FIRMWARE: 2 stop Successful
    root@dm816x-evm:/usr/share/ti/ti-media-controller-utils#  echo 0 > /sys/devices/
    platform/vpss/graphics0/enabled
    VPSS_FVID2: contrl event 0x6 timeout
    root@dm816x-evm:/usr/share/ti/ti-media-controller-utils# echo 0 > /sys/devices/p
    latform/vpss/display0/enabled
    VPSS_FVID2: contrl event 0x1004001a timeout
    VPSS_DCTRL: failed to get venc info.
    VPSS_DCTRL: faild to get venc info.
    VPSS_DCTRL: failed to disable hdmi venc

    I got the same errors when the  dm816x_hdvpss.xem3 is not loaded.

    Could you try:

    /etc/init.d/matrix-gui-e stop

    /etc/init.d/pvr-init stop

    firmware_loader 2 dm816x_hdvpss.xem3 start

    My bootargs are : bootargs=console=ttyO2,115200n8 rootwait root=/dev/mmcblk0p2 rw mem=364M@0x80000000 mem=320M@0x9FC00000 vmalloc=500M  notifyk.vpssm3_sva=0xBF900000 ip=off noinitrd


    Best Regards,

    Margarita

  • hi ,

    i try these

    /etc/init.d/matrix-gui-e stop

    /etc/init.d/pvr-init stop

    firmware_loader 2 dm816x_hdvpss.xem3 start

    then do ./lsaloopBack

    but still get  error messages, please hep me, thank you.

    VPSS_FVID2: contrl event 0x1004001a timeout
    VPSS_DCTRL: failed to get venc info.

  • Hello,

    Before to start the saLoopBack demo are you loading v4l2 firmware(load-hd-v4l2-firmware.sh)?

    Best Regards,

    Margarita