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.

using graphics - vpss driver

Guru 20755 points

Hello,

When I run the graphic application after starting the video chain starts then there is no issue.

root@dm814x:~# cat /sys/devices/platform/vpss/display0/enabled

1
root@dm814x:~# cat /sys/devices/platform/vpss/display1/enabled
1
root@dm814x:~# cat /sys/devices/platform/vpss/graphics0/enabled
1
root@dm814x:~# cat /sys/devices/platform/vpss/display0/timings
65000,1024/24/160/136,768/3/29/6,1
root@dm814x:~# cat /sys/devices/platform/vpss/display1/timings
65000,1024/24/160/136,768/3/29/6,1
root@dm814x:~# cat /sys/devices/platform/vpss/display1/source
hdmi
root@dm814x:~# cat /sys/devices/platform/vpss/display0/mode
1024x768@60
root@dm814x:~# cat /sys/devices/platform/vpss/display1/mode
1024x768@60
root@dm814x:~# cat /sys/devices/platform/vpss/display0/clksrc
dclk
root@dm814x:~# cat /sys/devices/platform/vpss/display1/clksrc
dclk
root@dm814x:~# cat /sys/devices/platform/vpss/display0/saturation
128
root@dm814x:~# cat /sys/devices/platform/vpss/display1/saturation
128
root@dm814x:~# cat /sys/devices/platform/vpss/display0/hue
31
root@dm814x:~# cat /sys/devices/platform/vpss/display1/hue
31
root@dm814x:~# cat /sys/devices/platform/vpss/display0/contrast
128
root@dm814x:~# cat /sys/devices/platform/vpss/display1/contrast
128
root@dm814x:~# cat /sys/devices/platform/vpss/display0/order
0,0
root@dm814x:~# cat /sys/devices/platform/vpss/display1/order
0,0
root@dm814x:~# cat /sys/devices/platform/vpss/system/tiedvencs
5
root@dm814x:~#

When I configure all the above parameters before using the video chain, and try to run the graphic application -> there is nothing on screen.

I also noticed that I can't set dclk into display1:

root@dm814x:~# echo 0 >/sys/devices/platform/vpss/display0/enabled
root@dm814x:~# echo 0 >/sys/devices/platform/vpss/display1/enabled
root@dm814x:~# echo dclk >/sys/devices/platform/vpss/display0/clksrc
root@dm814x:~# echo dclk >/sys/devices/platform/vpss/display1/clksrc
-sh: echo: write error: Invalid argument

Thank you,

Ran

  • Hi Ran,

    Have you checked the "nodes" entry in graphics ?

    http://processors.wiki.ti.com/index.php/DM814x_EZ_5.03_Software_Developers_Guide#DM814x_AM387x_EZ_Software_Developers_Guide

    processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide_PSP_04.01.00.05#Miscellaneous_Configurations

    http://processors.wiki.ti.com/index.php/EZSDK_Using_data_on_SD_and_filesystem_on_NAND#Running_the_Decode_Display_Demo

    http://processors.wiki.ti.com/index.php/DM814X_AM387X_VPSS_Video_Driver_User_Guide#VPSS_Library:_graphics0.2F1.2F2
  • Hi Titusrathinaraj Stalin,

    I've also set the nodes, bit it did not help
    root@dm814x:~# cat /sys/devices/platform/vpss/system/tiedvencs
    5.

    Can it be related to dclk not configuring display1 ?

    root@dm814x:~# echo 0 >/sys/devices/platform/vpss/display0/enabled
    root@dm814x:~# echo 0 >/sys/devices/platform/vpss/display1/enabled
    root@dm814x:~# echo dclk >/sys/devices/platform/vpss/display0/clksrc
    root@dm814x:~# echo dclk >/sys/devices/platform/vpss/display1/clksrc
    -sh: echo: write error: Invalid argument
    ?
    cat /sys/devices/platform/vpss/display1/clksrc
    aclk

    Thanks for any suggestion,
    Ran